[U-Boot] PATCH: (Updated) Fix examples for OMAP3 boards...

Michael Evans horse_dung at hotmail.com
Mon Jul 13 21:13:45 CEST 2009


Updated as per comments to use SOC (system-on-chip) variable.  Also updated diff layout to be compatible with other patches.

Regards,  Mike.

Description:
The attached patch corrects an error in the
examples/Makefile which causes the applications in the examples
directory to hang on OMAP3 based boards.  The current Makefile sets
-Ttext during linking to 0x0c100000 which is outside of addressable
SDRAM memory.  The script corrects the existing ifeq...else...endif
logic to look at the VENDOR tag rather than the CPU tag.

The
patch affects the following configs: omap3_beagle_config,
omap3_overo_config, omap3_evm_config, omap3_pandora_config,
omap3_zoom1_config and omap3_zoom2_config.

Signed-off-by: Michael Evans <horse_dung at hotmail.com>

Patch:
diff --git a/examples/Makefile b/examples/Makefile
--- a/examples/Makefile    2009-07-03 12:38:48.000000000 +0100
+++ b/examples/Makefile    2009-07-13 10:35:03.000000000 +0100
@@ -33,7 +33,7 @@ ifeq ($(ARCH),arm)
 ifeq ($(BOARD),omap2420h4)
 LOAD_ADDR = 0x80300000
 else
-ifeq ($(CPU),omap3)
+ifeq ($(SOC),omap3)
 LOAD_ADDR = 0x80300000
 else
 LOAD_ADDR = 0xc100000


From: horse_dung at hotmail.com
To: u-boot at lists.denx.de
Subject: PATCH: Fix examples for OMAP3 boards...
Date: Thu, 18 Jun 2009 10:34:54 +0100








--- examples/Makefile.orig    2009-06-18 10:14:44.000000000 +0100
+++ examples/Makefile    2009-06-18 10:14:52.000000000 +0100
@@ -33,7 +33,7 @@ ifeq ($(ARCH),arm) 
 ifeq ($(BOARD),omap2420h4)
 LOAD_ADDR = 0x80300000
 else
-ifeq ($(CPU),omap3)
+ifeq ($(VENDOR),omap3)
 LOAD_ADDR = 0x80300000
 else
 LOAD_ADDR = 0xc100000


Beyond Hotmail - see what else you can do with Windows Live. Find out more.
_________________________________________________________________
Get the best of MSN on your mobile
http://clk.atdmt.com/UKM/go/147991039/direct/01/


More information about the U-Boot mailing list