Changes between Version 10 and Version 11 of ventana/bootloader
- Timestamp:
- 11/29/2018 10:45:08 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ventana/bootloader
v10 v11 461 461 [=#uboot-envtools] 462 462 === U-Boot envtools (fw_printenv / fw_setenv) === 463 The {{{fw_printenv}}} and {{{fw_setenv}}} tools from U-Boot provide a way to allow reading and writing to U-Boot's env variables provided you have a proper configuration file. On OpenWrt these are in the {{{uboot-envtools}}} package and on Ubuntu they are in the {{{u-boot-tools}}} package. 463 The {{{fw_printenv}}} and {{{fw_setenv}}} tools from U-Boot provide a way to allow reading and writing to U-Boot's env variables provided you have a proper configuration file. On OpenWrt these are in the {{{uboot-envtools}}} package and on Ubuntu they are in the {{{u-boot-tools}}} package. In order to use u-boot envtools environment must be saved at least once. 464 465 In bootloader: 466 {{{#!bash 467 saveenv 468 }}} 464 469 465 470 Assuming your using a board with NAND flash as the primary boot device and the U-Boot env is in the 2nd partition the following shows a valid config file: