Fix GPMC CS2 memory setup at apollon
PATCH 1/1 Fix GPMC CS2 memory setup at apollon
It disables the current map first
---
board/apollon/mem.c +2 -0
@@ -198,6 +198,8 @@ void gpmc_init(void)sdelay (2000 );/* setup cs2 */ +__raw_writel (0x0 ,GPMC_CONFIG7_2 );/* disable current map */ +sdelay (1000 );__raw_writel (APOLLON_24XX_GPMC_CONFIG1_0 | mux | mtype | mwidth,GPMC_CONFIG1_2 );/* It's same as cs 0 */
Wolfgang Denk
AppliedPATCH 1/1 Fix GPMC CS2 memory setup at apollon
Quoted 3 lines · In message <20080218053543.GA28278@party> you wrote:
It disables the current map first
Signed-off-by Kyungmin Park <[email protected]>
Applied, 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 God may be subtle, but He isn't plain mean. - Albert Einstein
Woodruff
PATCH 1/1 Fix alignment error on ARM for modules
In reply to Kyungmin ParkFix alignment fault on ARM when running modules. With out an explicit linker file gcc4.2.1 will half word align __bss_start's value. The word dereference will crash hello_world.
signed-off-by Richard Woodruff <[email protected]>
examples/Makefile +4 -0
@@ -30,8 +30,12 @@ LOAD_ADDR = 0x40000 endif ifeq ($(ARCH),arm) +ifeq ($(BOARD),omap2420h4) +LOAD_ADDR = 0x80300000 +else LOAD_ADDR = 0xc100000 endif +endif ifeq ($(ARCH),mips) LOAD_ADDR = 0x80200000 -T mips.lds
examples/stubs.c +2 -2
@@ -190,10 +190,10 @@ extern unsigned long __bss_start, _end;void app_startup (char **argv) { -unsigned long * cp = &__bss_start; +unsigned char * cp = (unsigned char *) &__bss_start;/* Zero out BSS */ -while (cp < &_end) { +while (cp < (unsigned char *)&_end) { *cp++ =0 ; }
Woodruff
[U-Boot-Users] Quick OMAP2420 update for anyone interested.
Hi,
I'll attach a zip of a quick update for h4-2420 which I did against git just now. It needs more work to merge but at least works. Its probably on the edge for size. A 2430 merge and more of a fix up could come later.
Regards,
Richard W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h4_uboot_1p3p2_update.diff.bz2
Type: application/octet-stream
Size: 20496 bytes
Desc: h4_uboot_1p3p2_update.diff.bz2
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080229/b62e613a/attachment.obj
Wolfgang Denk
AppliedPATCH 1/1 Fix alignment error on ARM for modules
In reply to WoodruffQuoted 5 lines · In message <[email protected]> you…
Fix alignment fault on ARM when running modules. With out an explicit linker file gcc4.2.1 will half word align __bss_start's value. The word dereference will crash
hello_world.signed-off-by Richard Woodruff <[email protected]>
Applied, 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 EMACS belongs in <sys/errno.h>: Editor too big!