From ad923ea232ca60c999b9cc94faccc3b14c2fe3e0 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 26 Dec 2023 10:28:15 +0800 Subject: [PATCH] Update meta-igkboard to add igkboard-imx6ull support --- yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf | 43 ++++++++++++++++++++++--------------------- 1 files changed, 22 insertions(+), 21 deletions(-) diff --git a/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf b/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf index fec84b0..c581a46 100644 --- a/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf +++ b/yocto/meta-igkboard/conf/machine/igkboard-imx8mp.conf @@ -1,18 +1,32 @@ -#@TYPE: Machine -#@NAME: IoT Gatway Kits Boards based on i.MX8M Plus -#@SOC: i.MX8M Plus +#@TYPE : Machine +#@NAME : LingYun IoT Gatway Kits Boards based on i.MX8M Plus +#@SOC : i.MX8M Plus #@DESCRIPTION: Machine configuration for LingYun IGKBoard-IMX8MP 2GB LPDDR4, 8GB eMMC -#@MAINTAINER: Wenxue Guo <guowenxue@gmail.com> -#@REFERENCE: meta-freescale/conf/machine/imx8mp-lpddr4-evk.conf +#@MAINTAINER : Wenxue Guo <guowenxue@gmail.com> +#@REFERENCE : meta-freescale/conf/machine/imx8mp-lpddr4-evk.conf -MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:" -MACHINEOVERRIDES =. "igkboardbase:igkboard-imx8mp:" +# Add new machine igkboard-imx8mp +MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:igkboardbase:igkboard-imx8mp:" require conf/machine/include/imx-base.inc require conf/machine/include/arm/armv8a/tune-cortexa53.inc MACHINE_FEATURES:append = " wifi bluetooth ppp " MACHINE_FEATURES:remove = " nxp8801-sdio nxp8987-sdio nxp8997-pcie nxp8997-sdio nxp9098-pcie nxp9098-sdio nxpiw416-sdio nxpiw612-sdio qemu-usermode " + +# linux kernel images +KERNEL_DEVICETREE = "freescale/${MACHINE}.dtb" +KERNEL_IMAGETYPE = "Image" + +# Uboot configuration +UBOOT_DTB_NAME = "${MACHINE}.dtb" +LOADADDR = "" +UBOOT_SUFFIX = "bin" +UBOOT_MAKE_TARGET = "" +SPL_BINARY = "spl/u-boot-spl.bin" +UBOOT_CONFIG ??= "sd" +UBOOT_CONFIG[sd] = "${MACHINE}_defconfig,sdcard" +SERIAL_CONSOLES = "115200;ttymxc1" # Set DDR FIRMWARE, Refer to: # meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_*.bb @@ -25,20 +39,6 @@ lpddr4_pmu_train_2d_imem_${DDR_FIRMWARE_VERSION}.bin \ " -# Set linux DTB -KERNEL_DEVICETREE = "freescale/igkboard-imx8mp.dtb" -KERNEL_IMAGETYPE = "Image" - -# Set u-boot DTB -UBOOT_DTB_NAME = "igkboard-imx8mp.dtb" -LOADADDR = "" -UBOOT_SUFFIX = "bin" -UBOOT_MAKE_TARGET = "" -SPL_BINARY = "spl/u-boot-spl.bin" -UBOOT_CONFIG ??= "sd" -UBOOT_CONFIG[sd] = "igkboard-imx8mp_defconfig,sdcard" -SERIAL_CONSOLES = "115200;ttymxc1" - # Set ATF platform name ATF_PLATFORM = "imx8mp" @@ -48,6 +48,7 @@ IMX_BOOT_SEEK = "32" OPTEE_BIN_EXT = "8mp" +# Add wic image in deploy folder SOC_DEFAULT_IMAGE_FSTYPES:append = " wic" # Boot partition size [in KiB] for kernel and other data -- Gitblit v1.9.1