[U-Boot-Users] I will be crazy, Please HELP

Wolfgang Denk wd at denx.de
Wed Apr 9 10:01:32 CEST 2003


In message <01a401c2febe$6f3809a0$fe02a8c0 at esd11> you wrote:
> after two days, I still cannot boot a kernel from u-boot,
> 1.first I build my linux kernel by:
>     make lubbock
>     make oldconfig
>     make dep
>     make zImage
> 2.then I follow the README file to product uImage,
>     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin
>     gzip -9 linux.bin
>     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e 0xa0008000 -n
> "Linux Kernel Image" -d linux.bin.gz uImage
> 3.then I use u-boot to load it:
>     =>loadb 0xa0008000
>     =>bootm 0xa0008000
>     ## Booting image at a0008000 ...
>     Image Name:   Linux Kernel Image
>     Image Type:   ARM Linux Kernel Image (gzip compressed)
>     Data Size:    791662 Bytes = 773.1 kB
>     Load Address: a0008000
>     Entry Point:  a0008000

This is wrong. Load the image to RAM at a  _different_  address.  You
overwrite your own code.


Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Pray to God, but keep rowing to shore. - Russian Proverb




More information about the U-Boot mailing list