mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Nataraj S Narayan <natarajsn@gmail.com>
To: barebox@lists.infradead.org
Subject: Barebox: unprotect dataflash
Date: Fri, 27 Aug 2010 09:58:24 +0530	[thread overview]
Message-ID: <AANLkTi=fu9YB-Te21U5TBTdVD=BKfpYHxjAW2m7mX1K8@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 914 bytes --]

Hi

I am on barebox 2010.05.0-00446-g02f7dfe-dirty (Aug 23 2010 - 10:05:28).


I need to store the Env onto dataflash. While using u-boot, the env is
written to  0x4000 in the dataflash.

Which of this could be the  Data-flash device?



9263-EK:/ ls -l /dev/
/dev/zero                /dev/defaultenv          /dev/mem
/dev/ram0                /dev/nand0               /dev/nand_oob0
/dev/phy0                /dev/nor0                /dev/self
/dev/env0                /dev/nor0.barebox        /dev/nor0.bareboxenv
/dev/nor0.kernel         /dev/nor0.root

9263-EK:/ ls -l /dev/defaultenv
drwxrwxrwx          0 .
drwxrwxrwx          0 ..
drwxrwxrwx          0 dev
drwxrwxrwx          0 env
-rwxrwxrwx          0 uImage


Tried on /dev/defaultenv to get this , and stalls:-

9263-EK:/ unprotect  /dev/defaultenv
9263-EK:/ saveenv
saving environment
cfi_protect: unprotect 0xf1851002 (size 131072)


regards

Nataraj

[-- Attachment #1.2: Type: text/html, Size: 1053 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

                 reply	other threads:[~2010-08-27  4:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='AANLkTi=fu9YB-Te21U5TBTdVD=BKfpYHxjAW2m7mX1K8@mail.gmail.com' \
    --to=natarajsn@gmail.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