Accessing U-Boot ENV variables from Linux
A message that is not in the archive (sent off-list or not yet received): [email protected]
Nethra,
Quoted 7 lines · nethra_gmit at yahoo.co.in
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.cfw_env.configfw_env.hfw_env_main.cMakefileREADMEcan 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