Setting the Power Consumption Level in Main Processor or Coprocessor Mode
Procedure
- Decompress the Atlas200_SoC_SDK.zip package to obtain the Hashrate_package.zip package. For details, see Downloading Software Packages.
- Decompress the Hashrate_package.zip package to obtain the hashrate configuration files.
The nve_low.bin, nve_middle.bin, nve_high.bin, and nve_full.bin files in the Hashrate_package.zip package correspond to the lowest level, second lowest level, second highest level, and the highest level, respectively.
- Burn the nve_XX.bin file to change the power consumption level.
- Run the following command to go to the /var/davinci/firmware directory:
cd /var/davinci/firmware
- Run the following command to switch to user root:
sudo root
- Run the following command to burn the nve_XX.bin file:
./upgrade-tool --device_index -1 --component nve --path <path/to/nve.bin>
For example, run the following command to change the power consumption to the lowest level:
./upgrade-tool --device_index -1 --component nve --path ./nve_low.bin
If the following information is displayed, the burning is successful.
root@davinci-mini:/var/davinci/firmware# ./upgrade-tool --device_index -1 --component nve --path ./nve_low.bin {"device": 0, "succeed"} root@davinci-mini:/var/davinci/firmware#
- Run the following command to go to the /var/davinci/firmware directory:
- Run the following command to reboot the system for the modification to take effect:
reboot
- Check whether the hashrate configuration file has taken effect.
- Go to the /var/davinci/firmware directory.
cd /var/davinci/firmware
- Switch to user root.
sudo root
- Check whether the hashrate configuration file has taken effect.
./opsread-tool
The hashrate configuration file has taken effect if the following information is displayed:
root@davinci-mini:/var/davinci/firmware# ./opsread-tool low root@davinci-mini:/var/davinci/firmware#
- Go to the /var/davinci/firmware directory.