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
已解决! 转到解答。
hello NXP
Move to sources/meta-imx/meta-bsp/conf/machine.
there is imx8mmddr4evk.conf file.
thanks
Bryan
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
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.