[U-Boot-Users] auto-save environment if using default environment?

Wolfgang Denk wd at denx.de
Wed Mar 26 16:01:03 CET 2008


In message <200803261049.47563.vapier at gentoo.org> you wrote:
>
> i'll have to double check the endian (istr it being broken), but bitness is
> most definitely broken.  this issue was posted over a year and a half ago.
> 
> tools/envcrc.c does sizeof(unsigned long) using the host compiler.  if the
> host is 64bit, that is "8".  if the target is 32bit, that is "4".  not going 
> to work.

Agreed, that is indeed a problem. Please submit a patch :-)

But there should be no endianess issues.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
An age is called Dark not because  the  light  fails  to  shine,  but
because people refuse to see it.           -- James Michener, "Space"




More information about the U-Boot mailing list