summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2022-08-01 18:29:44 +0300
committerJohn Klug <john.klug@multitech.com>2022-11-16 18:06:48 -0600
commit4d8ba13d387543b1cc91ee7384bc42b062120edf (patch)
treec66f4fa88f09695c776453220263741c4f96ebbd
parent079d09454c69743a48ab2a31b433256751d5aa34 (diff)
downloadmeta-multitech-atmel-4d8ba13d387543b1cc91ee7384bc42b062120edf.tar.gz
meta-multitech-atmel-4d8ba13d387543b1cc91ee7384bc42b062120edf.tar.bz2
meta-multitech-atmel-4d8ba13d387543b1cc91ee7384bc42b062120edf.zip
MTCDT SD image: Do not specify the MTD partitions in bootargs
Let the kernel to read the partition table from DTS.
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch8
1 files 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)