Upgrading the System
Procedure
- Install the Atlas 200 AI accelerator module on the PCB.
- Log in to the OS of the Atlas 200 AI accelerator module and perform the following operations as the root user.
- Use WinSCP to upload the target version software package A200-3000-Soc-FW-Vxxx.zip to any directory, for example, /opt/mini/.
- Run the following command to go to the directory where the software package is stored, for example, /opt/mini/:
cd /opt/mini
- Run the following command to rename the package mini_developerkit.rar:
mv A200-3000-Soc-FW-Vxxx.zip mini_developerkit.rar
- Run the following command to decompress mini_developerkit.rar to obtain the upgrade script minirc_install_phase1.sh:
Ensure that the partition has sufficient space for storing the decompressed package. If the space is insufficient, the upgrade will fail.
unzip mini_developerkit.rar
- Run the following command to copy the upgrade script minirc_install_phase1.sh to the directory where the target version software package is stored, for example, /opt/mini/:
cp mini_developerkit/scripts/minirc_install_phase1.sh /opt/mini
- Run the upgrade script.
- Run the following command to grant the execute permission on the minirc_install_phase1.sh file:
chmod u+x minirc_install_phase1.sh
- Run the following command to start the upgrade script:
setsid -w ./minirc_install_phase1.sh
- Run the following command to grant the execute permission on the minirc_install_phase1.sh file:
- Run the following command to restart the Atlas 200 AI accelerator module:
reboot
- (Optional) After the Atlas 200 AI accelerator module is started, query the Atlas 200 AI accelerator module version number.
- Run the following command to switch to the firmware directory:
cd /var/davinci/firmware/
- Run the following command to check the version information. If the version information is the same as that of the software package, the upgrade is successful.
./upgrade-tool --device_index -1 --component -1 --version
- Run the following command to switch to the firmware directory:
- (Optional) Check the PCB version number after upgrade.
Run the following command to view the content of the sys_version.conf file:
cat /var/davinci/sys_version.conf