Skip to contentSkip to conversation

Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

PATCH New Rohit Hagargundgi 3 participants 4 messages Mar 9, 2009 – May 15, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image.

---
 include/configs/apollon.h |    1 +
 1 file changed, 1 insertion(+)
include/configs/apollon.h +1 -0
index dff47fc..2e8198f 100644
@@ -254,6 +254,7 @@
 
 /* OneNAND boot, OneNAND has CS0, NOR boot ONeNAND has CS2 */
 #define	CONFIG_SYS_ONENAND_BASE	0x00000000
+#define CONFIG_SYS_MONITOR_LEN		SZ_256K	/* U-Boot image size */
 #define	CONFIG_ENV_IS_IN_ONENAND	1
 #define CONFIG_ENV_ADDR		0x00020000
 
#1 lore raw

PATCH 2/2 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

Hi,

Please apply this patch for fixing broken apollon build.

Quoted 25 lines · Rohit Hagargundgi

Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image.

---
?include/configs/apollon.h | ? ?1 +
?1 file changed, 1 insertion(+)

include/configs/apollon.h +0 -0
index dff47fc..2e8198f 100644
@@ -254,6 +254,7 @@
 

?/* OneNAND boot, OneNAND has CS0, NOR boot ONeNAND has CS2 */ ?#define ? ? ? ?CONFIG_SYS_ONENAND_BASE 0x00000000
+#define CONFIG_SYS_MONITOR_LEN ? ? ? ? SZ_256K /* U-Boot image size */ ?#define ? ? ? ?CONFIG_ENV_IS_IN_ONENAND ? ? ? ?1
?#define CONFIG_ENV_ADDR ? ? ? ? ? ? ? ?0x00020000

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw

PATCH 2/2 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

Dear Kyungmin Park,

Quoted 4 lines · In message <[email protected]> you…

Please apply this patch for fixing broken apollon build.

Done, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Is a computer language with goto's totally Wirth-less?
#3 lore raw

PATCH 2/2 Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LEN

In reply to Rohit Hagargundgi

Dear Rohit Hagargundgi,

Quoted 8 lines · In message <[email protected]> you wrote:

Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image.

---
 include/configs/apollon.h |    1 +
 1 file changed, 1 insertion(+)

Applied, thanks. [Scott, I hope this is OK with you.]

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
People have one thing in common: they are all different.