How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

The Orange Pi AIPro development board is a high-performance AI development board carefully crafted by Orange Pi and Ascend. Developers can quickly build AI applications and services based on the Ascend CANN software stack capabilities, achieving various data analysis and inference calculations such as images and videos. However, the pre-installed image on the development board uses the CANN commercial release version. So how can developers experience the latest software features? In this issue, we will introduce: How to upgrade the CANN software package on the Orange Pi AIPro development board.

Step 1: Log in to the Orange Pi AIPro development board..
How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Step 2: Use the CTRL+ALT+T shortcut or click the button at the bottom of the interface to open the terminal console.

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Step 3: Switch to the root user. Root user password: Mind@123.
(base)HwHiAiUser@orangepiaipro:~$ su Password: (base) root@orangepiaipro:/home/HwHiAiUser#

Step 4: Delete the CANN software package installed in the image to free up disk space and prevent insufficient disk space for installing the new CANN software package.

(base) root@orangepiaipro:/home/HwHiAiUser# cd /usr/local/Ascend/ascend-toolkit/ (base) root@orangepiaipro:/usr/local/Ascend/ascend-toolkit# rm -rf *
How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Step 5: Open the browser in the Orange Pi AIPro and visit “Ascend Community – Community Edition Resource Download Center” (https://www.hiascend.com/developer/download/community/result?module=cann). It is recommended to download the latest version of the cann-toolkit software package.

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Step 6: Enter the CANN software package download directory. The default download directory for the Orange Pi AIPro browser is: /home/HwHiAiUser/Downloads.
(base) root@orangepiaipro: /usr/local/Ascend/ascend-toolkit# cd /home/HwHiAiUser/Downloads
Step 7: Grant execution permissions to the CANN software package.
(base) root@orangepiaipro: /home/HwHiAiUser/Downloads # chmod +x ./Ascend-cann-toolkit-8.0.RC1.alpha003_linux-aarch64.run
Step 8: Install the CANN software package.
(base) root@orangepiaipro: /home/HwHiAiUser/Downloads # /Ascend-cann-toolkit-8.0.RC1.alpha003_linux-aarch64.run --install

When the following prompt appears during installation, enter Y and press Enter to continue the installation:

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

The installation was successful as shown in the following figure:

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Step 9: Configure the environment variables.

source /usr/local/Ascend/ascend-toolkit/set_env.sh
How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

END

Learn more about the Orange Pi AIPro development board learning resources

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Previous Recommendations

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

1. Beginner’s Guide | Teach you how to quickly get started with the Orange Pi AIPro development board

2. Complete sample collection of Orange Pi AIPro peripheral interfaces (with source code)

3. How to develop AI inference applications based on the Orange Pi AIPro

How to Upgrade the CANN Software Package on the Orange Pi AIPro Development Board

Leave a Comment

×