Differences

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

Link to this comparison view

ass:labs-2025:03:tasks:01 [2026/07/15 15:06]
florin.stancu [01. Automatically booting our Linux]
ass:labs-2025:03:tasks:01 [2026/07/15 15:33] (current)
florin.stancu [01. Automatically booting our Linux]
Line 162: Line 162:
 Sample script: Sample script:
 <​code>​ <​code>​
-preboot=fatload mmc 0:1 ${loadaddr} uboot.txt; env import -t ${loadaddr} ${filesize}+preboot=if fatload mmc 0:1 ${loadaddr} uboot.txt; ​then env import -t ${loadaddr} ${filesize}; fi
 </​code>​ </​code>​
  
 That's it! Create this file on your board'​s FAT32 partition (using the same ''​key=value''​ assignments separated by newlines syntax) and boot it! You should now see your new environment values (''​env print''​)! That's it! Create this file on your board'​s FAT32 partition (using the same ''​key=value''​ assignments separated by newlines syntax) and boot it! You should now see your new environment values (''​env print''​)!
  
ass/labs-2025/03/tasks/01.1784117204.txt.gz ยท Last modified: 2026/07/15 15:06 by florin.stancu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0