summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-2016.09.01
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-06-27 18:37:34 -0500
committerJohn Klug <john.klug@multitech.com>2022-11-16 18:05:35 -0600
commit198fce0fdf72b283ec8621dc0561782ea8ca1687 (patch)
treef6fe5dd287199d9191a753b662ec63933fb9994d /recipes-bsp/u-boot/u-boot-2016.09.01
parentad29d393fbd7d8b96cb5182e2c2ea845c247f332 (diff)
downloadmeta-multitech-atmel-198fce0fdf72b283ec8621dc0561782ea8ca1687.tar.gz
meta-multitech-atmel-198fce0fdf72b283ec8621dc0561782ea8ca1687.tar.bz2
meta-multitech-atmel-198fce0fdf72b283ec8621dc0561782ea8ca1687.zip
Make U-Boot configurable for SD card
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-2016.09.01')
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt-sd.patch9
1 files changed, 5 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 3ccaf87..6b40314 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 orig/include/configs/at91sam9x5ek.h new/include/configs/at91sam9x5ek.h
---- orig/include/configs/at91sam9x5ek.h 2022-06-17 18:30:03.683129650 -0500
-+++ new/include/configs/at91sam9x5ek.h 2022-06-17 19:38:08.647034056 -0500
+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
@@ -9,9 +9,12 @@
#ifndef __CONFIG_H__
#define __CONFIG_H__
@@ -150,8 +150,9 @@ diff -Naru orig/include/configs/at91sam9x5ek.h new/include/configs/at91sam9x5ek.
#endif
#ifdef CONFIG_SYS_USE_MMC
+-#define CONFIG_BOOTARGS "mem=128M console=ttyS0,115200 " \
+#define CONFIG_BOOTCOMMAND "load mmc 0:1 ${loadaddr} uImage; bootm ${loadaddr}"
- #define CONFIG_BOOTARGS "mem=128M console=ttyS0,115200 " \
++#define CONFIG_BOOTARGS "mem=256M console=ttyS0,115200 " \
"mtdparts=atmel_nand:" \
"8M(bootstrap/uboot/kernel)ro,-(rootfs) " \
"root=/dev/mmcblk0p2 " \