Difference between revisions of "353 firmware upgrade procedure"

From ElphelWiki
Jump to: navigation, search
Line 1: Line 1:
 
"Help" page in section about reflashing of the camera; this is a text part in a table, where left column has icon picture for this application named "Net Flash"
 
"Help" page in section about reflashing of the camera; this is a text part in a table, where left column has icon picture for this application named "Net Flash"
  
This program is needed to upgrade the firmware in the camera - that includes Linux kernel, drivers, application, FPGA code and internal web pages, the data will be written to the camera flash memory so if you made any changes to the default files or added your own to the camera - they will be lost so you will have to install them again.
+
This program is needed to upgrade the firmware in the camera - that includes Linux kernel, drivers, applications, FPGA code and internal web pages, the data will be written to the camera flash memory so if you made any changes to the default files or added your own to the camera - they will be lost so you will have to install them again.
  
 
There is also a possibility to upgrade camera firmware while the camera is operating, the method described here does not require camera current firmware to be in operational state - it uses the network bootloader hard-wired in the camera CPU (Axis ETRAX FS processor). This bootloader is a very small program and needs special Ethernet packets to be sent over the network - this in turn requires special software on the PC and root (administrative) access to the computer. It is all much simpler when you run this program on the computer booted from the LiveDVD (with all the software preinstalled installed and root access granted). We would recommend do it in a simple network with just computer, switch, power supply (if switch does not provide PoE) and the camera to avoid problems of the network configuration being incompatible with the procedure and make sure the special Ethernet packets are not blocked
 
There is also a possibility to upgrade camera firmware while the camera is operating, the method described here does not require camera current firmware to be in operational state - it uses the network bootloader hard-wired in the camera CPU (Axis ETRAX FS processor). This bootloader is a very small program and needs special Ethernet packets to be sent over the network - this in turn requires special software on the PC and root (administrative) access to the computer. It is all much simpler when you run this program on the computer booted from the LiveDVD (with all the software preinstalled installed and root access granted). We would recommend do it in a simple network with just computer, switch, power supply (if switch does not provide PoE) and the camera to avoid problems of the network configuration being incompatible with the procedure and make sure the special Ethernet packets are not blocked

Revision as of 08:57, 28 September 2007

"Help" page in section about reflashing of the camera; this is a text part in a table, where left column has icon picture for this application named "Net Flash"

This program is needed to upgrade the firmware in the camera - that includes Linux kernel, drivers, applications, FPGA code and internal web pages, the data will be written to the camera flash memory so if you made any changes to the default files or added your own to the camera - they will be lost so you will have to install them again.

There is also a possibility to upgrade camera firmware while the camera is operating, the method described here does not require camera current firmware to be in operational state - it uses the network bootloader hard-wired in the camera CPU (Axis ETRAX FS processor). This bootloader is a very small program and needs special Ethernet packets to be sent over the network - this in turn requires special software on the PC and root (administrative) access to the computer. It is all much simpler when you run this program on the computer booted from the LiveDVD (with all the software preinstalled installed and root access granted). We would recommend do it in a simple network with just computer, switch, power supply (if switch does not provide PoE) and the camera to avoid problems of the network configuration being incompatible with the procedure and make sure the special Ethernet packets are not blocked

The process of installing

for reflashing of the camera. For this process you must have a usb flash drive with empty space ~100Mb. Before flash, please check you network - ask your network administrator (computer with started LiveDVD use ip 192.168.0.1, and camera in reflash process - ip 192.168.0.9), or just connect camera to computer directly over power supply.

To start, please, download form SourceForge firmware (from section "download" at project http://sourceforge.net/projects/elphel/; package "elphel353", with version number not less than 7.1.0.21) as archive with name like "image353-2.10-X.Y.Z.tar.gz", where a string "X.Y.Z" is version number of firmware, and copy it to desktop of LiveDVD, or on a flash drive. Connect a usb flash drive, click on icon for mount (or right click on icon and select "mount"), and after this - change mode of mount to "read/write" mode (right click of mouse on USB flash icon, select "Actions -> Change read/write mode", it's needed to prevent acidentally run of Net Flash script).

Now we ready to start reflashing of camera. Drag-and-drop flash icon on top of the Net Flash. If you have more than one network interface, program ask you about where from his camera is connected - please, select this interface (if you not sure - remember choices, what you use, and try again with other interface). After this prepare camera for reflash - unplug network cable from camera, press and hold the green button, plug network cable and after ~2 seconds release the button. Press "Ok" for message of program "Press the button on the camera", and wait for results.

Now, if camera the fails to boot in this process (for example, if camera connected to other network interface, or because broken archive with firmware), program will exit by timeout in 120 seconds; and when camera fail to upgrade in next stage - program will exit by timeout 400s. If all ok, reflashing process get ~120 seconds.

When this process is complete, you will get a message from program "All ok. You can safely restart the camera by network cable".