On Fri, 2013-10-11 at 14:57 +0200, Vanhauwaert Wouter wrote: > Hi, I want to use bareboxenv-target on my operating system > My environment settings are stored on a m25p32 spi nor flash. > I can load them perfectly by issueing command: > bareboxenv-target -l /tmp/barebox /dev/mtd1 > I change something and afterwards I do: bareboxenv-target -s /tmp/barebox /dev/mtd1 > No problems so far > However > If I reboot, I get a wrong crc on env superblock and default environment is loaded You should use flash_erase (from mtd-utils) on the mtd partition before writing to it. Regards, Jan Lübbe -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox