Difference between revisions of "Netboot firmware upgrade"
Line 1: | Line 1: | ||
+ | ===Notes=== | ||
+ | * These instructions are for Elphel 353 series cameras | ||
+ | * If the camera firmware is older than 8.0.7.4 it might be more convenient to use the camera's firmware upgrade web interface | ||
===Instructions:=== | ===Instructions:=== | ||
Revision as of 15:51, 5 November 2010
Notes
- These instructions are for Elphel 353 series cameras
- If the camera firmware is older than 8.0.7.4 it might be more convenient to use the camera's firmware upgrade web interface
Instructions:
pre-step
set up nfs & build the firmware: instructions (follow 4.2-4.3, you may also need some packages from 3.1.1)
step 1
In a terminal window
cd elphel353/ . ./init_env sudo ./netboot -mac 000E64000000 -ip 192.168.0.200 -nfs 192.168.0.15:/nfs/images/8.0.8.48 -cmd update -d eth0 -nfs_dir /nfs/images/8.0.8.48
netboot parameters & options:
- [-d ethX] - network interface to camera, by default, eth0
- mac=000E64000000 - MAC address for camera; if SERNO in camera boot block not present, this MAC address will be written in bootblock
- ip=xxx.xxx.xxx.xxx - temporary ip for the camera (by default, 192.168.0.9)
- nfs=192.168.0.15:/nfs/images/8.0.8.48 - NFS server, where the firmware is placed.
- nfs_dir - /nfs/images/8.0.8.48 - path to the firmware files (at the moment it duplicates -nfs)
- cmd=boot|update
The script will output:
Using internal boot loader: INTERNAL_NW - Network boot (default). Using internal boot loader: INTERNAL2 - Level2 boot. Starting boot...
step 2
Manually put the camera into the netboot mode (plug/unplug the cable 3-4 times - both camera leds will start blinking) - the script will go further and will finish with something like:
PACKET_INFO 0xc0004000 0x01160008 JUMP Exiting with code 0 (this indicates that the reflashing process has started)
step 3
wait for 2 minutes, reboot & access the camera at its default ip address 192.168.0.9.
When the camera started from netboot, it boot, mount NFS share and write the firmware to the flash.
If the firmware was flashed successfully you should see a log file in /nfs/logs finishing with "done".
Only after this you can unplug the Ethernet cable for few seconds and reconnect the camera.