configs/imx8mn-ddr4-evk_defconfig: new defconfig
Fabio Estevam
reviewerPATCH 1/1 configs/imx8mn-ddr4-evk_defconfig: new defconfig
Add a new defconfig for the imx8mn-ddr4-evk board that uses upstream components, such as:
- Linux Kernel: Upstream version 6.12.16
- U-boot: Upstream version 2025.01
- ATF: Upstream version 2.12
Signed-off-by Fabio Estevam <[email protected]>
--- board/freescale/imx8mn-evk/extlinux.conf.in | 4 ++ board/freescale/imx8mn-evk/genimage.cfg.in | 17 +++++++ .../arm-trusted-firmware.hash | 2 + .../patches/linux-headers/linux-headers.hash | 1 + .../imx8mn-evk/patches/linux/linux.hash | 2 + .../imx8mn-evk/patches/uboot/uboot.hash | 2 + board/freescale/imx8mn-evk/post-build.sh | 7 +++ board/freescale/imx8mn-evk/readme.txt | 31 ++++++++++++ configs/imx8mn-ddr4-evk_defconfig | 48 +++++++++++++++++++ 9 files changed, 114 insertions(+) create mode 100644 board/freescale/imx8mn-evk/extlinux.conf.in create mode 100644 board/freescale/imx8mn-evk/genimage.cfg.in create mode 100644 board/freescale/imx8mn-evk/patches/arm-trusted-firmware/arm-trusted-firmware.hash create mode 120000 board/freescale/imx8mn-evk/patches/linux-headers/linux-headers.hash create mode 100644 board/freescale/imx8mn-evk/patches/linux/linux.hash create mode 100644 board/freescale/imx8mn-evk/patches/uboot/uboot.hash create mode 100755 board/freescale/imx8mn-evk/post-build.sh create mode 100644 board/freescale/imx8mn-evk/readme.txt create mode 100644 configs/imx8mn-ddr4-evk_defconfig
board/freescale/imx8mn-evk/extlinux.conf.in new file +4 -0
@@ -0,0 +1,4 @@ +label buildroot + kernel /boot/Image + devicetree /boot/freescale/imx8mn-ddr4-evk.dtb + append root=PARTUUID=%PARTUUID% rootwait rw
board/freescale/imx8mn-evk/genimage.cfg.in new file +17 -0
@@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition imx-boot { + in-partition-table = "no" + image = "flash.bin" + offset = 32K + } + + partition rootfs { + offset = 8M + image = "rootfs.ext4" + partition-uuid = %PARTUUID% + } +}
board/freescale/imx8mn-evk/patches/arm-trusted-firmware/arm-trusted-firmware.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 06b35a3596b8417bf66f7bfdd7acd181bcb53fc36dc13216227b5cae154e0219 arm-trusted-firmware-v2.12-git4.tar.gz
board/freescale/imx8mn-evk/patches/linux-headers/linux-headers.hash new file +1 -0
@@ -0,0 +1 @@ +../linux/linux.hash
board/freescale/imx8mn-evk/patches/linux/linux.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256 5f81362a694f51520bff9faecb73f1cc9bc7bece6fdd10d5c27e348df39d7dc4 linux-6.12.16.tar.xz
board/freescale/imx8mn-evk/patches/uboot/uboot.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f u-boot-2025.01.tar.bz2
board/freescale/imx8mn-evk/post-build.sh new file +7 -0
@@ -0,0 +1,7 @@ +#!/bin/sh +BOARD_DIR="$(dirname "$0")" +PARTUUID="$("$HOST_DIR"/bin/uuidgen)" + +install -d "$TARGET_DIR/boot/extlinux/" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf.in" > "$TARGET_DIR/boot/extlinux/extlinux.conf" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg.in" > "$BINARIES_DIR/genimage.cfg"
board/freescale/imx8mn-evk/readme.txt new file +31 -0
@@ -0,0 +1,31 @@ +NXP i.MX8MN DDR4 EVK +==================== + +This is a Buildroot target for building an image for the imx8mn-ddr4-evk +board using upstream components: TF-A, U-Boot and kernel. + +How to build it +=============== + +Configure Buildroot and build it: + + $ make imx8mn-ddr4-evk_defconfig + $ make + +Flashing the SD card image +========================== + +Copy the sdcard.img file into the SD card: + + $ sudo dd if=output/images/sdcard.img of=<your-sd-device>; sync + + +Booting the board +================= + +To boot your newly created system: + +- Insert the SD card in the MicroSD slot of the board. +- Connect a serial to USB cable to the DEBUG port. +- Open a terminal on ttyUSB2 port. For example: sudo picocom -b 115200 /dev/ttyUSB1 +- Power on the board.
configs/imx8mn-ddr4-evk_defconfig new file +48 -0
48 lines not on this page · raw message
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines · Fabio Estevam
Add a new defconfig for the imx8mn-ddr4-evk board that uses upstream components, such as:
- Linux Kernel: Upstream version 6.12.16
- U-boot: Upstream version 2025.01
- ATF: Upstream version 2.12Signed-off-by Fabio Estevam <[email protected]>
Applied to masted, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot