how to set the machine name for 8MMINID4-EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to set the machine name for 8MMINID4-EVK

跳至解决方案
2,116 次查看
bryan_hong
Contributor V

Hello

When I compile the kernel, How to set the machine name for 8MMINID4-EVK?

 

I use below for BSP.

 - repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml

 

thanks

Bryan

0 项奖励
回复
1 解答
2,045 次查看
bryan_hong
Contributor V

hello NXP

Move to sources/meta-imx/meta-bsp/conf/machine.
there is imx8mmddr4evk.conf file.

thanks

Bryan

在原帖中查看解决方案

0 项奖励
回复
9 回复数
2,046 次查看
bryan_hong
Contributor V

hello NXP

Move to sources/meta-imx/meta-bsp/conf/machine.
there is imx8mmddr4evk.conf file.

thanks

Bryan

0 项奖励
回复
2,082 次查看
bryan_hong
Contributor V

After I set MACHINE to imx8mmddr4evk,  

===

$DISTRO=fsl-imx-wayland MACHINE=imx8mmddr4evk source imx-setup-release.sh -b build-core

$bitbake core-image-base

 

$DISTRO=fsl-imx-wayland MACHINE=imx8mmddr4evk source imx-setup-release.sh -b build-image-core

$bitbake imx-image-core

===

 

Each above two case, build error happened as below.

===

ERROR: core-image-base-1.0-r0 do_image_wic: Execution of '/nvme1/bryan/iot/imx8m-mini/imx-yocto-bsp/build-core/tmp/work/imx8mmddr4evk-poky-linux/core-image-base/1.0-r0/temp/run.do_image_wic.28387' failed with exit code 1:
INFO: Creating image(s)...

ERROR: A native program mkfs.ext4 required to build the image was not found (see details above).

Please make sure wic-tools have e2fsprogs-native in its DEPENDS, build it with 'bitbake wic-tools' and try again.


WARNING: /nvme1/bryan/iot/imx8m-mini/imx-yocto-bsp/build-core/tmp/work/imx8mmddr4evk-poky-linux/core-image-base/1.0-r0/temp/run.do_image_wic.28387:1 exit 1 from 'BUILDDIR="/nvme1/bryan/iot/imx8m-mini/imx-yocto-bsp/build-core" wic create "$wks" --vars "/nvme1/bryan/iot/imx8m-mini/imx-yocto-bsp/build-core/tmp/sysroots/imx8mmddr4evk/imgdata/" -e "core-image-base" -o "$out/" --no-fstab-update'

ERROR: Logfile of failure stored in: /nvme1/bryan/iot/imx8m-mini/imx-yocto-bsp/build-core/tmp/work/imx8mmddr4evk-poky-linux/core-image-base/1.0-r0/temp/log.do_image_wic.28387

===

BUT If I set MACHINE to imx8mmevk, build error did not happended. BTW why did not generated sdcard image file ?

BR

Bryan

0 项奖励
回复
2,080 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

With emmc ,Bootloader is “imx-boot-imx8mmevk-sd.bin-flash_evk”.Rootfs and kernel is “imx-image-full-imx8mmevk-20200708060549.rootfs.bz2 ”

 

Open shell/terminal:

       uuu -b emmc_all bootloader_name rootfs_name            ----------------------EMMC

       uuu -b sd_all bootloader_name rootfs_name            ----------------------SD

update all images: uuu -b emmc_all imx-boot-imx8mmevk-sd.bin-flash_evk imx-image-full-imx8mmevk-20200708060549.rootfs.bz2

update bootloader: uuu -b emmc bootloader_name

More details can see uuu.pdf.

0 项奖励
回复
2,106 次查看
bryan_hong
Contributor V

Hello

How did I found that information about imx8mmddr4evk ? I can't found that information at any pdf documents.

thanks

Bryan

0 项奖励
回复
2,099 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

It was defined in yocto and not mentioned in pdf.

 

BR

Zhiming

0 项奖励
回复
2,092 次查看
bryan_hong
Contributor V

so, 

How does someone at first to build for 8MMINID4-EVK know this MACHINE ?

thanks

Bryan

0 项奖励
回复
2,095 次查看
bryan_hong
Contributor V

Could you guide for me that the location for yocto?

0 项奖励
回复
2,108 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

Host name is imx8mmddr4evk

 

BR

Zhiming

0 项奖励
回复
2,103 次查看
bryan_hong
Contributor V

Hello

How did I found that information about imx8mmddr4evk ? I can't found that information at any pdf documents.

thanks 

Bryan

0 项奖励
回复