[U-Boot-Users] Kernel hangs after decompressing.

DavidHo at nanometrics.ca DavidHo at nanometrics.ca
Thu Sep 11 20:10:27 CEST 2003


Hi,

I am trying to bring up an uImage made from a Timesys 4.0 kernel on a EP860
board with u-boot 4.0 as the bootloader.   I did a small port to make
u-boot run on the EP860, mainly making changes to the SDRAM initialization
and Flash configuration code.  Once this is done.  I went back to the
Timesys kernel, which uses the RPXClassic configuration - the kernel runs
fine in this configuration on the EP860.

I copied the bd_info structure from u-boot.h to rpxclassic.h in the kernel
and I had to add a bi_nvram_size field to the structure since the board
requires it.

I know the IMAP_ADDR is important so I'm absolutely sure this matches
CFG_IMMR.

When I try autobooting the kernel image from the tftp server, it hangs soon
after the kernel is uncompressed.


U-Boot 0.4.0 (Sep 11 2003 - 12:37:07)

CPU:   XPC860xxZPnnD4 at 50 MHz: 16 kB I-Cache 8 kB D-Cache FEC present
Board: EP860
I2C:   ready
DRAM:  16 MB
FLASH: 16 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
Hit any key to stop autoboot:  0
TFTP from server 199.71.138.8; our IP address is 199.71.138.25
Filename 'uImage'.
Load address: 0x100000
Loading: #################################################################
         #################################################################
         ###########################################
done
Bytes transferred = 883654 (d7bc6 hex)
## Booting image at 00100000 ...
   Image Name:   Linux Kernel Image
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    883590 Bytes = 862.9 kB
   Load Address: 00100000
   Entry Point:  00100000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
B

I had to move the load address up from 0x0 to pass the uncompressing stage.
I'm not sure why loading to 0x0 causes problems since the examples in the
readme all use 0x0 as the load address.

I made the uImage from vmlinux in the top level directory and the
vmlinux.gz from arch/ppc but they hanged at the same point.

I can boot the zImage (kernel built with its own boot loader) by tftping
the zImage to RAM and jumping to the start of the image.  So the kernel
works smoothly with its boot loader.

I would really appreciate any suggestions you can give me to try on the
board.  I can give you any other information if there's anything I missed
here.

Thanks in advance,

David Ho
Nanometrics Inc.






More information about the U-Boot mailing list