This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| uboot [2012/05/16 21:40] – 82.234.233.9 | uboot [2012/12/06 18: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 < | ||
| + | ns2> sav | ||
| + | Saving Environment to SPI Flash... | ||
| + | ns2> run update_uboot | ||
| + | Using egiga0 device | ||
| + | TFTP from server 192.168.1.19; | ||
| + | Filename ' | ||
| + | Load address: 0x800000 | ||
| + | Loading: ################# | ||
| + | done | ||
| + | Bytes transferred = 239836 (3a8dc hex) | ||
| + | SF: Detected MX25L4005 with page size 64 KiB, total 512 KiB | ||
| + | |||
| ===== Links ===== | ===== Links ===== | ||
| * [[http:// | * [[http:// | ||