This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
uboot [2011/07/17 23:32] – simon | uboot [2012/05/16 21:40] – 82.234.233.9 | ||
---|---|---|---|
Line 28: | Line 28: | ||
===== Install from a LaCie stock U-Boot ===== | ===== Install from a LaCie stock U-Boot ===== | ||
+ | |||
+ | This section present step by step how to update the stock U-Boot with a mainline version. A Network Space v2 board is used but the process should work with all the other LaCie boards supported by U-Boot mainline. | ||
==== Why ? ==== | ==== Why ? ==== | ||
Line 41: | Line 43: | ||
* Be able to add a new feature. | * Be able to add a new feature. | ||
- | ==== Update step by step ==== | + | ==== Preparations |
- | + | ||
- | This section present step by step how to update the stock U-Boot with a mainline version. A Network Space v2 board is used but the process should work with all the other LaCie boards supported by U-Boot mainline. | + | |
- | + | ||
- | === Preparations | + | |
* Create a work directory | * Create a work directory | ||
Line 67: | Line 65: | ||
$ wget ftp:// | $ wget ftp:// | ||
| | ||
- | === Run CLUNC and connect to the LaCie U-Boot console === | + | ==== Run CLUNC and connect to the LaCie U-Boot console |
Startup the NS2 and run the following commands: | Startup the NS2 and run the following commands: | ||
Line 80: | Line 78: | ||
</ | </ | ||
| | ||
- | === Flash the new U-Boot image === | + | ==== Flash the new U-Boot image ==== |
Marvell>> | Marvell>> | ||
Line 101: | Line 99: | ||
Protect Flash Monitor space | Protect Flash Monitor space | ||
| | ||
- | === Restart === | + | ==== Restart |
Marvell>> | Marvell>> | ||
| | ||
- | === Retrieve the NAS IP address === | + | ==== Retrieve the NAS IP address |
U-Boot mainline don't provide a magic packet mechanism to configure the IP address. Instead DHCP is used. It means that [[CLUNC|CLUNC]] becomes useless from this point. Ensure that the NAS is connected to your local network and that a DHCP server is running. | U-Boot mainline don't provide a magic packet mechanism to configure the IP address. Instead DHCP is used. It means that [[CLUNC|CLUNC]] becomes useless from this point. Ensure that the NAS is connected to your local network and that a DHCP server is running. | ||
Line 145: | Line 143: | ||
The IP address is **192.168.0.15** | The IP address is **192.168.0.15** | ||
- | === Connect to U-Boot via netconsole === | + | ==== Connect to U-Boot via netconsole |
The netconsole configuration rely on some environment variables: **ipaddr**, **ncip**, **stdin**, **stdout** and **stderr** (for more information, | The netconsole configuration rely on some environment variables: **ipaddr**, **ncip**, **stdin**, **stdout** and **stderr** (for more information, | ||
Line 162: | Line 160: | ||
GNU ld (Sourcery G++ Lite 2010q1-188) 2.19.51.20090709 | GNU ld (Sourcery G++ Lite 2010q1-188) 2.19.51.20090709 | ||
- | === Default configuration === | + | ==== Default configuration |
* Here is a default environment sample: | * Here is a default environment sample: | ||
Line 188: | Line 186: | ||
Environment size: 604/4092 bytes | Environment size: 604/4092 bytes | ||
- | === Configure U-Boot to suit your own needs === | + | ==== Configure U-Boot to suit your own needs ==== |
* Modify the U-Boot environment. | * Modify the U-Boot environment. |