Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:general_information:tutorial:uboot_tools [2019/09/09 14:35] – [Customising The Config File] liedmannen:general_information:tutorial:uboot_tools [2022/05/27 14:45] – [Read U-Boot Environment] update command franzwesselmann
Line 2: Line 2:
  
 ===== U-Boot Tools ===== ===== U-Boot Tools =====
 +
 +U-Boot provides two tools to read **fw_printenv** and  edit **fw_setenv** the U-Boot environment from the Linux shell.   The U-Boot tools are selected by default in PTXdist based BSP's. This tutorial describes how to setup the configuration file and the usage of the tools mentioned above.  
  
 <WRAP round info 90%>Working with U-Boot tools requires that the U-Boot environment has been saved with the ''saveenv'' command in U-Boot, otherwise the U-Boot tools are using the default environment.\\       <WRAP round info 90%>Working with U-Boot tools requires that the U-Boot environment has been saved with the ''saveenv'' command in U-Boot, otherwise the U-Boot tools are using the default environment.\\      
 If a redundant environment is configured the ''saveenv'' command must be executed twice.</WRAP> If a redundant environment is configured the ''saveenv'' command must be executed twice.</WRAP>
  
-U-Boot provides two tools to read **fw_setenv** and  edit **fw_printenv** the U-Boot environment from the Linux shell.   The U-Boot tools are selected by default in PTXdist based BSP's. This tutorial describes how to setup the configuration file and the usage of the tools mentioned above.   
  
 ==== Customising The Config File ==== ==== Customising The Config File ====
Line 113: Line 114:
 == Edit U-Boot Environment == == Edit U-Boot Environment ==
 <code> <code>
-fw_setenv [parameter] [value]+setenv [parameter] [value]
 </code> </code>
  
Line 120: Line 121:
 This sets the value of the bootdelay paramter in your environment to 3  This sets the value of the bootdelay paramter in your environment to 3 
 <code> <code>
-fw_setenv bootdelay 3+setenv bootdelay 3
 </code>++++ </code>++++
  
  
  • Last modified: 2022/08/04 15:02