public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Saravanan Chanemouganandam <schane@osmozis.com>
To: linux-mtd@lists.infradead.org
Subject: Re: modify boot environment parameters
Date: Mon, 24 Sep 2007 09:28:07 +0200	[thread overview]
Message-ID: <200709240928.08338.schane@osmozis.com> (raw)
In-Reply-To: <20070923220352.8B3322405D@gemini.denx.de>

Hello Denk,

I am using proprietary (ARMmon) binary version of bootloader (like u-boot and 
not u-boot bootloader) that gives support to modify environment variables 
only from the bootloader prompt. But, In my case, I want to modify boot 
environment option
"root=/dev/mtdblock1" to "root=/dev/mtdblock2" and viceversa on successive 
reboot.

The environment variables are stored at the offset 0x00050000  ( 4th block) on 
the NOR flash (/dev/mtdblock0).

Is there any utility tool to access and modify a particular block 0x00050000 
on the NOR flash ? I came across u-boot/tools/env but its ment for u-boot. 
Will it give support to other flash env access with some modification ?

Thanks
Sara




Le Lundi 24 Septembre 2007 00:03, Wolfgang Denk a écrit :
> In message <200709191804.24336.schane@osmozis.com> you wrote:
> > Are there utilities to modify the boot environment (like u-boot) block on
> > the flash from within the linux ?
>
> Of course there are. But this is off topic here.
>
> > I am looking for information to modify the boot environment block on the
> > NOR (/dev/mtd0) flash at offset 0x5000.
>
> See u-boot/tools/env/
>
> Best regards,
>
> Wolfgang Denk

      reply	other threads:[~2007-09-24  7:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 16:04 modify boot environment parameters Saravanan Chanemouganandam
2007-09-23 22:03 ` Wolfgang Denk
2007-09-24  7:28   ` Saravanan Chanemouganandam [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=200709240928.08338.schane@osmozis.com \
    --to=schane@osmozis.com \
    --cc=linux-mtd@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