summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Brandt <michael.brandt@stericsson.com>2010-08-27 14:21:17 +0200
committerMichael BRANDT <michael.brandt@stericsson.com>2010-08-30 20:07:21 +0200
commit529adafde26d951fa425029e0b56370c36d29081 (patch)
tree4c8728938a2f68c54207c36e5fb4638cf22ba5f4 /Makefile
parente12e3ecc89a65421b4e26267c5c71badfdf0dbbb (diff)
Make U-Boot restartable and crash dump support
* Added an u8500 board specific ld script. Reserve space for .data backup. * Make a backup copy of initialised data (.data section). If restarted, copy the backup data back to .data. * Create crashkernel env variable dynamically, since it depends on U-Boot start address. For dumping U-Boot itself is used as crashkernel. * Set preboot environment variable to checkcrash command, if data_init_flag > 0, i.e. we were restarted e.g. by kexec. * Added crashkernel parameter to common bootargs. Decreased environment and pool sizes. * Changed link address of U-Boot: moved it 32 K up for kdump info to 0x05608000 * Added "checkcrash" command This command checks if there is a pending crash dump and writes it to a file on SD/MMC. ST-Ericsson ID: WP264488 Change-Id: If545822e424b95532f1128afb0e762b6b73834e9 Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3011
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e336626da..a1a2b2ec5 100644
--- a/Makefile
+++ b/Makefile
@@ -3160,6 +3160,8 @@ u8500_udc_config \
u8500_auto_config: unconfig
@mkdir -p $(obj)include
@mkdir -p $(obj)board/st/u8500
+ @echo "LDSCRIPT:=$(SRCTREE)/board/st/u8500/u-boot.lds"\
+ > $(obj)board/st/u8500/config.tmp
@ > $(obj)include/config.h
@if [ "$(findstring _def, $@)" ] ; then \
echo "#ifndef CONFIG_SKIP_LOWLEVEL_INIT " >> $(obj)include/config.h ; \