TechNexion / tn-imx-yocto-manifest

TechNexion i.MX Yocto manifests
25 stars 11 forks source link

EDM-G-IMX8MP Yocto error #45

Open soniarevalo opened 2 months ago

soniarevalo commented 2 months ago

Hello, I am trying to build "imx-image-core" for the edm-g-imx8mp board.

The Yocto distro_version os 5.15 Kirkstone, the machine is "edm-g-imx8mp" and my OS is Ubuntu 20.04.

And I get the following errors:

`ERROR: kernel-module-nxp-pn5xx-git-r0 do_install: oe_runmake failed ERROR: kernel-module-nxp-pn5xx-git-r0 do_install: ExecutionError('/home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/edm_g_imx8mp-poky-linux/kernel-module-nxp-pn5xx/git-r0/temp/run.do_install.3686800', 1, None, None) ERROR: Logfile of failure stored in: /home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/edm_g_imx8mp-poky-linux/kernel-module-nxp-pn5xx/git-r0/temp/log.do_install.3686800

...

ERROR: Task (/home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/sources/meta-nxp-nfc/recipes-kernel/kernel-modules/kernel-module-nxp-pn5xx_git.bb:do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 5810 tasks of which 4589 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/sources/meta-nxp-nfc/recipes-kernel/kernel-modules/kernel-module-nxp-pn5xx_git.bb:do_install Summary: There were 4 WARNING messages. Summary: There were 2 ERROR messages, returning a non-zero exit code. `

How can I solve this problem?

Thank you for your help.

ray-chang commented 2 months ago

@soniarevalo

Thanks for the feedback. I don't see this error on our builder server. If you're not using an NFC peripheral, you can remove it from local.conf.

build-xwayland-edm-g-imx8mp/conf/local.conf:

RF_FIRMWARES ?= "qca ath-pci" SOUNDCARD ?= "voicehat" NFC ?= "nfc" PA_TOKEN ?= "SbtQ_mC4fvJRA88_9jB7"

It is recommended to use our docker container, dockerfile as below: https://github.com/TechNexion/meta-tn-imx-bsp/blob/kirkstone_5.15.71-2.2.0-stable/tools/container/dockerfile

Or use the virtual machines we built. https://download.technexion.com/development_resources/development_tools/vm/Build_Env_Ubuntu_x64_20.04_vmware-20221202.zip

BR, Ray