how to set the machine name for 8MMINID4-EVK

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

how to set the machine name for 8MMINID4-EVK

Jump to solution
2,051 Views
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 Kudos
1 Solution
1,980 Views
bryan_hong
Contributor V

hello NXP

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

thanks

Bryan

View solution in original post

0 Kudos
9 Replies
1,981 Views
bryan_hong
Contributor V

hello NXP

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

thanks

Bryan

0 Kudos
2,017 Views
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 Kudos
2,015 Views
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 Kudos
2,041 Views
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 Kudos
2,034 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

It was defined in yocto and not mentioned in pdf.

 

BR

Zhiming

0 Kudos
2,027 Views
bryan_hong
Contributor V

so, 

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

thanks

Bryan

0 Kudos
2,030 Views
bryan_hong
Contributor V

Could you guide for me that the location for yocto?

0 Kudos
2,043 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

Host name is imx8mmddr4evk

 

BR

Zhiming

0 Kudos
2,038 Views
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 Kudos