[U-Boot] Freescale mpc8641hpcn board saveenv hang

TP.Thiesen at gmx.de TP.Thiesen at gmx.de
Thu Jun 21 15:01:09 CEST 2012


Dear,..Hi,

I try to intall a newest u-Boot on a Freescale mpc8641hpcn board.

I have does folloing:
git clone git://git.denx.de/u-boot.git /mnt/sata/usr/src/u-boot/
date -s "??/??/2012 11:20:00"
make mrproper
make MPC8641HPCN_config
make
Flash now u-boot.bin into board (per jtag interface   0xfff00000--0xffffffff)

Booting on u-boot give following output:

U-Boot 2012.04.01-00424-gfedab33-dirty (Jun 18 2012 - 13:16:53)

CPU:   8641D, Version: 2.1, (0x80900121)
Core:  E600 Core 0, Version: 2.2, (0x80040202)
Clock Configuration:
       CPU:1500 MHz, MPX:600  MHz
       DDR:300  MHz (600 MT/s data rate), LBC:37.500 MHz
L1:    D-cache 32 KB enabled
       I-cache 32 KB enabled
L2:    512 KB enabled
Board: MPC8641HPCN, Sys ID: 0x10, Sys Ver: 0x10, FPGA Ver: 0x22, vBank: 1
I2C:   ready
DRAM:  DDR: failed to read SPD from address 82
DDR: failed to read SPD from address 84
Detected UDIMM 9905320-002.A01LF
Detected UDIMM 9905320-002.A01LF
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
WARNING: Calling __hwconfig without a buffer and before environment is ready
1 GiB (DDR2, 64-bit, CL=5, ECC off)
Flash: 8 MiB
SRIO1: disabled
*** Warning - bad CRC, using default environment

EEPROM: Invalid ID (ff ff ff ff)
PCIe1: Root Complex of ULI, x4, regs @ 0xffe08000
PCIe1: Bus 00 - 02
PCIe2: Root Complex, no link, regs @ 0xffe09000
PCIe2: Bus 03 - 03
Video: No radeon video card found!
In:    serial
Out:   serial
Err:   serial
SCSI:  AHCI 0001.0000 32 slots 4 ports 3 Gbps 0xf impl IDE mode
flags: ncq ilck pm led clo pmp pio slum part
scanning bus for devices...
  Device 0: (1:0) Vendor: ATA Prod.: ST380815AS Rev: 4.AA
            Type: Hard Disk
            Capacity: 76319.0 MB = 74.5 GB (156301488 x 512)
Net:   eTSEC1, eTSEC2, eTSEC3, eTSEC4
Hit any key to stop autoboot:  0
=>
now i type saveenv
saveenv
=> saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=>

I have seen with debugger, the reading environment variablen from u-boot will 
oberwrite neighbor data structure during writing.

The logical location of data-strutures with there Addresses:

logical Addresses per Compiler: u-boot.map
eff5ebf0 D _GLOBAL_OFFSET_TABLE_  
eff60000 = ? <--- one process write here Environment Variable with big size(0xeff60000--0x0xeff60600)
eff6031c D step_string_tbl
eff6033c D ddr2_speed_bins
eff60348 D cpu_type_list
eff6039c D cpu_type_unknown
eff603b8 d phy_interface_strings
eff603e8 d failed
eff603ec D init_sequence  0x3ffda3ec

Now I does a new Boot of u-boot (power off, .. on).
u-boot starts and stop the prozess because a problem and hang.

u-Boot read init_sequence with wrong data(pointer) in and stops 
at logical address 0xfff00400 (no address translation MMU from FFFF into FFFF at moment)
On the Stack locate process addr_trans_enabled (0xeff02060).

I am new at u-boot.
What ideas they have for me?
(older u-boot bilds (2011 or...)allso will not run).
The biggest problem is the writing on data with pointer 0xeff60000 into bussy structures.

Best regards
        Mr. Thiesen
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a


More information about the U-Boot mailing list