mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Vanhauwaert Wouter <W.Vanhauwaert@TELEVIC.com>
To: Yi Qingliang <niqingliang2003@gmail.com>,
	"barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: RE: bareboxenv on userspace - wrong crc on env
Date: Thu, 29 Aug 2013 13:35:06 +0200	[thread overview]
Message-ID: <E78BBE677EB9144B8F0A0A29674CD5338ED41DC9E8@SRV-VS06.TELEVIC.COM> (raw)
In-Reply-To: <3015446.hmMKF5IOD4@yiqingliang-pc>

> -----Original Message-----
> From: Yi Qingliang [mailto:niqingliang2003@gmail.com]
> Sent: donderdag 29 augustus 2013 12:44
> To: barebox@lists.infradead.org
> Cc: Vanhauwaert Wouter
> Subject: Re: bareboxenv on userspace - wrong crc on env
> 
> On Thursday, August 29, 2013 11:24:41 AM Vanhauwaert Wouter wrote:
> > Hello all,
> >
> > I'm having issues accessing my barebox environment from within linux....
> >
> > My barebox and environment are located on a SPI NOR flash.
> > This boots ok, and barebox is able to save its environment to it.
> >
> > When I want to load it in userspace through:
> >
> > $ bareboxenv -l /mnt /dev/mtd1
> > Or
> > $ dd if=/dev/mtd1 /tmp/barebox
> > Or
> > $ dd if=/dev/mdtblock1 /tmp/barebox
> >
> > Result is:
> > Wrong crc on env
> >
> > However it's working fine in barebox itself
> >
> > What can be wron?
> 
> maybe the ecc mode for nand flash is different in barebox and in kernel, you
> should check the config for barebox and kernel.
> 

It's SPI NOR flash...


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-08-29 11:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29  9:24 Vanhauwaert Wouter
2013-08-29 10:44 ` Yi Qingliang
2013-08-29 11:35   ` Vanhauwaert Wouter [this message]
2013-08-30  2:29     ` Yi Qingliang
2013-08-29 18:44 ` Sascha Hauer
2013-10-11 14:08   ` Vanhauwaert Wouter

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=E78BBE677EB9144B8F0A0A29674CD5338ED41DC9E8@SRV-VS06.TELEVIC.COM \
    --to=w.vanhauwaert@televic.com \
    --cc=barebox@lists.infradead.org \
    --cc=niqingliang2003@gmail.com \
    /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