[U-Boot-Users] RE: linuxppc_2_4_mpc5200 / 5200lite zImage now working
Wolfgang Denk
wd at denx.de
Mon Nov 10 17:58:06 CET 2003
Dear Tord,
in message <004B1D7A5257174C9044A1B7BD0E60ED447037 at ratatosk.combitechsystems.com> you wrote:
>
> I built u-boot as you described (low boot config). I had problems
> downloading the binary image with the dBUG dn command (tftp, image
> format, might have to do with 100 mbps ethernet?). I then turned to the
I never used dBUG - does it expect a special image format? Maybe you
have to specify "binary" images or so?
> "dl" command which only supports S-records. I made an image for loading
> at 0x20000 by the following command:
>
> ppc_82xx-objcopy --gapfill=0xff --change-adresses=-0xFEFE0000 -O srec u-boot_20000.srec
Umm...
> I loaded this with the dl command at 0x20000 and then it was programmed
> into flash by:
>
> fp FF000000 FF035250 20000
>
> I moved the boot jumper to the Low position and u-boot got up!
> Unfortunately, as soon as I tried to save environment variables (IP nad
> MAC-adresses) and rebooted, the system crashed. I fear that my objcopy
> tweaking might have been a little bit too hasty... : )
Probably. Try out what happens when you (re-) convert the _binary_
image into S-Records, something ike this:
ppc_82xx-objcopy --change-adresses=-0xFEFE0000 -I binary -O srec \
u-boot.bin your_image.srec
Best regards,
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
No journaling file system can recover your data if the disk dies.
- Steve Rago in <D4Cw1p.L9E at plc.com>
More information about the U-Boot
mailing list