mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
configs/imx8mp-evk_defconfig: new defconfig
Add a new defconfig for the imx8mp-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
Based on bcc7993283 ("configs/polyhex_debix_model_a_defconfig: new
defconfig") from Gilles Talis.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
[Julien:
- replace linux-headers.hash with a symlink to linux.hash
- update kernel hash to 6.12.16 to match defconfig version
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
7340b91a5e
commit
9d544ef3bd
4
board/freescale/imx8mp-evk/extlinux.conf.in
Normal file
4
board/freescale/imx8mp-evk/extlinux.conf.in
Normal file
@@ -0,0 +1,4 @@
|
||||
label buildroot
|
||||
kernel /boot/Image
|
||||
devicetree /boot/freescale/imx8mp-evk.dtb
|
||||
append root=PARTUUID=%PARTUUID% rootwait rw
|
||||
17
board/freescale/imx8mp-evk/genimage.cfg.in
Normal file
17
board/freescale/imx8mp-evk/genimage.cfg.in
Normal file
@@ -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%
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 06b35a3596b8417bf66f7bfdd7acd181bcb53fc36dc13216227b5cae154e0219 arm-trusted-firmware-v2.12-git4.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/freescale/imx8mp-evk/patches/linux/linux.hash
Normal file
2
board/freescale/imx8mp-evk/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 5f81362a694f51520bff9faecb73f1cc9bc7bece6fdd10d5c27e348df39d7dc4 linux-6.12.16.tar.xz
|
||||
2
board/freescale/imx8mp-evk/patches/uboot/uboot.hash
Normal file
2
board/freescale/imx8mp-evk/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f u-boot-2025.01.tar.bz2
|
||||
7
board/freescale/imx8mp-evk/post-build.sh
Executable file
7
board/freescale/imx8mp-evk/post-build.sh
Executable file
@@ -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"
|
||||
31
board/freescale/imx8mp-evk/readme.txt
Normal file
31
board/freescale/imx8mp-evk/readme.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
NXP i.MX8MP EVK
|
||||
===============
|
||||
|
||||
This is a Buildroot target for building an image for the imx8mp-evk
|
||||
board using upstream components: TF-A, U-Boot and kernel.
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot and build it:
|
||||
|
||||
$ make imx8mp-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/ttyUSB2
|
||||
- Power on the board.
|
||||
Reference in New Issue
Block a user