9a7b58c834
- Remove old unused patches: * v2013.04-sunxi.patch * loadaddr-defaults.patch - Add ti_common_initrd_support.patch to enable initrd support for AM335x boards - Add am335x_evm support which includes: Beagle Bone, Beagle Bone Black, TI AM335x EVM, TI AM335x EVM-SK - Add Arndale support - Update v2013.04-sunxi.patch to v2013.10-sunxi.patch - Remove kerneladdr and ramdiskaddr definition in u-boot patches (now done in JeOS image with u-boot hooks) - Update patches to current version: * 0006-ARMV7-hardfp-build-fix.patch * beagle-bootscr.patch * mx53loco-bootscr.patch * mlo-ext2.patch - Merge fix_omap4_ext2_boot.patch in mlo-ext2.patch - Rename exynos-ext2.patch in origen-ext2.patch - Update to 2013.10 - Fix OMAP4 pandaboard EXT2 boot - Remove old unused patches: * v2013.04-sunxi.patch OBS-URL: https://build.opensuse.org/request/show/211599 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=16
60 lines
1.8 KiB
Diff
60 lines
1.8 KiB
Diff
--- ./include/configs/arndale.h.orig 2013-11-26 14:20:52.645451329 +0100
|
|
+++ ./include/configs/arndale.h 2013-11-26 15:05:07.495703179 +0100
|
|
@@ -74,9 +74,6 @@
|
|
"stdout=serial\0" \
|
|
"stderr=serial\0"
|
|
|
|
-#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
- EXYNOS_DEVICE_SETTINGS
|
|
-
|
|
/* SD/MMC configuration */
|
|
#define CONFIG_GENERIC_MMC
|
|
#define CONFIG_MMC
|
|
@@ -106,6 +103,8 @@
|
|
#define CONFIG_CMD_FAT
|
|
#define CONFIG_CMD_NET
|
|
#define CONFIG_CMD_HASH
|
|
+#define CONFIG_SUPPORT_RAW_INITRD
|
|
+#define CONFIG_CMD_BOOTZ
|
|
|
|
#define CONFIG_BOOTDELAY 3
|
|
#define CONFIG_ZERO_BOOTDELAY_CHECK
|
|
@@ -127,7 +126,36 @@
|
|
#define CONFIG_SPL_TEXT_BASE 0x02023400
|
|
#define CONFIG_SPL_MAX_FOOTPRINT (14 * 1024)
|
|
|
|
-#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000"
|
|
+#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=0\0" \
|
|
+ "bootenv=uEnv.txt\0" \
|
|
+ "loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
|
+ "importbootenv=echo Importing environment from mmc ...; " \
|
|
+ "env import -t $loadaddr $filesize\0" \
|
|
+ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot/boot.scr\0" \
|
|
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
|
+ "source ${loadaddr}\0"
|
|
+#define CONFIG_BOOTCOMMAND \
|
|
+ "if mmc rescan ${mmcdev}; then " \
|
|
+ "echo SD/MMC found on device ${mmcdev};" \
|
|
+ "if run loadbootenv; then " \
|
|
+ "echo Loaded environment from ${bootenv};" \
|
|
+ "run importbootenv;" \
|
|
+ "fi;" \
|
|
+ "if test -n $uenvcmd; then " \
|
|
+ "echo Running uenvcmd ...;" \
|
|
+ "run uenvcmd;" \
|
|
+ "fi;" \
|
|
+ "if run loadbootscript; then " \
|
|
+ "run bootscript; " \
|
|
+ "fi; " \
|
|
+ "fi;"
|
|
|
|
/* Miscellaneous configurable options */
|
|
#define CONFIG_SYS_LONGHELP /* undef to save memory */
|