
On Thu, Jul 31, 2008 at 12:01:18PM +0100, Nigel Hathaway wrote:
I have been playing around with a board from Olimex: the SAM9-L9260 (it has an Atmel AT91SAM9260 on it). This has a ROMboot with U-Boot in NAND flash. The board I am using has an interesting feature: the block which U-Boot is configured to use for storing its environment just happens to be a bad block, so I can't change and store the U-Boot environment parameters on it.
There's a patch in the testing branch of u-boot-nand-flash to allow a range of blocks to be specified for the environment, with bad blocks being skipped. Another patch has been posted to allow the location of the environment to be specified in the OOB area of the boot block (which is guaranteed to be good).
-Scott