25 lines
923 B
Markdown
25 lines
923 B
Markdown
# Debian package integration
|
|
|
|
Recommended runtime layout:
|
|
|
|
```text
|
|
/usr/include/rk3588-ai/yolo_runtime.h
|
|
/usr/include/rk3588-ai/yolo_runtime_types.h
|
|
/usr/lib/aarch64-linux-gnu/rk3588-ai/libyolo_runtime.so.3
|
|
/usr/lib/aarch64-linux-gnu/rk3588-ai/libyolo_backend_<task>.so
|
|
/usr/lib/aarch64-linux-gnu/rk3588-ai/librknnrt.so
|
|
/usr/lib/aarch64-linux-gnu/rk3588-ai/librga.so
|
|
/usr/share/rk3588-ai/models/<model>/...
|
|
```
|
|
|
|
Either install the libraries in the system loader path or add the private
|
|
library directory through `/etc/ld.so.conf.d` and run `ldconfig` from Debian
|
|
maintainer scripts. Do not package a kernel NPU driver without matching it to
|
|
the target BSP.
|
|
|
|
Runtime dependencies should include the board-compatible `libc6` and
|
|
`libstdc++6`. The package must declare `Architecture: arm64`.
|
|
|
|
Before producing the final `.deb`, run both examples on the target board and
|
|
retain `verification.json` with `deviceVerified: true`.
|