forked from pool/u-boot
7b56261a82
- Enhance pre_checkin.sh script to handle arch restrictions - Fix builds : * 'tools' target is now 'tools-only' * kermit scripts moved from 'tools/scripts' to 'tools/kermit/' * Enhanced pre_checkin.sh script to handle uppercases in config name * Renamed config from cubieboard to Cubieboard * Renamed config from cubieboard2 to Cubieboard2 * Renamed config from hyundai_a7hd to Hyundai_A7HD * Renamed config from mele_a1000 to Mele_A1000 - Add vexpress_aemv8a board - Update to v2014.04 * Update mlo-ext2.patch * Update mx53loco-bootscr.patch * Update origen-ext2.patch * Dropped v2014.01-sunxi.patch and created v2014.04-sunxi.patch by diffing u-boot-2014.04 with u-boot-sunxi.git d9fe0a1e061e2bde6c24a0f7cef4f5023f3bd579 * Update rpi_b-bootscr.patch * Drop gnuhash.patch (upstreamed) - Enhance pre_checkin.sh script to handle arch restrictions - Fix builds : * 'tools' target is now 'tools-only' * kermit scripts moved from 'tools/scripts' to 'tools/kermit/' * Enhanced pre_checkin.sh script to handle uppercases in config name * Renamed config from cubieboard to Cubieboard OBS-URL: https://build.opensuse.org/request/show/234407 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=25
50 lines
1.6 KiB
Diff
50 lines
1.6 KiB
Diff
--- include/configs/origen.h.orig 2014-04-29 14:10:29.864588285 +0200
|
|
+++ include/configs/origen.h 2014-04-29 14:15:44.511098108 +0200
|
|
@@ -61,6 +61,9 @@
|
|
#undef CONFIG_CMD_PING
|
|
#define CONFIG_CMD_ELF
|
|
#define CONFIG_CMD_DHCP
|
|
+#define CONFIG_CMD_EXT2 /* EXT2 Support */
|
|
+#define CONFIG_CMD_BOOTZ /* bootz zImage support */
|
|
+#define CONFIG_SUPPORT_RAW_INITRD /* bootz raw initrd support */
|
|
#undef CONFIG_CMD_NET
|
|
#undef CONFIG_CMD_NFS
|
|
|
|
@@ -69,7 +72,35 @@
|
|
#define COPY_BL2_FNPTR_ADDR 0x02020030
|
|
#define CONFIG_SPL_TEXT_BASE 0x02021410
|
|
|
|
-#define CONFIG_BOOTCOMMAND "fatload mmc 0 40007000 uImage; bootm 40007000"
|
|
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
+ "loadaddr=0x40007000\0" \
|
|
+ "rdaddr=0x48000000\0" \
|
|
+ "kerneladdr=0x40007000\0" \
|
|
+ "ramdiskaddr=0x48000000\0" \
|
|
+ "console=ttySAC2,115200n8\0" \
|
|
+ "mmcdev=0\0" \
|
|
+ "bootenv=uEnv.txt\0" \
|
|
+ "loadbootenv=ext2load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
|
+ "importbootenv=echo Importing environment from mmc ...; " \
|
|
+ "env import -t $loadaddr $filesize\0" \
|
|
+ "loadbootscript=ext2load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
|
|
+ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
|
|
+ "source ${loadaddr}\0"
|
|
+#define CONFIG_BOOTCOMMAND \
|
|
+ "if mmc rescan; 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;"
|
|
|
|
#define CONFIG_IDENT_STRING " for ORIGEN"
|
|
|