mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Yi Qingliang <niqingliang2003@gmail.com>
To: Vanhauwaert Wouter <W.Vanhauwaert@televic.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: bareboxenv on userspace - wrong crc on env
Date: Fri, 30 Aug 2013 10:29:54 +0800	[thread overview]
Message-ID: <12999017.ISv1UkMmMq@yiqingliang-pc> (raw)
In-Reply-To: <E78BBE677EB9144B8F0A0A29674CD5338ED41DC9E8@SRV-VS06.TELEVIC.COM>

On Thursday, August 29, 2013 01:35:06 PM Vanhauwaert Wouter wrote:
> > -----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?
> > 
> > 
> 
> It's SPI NOR flash...
you can ignore the 'nand':

maybe the ecc mode for flash is different in barebox and in kernel,
you should check the config for barebox and kernel.

-- 
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com

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

  reply	other threads:[~2013-08-30  2:36 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
2013-08-30  2:29     ` Yi Qingliang [this message]
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=12999017.ISv1UkMmMq@yiqingliang-pc \
    --to=niqingliang2003@gmail.com \
    --cc=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