[Yocto][mickledore-6.1.22][iMX8MP][ u-boot-imx]: No module named 'setuptools'

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

[Yocto][mickledore-6.1.22][iMX8MP][ u-boot-imx]: No module named 'setuptools'

597 Views
khang_letruong
Senior Contributor III

Hi Forum,

I am bitbaking the imx-image-desktop (L6.1.22_2.0.0_iMX_Linux_Distribution_POC_Docs) and got following error during the compilation of u-boot-imx package :

Traceback (most recent call last):
| File "/devel/rtr/SW/nxp-yocto-imx-6_1_22-2_0_x-desktop/build-xwayland-debix_model_a-desktop/tmp/work/debix_model_a_imx8mp-fsl-linux/u-boot-imx/2023.04-r0/git/scripts/dtc/pylibfdt/setup.py", line 23, in <module>
| from setuptools import setup, Extension
| ModuleNotFoundError: No module named 'setuptools'
| make[3]: *** [/devel/rtr/SW/nxp-yocto-imx-6_1_22-2_0_x-desktop/build-xwayland-debix_model_a-desktop/tmp/work/debix_model_a_imx8mp-fsl-linux/u-boot-imx/2023.04-r0/git/scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1
| make[2]: *** [/devel/rtr/SW/nxp-yocto-imx-6_1_22-2_0_x-desktop/build-xwayland-debix_model_a-desktop/tmp/work/debix_model_a_imx8mp-fsl-linux/u-boot-imx/2023.04-r0/git/scripts/Makefile.build:397: scripts/dtc/pylibfdt] Error 2
| make[2]: *** Waiting for unfinished jobs....

Could someone help to point out what was the missing configuration of the build environment, please ?

I am using Ubuntu-20.04 native.

Thanks and best regards,

Khang

Labels (1)
0 Kudos
Reply
3 Replies

571 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @khang_letruong!

Thank you for contacting NXP Support!

 

Our Yocto projects including the desktop are made it for out boards, if you want to compile for debix_model_a_imx8mp you should port our source code for your board.

 

https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf

 

Best Regards!

Alejandro

0 Kudos
Reply

555 Views
khang_letruong
Senior Contributor III

Hi @Chavira,

The porting guide you shared does not seem to help to the desktop image. 

Meanwhile, my porting works well with pure Yocto image bitbaking for the same BSP release.

Regards,

Khang

0 Kudos
Reply

531 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @khang_letruong!

 

The problem that you have is in uboot compilation and the porting guide is only for the boot part.

 

You can compile for one of our boards and use the rootfs for your board, and compile or use a kernel image and flash.bin for your board generated or provided for the enterprise who design your board.

 

Best Regards!

Chavira

0 Kudos
Reply