[U-Boot-Users] Hang in env_relocate

Rune Torgersen runet at innovsys.com
Fri Oct 19 23:39:12 CEST 2007


Hi

I am trying to update a board (Freescale 8280 cpu) from u-boot 1.1.4 to
1.3.0-rc3
Right now it is hanging in env_relocate (env_common.c:124).
It is calling malloc for a size of 64k (65536) and malloc is hanging in
a for loop in dlmalloc.c:2191

Does anybody have any pointer to what could be happening?

screen output with debug and DEBUGF enabled

U-Boot 1.3.0-rc3 (Oct 19 2007 - 16:21:08)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 4.5x, VCO Div 2, 60x Bus Freq  22-65 , Core Freq
100-300
 - dfbrg 0, corecnf 0x17, busdf 5, cpmdf 1, plldf 0, pllmf 5, pcidf 11
 - vco_out  597196800, scc_clk  149299200, brg_clk  149299200
 - cpu_clk  447897600, cpm_clk  298598400, bus_clk   99532800

CPU:   MPC8260 (HiP7 Rev 14, Mask 1.0 1K49M) at 447.897 MHz
Board: Innovative Systems AP2, CPU1
UPMs:  Configured
FPGA:  (cfgaddr 0xff810000)............ Status = OK Altera ID: 0x110e
I2C:   ready
DRAM:  DIMM socket probe: Slot1 = 1, Slot2 =1
        SDRAM configuration read from SPD
        Size per side = 256MB
        Organization: 4 sides, 4 banks, 10 Columns, 13 Rows, Width = 64
bits
        Refresh rate = 13, CAS latency = 2, Using Page Based interleave
        Total size: 1024 MB
Top of RAM usable for U-Boot at: 10000000
Reserving 212k for U-Boot at: 0ffca000
Reserving 192k for malloc() at: 0ff9a000
Reserving 84 Bytes for Board Info at: 0ff99fac
Reserving 72 Bytes for Global Data at: 0ff99f64
Stack Pointer at: 0ff99f48
New Stack Pointer is: 0ff99f48
Now running in RAM - U-Boot at: 0ffca000
FLASH: flash_protect ON: from 0xFFF00000 to 0xFFF3FFFF
flash_protect ON: from 0xFFF40000 to 0xFFF4FFFF
 8 MB
env_relocate[197] offset = 0x0







More information about the U-Boot mailing list