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

Nethra,
On Fri, 2007-07-27 at 02:42 -0700, nethra_gmit@yahoo.co.in wrote:
i m not getting 'fw_printenv' after compiling u-boot..
[nethra@localhost u-boot-1.1.2]$ cd tools/env [nethra@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
participants (1)
-
Ben Warren