All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Changing u-boot parameter from linux.
Date: Tue, 02 Sep 2008 12:42:33 -0700	[thread overview]
Message-ID: <48BD9729.8020808@gmail.com> (raw)
In-Reply-To: <200809021852.m82Iqi2i032297@mail.corelis.com>

Hi Brian,

Brian S. Park wrote:
> Hi all,
> What is the recommended way to update u-boot parameter (such as 
> network IP) from linux? In the past, I just updated the parameter 
> sector in the flash by calculating the check sum and wrote the new 
> data to the flash directly from linux application. This works ok if 
> u-boot is not updated. I realized that u-boot has changed the way it 
> writes the parameter to the flash since we used in on our last 
> hardware (version 1.0.0) and am wondering if there is a better way to do this.
>   
Use the fw_printenv/fw_setenv application in the tools/env directory.  
It's a user-space app that can access your environment if you make it 
visible through MTD.

regards,
Ben

      reply	other threads:[~2008-09-02 19:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 18:52 [U-Boot] Changing u-boot parameter from linux Brian S. Park
2008-09-02 19:42 ` Ben Warren [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=48BD9729.8020808@gmail.com \
    --to=biggerbadderben@gmail.com \
    --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.