Netboot firmware upgrade
- These instructions are for Elphel 353 series cameras
- This method is only recommended if the camera internal firmware is not fully operational (eg. network communication is not working)
- If the camera firmware is >126.96.36.199 it might be more convenient to use the camera's firmware upgrade web interface (in the System Preferences)
set up nfs & build the firmware: instructions (follow 4.2-4.3, you may also need some packages from 3.1.1)
In a terminal window
cd elphel353/ sudo su . ./init_env ./netboot -mac 000E64000000 -ip 192.168.0.200 -nfs 192.168.0.15:/nfs/images/188.8.131.52 -cmd update -d eth0 -nfs_dir /nfs/images/184.108.40.206
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/220.127.116.11 - NFS server, where the firmware is placed.
- nfs_dir - /nfs/images/18.104.22.168 - path to the firmware files (at the moment it duplicates -nfs)
The script will output:
Using internal boot loader: INTERNAL_NW - Network boot (default). Using internal boot loader: INTERNAL2 - Level2 boot. Starting boot...
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)
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.