From 529adafde26d951fa425029e0b56370c36d29081 Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Fri, 27 Aug 2010 14:21:17 +0200 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3011 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 ; \ -- cgit v1.2.3