Changes between Version 10 and Version 11 of ventana/bootloader


Ignore:
Timestamp:
11/29/2018 10:45:08 PM (5 years ago)
Author:
Cale Collins
Comment:

added saveenv to u-boot-envtools

Legend:

Unmodified
Added
Removed
Modified
  • ventana/bootloader

    v10 v11  
    461461[=#uboot-envtools]
    462462=== 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.
     463The {{{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
     465In bootloader:
     466{{{#!bash
     467saveenv
     468}}}
    464469
    465470Assuming 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: