Skip to content

Commit 0d7946e

Browse files
Yangyang LiangGitHub Enterprise
authored andcommitted
update recipes-vitis-ai: add vai-sample.bb (#1162)
* update recipes-vitis-ai: add vai-sample.bb * update vai-sample_3.5.bb
1 parent bf7cca3 commit 0d7946e

3 files changed

Lines changed: 2023 additions & 3 deletions

File tree

‎src/vai_petalinux_recipes/README.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ CONFIG_vitis-ai-library
4949
CONFIG_vitis-ai-library-dev
5050
CONFIG_vitis-ai-library-dbg
5151
CONFIG_vai-benchmark
52+
CONFIG_vai-sample
5253
```
5354

5455
3. Source PetaLinux tool and run `petalinux-config -c rootfs` command. Select the following option.
@@ -62,9 +63,14 @@ Then, save it and exit.
6263

6364
**Note the following:**
6465
* The `recipes-vitis-ai/glog` will throw exception info for vitis-ai-library
65-
* After you run the above successfully, the vitis-ai-library, VART3.5 and the dependent packages will all be installed into rootfs image.
66-
* If you want to compile the examples on the target, please select the `vitis-ai-library-dev` and `packagegroup-petalinux-self-hosted`. Then, recompile the system.
67-
* If you want to use vaitracer tool, please select the `vitis-ai-library-dbg`. And copy `recipes-vai-kernel` folder to `<petalinux project>/project-spec/meta-user/`. Then, recompile the system.
66+
* After you run the above successfully, the vitis-ai-library, VART3.5 and the dependent packages will all be installed into rootfs image.
67+
* If you want to compile the examples on the target, please select the `vitis-ai-library-dev` and `packagegroup-petalinux-self-hosted`. Then, recompile the system.
68+
* If you want to install pre-built examples into rootfs, please select *vai-sample* with `petalinux-config -c rootfs` command, and recompile the system.
69+
```bash
70+
Select user packages --->
71+
Select [*] vai-sample
72+
```
73+
* If you want to use vaitracer tool, please select the `vitis-ai-library-dbg`. And copy `recipes-vai-kernel` folder to `<petalinux project>/project-spec/meta-user/`. Then, recompile the system.
6874
```bash
6975
cp src/vai_petalinux_recipes/recipes-vai-kernel <petalinux project>/project-spec/meta-user/
7076
```

0 commit comments

Comments
 (0)