SHA256
1
0
forked from pool/u-boot
u-boot/arndale.patch

32 lines
950 B
Diff

--- include/configs/arndale.h.orig 2014-10-14 15:53:28.819594338 +0200
+++ include/configs/arndale.h 2014-10-14 15:53:36.627594062 +0200
@@ -18,6 +18,28 @@
#define CONFIG_ENV_OVERWRITE
#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_FS_GENERIC
+#define CONFIG_SUPPORT_RAW_INITRD
+
+#undef CONFIG_EXTRA_ENV_SETTINGS
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ EXYNOS_DEVICE_SETTINGS \
+ "loadaddr=0x40007000\0" \
+ "rdaddr=0x4f000000\0" \
+ "kerneladdr=0x40007000\0" \
+ "ramdiskaddr=0x4f000000\0" \
+ "console=ttySAC2,115200n8\0" \
+ "mmcdev=1\0" \
+ "bootenv=uEnv.txt\0" \
+ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
+ "source ${loadaddr}\0"
+#undef CONFIG_BOOTCOMMAND
+#define CONFIG_BOOTCOMMAND \
+ "mmc rescan; " \
+ "echo SD/MMC found on device ${mmcdev};" \
+ "run loadbootscript; " \
+ "run bootscript; " \
/* USB */
#define CONFIG_USB_EHCI