Download Print this page

StarFive VisionFive 2 Quick Start Manual page 9

Ai kit
Hide thumbs Also See for VisionFive 2:

Advertisement

This section introduces the following 3 required software preparations:
Required Image/Code Version (on page 9)
Image Flash/Dependency Library Installation (on page 9)
Obtain Source Code and Apply Patches (on page 10)
Required Image/Code Version
Debian12
(202409)
debian-deb
(To adapt to the updated files such as Debian kernel packages required by Hailo)
• Tappas (3.30.0, daffd36ecab5110d47107255fd7ec4c779758f2e)
• HailoRT (v4.19.0, ac19e12b86170e1b0967e7d8aa607a0100cb0077)
• HailoRT-driver (v4.19.0, eb2a8649752abd424c6d2e5109e9ec92d6d2d5f6)
Hailort and Tappas patches
NpuDetectorLib demo
Image Flash/Dependency Library Installation
1. Please refer to
the link
Tip:
StarFive recommendS you to perform following operations under user account to avoid permission
exceptions caused by root account.
2. Update kernel and head files:
a. Run the following command to download and extract the hailort-deb-1.tar.gz file:
$ tar -xzvf hailort-deb-1.tar.gz
b. Run the following command to update u-boot-menu:
$
cd
hailort-deb
$ sudo dpkg -i u-boot-menu_4.2.2-SF113_all.deb
c. Run the following command to update the kernel, header files, libc library, and VPU driver:
$
cd
6.6
$ sudo dpkg -i ./*
d. Run the following command to reboot system:
$ sudo reboot
3. Run the following command to install dependencies:
$ sudo apt install make cmake automake build-essential autoconf bc bison meson flex wget curl git
git-lfs libgirepository1.0-dev gcc g++ rsync x11-utils -y
4. Install Python environment. Install python3-platformdirs. The new version of Snapshot does not support python3
platformdirs below version 3.0 and requires manual retrieval and installation:
$ wget
https://snapshot.debian.org/archive/debian/20221210T034654Z/pool/main/p/platformdirs/python3-platformd
irs_2.6.0-1_all.deb && sudo dpkg -i python3-platformdirs_2.6.0-1_all.deb
$ sudo apt install python3.11 python3.11-dev
python-gi-dev -y
5. Run the following command to install GStreamer related library:
$ sudo apt install libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev
-y
9
(Used for adapting VisionFive 2's HailoRT and Tappas patches)
to flash Debian into SD card.
© 2018-2024 StarFive Technology
All rights reserved
python3-setuptools python3-virtualenv python3-pip
| 2 - Preparation
www.starfivetech.com

Advertisement

loading
Need help?

Need help?

Do you have a question about the VisionFive 2 and is the answer not in the manual?

Related Products for StarFive VisionFive 2