User Tools

Site Tools


uboot

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
uboot [2012/05/16 19:40]
82.234.233.9
uboot [2012/12/06 17:05] (current)
78.122.157.53
Line 218: Line 218:
   ns2> reset   ns2> reset
   resetting ...   resetting ...
 +
 +
 +You can automatize these steps with an u-boot script :
 +  ns2> setenv update_uboot 'tftp 0x800000 $UBOOTFILE && sf probe 0 && sf erase 0 0x50000 && sf write 0x800000 0 0x50000'​
 +  ns2> setenv UBOOTFILE u-boot-netspace_v2.kwb
 +  ns2> sav
 +  Saving Environment to SPI Flash...
 +
 +And then update the UBOOTFILE variable and launch the script :
 +  ns2> setenv UBOOTFILE <​my-new-u-boot.kwb>​
 +  ns2> sav
 +  Saving Environment to SPI Flash...
 +  ns2> run update_uboot
 +  Using egiga0 device
 +  TFTP from server 192.168.1.19;​ our IP address is 192.168.1.65
 +  Filename '​uboot'​.
 +  Load address: 0x800000
 +  Loading: #################​
 +  done 
 +  Bytes transferred = 239836 (3a8dc hex)
 +  SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB
 +
  
 ===== Links ===== ===== Links =====
  
   * [[http://​www.denx.de/​wiki/​U-Boot|U-Boot project]]   * [[http://​www.denx.de/​wiki/​U-Boot|U-Boot project]]
uboot.txt ยท Last modified: 2012/12/06 17:05 by 78.122.157.53