configs/imxrt1050-evk: bump U-Boot and switch to use extlinux.conf
Switch to extlinux instead of built in U-Boot script. Drop custom U-Boot fragment and genimage config. Update U-Boot from 2024.01 to 2025.07. This new U-Boot now requires BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y in the defconfig. Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> [Julien: - mention U-Boot bump in commit log - add BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y ] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
8f427b78a9
commit
051d145137
@@ -1,14 +1,3 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"zImage",
|
||||
"imxrt1050-evk.dtb",
|
||||
}
|
||||
}
|
||||
|
||||
size = 8M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
@@ -27,12 +16,6 @@ image sdcard.img {
|
||||
size = 512K
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xc
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
label buildroot
|
||||
kernel /boot/zImage
|
||||
devicetree /boot/imxrt1050-evk.dtb
|
||||
append console=ttyLP0 root=/dev/mmcblk0p1 rootwait rw
|
||||
@@ -1,2 +0,0 @@
|
||||
CONFIG_USE_BOOTCOMMAND=y
|
||||
CONFIG_BOOTCOMMAND="setenv bootargs console=ttyLP0 root=/dev/mmcblk0p2 rw earlycon rootwait;load mmc 0:1 0x80800000 imxrt1050-evk.dtb;load mmc 0:1 0x80000000 zImage;bootz 0x80000000 - 0x80800000"
|
||||
@@ -1,6 +1,7 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_m7=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_7=y
|
||||
BR2_ROOTFS_OVERLAY="board/freescale/imxrt1050evk/rootfs_overlay"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/freescale/imxrt1050evk/genimage.cfg"
|
||||
BR2_LINUX_KERNEL=y
|
||||
@@ -9,15 +10,16 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.7"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="imxrt"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imxrt1050-evk"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE="16M"
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2025.07"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imxrt1050-evk"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/freescale/imxrt1050evk/uboot.fragment"
|
||||
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
|
||||
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
||||
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
|
||||
Reference in New Issue
Block a user