[U-Boot] need your help

nice huan_t at 163.com
Tue Feb 15 16:46:21 CET 2011


hello ,everyone,
Please help.I have a custom board with a mpc8641d processer,
I compiled the u-boot using the configuration of sbc8641d board ,
then I flashed the u-boot.bin into flash, everything seems to
be fine so far. Then I compiled the kernel image and dts file with
the configuration of sbc8641d board, and download the kernel
image and dtb file to the ram. However, when I start the kernel, it
died when uncompressing the kernel image.
The output from serial port is as follows:
U-Boot 2010.12-rc1 (Jan 30 2011 - 09:32:35)
CPU:   8641D, Version: 2.1, (0x80900121)
Core:  E600 Core 0, Version: 2.2, (0x80040202)
Clock Configuration:
       CPU:1200 MHz, MPX:400  MHz
       DDR:200  MHz (400 MT/s data rate), LBC:25   MHz
L1:    D-cache 32 KB enabled
       I-cache 32 KB enabled
L2:    512 KB enabled
Board: Wind River SBC8641D
I2C:   ready
DRAM:      DDR: 512 MiB
FLASH: ERROR: too many flash sectors
32 MiB
*** Warning - bad CRC, using default environment
    PCIE1: disabled
    PCIE2 connected as Root Complex (base addr f8009000)
    PCIE2 on bus 00 - 00
In:    serial
Out:   serial
Err:   serial
Net:   eTSEC2: No support for PHY id ffffffff; assuming generic
eTSEC3: No support for PHY id ffffffff; assuming generic
eTSEC4: No support for PHY id ffffffff; assuming generic
eTSEC1, eTSEC2, eTSEC3, eTSEC4
Hit any key to stop autoboot:  0
=> run nfsboot
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.168.0.2; our IP address is 192.168.0.50
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################
done
Bytes transferred = 2109796 (203164 hex)
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.168.0.2; our IP address is 192.168.0.50
Filename 'sbc8641d.dtb'.
Load address: 0x400000
Loading: ##
done
Bytes transferred = 7633 (1dd1 hex)
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.35
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    2109732 Bytes = 2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00400000
   Booting using the fdt blob at 0x400000
   Uncompressing Kernel Image ... Machine check in kernel mode.
Caused by (from msr): regs 1fea4818 MSS error. MSSSR0: 00001000
NIP: 1FECB744 XER: 00000000 LR: 1FECB56C REGS: 1fea4818 TRAP: 0200 DAR: 00000000
MSR: 00101030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
GPR00: 00000016 1FEA4908 1FEA4F48 01000203 000001B4 00000000 0000009E 00000000
GPR08: FFFFFFFF 00003A00 000000C1 00000003 000001FF FFFFF7FF 1FEF695C 00000000
GPR16: FFFFFFFF 000001FF 0000003F FFFFFFFF 00000000 00000000 1FEA73A8 1FEA7D78
GPR24: 007FFEFE 0120315E 00000000 1FEA49E0 1FEA6E78 00000DBF 1FEFEB0C 0000000D
Call backtrace:
001A001A 1FECD4D0 1FEE9E98 1FEE9FC4 1FED9600 1FED99E4 1FEE5AB0
1FEE51C4 1FEE5410 1FEE59EC 1FEE51C4 1FEE53E4 1FEE6AF0 1FEE5AB0
1FEE51C4 1FEE5334 1FEE6F80 1FED0CC8 1FEC957C Machine check in kernel mode.
Caused by (from msr): regs 1fea4568 MSS error. MSSSR0: 00001000
NIP: 1FEE1A58 XER: 20000000 LR: 1FEC98AC REGS: 1fea4568 TRAP: 0200 DAR: 00000000
MSR: 00101030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
GPR00: 00000001 1FEA4658 1FEA4F48 1FEF446C 00000001 00000004 00000000 00000000
GPR08: 00000000 80000000 00000030 00000000 42044024 FFFFF7FF 1FEF695C 00000000
GPR16: FFFFFFFF 000001FF 0000003F FFFFFFFF 00001032 1FEA4808 00000000 1FEC92C0
GPR24: 1FEC9A20 0120315E 1FEF446C 1FEEE430 1FEA466C 00000000 1FEFEA24 7BE7FF6F
Call backtrace:
1FEE1AA8 1FEC98AC 1FEC9B10 1FEC92C0 001A001A 1FECD4D0 1FEE9E98
1FEE9FC4 1FED9600 1FED99E4 1FEE5AB0 1FEE51C4 1FEE5410 1FEE59EC
1FEE51C4 1FEE53E4 1FEE6AF0 1FEE5AB0 1FEE51C4 1FEE5334 1FEE6F80
1FED0CC8 1FEC957C
machine check

and the enviroment variables are shown as below:

=> printenv
baudrate=115200
bootcmd=setenv bootargs root=/dev/ram rw ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostna0
bootdelay=10
bootfile=uImage
consoledev=ttyS0
dis-wd=mw.b f8100010 0x00; echo -expect:- 00; md.b f8100010 1
dtbaddr=400000
dtbfile=sbc8641d.dtb
en-wd=mw.b f8100010 0x08; echo -expect:- 08; md.b f8100010 1
eth1addr=02:E0:0C:00:01:FD
eth2addr=02:E0:0C:00:02:FD
eth3addr=02:E0:0C:00:03:FD
ethact=eTSEC1
ethaddr=02:E0:0C:00:00:01
gatewayip=192.168.0.1
hostname=sbc8641d
ipaddr=192.168.0.50
loadaddr=1000000
loads_echo=1
maxcpus=1
netdev=eth0
netmask=255.255.255.0
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serveripr
ramboot=setenv bootargs root=/dev/ram rw ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostnar
ramdiskaddr=2000000
ramdiskfile=uRamdisk
rootpath=/opt/eldk/ppc_74xx
serverip=192.168.0.2
stderr=serial
stdin=serial
stdout=serial
because I am a beginner of ppc linux, please give me a hand, much to my appreciation!
Thanks,
     woodyiy


More information about the U-Boot mailing list