Interestingly, one of our Developer Advocates brought on a different Libre Computer SBC a few years ago in this IoT Happy Hour video: IoT Happy Hour #45: Building balenaOS for a Device - YouTube. It had an Allwinner SoC, so it’ll be a bit different in your case, but I think his walkthrough could be quite helpful still.
We support the Nano Pi R2C and R2S, which use the RK3328: GitHub - balena-os/balena-nanopi-r2. I’m not sure how different the RK3328-CC is, but it may be a good place to begin investigating what’s needed to contribute support overall. I’m certainly not the expert in adding board support, but maybe just dangerous enough to get you started.
Thanks for the response @the-real-kenna! I’ve added the necessary git-submodules based on Balena docs and Firefly docs for the rk3328-cc. In order to trigger a build I think the next would be for the Balena team to clone or fork the repository. Who should I contact in order to advance this?
Hi. Did you build the OS locally on your development machine for this device type? Is it booting to userspace? Before we start importing the repo in the balena-os github organization, you need to have the resulting image running ok on your device.
I’m following the Youtube video above, and ran: ./balena-yocto-scripts/build/barys -k -d -m rk3328-roc-cc
I got this error:
ERROR: Unable to parse /home/dev/balena-rockchip-rk3328-cc/layers/poky/bitbake/lib/bb/parse/__init__.py
Traceback (most recent call last):
File "/home/dev/balena-rockchip-rk3328-cc/layers/poky/bitbake/lib/bb/parse/__init__.py", line 127, in resolve_file(fn='conf/bitbake.conf', d=<bb.data_smart.DataSmart object at 0x7f5c5b3124d0>):
if not newfn:
> raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))
fn = newfn
FileNotFoundError: [Errno 2] file conf/bitbake.conf not found in /home/dev/balena-rockchip-rk3328-cc/build
The bitbake.conf file is under layers/poky/meta/conf where I believe is should be. Am I missing setting some PATH?