How to compile cockpit images for imx8qm?

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

How to compile cockpit images for imx8qm?

ソリューションへジャンプ
1,098件の閲覧回数
ruisb
Contributor I

Hi

I'm trying to compile cockpit images for imx8qm on Yocto sdk 5.10.35 with the following steps:

1. Choose imx8qm-cockpit-mek machine configuration.

DISTRO=fsl-imx-wayland MACHINE=imx8qm-cockpit-mek source imx-setup-release.sh -b build-cockpit

2. Add cockpit layer.

hook_in_layer meta-imx/meta-cockpit

3. Compile images.

bitbake imx-image-multimedia

Then I got some errors:

ERROR: imx-boot-1.0-r0 do_compile: Execution of '/home/ruisb/imx-yocto/imx-5.10.35-2.0.0/build-cockpit/tmp/work/imx8qm_cockpit_mek-poky-linux/imx-boot/1.0-r0/temp/run.do_compile.32216' failed with exit code 1:
cp: cannot stat '/home/ruisb/imx-yocto/imx-5.10.35-2.0.0/build-cockpit/tmp/deploy/images/imx8qm-cockpit-mek/u-boot-imx8qm-cockpit-mek.bin-a53': No such file or directory
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/ruisb/imx-yocto/imx-5.10.35-2.0.0/build-cockpit/tmp/work/imx8qm_cockpit_mek-poky-linux/imx-boot/1.0-r0/temp/log.do_compile.32216
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: 8QM cockpit boot binary build
| cp: cannot stat '/home/ruisb/imx-yocto/imx-5.10.35-2.0.0/build-cockpit/tmp/deploy/images/imx8qm-cockpit-mek/u-boot-imx8qm-cockpit-mek.bin-a53': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/ruisb/imx-yocto/imx-5.10.35-2.0.0/build-cockpit/tmp/work/imx8qm_cockpit_mek-poky-linux/imx-boot/1.0-r0/temp/run.do_compile.32216' failed with exit code 1:
| cp: cannot stat '/home/ruisb/imx-yocto/imx-5.10.35-2.0.0/build-cockpit/tmp/deploy/images/imx8qm-cockpit-mek/u-boot-imx8qm-cockpit-mek.bin-a53': No such file or directory
| WARNING: exit code 1 from a shell command.
| 
ERROR: Task (/home/ruisb/imx-yocto/imx-5.10.35-2.0.0/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4724 tasks of which 4638 didn't need to be rerun and 1 failed.

Could you give me suggestions about this error?

 

Thanks

Shibo

0 件の賞賛
1 解決策
1,091件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Shibo

 

one can try below patch

diff --git a/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf b/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf
index 87b28d89b..1f6edc387 100644
--- a/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf
+++ b/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf
@@ -13,6 +13,6 @@ KERNEL_DEVICETREE = " \
freescale/imx8qm-mek-cockpit-a72.dtb \
"

-
+UBOOT_CONFIG = "a53 a72"
UBOOT_CONFIG[a72] = "imx8qm_mek_cockpit_a72_defconfig"
UBOOT_CONFIG[a53] = "imx8qm_mek_cockpit_a53_defconfig,sdcard"

 

Best regards
igor

元の投稿で解決策を見る

2 返答(返信)
1,092件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Shibo

 

one can try below patch

diff --git a/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf b/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf
index 87b28d89b..1f6edc387 100644
--- a/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf
+++ b/meta-cockpit/conf/machine/imx8qm-cockpit-mek.conf
@@ -13,6 +13,6 @@ KERNEL_DEVICETREE = " \
freescale/imx8qm-mek-cockpit-a72.dtb \
"

-
+UBOOT_CONFIG = "a53 a72"
UBOOT_CONFIG[a72] = "imx8qm_mek_cockpit_a72_defconfig"
UBOOT_CONFIG[a53] = "imx8qm_mek_cockpit_a53_defconfig,sdcard"

 

Best regards
igor

1,085件の閲覧回数
ruisb
Contributor I

It works, thanks!

0 件の賞賛