[U-Boot] Trouble "booting using board info"
Mikhail Zaturenskiy
mzaturenskiy at shoppertrak.com
Thu Jun 25 17:46:14 CEST 2009
Hi Detlev,
> Please disable unneccessary debug output the next time - this makes it
> hard to see the salient things - thanks.
Done, next bunch of code will be posted w/o debug output (see code
below), I just thought it would help track down the issues.
>> => setenv ethaddr 00-e0-86-0c-84-fd
>> eth_set_enetaddr(num=0, addr=00-e0-86-0c-84-fd)
>
> Wow, our parser groks '-' as delimiters? Didn't know that ;)
Nice :)
> Ok, 2.6.30 so you definitely need a fdt for the kernel. Either pass it
> through U-Boot or use a cuImage wrapper in the Linux kernel.
I got an FDT generated and passed it in through U-Boot (see code below)
> Judiging from include/configs/EP88x.h you do not have FDT support
> enabled in your U-Boot at all (-> CONFIG_OF_LIBFDT). That the output
> stays the same also hints in this direction, as otherwise you'll see
> something like this:
>
> ## Flattened Device Tree blob at 00600000
> Booting using the fdt blob at 0x600000
> Uncompressing Kernel Image ... OK
You're right, I turned on CONFIG_OF_LIBFDT in include/configs/EP88x.h.
Here's where I'm at now:
U-Boot 2009.03-svn8591 (Jun 25 2009 - 10:18:12)
CPU: MPC885ZPnn at 100 MHz [40.0...133.0 MHz]
8 kB I-Cache 8 kB D-Cache FEC present
Board: EP88xC 1.1 CPLD revision 2
DRAM: 64 MB
FLASH: 32 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET, FEC2 ETHERNET
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 10.0.54.150
=> setenv serverip 10.0.54.129
=> setenv bootargs root=/dev/ram0 rw
=> setenv ethaddr 00-e0-86-0c-84-fd
=> tftp 400000 ep88x_uimage2
Using FEC ETHERNET device
TFTP from server 10.0.54.129; our IP address is 10.0.54.150
Filename 'ep88x_uimage2'.
Load address: 0x400000
Loading: #################################################################
########
done
Bytes transferred = 1061544 (1032a8 hex)
=> tftp 550000 ep88x_ramdisk3
Using FEC ETHERNET device
TFTP from server 10.0.54.129; our IP address is 10.0.54.150
Filename 'ep88x_ramdisk3'.
Load address: 0x550000
Loading: #################################################################
#############################################################
done
Bytes transferred = 1846099 (1c2b53 hex)
=> tftp 750000 ep88x_dtb
Using FEC ETHERNET device
TFTP from server 10.0.54.129; our IP address is 10.0.54.150
Filename 'ep88x_dtb'.
Load address: 0x750000
Loading: #
done
Bytes transferred = 12288 (3000 hex)
=> bootm 400000 550000 750000
## Booting kernel from Legacy Image at 00400000 ...
Image Name: Linux-2.6.30-rc2-01402-gd4e2f68-
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1061480 Bytes = 1 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00550000 ...
Image Name: Simple Embedded Linux Framework
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1846035 Bytes = 1.8 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00750000
Booting using the fdt blob at 0x750000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 03daa000, end 03f6cb13 ... OK
Now the usual hang, any more suggestions for what to do next?
Thanks a lot!
Mikhail Zaturenskiy
More information about the U-Boot
mailing list