[U-Boot-Users] Accessing U-Boot ENV variables from Linux

Ben Warren bwarren at qstreams.com
Fri Jul 27 15:59:55 CEST 2007


Nethra,

On Fri, 2007-07-27 at 02:42 -0700, nethra_gmit at yahoo.co.in wrote:
> i m not getting 'fw_printenv' after compiling u-boot..
> 
> [nethra at localhost u-boot-1.1.2]$ cd tools/env
> [nethra at localhost env]$ ls
>            fw_env.c  fw_env.config  fw_env.h  fw_env_main.c  Makefile  README
> 
> can i know how to use this proprerly..?

A few things:

1. Please don't e-mail me without including the U-boot list unless it's
something only I would be interested in, such as cheap Cialis or maybe
the chance to help recover millions of dollars from the widow of Saddam
Hussein's cousin-in-law.

2. Please don't top post.

That out of the way...

This tool isn't built by default.  I've attached a couple of patches
that apply cleanly to the latest git tree:

- The first turns on building of the tool.
- The second fixes compile errors and warnings that I came across a few
months ago.  I expect you'll need it if you're using Linux 2.6.  If
you're using a 2.4 kernel, I don't know if this is needed or not.

regards,
Ben
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_fw_printenv.patch
Type: text/x-patch
Size: 363 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070727/08aabdbf/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fw_printenv.patch
Type: application/mbox
Size: 7128 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070727/08aabdbf/attachment-0001.bin 


More information about the U-Boot mailing list