I used the following links for setting up an IDE for cross compiling for the i.MX 8QuadXPlus MEK board.
Yocto Programming with Eclipse v2 | Variscite Wiki (variwiki.com)
Setting up the Eclipse IDE for Yocto Application D... - NXP Community
I did the following steps (from Yocto Project Description: i.MX Yocto Project User's Guide (nxp.com)):
I am facing the problem, that when building the toolchain using yocto/bitbake it takes several hours and always exceeds my storage capacity because it needs already at 40% completion around 40GB of storage.
Is there a possibility to disable some yocto packages or am I doing something wrong?
已解决! 转到解答。
Thank you for your reply.
I extended the disk size of my virtual machine (Ubuntu LTS 20.04).
Then I repeated all the steps and could build the toolchain.
But your solution would also work
Do you know what is the exact difference between "imx-image-core" and "core-image-base"?
Best regards.
@SimonSchnee
Hello,
please try the following, as recommended in Chapter 2 (Porting Kernel) of "i.MX Porting Guide".
DISTRO=Target-Distro MACHINE=Target-Machine bitbake core-image-minimal -c populate_sdk
https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf
Regards,
Yuri.
Hello Yuri,
I have built my image using
mkdir imx-yocto-bsp
cd imx-yocto-bsp
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml
repo sync
DISTRO=fsl-imx-wayland MACHINE=imx6ull14x14evk source imx-setup-release.sh -b build-fb
bitbake-layers create-layer ../sources/meta-simpledaemon
bitbake-layers add-layer ../sources/meta-simpledaemon
mkdir ../sources/meta-simpledaemon/recipes-example/simpledaemon
recipetool create -V1.0 https://gitlab.com/MichaelBMiner/simpledaemon -o ../sources/meta-simpledaemon/recipes-example/simpledaemon/
bitbake fsl-image-machine-test
Must I include the bitbake populate SDK argument? I want to develop new applications for my image using eclipse but I am not sure where to point the project compiler.
Thank you for your reply.
I extended the disk size of my virtual machine (Ubuntu LTS 20.04).
Then I repeated all the steps and could build the toolchain.
But your solution would also work
Do you know what is the exact difference between "imx-image-core" and "core-image-base"?
Best regards.
@SimonSchnee
Hello,
According to Table 1 (i.MX Yocto project images) of "i.MX Yocto Project User's Guide":
core-image-base: A console-only image that fully supports the target device hardware.
imx-image-core: An i.MX image with i.MX test applications to be used for Wayland backends.
This image is used by our daily core testing.
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf
Regards,
Yuri.