From: Simon Kagstrom Date: Wed, 8 Jul 2009 15:59:27 +0200 Subject: [U-Boot] U-boot environment on Sheevaplug Message-ID: <20090708155927.31c30411@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Prafulla (and the list)! I'm wondering a bit how Sheevaplug handles the U-boot environment area. On OpenRD base it's stored on the NAND flash, and is protected by a 4-bit ECC as required when read by the boot prom - it just goes together with the rest of the u-boot image. The Marvell-supplied 1.1.4 version has code to handle this (basically switches to Reed-Solomon when reading/saving the environment), but it doesn't work with upstream U-boot. If I disable ECC altogether (in kirkwood_nand.c) I can read the environment, but since U-boot doesn't use Reed-Solomon, the soft ECC option doesn't cut it. Is the situation the same with sheevaplug? I see there are patches for OpenOCD to handle the same thing there, http://lists.berlios.de/pipermail/openocd-development/2009-May/006413.html so perhaps something similar is bound for U-boot as well? // Simon