[U-Boot] [PATCH] da850evm: fix linux bootparam address

Ben Gardiner bengardiner at nanometrics.ca
Wed Sep 22 18:45:36 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: Sudhakar Rajashekhara <sudhakar.raj at ti.com>

---

I'm not sure if this is a bugfix or not -- there is currently no way to load a uImage
from anywhere in the da850evm config on master. But if you did modify the configuration
enough to load one then your bootm command would hang at "Uncompressing Linux... done,
booting the kernel."

I'm submitting it for inclusion into 2010.09 since the definiion of LINUX_BOOT_PARAM_ADDR
is wrong for da850. But it's OK to push off to next since you couldn't load a uImage with
the default config anyways.

---
 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 1b6fe72..21db022 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -139,7 +139,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