Hi,
I am trying to build the balena os image from yocto build for the release tag v2.99.27+rev1.
I am following the following procedure to build.
-
Clone the balena-jetson yocto source.
$ git clone GitHub - balena-os/balena-jetson -
Download the needed dependencies (i.e) other yocto repositories needed for yocto build using following command.
$ cd balena-jetson
$ git submodule update --init --recursive -
Checkout to the release tag and create a temporary development branch.
$ git checkout v2.99.27+rev1
$ git checkout -b dev_branch -
Checkout to the tag v2.99.27 in the meta-balena source
$ cd layers/meta-balena
$ git checkout v2.99.27 -
Move back to the balena-jetson directory.
$ cd …/…/ -
Build the Jetson xavier Balena OS image .
$ balena-yocto-scripts/build/barys -b jetson_xavier_build --shared-downloads $HOME/downloads -m jetson-xavier
But I am facing the following issue in the yocto build.
ERROR: Traceback (most recent call last):
** File “/home/parthiban/Projects/Balena_Jetson/balena-jetson/layers/poky/bitbake/lib/bb/cookerdata.py”, line 162, in wrapped**
** return func(fn, args)*
** File “/home/parthiban/Projects/Balena_Jetson/balena-jetson/layers/poky/bitbake/lib/bb/cookerdata.py”, line 187, in parse_config_file**
** return bb.parse.handle(fn, data, include)**
** File “/home/parthiban/Projects/Balena_Jetson/balena-jetson/layers/poky/bitbake/lib/bb/parse/init.py”, line 107, in handle**
** return h[‘handle’](fn, data, include)**
** File “/home/parthiban/Projects/Balena_Jetson/balena-jetson/layers/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py”, line 118, in handle**
** abs_fn = resolve_file(fn, data)**
** File “/home/parthiban/Projects/Balena_Jetson/balena-jetson/layers/poky/bitbake/lib/bb/parse/init.py”, line 133, in resolve_file**
** raise IOError(errno.ENOENT, “file %s not found” % fn)**
FileNotFoundError: [Errno 2] file /home/parthiban/Projects/Balena_Jetson/balena-jetson/nilecam25_jetson_xavier/…/layers/meta-rust/conf/layer.conf not found
ERROR: Unable to parse /home/parthiban/Projects/Balena_Jetson/balena-jetson/nilecam25_jetson_xavier/…/layers/meta-rust/conf/layer.conf: [Errno 2] file /home/parthiban/Projects/Balena_Jetson/balena-jetson/nilecam25_jetson_xavier/…/layers/meta-rust/conf/layer.conf not found
[000000010][LOG]Build for jetson-xavier failed. Check failed log in nilecam25_jetson_xavier/tmp/log/cooker/jetson-xavier .
[000000010][LOG]If build for jetson-xavier succeeded, final image should have been generated here:
[000000010][LOG] nilecam25_jetson_xavier/tmp/deploy/images/jetson-xavier/balena-image-jetson-xavier.balenaos-img
[000000010][LOG]Done.
When I searched the “balena-jetson/layers/meta-rust” there is no files present inside the directory.
Is there anything we are missing in the build? We need to build jetson xavier balena image for the L4T32.7.1
Thanks,
Arul.