-
Notifications
You must be signed in to change notification settings - Fork 0
Anze
MarekBykowski edited this page Aug 21, 2026
·
7 revisions
https://hub.docker.com/u/luxonis
luxonis/luxonis-os-rvc4:1.39.1-public
First terminal — start it, and give it a name so it's easy to reference
docker run --rm -it --privileged --name rvc4-dev --entrypoint bash \
luxonis/luxonis-os-rvc4:1.39.1-public \
-c "source /prepare-env.sh && exec bash"
Second terminal — attach a new shell to that same running container
docker exec -it rvc4-dev bash
The typical workflow for the user:
- Bind-mount the project into the container and prepare the env
docker run --rm -it --privileged --entrypoint bash \
-v ~/myproject:/workspace \
luxonis/luxonis-os-rvc4:1.39.1-public \
-c "source /prepare-env.sh && exec bash"
- Inside the container, build from workspace
cd /workspace
cmake -B build -S .
make -C build
- Artifacts land back in ~/myproject via the bind mount
scp ~/myproject/my-built-binary root@<rvc4-device-ip>:/usr/bin/
ssh root@<rvc4-device-ip> "chmod +x /usr/bin/my-built-binary && /usr/bin/my-built-binary"
Yocto SDK
/usr/local/oe-sdk-hardcoded-buildpath/ ← Yocto SDK root
├── environment-setup-aarch64-oe-linux ← sourced by /prepare-env.sh (sets CC, CMAKE_TOOLCHAIN_FILE, etc.)
├── version-aarch64-oe-linux ← Yocto build metadata (distro, git revision, timestamp)
├── site-config-aarch64-oe-linux
└── sysroots/
├── x86_64-qtisdk-linux/ ← HOST-side toolchain: the actual cross-compilers live here
│ └── usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc ← the cross-gcc we used to build busybox
└── aarch64-oe-linux/ ← ★ THE ROOTFS ★ (25GB, staged copy of the target device's filesystem)
├── boot/ → kernel Image, config, System.map
├── etc/ → configs, systemd units
├── usr/bin, bin/ → real ARM binaries (oak-agent, adsprpcd, systemd, journalctl, our custom busybox...)
├── usr/lib, lib/ → shared libs, headers, static libs (libc.a)
└── vendor/ system/ data/ persist/ ... → Android/QCOM-style partitions
Specifically Linux kernel:
root@ca2d5d3a5f14:/usr/local/oe-sdk-hardcoded-buildpath# ls /usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-oe-linux/boot/
Image Image-5.15.144 Module.symvers-5.15.144 System.map-5.15.144 config-5.15.144