From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerrit Van Damme Date: Mon, 20 Apr 2009 17:46:22 +0200 Subject: [U-Boot] environment variables crc Message-ID: <49EC98CE.9090001@mgb-tech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello all, I've copied a flash image of one board to another one and changed the ethaddr (environment variable) of course when I start Uboot now the system says: CRC bad, using default environment variables. Now what I would like to do is recalculate that CRC, change it in the image and then copy it to the second board. Can anyone tell me how I can calculate the CRC and where it is located. I already understood that it's a CRC32. Any other ideas are also welcome... Maybe It's even possible with the crc32 command of Uboot but then again I would need the location of the CRC and which data is used to calculate it. Thanks a lot Regards, Gerrit