[U-Boot] while booting u-boot hang at "relocate_code(addr_sp, id, addr); "

Thirumalesha N thiru.linux at gmail.com
Sat Sep 1 19:07:24 CEST 2012


Dear sir,

I'm porting u-boot for mpc8280 based custom board by taking mpc8260ads
board with latest u-boot source code.

its hanging while booting at "relocate_code(addr_sp, id, addr);"

unsigned long logbuffer_base(void)
{

,...................
..................
relocate_code(addr_sp, id, addr);

}

U-Boot 2012.07 (Sep 01 2012 - 09:43:41)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 2.5x, VCO Div 4, 60x Bus Freq  20-60 , Core Freq  50-120
 - dfbrg 1, corecnf 0x11, busdf 3, cpmdf 1, plldf 0, pllmf 3, pcidf 3
 - vco_out  400000000, scc_clk  100000000, brg_clk   25000000
 - cpu_clk  250000000, cpm_clk  200000000, bus_clk  100000000

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 250 MHz
Board: MPC8280 Based RIO CARD.Testing  By Thiru N...............
I2C:   [I2C] Setting rate...
        [I2C] trying hz=25000000, speed=500000, filter=0, modval=0
                moddiv=32, brgdiv=2
                rejected brgval=-2
        [I2C] trying hz=25000000, speed=500000, filter=0, modval=1
                moddiv=16, brgdiv=4
                rejected brgval=-1
        [I2C] trying hz=25000000, speed=500000, filter=0, modval=2
                moddiv=8, brgdiv=7
                accepted brgval=1, totspeed=390625
        [I2C] trying hz=25000000, speed=500000, filter=0, modval=3
                moddiv=4, brgdiv=13
                accepted brgval=4, totspeed=446428
[I2C] Best is:
[I2C] CPU=25000000hz RATE=500000 F=0 I2MOD=00000003 I2BRG=00000004
DIFF=53572hz
[I2C] i2mod=00000006 i2brg=00000004
[I2C] rbase = 0100
[I2C] tbase = 0120
[I2C] rxbd = f0000100
[I2C] txbd = f0000120
ready
DRAM:  512 MiB
Top of RAM usable for U-Boot at: 20000000
Reserving 221k for U-Boot at: 1ffc8000
Reserving 4160k for malloc() at: 1fbb8000
Reserving 72 Bytes for Board Info at: 1fbb7fb8
Reserving 108 Bytes for Global Data at: 1fbb7f4c
Stack Pointer at: 1fbb7f28
New Stack Pointer is: 1fbb7f28

what may be the reason its hanging at this point? what changes still i need
to change?

Regards
Thiru N


More information about the U-Boot mailing list