For days I have now been trying to create a working image with Buildroot. I found this guide and it helped me a little: http://wiki.friendlyarm.com/wiki/index.php/Buildroot_for_RK3399
Unfortunately I am constantly encountering new problems. There are always compiler errors. I got desperated on Debian Lite … now I’ve tried Ubuntu (as a guest in Virtualbox on Windows because I don’t have a Linux PC).
It became clear to me late that the standard way with “make” for creating a Buildroot image doesn’t work with the RK3399. There is an own make script (build.sh). But there are problems with that too. The instructions described under 5.2 - 5.4 are unfortunately not very detailed. Don’t know why I should compile partial codes, where the image or images (?) will be located after, and what “Auto compilation” should be (the mentioned command is just the build skript without parameters which shows me available options).
The only video player I can select with “make menuconfig” is VLC. But at least with the Raspberry Pi I’ve made the experience that this causes problems under Buildroot. I doubt whether this works better with the Rockpi and the Mali GPU.
The next problems that will come up to me:
- I don’t need a window manager, but all the video players I’ve tested (VLC, MPV etc.) don’t work directly in a shell without one.
- The Buildroot image needs to boot from NVME SSD. I found instructions on how to set this up for Debian: https://wiki.radxa.com/Rockpi4/Linux_system_runs_on_M.2_NVME_SSD
I don’t know if it works with that boot loader also with Buildroot instead of Debian.
- I don’t think hardware acceleration works out-of-the-box with Buildroot, especially without window manager. Does the unofficial script mentioned here also work with Buildroot?
Many things that unfortunately depend on each other and I’m not a Linux professional. I thought it would be much easier. Thanks anyway for your help!
Update concerning Buildroot:
sudo ./build.sh all
…gave me the following output:
pack buildroot image at: /home/me/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/images/rootfs.ext4
you take 48:21.12 to build builroot
====Build buildroot ok!====
buildroot/output/rockchip_rk3399/images/rootfs.ext4 not generated?
error: please build rootfs first.
Only “rootfs.tar” has been built, no “rootfs.ext4”.