[U-Boot] ARM relocation, probably trivial mistake

Heiko Schocher
2010-09-30T15:39:08Z

Hello Reinhard,

Reinhard Meyer wrote:
> Dear Stefano Babic,
>>> 1. should CONFIG_SKIP_RELOCATE_UBOOT be not defined anymore?
>> I had the same issue because I forget to remove it from my config file.
>> After dropping it, I got the u-boot prompt again ;-)
> Thank you, that (partially) helped:
>
> U-Boot 2010.09-00106-g6e135b9-dirty (Sep 30 2010 - 17:32:36)
>
> U-Boot code: 21F00000 -> 21F3C180 BSS: -> 21F7D700
> CPU: AT91SAM9XE
> Crystal frequency: 18.432 MHz
> CPU clock : 198.656 MHz
> Master clock : 99.328 MHz
> I2C: ready
> monitor len: 0007D700
> ramsize: 04000000
> Top of RAM usable for U-Boot at: 24000000
> Reserving 501k for U-Boot at: 23f82000
> Reserving 143k for malloc() at: 23f5e100
> Reserving 24 Bytes for Board Info at: 23f5e0e8
> Reserving 88 Bytes for Global Data at: 23f5e090
> New Stack Pointer is: 23f5e088
> RAM Configuration:
> Bank #0: 20000000 64 MiB
> relocation Offset is: 02082000
> monitor flash len: 0003C180
> Now running in RAM - U-Boot at: 23f82000
> FLASH: 512 KiB
> NAND: raise: Signal # 8 caught
> raise: Signal # 8 caught
> raise: Signal # 8 caught
> 256 MiB
> *** Warning - bad CRC, using default environment
>
> In: serial
> Out: serial
> Err: serial
> MMC: mci: 0
> Net: macb0, enc1.0, enc1.1, enc1.2
> Reset Ethernet PHY
> macb0: Starting autonegotiation...
> macb0: Autonegotiation timed out (status=0x7849)
> macb0: link down (status: 0x7849)
> enc1.0: timeout waiting for CLKRDY
> enc1.1: timeout waiting for CLKRDY
> enc1.2: timeout waiting for CLKRDY
> Press SPACE to abort autoboot in 1 seconds
>
> Before the relocation: macb, enc and environment did work :)
> I have to look into that issue later...

No spontaneous idea ... maybe something with gpio pins?

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany