[i.MX6 UL] Yocto Zeus 2.3.0 Build issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX6 UL] Yocto Zeus 2.3.0 Build issue

2,905 Views
john2207
Contributor I

Hi ,

We are trying to build yocto BSP for imx6ulevk board by following i.MX_Yocto_Project_User's_Guide.pdf (Rev. L5.4.70_2.3.0 — 31 December 2020) and facing issues. We used DISTRO and MACHINE configurations as below (conf/local.conf) MACHINE ??= 'imx6ulevk' DISTRO ?= 'fsl-imx-wayland' We observed below issues,

1. ERROR: Nothing PROVIDES 'syslinux' ========================================================================= yocto@yocto-OptiPlex-7060:/data/Jana/imx6ul/build$ bitbake imx-image-multimedia Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00 Loaded 4640 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:00 Parsing of 3218 .bb files complete (3217 cached, 1 parsed). 4641 targets, 474 skipped, 1 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'syslinux' syslinux was skipped: incompatible with host arm-poky-linux-gnueabi (not in COMPATIBLE_HOST) ERROR: Required build target 'imx-image-multimedia' has no buildable providers. Missing or unbuildable dependency chain was: ['imx-image-multimedia', 'syslinux'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. yocto@yocto-OptiPlex-7060:/data/Jana/imx6ul/build$ =========================================================================

We found that IMAGE_FSTYPES = "live iso" is added as default in local.conf. ARM/aarch64 architecture is mentioned in COMPATIBLE_HOST in syslinux. So we commented this configuration and tried building.

 

2. ERROR: Nothing RPROVIDES 'xinit-env' ========================================================================= yocto@yocto-OptiPlex-7060:/data/Jana/imx6ul/build$ bitbake imx-image-multimedia Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00 Loaded 4640 entries from dependency cache. Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:00 Parsing of 3218 .bb files complete (3217 cached, 1 parsed). 4641 targets, 474 skipped, 1 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'xinit-env' (but /data/Jana/axon2_imx6ul/sources/meta-imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'xinit-env' is unbuildable, removing... Missing or unbuildable dependency chain was: ['xinit-env'] ERROR: Required build target 'imx-image-multimedia' has no buildable providers. Missing or unbuildable dependency chain was: ['imx-image-multimedia', 'xinit-env'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. yocto@yocto-OptiPlex-7060:/data/Jana/imx6ul/build$ =========================================================================

we commented out IMAGE_INSTALL_append = " xinit-env" in local.conf and proceeding with build.

We have followed the i.MX_Yocto_Project_User's_Guide.pdf (Rev. L5.4.70_2.3.0 — 31 December 2020) document for building steps,

Installed host packages (ubuntu 18.04 (64-bit) is our host) and repo the source using this imx-5.4.70-2.3.0.xml file.

 >> Setting up DISTRO and MACHINE configuration using below command (after executing this , you will enter into build/ directory. You will check conf/local.conf file and confirm configuration details)

 DISTRO=fsl-imx-wayland MACHINE=imx6ulevk source imx-setup-release.sh -b build/

 >> Build the image using below command,

 bitbake imx-image-multimedia

 We have attached the Yocto user's guide for reference.

 

0 Kudos
Reply
7 Replies

2,856 Views
john2207
Contributor I

Hi @joanxie,

We have tried with latest release imx-5.10.9-1.0.0.xml ( kernel : 5.10.9 branch : gatesgarth ) released on Mar 31, 2021 and checked. We are able to built the image without any issues. We are able to boot from uSD in EVK board (micro sd card) by flashing .wic image into usd card.

Thanks for your help.

0 Kudos
Reply

2,894 Views
joanxie
NXP TechSupport
NXP TechSupport

try to use "imx6ull14x14evk" as machine name

0 Kudos
Reply

2,888 Views
john2207
Contributor I

Hi joanxie,

We are using MCIMX6UL-EVKB evaluation board and our custom board based on imx6 UL SOC. Still, can we use MACHINE name as imx6ull14x14evk ?

0 Kudos
Reply

2,845 Views
joanxie
NXP TechSupport
NXP TechSupport

your machine name imx6ulevk is correct, not imx6ull14x14evk

 

0 Kudos
Reply

2,842 Views
john2207
Contributor I

Hi @joanxie,

yes, machine name is imx6ulevk.


We have tried with latest release imx-5.10.9-1.0.0.xml ( kernel : 5.10.9 branch : gatesgarth ) released on Mar 31, 2021 and checked. We are able to built the image without any issues. We are able to boot from uSD in EVK board (micro sd card) by flashing .wic image into usd card.

Thanks for your help.

0 Kudos
Reply

2,828 Views
joanxie
NXP TechSupport
NXP TechSupport

glad to hear this

0 Kudos
Reply

2,875 Views
joanxie
NXP TechSupport
NXP TechSupport

sorry I thought you use imx6ull,  if you use imx6ulevk, your command is ok, do you mean your building is successful if you commented out IMAGE_INSTALL_append = " xinit-env" in local.conf ?

0 Kudos
Reply