mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Vanhauwaert Wouter <W.Vanhauwaert@TELEVIC.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: RE: bareboxenv-target and spi nor flash crc problem
Date: Fri, 11 Oct 2013 17:02:58 +0200	[thread overview]
Message-ID: <E78BBE677EB9144B8F0A0A29674CD5338F2D443784@SRV-VS06.TELEVIC.COM> (raw)

> -----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

             reply	other threads:[~2013-10-11 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11 15:02 Vanhauwaert Wouter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-10-11 12:57 Vanhauwaert Wouter
2013-10-11 14:22 ` Jan Lübbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E78BBE677EB9144B8F0A0A29674CD5338F2D443784@SRV-VS06.TELEVIC.COM \
    --to=w.vanhauwaert@televic.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox