aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/files/uboot-envtools.sh
Commit message (Collapse)AuthorAgeFilesLines
* uboot-envtools: add support for multiple config partitionsBjørn Mork2021-04-081-14/+24
| | | | | | | | | | | | | | | | | | | | | | Most (all?) of the realtek devices have two u-boot config partitions with a different set of variables in each. The U-Boot shell provides two sets of apps to manipulate these: printenv- print environment variables printsys- printsys - print system information variables saveenv - save environment variables to persistent storage savesys - savesys - save system information variables to persistent storage setenv - set environment variables setsys - setsys - set system information variables Add support for multiple ubootenv configuration types, allowing more than one configuration file. Section names are not suitable for naming the different configurations since each file can be the result of multiple sections in case of backup partitions. Signed-off-by: Bjørn Mork <bjorn@mork.no>
* uboot-envtools: check for config prior to appendImran Khan2019-12-171-1/+1
| | | | | | | | | | | | | In the rare event a pre-populated fw_env.config exists in the rootfs prior to firstboot, calling fw_setenv after the system has initialised will annihilate the devices environment due to two identical lines in fw_env.config. Check for existence prior to blind appendage. Signed-off-by: Imran Khan <gururug@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [daniel@makrotopia.org: fixed patch format, improved grep, cosmetics]
* move boot related packages to their own folderJohn Crispin2012-10-161-0/+36
SVN-Revision: 33781