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

Mike Frysinger vapier at gentoo.org
Wed Mar 26 15:49:46 CET 2008


On Wednesday 26 March 2008, Wolfgang Denk wrote:
> In message <200803260051.24681.vapier at gentoo.org> you wrote:
> > note: there are known problems with crc generation on the build system
> > when it isnt the same endian/bitsize as the target.
>
> What sort of problems is this?
>
> We use x86 (= LE) for build systems, and CRC  generation  works  fine
> both  for  LE  tyargets like ARM and MIP and for BE ones like Power -
> what exactly do you mean?

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.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080326/ee11ad63/attachment.pgp 


More information about the U-Boot mailing list