Problems when building image for MACHINE=imx93-11x11-lpddr4x-evk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems when building image for MACHINE=imx93-11x11-lpddr4x-evk

ソリューションへジャンプ
3,307件の閲覧回数
rockerr
Contributor III

Hi, I'm working with the i.MX9 evaluation board and have done the first steps regarding the Yocto build described in the i.MX Yocto Project User's Guide.

 

MACHINE=imx93-11x11-lpddr4x-evk DISTRO=poky source imx-setup-release.sh  -b build-ixm

 

While building the core-image-minimal below error occured:

 

| make[2]: *** No rule to make target 'arch/arm64/boot/dts/freescale/imx93-11x11-evk-ld.dtb'.  Stop.
| make[1]: *** [/home/user/Documents/RD0204/linux-platform/imx/build-ixm/tmp/work-shared/imx93-11x11-lpddr4x-evk/kernel-source/scripts/Makefile.build:500: arch/arm64/boot/dts/freescale] Error 2imx93-11x11-evk-ld.dtb
| make: *** [/home/user/Documents/RD0204/linux-platform/imx/build-ixm/tmp/work-shared/imx93-11x11-lpddr4x-evk/kernel-source/Makefile:1471: freescale/imx93-11x11-evk-ld.dtb] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/user/Documents/RD0204/linux-platform/imx/sources/meta-freescale/recipes-kernel/linux/linux-fslc-imx_6.1.bb:do_compile) failed with exit code '1'

 

 It seems that the imx93-11x11-evk-ld.dtb file can't be build for some reason, I'm struggling with finding where exactly it should sit in the file tree. There is a file named imx93-11x11-evk.dtb
in tmp/work/imx93_11x11_lpddr4x_evk-poky-linux/linux-fslc-imx/6.1.24+gitAUTOINC+897d73a656-r0/build/arch/arm64/boot/dts/freescale, however the names differ.

Do you know how to cope with this error?

Similar problem was mentioned in this question, yet in my case the dts file cannot be found in the file tree.

 

0 件の賞賛
返信
1 解決策
3,262件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

These two DISTROs supported and tested for i.MX8 and 9.  If problem encounters, a clean build is worthy of try. 

 

Best regards

Harvey

元の投稿で解決策を見る

6 返答(返信)
3,235件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

There is a history around the "FSL Community", if you use this string for a Google search you get some more background information.

In a nutshell, there is a BSP which origins from NXP (from the linux-nxp repository) and there are others. One of these "others" is the FSL Community BSP. It is a Community project and even in the past, before the merge between NXP and Freescale, this BSP did not come from Freescale but from some guys forming a Linux Community group.

Regards,
Bernhard.

0 件の賞賛
返信
3,278件の閲覧回数
rockerr
Contributor III

It seems that bitbake sources kernel from https://github.com/Freescale/linux-fslc/ instead of the linux-nxp git repository, but why would it do that? Indeed the freescale repo doesn't contain all the dts files that the bitbake later asks for.

0 件の賞賛
返信
3,282件の閲覧回数
rockerr
Contributor III

 when set to MACHINE=imx93evk the error is slightly different, however still a dtb file is lacking:

*** No rule to make target 'arch/arm64/boot/dts/freescale/imx93-14x14-evk-aud-hat.dtb'.  Stop.
0 件の賞賛
返信
3,275件の閲覧回数
rockerr
Contributor III
It might be my own error of choosing DISTRO=poky, as in the yocto nxp guide it's mentioned that only two distros are supported, fsl-imx-wayland and fsl-imx-waylandx. I'm gonna try this now.
0 件の賞賛
返信
3,263件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

These two DISTROs supported and tested for i.MX8 and 9.  If problem encounters, a clean build is worthy of try. 

 

Best regards

Harvey

3,251件の閲覧回数
rockerr
Contributor III

It seems that choosing the right distro solved the problem, build went through easily. Thanks!

0 件の賞賛
返信