Hi Jeff, > I seem to be having a problem with fw_printenv on my PowerPC 85xx target > whereby I constantly get CRC32 errors: > > # fw_printenv > Warning: Bad CRC, using default environment > > I tracked this down to the fact that u-boot/lib_generic/crc32.c is > getting compiled with the __LITTLE_ENDIAN defined even though I have > CROSS_COMPILE setup correctly [e.g. I can build u-boot.bin just fine].
This makes little sense to me, as then the crc version used in U-Boot would also use a wrong endianness. Are you sure this happens? Las time I used the tool it worked for me without any such hacks. Cheers Detlev -- The limits of my language stand for the limits of my world. -- Ludwig Wittgenstein -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot