[U-Boot] [PATCH v2 7/7] da850evm: fix linux bootparam address
Ben Gardiner
bengardiner at nanometrics.ca
Thu Oct 14 23:14:34 CEST 2010
This patch fixes the LINUX_BOOT_PARAM_ADDR define to be based off of
PHYS_SDRAM_1 instead of CONFIG_SYS_MEMTEST_START. On da830 they are the same
thing but on da850 the CONFIG_SYS_MEMSTART define is offset from the
PHYS_SDRAM_1 start.
Without this patch it is not possible to boot linux on da850 -- bootm hangs
at "Uncompressing Linux... done, booting the kernel."
Signed-off-by: Ben Gardiner <bengardiner at nanometrics.ca>
CC: "Paulraj, Sandeep" <s-paulraj at ti.com>
---
V2:
* Rebased to bacbbac5be83ab7348d1c6176d287e9a61364a84 of
u-boot-ti/master and integrated with NAND patch series
from outstanding patch [1]
[1] http://www.mail-archive.com/u-boot@lists.denx.de/msg38363.html
---
include/configs/da850evm.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index d544c13..7bf6336 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -138,7 +138,7 @@
/*
* Linux Information
*/
-#define LINUX_BOOT_PARAM_ADDR (CONFIG_SYS_MEMTEST_START + 0x100)
+#define LINUX_BOOT_PARAM_ADDR (PHYS_SDRAM_1 + 0x100)
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_BOOTARGS \
--
1.7.0.4
More information about the U-Boot
mailing list