It is required by sysupgrade on some boards, and it is only
working if a suitable /etc/fw_env.config is present on the
target board. If an user creates such configuration he/she
should know that it is a dangerous tool. The devices can
be bricked in several other ways anyway.
SVN-Revision: 33265
Make the creation of the fw_set-symlink optional, so it can be
disabled in user-builds so only people who know what they are
doing will mess with uboot-env.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28698
This adds an init-script for generating /etc/fw_env.config from UCI in
case it doesn't exist yet.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28697
zlib is a build-dependency, but in runtime zlib is not required,
see:
root@OpenWrt:/# ldd /usr/sbin/fw_printenv
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abb2000)
libc.so.0 => /lib/libc.so.0 (0x2abd4000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2ab9a000)
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28696
This updates uboot-envtools to the version which comes with U-Boot 2011.06.
The important novelity is that fw_setenv now supports batch processing, which
greatly improves sysupgrade of the ALL0258N as otherwise we would have to
overwrite uboot-env up to 8x in a single firmware upgrade.
Unfortunately, no newer version of the sources is available from Debian, so we
got to take it from the u-boot source which is kinda ugly...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28566