bareboxenv-target and spi nor flash crc problem
Vanhauwaert Wouter
W.Vanhauwaert at TELEVIC.com
Fri Oct 11 11:02:58 EDT 2013
> -----Original Message-----
> From: Vanhauwaert Wouter
> Sent: vrijdag 11 oktober 2013 14:58
> To: barebox at lists.infradead.org
> Subject: bareboxenv-target and spi nor flash crc problem
>
> 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 My barebox is latest v2013.10.0 and my kernel is 2.6.35.3
> (freescale git maintain version) As a sidenote, I also still have problems with
> nand flash written with barebox, which is corrupt in linux and vica versa...
I think I figured it out. I need to erase the spi nor flash first. I assumed the bareboxenv-target application did that for me...
Am I correct?
Grtz,
Wouter
More information about the barebox
mailing list