[U-Boot-Users] Bug in cmd_bootm.c (byteorder)

Wolfgang Denk wd at denx.de
Fri Jun 10 16:14:57 CEST 2005

In message <42A97CF9.4000800 at imc-berlin.de> you wrote:
> IIUC then numbers in image headers (image_header_t) are stored in network 
> byteorder. So when manipulating image headers on the target (i.e. 
> overwriting ih_load) this has to be done in network byteorder.

You are right - well spotted.

> So I suggest the following buxfix:

Checked in locally, will push to public CVS asap.

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Virtual" means never knowing where your next byte is coming from.

More information about the U-Boot mailing list