Seeking Efficient Methods: Installing Packages on Running Board & Reducing SDK Build Times

  • The Luckfox Pico Pi A has limited system resources, which is why we recommend using Buildroot. Buildroot enables better integration between system software and Rockchip's closed-source libraries, while also reducing the overall system footprint. Other systems with package managers can technically run on the Luckfox Pico Pi, but they tend to suffer from various compatibility issues. This is because most packages downloaded from package manager repositories are built against glibc or musl, whereas the RV1106 uses uClibc. Moreover, the opkg tool primarily maintains packages for musl, so it cannot be used with Buildroot.

    When building Buildroot, only the first compilation usually takes a significant amount of time. If you are simply adding software packages, you can proceed with compilation right after running buildrootmenuconfig. As long as no compatibility issues arise, there is generally no need to perform a clean operation. Finally, you can run ./build.sh firmware to package the rootfs.img, which saves time by skipping the rebuild of other partition images. However, if you need to remove software packages, you will have to either perform a clean build or manually delete the relevant files.