[U-Boot-Users] u-boot for pxa255

Simon Sudler Simon.Sudler at gmx.net
Tue Nov 30 12:47:04 CET 2004


Sharad P. Katti wrote:
> Hi,
> 
> Since the board doesnot have the nework to test from the net, I tried
> that to check whether I'm doing the right thing or not.
> 
> The board has 512K of flash, onto which I'm writing the U-boot (its of
> 64K), and in the remaining space, I'm writing the kernel (which is
> around 350K, and its only for the testing).
> 
> Now to boot from the image, I'm planning to do the following,
> 
> 1> Copy the Image from the flash to the RAM,
> 2> and then give the control to the image location in RAM (using the
> bootm command).

the bootm command expects a image file created from a binary with 
tools/mkimage. e.g.:

mkimage -n 'Kernel Ramdisk Image' -A ppc -O linux -T kernel -C none -e 
00400000 -a 00400000 -d zImage.bin zImage.img

If your kernel image in the flash memory was created with the mkimage 
tool just start it with:
=> bootm 0xYourflashaddress

or test it with:
=> imi 0xYourflashaddress

the should produce a output similar to:
## Checking Image at 04000000 ...
    Image Name:   Kernel Ramdisk Image
    Created:      2004-11-30   9:54:16 UTC
    Image Type:   PowerPC Linux Kernel Image (uncompressed)
    Data Size:    3010560 Bytes =  2.9 MB
    Load Address: 00400000
    Entry Point:  00400000
    Verifying Checksum ... OK

> 
> Please confirm me whether I'm doing the right thing.

that should to the trick...

Cheers
Simon




More information about the U-Boot mailing list