Hello!
I am following https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf instructions but it looks like imx8mnanoevk is absent from supported machines at branch I am in:
/opt/yocto/imx-yocto-bsp$ ./setup-environment
-e
Usage: MACHINE=<machine> DISTRO=<distro> source setup-environment <build-dir>
Usage: source setup-environment <build-dir>
<machine> machine name
<distro> distro name
<build-dir> build directory
The first usage is for creating a new build directory. In this case, the
script creates the build directory <build-dir>, configures it for the
specified <machine> and <distro>, and prepares the calling shell for running
bitbake on the build directory.
The second usage is for using an existing build directory. In this case,
the script prepares the calling shell for running bitbake on the build
directory <build-dir>. The build directory configuration is unchanged.
-e
Supported machines:
apalis-imx6
cgtqmx6
colibri-imx6
colibri-imx6ull
colibri-imx7-emmc
colibri-imx7-nand
colibri-vf
cubox-i
imx233-olinuxino-maxi
imx233-olinuxino-micro
imx233-olinuxino-mini
imx233-olinuxino-nano
imx6dl-riotboard
imx6qdl-pico
imx6qdl-variscite-som
imx6q-dms-ba16
imx6sl-warp
imx6ul-kontron
imx6ul-pico
imx7d-pico
imx7s-warp
lx2160acex7
nitrogen6sx
(...)
Is there instructions on how to put basic build environment together for imx8mnanoevk? I think that build environment itself is ok, it would build for imx8mqevk for instance:
$ MACHINE=imx8mqevk DISTRO=fslc-wayland source setup-environment output
$ bitbake core-image-minimal
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 1% |#
(...)
Help will be appreciated on DISTRO setting also. My target is to put together a minimal u-boot + Linux build to initial hardware design verification.
Thanks in advance,
Joao.
Solved! Go to Solution.
Well, I found one command that were missing here:
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml
Just confirming that I have selected the correct machine/distro (I am a newbie on Yocto builds):
MACHINE=imx8mnevk DISTRO=fslc-wayland source setup-environment output_imx8mnevk
Thanks again,
Joao.
Well, I found one command that were missing here:
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml
Just confirming that I have selected the correct machine/distro (I am a newbie on Yocto builds):
MACHINE=imx8mnevk DISTRO=fslc-wayland source setup-environment output_imx8mnevk
Thanks again,
Joao.
Good