mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Alexander Shiyan" <shc_work@mail.ru>
To: "Benoit RAT" <benoit@sevensols.com>
Cc: barebox@lists.infradead.org
Subject: Re: Problem with loadenv from /dev/env0
Date: Mon, 11 Jun 2012 15:58:22 +0400	[thread overview]
Message-ID: <1339415901.262796345@f230.mail.ru> (raw)
In-Reply-To: <CAHvDM_feUegqzvhH9oN19ooDvMkcKNrrx6sKP54txFBMD0oJqg@mail.gmail.com>


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

Hello.

Mon, 11 Jun 2012 13:53:13 +0200 от Benoit RAT <benoit@sevensols.com>:
...
I want to recover some parameters from my NAND flash by using saveenv and loadenv but It does not work
First I have used a big env0 partition to be sure bad blocks don't bother me.

 devfs_add_partition("nand0", 0x00000, 0xF0000, PARTITION_FIXED, "env_raw");
 dev_add_bb_dev("env_raw", "env0");

Then I try to edit,save & load /env/config

wrs-02:0B:AD:C0:FF:EE# edit /env/configAnd if I reboot barebox I still load the default environmentCan you do saveenv before?

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

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

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

      parent reply	other threads:[~2012-06-11 11:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11 11:53 Benoit RAT
2012-06-11 11:57 ` Sascha Hauer
2012-06-11 11:59   ` Benoit RAT
2012-06-11 12:05     ` Benoit RAT
2012-06-11 11:58 ` Alexander Shiyan [this message]

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=1339415901.262796345@f230.mail.ru \
    --to=shc_work@mail.ru \
    --cc=barebox@lists.infradead.org \
    --cc=benoit@sevensols.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