From 4d8ba13d387543b1cc91ee7384bc42b062120edf Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Mon, 1 Aug 2022 18:29:44 +0300 Subject: MTCDT SD image: Do not specify the MTD partitions in bootargs Let the kernel to read the partition table from DTS. --- recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch index 6b40314..ddffc77 100644 --- a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch +++ b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch @@ -1,6 +1,6 @@ diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h --- a/include/configs/at91sam9x5ek.h 2022-06-27 17:22:35.279005660 -0500 -+++ b/include/configs/at91sam9x5ek.h 2022-06-27 17:27:50.446998285 -0500 ++++ b/include/configs/at91sam9x5ek.h 2022-08-01 16:41:03.741015227 +0300 @@ -9,9 +9,12 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ @@ -146,15 +146,15 @@ diff -Naru a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h #elif defined(CONFIG_SYS_USE_SPIFLASH) /* bootstrap + u-boot + env + linux in spi flash */ #define CONFIG_ENV_IS_IN_SPI_FLASH -@@ -192,11 +239,15 @@ +@@ -192,11 +239,13 @@ #endif #ifdef CONFIG_SYS_USE_MMC -#define CONFIG_BOOTARGS "mem=128M console=ttyS0,115200 " \ +- "mtdparts=atmel_nand:" \ +- "8M(bootstrap/uboot/kernel)ro,-(rootfs) " \ +#define CONFIG_BOOTCOMMAND "load mmc 0:1 ${loadaddr} uImage; bootm ${loadaddr}" +#define CONFIG_BOOTARGS "mem=256M console=ttyS0,115200 " \ - "mtdparts=atmel_nand:" \ - "8M(bootstrap/uboot/kernel)ro,-(rootfs) " \ "root=/dev/mmcblk0p2 " \ "rw rootfstype=ext4 rootwait" +#elif defined(USE_MTCDT) -- cgit v1.2.3