All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Firmware Upgrade
Date: Tue, 15 Sep 2009 13:08:05 +0200	[thread overview]
Message-ID: <20090915110805.4DC6D832E864@gemini.denx.de> (raw)
In-Reply-To: <4AAF71E3.7050702@tataelxsi.co.in>

Dear Rahanesh,

In message <4AAF71E3.7050702@tataelxsi.co.in> you wrote:
> 
> Is it Possible from Linux to set an environment variable of u-Boot.?

If your environment is stored in NOR or NAND flash, then you can use
the tools from the tools/env/ directory (fw_setenv / fw_printenv).

It should be trivial to adapt the code for other storage devices, too.

> But after a successful download of new jffs and writing to mtd2 
> partition , How will Linux update the environment variable of U-boot?

Use fw_setenv.


Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Any sufficiently advanced technology is indistinguishable from magic.
                                                   - Arthur C. Clarke

  reply	other threads:[~2009-09-15 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 10:52 [U-Boot] Firmware Upgrade Rahanesh
2009-09-15 11:08 ` Wolfgang Denk [this message]
2009-09-15 13:43   ` Rahanesh
2009-09-15 14:00     ` Wolfgang Denk

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=20090915110805.4DC6D832E864@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.