From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ip2.televic.com ([81.82.194.222]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VUeFN-0003II-QE for barebox@lists.infradead.org; Fri, 11 Oct 2013 15:03:22 +0000 From: Vanhauwaert Wouter Date: Fri, 11 Oct 2013 17:02:58 +0200 Message-ID: Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: RE: bareboxenv-target and spi nor flash crc problem To: "barebox@lists.infradead.org" > -----Original Message----- > From: Vanhauwaert Wouter > Sent: vrijdag 11 oktober 2013 14:58 > To: barebox@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 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox