[U-Boot-Users] arm920t RAM relocation broken?

Ulf Samuelsson ulf at atmel.com
Fri Mar 7 01:03:43 CET 2008


----- Original Message ----- 
From: "Cory T. Tusar" <ctusar at videon-central.com>
To: <u-boot-users at lists.sourceforge.net>
Cc: <peter.pearse at arm.com>
Sent: Thursday, March 06, 2008 10:05 PM
Subject: [U-Boot-Users] arm920t RAM relocation broken?


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Commit d4fc6012 added an #ifdef CONFIG_AT91RM9200 construct around the
> RAM relocation bits in cpu/arm920t/start.S.  More directly, it added an
> entire secondary relocation snippet surrounded by an 
> #ifdef CONFIG_BOOTBINFUNC construct.
> 
> It appears that this second implementation was later removed in commit
> 80767a6c, but the #ifdef CONFIG_AT91RM9200 logic was not removed also.
> 
> Is RAM relocation only intended to function on at91rm9200 boards, or
> shall I submit a patch fixing the above?
> 
> - -Cory
> 


Does this mean that the AT91RM9200 always relocates?
Then the code is simply wrong.

If you run from a serial flash, then the code is already relocated
and is executing from SDRAM at this point, so the code will crash.


Best Regards
Ulf Samuelsson





More information about the U-Boot mailing list