principles projects CNMI-Guam old projects |
How to reflash ACQ164 with latest factory firmwareInstructions are in paragraph 8.2 of the D-Tacq_2G User Guide, download at http://www.d-tacq.com/resources/D-Tacq_2G_UserGuide.pdf http://www.oceanphysics.org/support/lera/docs/dtacq/D-Tacq_2G_UserGuide.pdf The operation is done from the linux host, connected by ethernet to the ACQ164. We assume that the local /etc/hosts has an entry for dtacq with the correct local (private net) IP number of the ACQ164 unit being reflashed. The specific serial number xxx of that unit must be known. 1. Obtain from either the D-Tacq server in Scotland or the radlab server in Hawaii, the script fetch_d-tacq_firmware wget http://www.d-tacq.com/swrel/fetch_d-tacq_firmware or wget http://www.oceanphysics.org/support/lera/soft/dtacq/acq164/fetch_d-tacq_firmware then chmod a+rx fetch_d-tacq_firmware 2. Run script ./fetch_d-tacq_firmware URL where URL can be either http://www.d-tacq.com/swrel/acq2xx-2.6.21-acqX00-202.2126.3781-201312041850.tar or http://www.oceanphysics.org/support/lera/soft/dtacq/acq164/acq2xx-2.6.21-acqX00-202.2126.3781-201312041850.tar This script will download the proper image from either the Scotland or the Hawaii server, and will untar it in a directory named after the release. You can check which version the ACQ164 is running with the command: get.release.versions 3. Remote update the acq164 image; cd to the directory: cd acq2xx-2.6.21-acqX00-202.2126.3781-201312041850 then ./images/remote.update dtacq acq164_xxx all When this completes, ssh to the ACQ164 and reboot then ssh again and reset the ffs file system (while preserving the calibration files) /usr/local/bin/ffs-factory-reset if this script is not on the ACQ164, you can fetch it from http://www.oceanphysics.org/support/lera/soft/dtacq/acq164/ffs-factory-reset 4. After this, you need to restore the following customized files: /ffs/dropbear/usr/local/bin/lera_control /ffs/rc.user.local /ffs/user/rc.user which are contained in: http://www.oceanphysics.org/support/lera/soft/dtacq/acq164/dtacq_acq164_ffs.tgz 5. reboot the ACQ164 again, you should have a fully configured fresh install. |