From: Yi Qingliang <niqingliang2003@gmail.com>
To: barebox@lists.infradead.org
Cc: Vanhauwaert Wouter <W.Vanhauwaert@televic.com>
Subject: Re: bareboxenv on userspace - wrong crc on env
Date: Thu, 29 Aug 2013 18:44:15 +0800 [thread overview]
Message-ID: <3015446.hmMKF5IOD4@yiqingliang-pc> (raw)
In-Reply-To: <E78BBE677EB9144B8F0A0A29674CD5338ED41DC8EF@SRV-VS06.TELEVIC.COM>
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.
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-08-29 10:50 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 [this message]
2013-08-29 11:35 ` Vanhauwaert Wouter
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=3015446.hmMKF5IOD4@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