diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/apalis-imx6/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/apalis-imx6/lmp.cfg index d6945fbce5..e7c4edde93 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/apalis-imx6/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/apalis-imx6/lmp.cfg @@ -1,88 +1,50 @@ -CONFIG_SPL_SEPARATE_BSS=y -CONFIG_MX6_OCRAM_256KB=y -CONFIG_SPL_SIZE_LIMIT=200704 -CONFIG_SPL_DM=y +# SPL +CONFIG_SDP_LOADADDR=0x12000000 CONFIG_SPL_DM_GPIO=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y -CONFIG_SPL_FIT_PRINT=y -CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_SHA256_SUPPORT=y -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y +CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_WATCHDOG_SUPPORT=y -CONFIG_SPL_OPTEE=y -CONFIG_SPL_OF_CONTROL=y -# CONFIG_SPL_ENV_SUPPORT is not set -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_BLK is not set -# CONFIG_SPL_DM_SERIAL is not set -# CONFIG_SPL_DM_USB is not set -# CONFIG_SPL_FIOVB is not set -# CONFIG_SPL_BLK is not set CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a -CONFIG_IMX_HAB=y -# CONFIG_CMD_DEKBLOB is not set -CONFIG_TEE=y -CONFIG_OPTEE=y -CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_SPL_DM_SERIAL is not set +# CONFIG_SPL_I2C_SUPPORT is not set +# CONFIG_SPL_MXC_OCOTP is not set + +# OPTEE CONFIG_OPTEE_TZDRAM_SIZE=0x02000000 CONFIG_OPTEE_TZDRAM_BASE=0x4E000000 CONFIG_OPTEE_SKIP_LOWLEVEL_INIT=y CONFIG_SYS_L2CACHE_OFF=y -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_PARTITION_UUIDS=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_IMX_WATCHDOG=y -CONFIG_SUPPORT_EMMC_RPMB=y + +# U-BOOT CONFIG_DM_I2C_GPIO=y -CONFIG_USB_FUNCTION_FASTBOOT=y -CONFIG_USB_GADGET_MANUFACTURER="FSL" -CONFIG_USB_GADGET_VENDOR_NUM=0x0525 -CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 -CONFIG_FASTBOOT_FLASH=y -CONFIG_FASTBOOT_UUU_SUPPORT=y -CONFIG_FASTBOOT_BUF_ADDR=0x12000000 -CONFIG_FSL_FASTBOOT_BOOTLOADER2=y -CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x18a -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="reset" -# CONFIG_NET is not set -# CONFIG_CMD_NET is not set -# CONFIG_CMD_DHCP is not set -# CONFIG_CMD_BOOTP is not set -# CONFIG_CMD_TFTPBOOT is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set +CONFIG_IMX_WATCHDOG=y +CONFIG_TDX_CFG_BLOCK_DEV=2 # CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set # CONFIG_CMD_SATA is not set +# CONFIG_CMD_SYSBOOT is not set # CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set -# CONFIG_CMD_SAVEENV is not set -# CONFIG_CMD_EXPORTENV is not set -# CONFIG_CMD_IMPORTENV is not set -# CONFIG_CMD_EDITENV is not set -# CONFIG_EFI_LOADER is not set # CONFIG_SATA is not set # CONFIG_DWC_AHSATA is not set # CONFIG_DM_SCSI is not set # CONFIG_USB_STORAGE is not set # CONFIG_USB_KEYBOARD is not set # CONFIG_USB_HOST_ETHER is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_DISTRO_DEFAULTS is not set +# CONFIG_VIDEO is not set + +# FASTBOOT +CONFIG_FASTBOOT_BUF_ADDR=0x12000000 +CONFIG_FSL_FASTBOOT_BOOTLOADER2=y +CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x18a +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_UUU_SUPPORT=y +CONFIG_CMD_FASTBOOT=y + +## NON-SECURE STORAGE +# CONFIG_CMD_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx7ulpea-ucom/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx7ulpea-ucom/lmp.cfg index 829cb54c11..a1685433c5 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx7ulpea-ucom/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx7ulpea-ucom/lmp.cfg @@ -1,111 +1,53 @@ -CONFIG_SPL=y -CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds" -CONFIG_SPL_DRIVERS_MISC_SUPPORT=y -CONFIG_SPL_STACK_R_ADDR=0x68800000 -CONFIG_SPL_TEXT_BASE=0x2F011000 -CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y +# SPL +CONFIG_SDP_LOADADDR=0x60800000 CONFIG_SPL_BOARD_INIT=y -CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SPL_STACK_R=y -CONFIG_SPL_SHA256_SUPPORT=y -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y -CONFIG_SPL_ENV_SUPPORT=y -CONFIG_SPL_OPTEE=y +CONFIG_SPL_DM_GPIO=y +CONFIG_SPL_DM_MMC=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_SPL_DM_USB=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds" CONFIG_SPL_OF_TRANSLATE=y CONFIG_SPL_SIZE_LIMIT=0x2EC00 -CONFIG_SPL_USB_HOST_SUPPORT=y -CONFIG_SPL_USB_GADGET=y -CONFIG_SPL_USB_SDP_SUPPORT=y -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_DOS_PARTITION is not set +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_ADDR=0x68800000 +CONFIG_SPL_TEXT_BASE=0x2F011000 # CONFIG_SPL_DM_USB_GADGET is not set -CONFIG_IMX_HAB=y -# CONFIG_CMD_DEKBLOB is not set -CONFIG_TEE=y -CONFIG_OPTEE=y -CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_OPTEE_LOAD_ADDR=0x60800000 +# CONFIG_SPL_MXC_OCOTP is not set + +# OPTEE CONFIG_OPTEE_TZDRAM_SIZE=0x02000000 CONFIG_OPTEE_TZDRAM_BASE=0x9e000000 -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_PARTITION_UUIDS=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_SUPPORT_EMMC_RPMB=y -CONFIG_SUPPORT_EMMC_BOOT=y -CONFIG_USB=y + +# U-BOOT +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set CONFIG_DM_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_MXC_USB_OTG_HACTIVE=y # CONFIG_DM_USB_GADGET is not set -CONFIG_USB_STORAGE=y -CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="FSL" -CONFIG_USB_GADGET_VENDOR_NUM=0x0525 -CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 -CONFIG_CI_UDC=y -CONFIG_USB_GADGET_DOWNLOAD=y -CONFIG_SDP_LOADADDR=0x60800000 -CONFIG_USB_FUNCTION_FASTBOOT=y -CONFIG_FASTBOOT_FLASH=y -CONFIG_FASTBOOT_BUF_ADDR=0x60800000 -CONFIG_FASTBOOT_BUF_SIZE=0x20000000 -CONFIG_FASTBOOT_UUU_SUPPORT=y -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="reset" -# CONFIG_LDO_ENABLED_MODE is not set -CONFIG_ARMV7_BOOT_SEC_DEFAULT=y +CONFIG_CMD_FUSE=y +CONFIG_MXC_USB_OTG_HACTIVE=y CONFIG_OF_BOARD_SETUP=y +CONFIG_SPI_FLASH_MACRONIX=y CONFIG_ULP_WATCHDOG=y -CONFIG_SPI=y -CONFIG_DM_SPI=y -CONFIG_FSL_QSPI=y -CONFIG_ENV_IS_IN_MMC=y -# CONFIG_ANDROID_BOOT_IMAGE is not set -# CONFIG_NET is not set -# CONFIG_CMD_NET is not set -# CONFIG_CMD_DHCP is not set -# CONFIG_CMD_BOOTP is not set -# CONFIG_CMD_TFTPBOOT is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set # CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set -# CONFIG_CMD_SATA is not set # CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set -# CONFIG_CMD_SAVEENV is not set -# CONFIG_CMD_EXPORTENV is not set -# CONFIG_CMD_IMPORTENV is not set -# CONFIG_CMD_EDITENV is not set -# CONFIG_EFI_LOADER is not set -# CONFIG_SATA is not set -# CONFIG_DWC_AHSATA is not set -# CONFIG_DM_SCSI is not set +# CONFIG_LDO_ENABLED_MODE is not set # CONFIG_USB_STORAGE is not set -# CONFIG_USB_KEYBOARD is not set -# CONFIG_USB_HOST_ETHER is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_DISTRO_DEFAULTS is not set -# CONFIG_CMD_ELF is not set -# CONFIG_CMD_IMI is not set -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set -# CONFIG_CMD_FLASH is not set + +# FASTBOOT +CONFIG_FASTBOOT_BUF_ADDR=0x60800000 +CONFIG_FASTBOOT_BUF_SIZE=0x20000000 +CONFIG_FSL_FASTBOOT_BOOTLOADER2=y +CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x180 +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_UUU_SUPPORT=y +CONFIG_CMD_FASTBOOT=y + +# NON-SECURE STORAGE +# CONFIG_CMD_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mmevk/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mmevk/lmp.cfg index 2a590d40ed..8550ffe3be 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mmevk/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mmevk/lmp.cfg @@ -1,100 +1,38 @@ -CONFIG_SPL_DM=y -CONFIG_SPL_FIT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_LOAD_FIT=y -# CONFIG_SPL_FIT_IMAGE_TINY is not set -CONFIG_SPL_OF_CONTROL=y -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y -CONFIG_SPL_USB_HOST_SUPPORT=y -CONFIG_SPL_USB_GADGET=y -CONFIG_SPL_USB_SDP_SUPPORT=y -CONFIG_RSA=y -CONFIG_HASH=y -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_DM_USB is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_DOS_PARTITION is not set -# CONFIG_CMD_DEKBLOB is not set -CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_IMX_HAB=y -# CONFIG_SPL_IMX_HAB is not set -CONFIG_PARTITION_UUIDS=y +## SPL +CONFIG_SPL_ATF=y +# CONFIG_SPL_MXC_OCOTP is not set +# CONFIG_SPL_OPTEE is not set +# CONFIG_SPL_SIMPLE_BUS is not set + +## OPTEE CONFIG_TEE=y CONFIG_OPTEE=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_SUPPORT_EMMC_RPMB=y -CONFIG_USB=y -CONFIG_DM_USB=y +# CONFIG_OPTEE_TA_AVB is not set + +## U-BOOT +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set +# CONFIG_BOOTCOUNT_LIMIT is not set +# CONFIG_CMD_BDI is not set +# CONFIG_CMD_IMI is not set +# CONFIG_HAS_CAAM is not set +# CONFIG_FSL_CAAM is not set +# CONFIG_VIDEO_IMX_SEC_DSI is not set +# CONFIG_VIDEO_BRIDGE is not set +# CONFIG_DM_VIDEO is not set + +## FASTBOOT +CONFIG_FSL_FASTBOOT_BOOTLOADER2=y +CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x300 CONFIG_USB_FUNCTION_FASTBOOT=y -CONFIG_USB_GADGET_MASS_STORAGE=y CONFIG_USB_GADGET_MANUFACTURER="FSL" CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_FASTBOOT_FLASH=y CONFIG_FASTBOOT_UUU_SUPPORT=y -CONFIG_FASTBOOT_BUF_ADDR=0x42800000 -CONFIG_FASTBOOT_BUF_SIZE=0x40000000 -CONFIG_FSL_FASTBOOT_BOOTLOADER2=y -CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x300 -CONFIG_SECONDARY_BOOT_SECTOR_OFFSET=0x1000 -CONFIG_FSL_FASTBOOT_BOOTLOADER_SECONDARY=y -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="reset" -CONFIG_ENV_IS_NOWHERE=y -# CONFIG_ENV_IS_IN_MMC is not set -# CONFIG_ANDROID_BOOT_IMAGE is not set -# CONFIG_SPL_DM_MMC is not set -# CONFIG_SPL_MMC_SUPPORT is not set -# CONFIG_SPL_BLK is not set -# CONFIG_NET is not set -# CONFIG_CMD_NET is not set -# CONFIG_CMD_DHCP is not set -# CONFIG_CMD_BOOTP is not set -# CONFIG_CMD_TFTPBOOT is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set -# CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set -# CONFIG_CMD_SATA is not set -# CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set -# CONFIG_CMD_SAVEENV is not set -# CONFIG_CMD_EXPORTENV is not set -# CONFIG_CMD_IMPORTENV is not set -# CONFIG_CMD_EDITENV is not set -# CONFIG_EFI_LOADER is not set -# CONFIG_SATA is not set -# CONFIG_DWC_AHSATA is not set -# CONFIG_DM_SCSI is not set -# CONFIG_USB_STORAGE is not set -# CONFIG_USB_KEYBOARD is not set -# CONFIG_USB_HOST_ETHER is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_DISTRO_DEFAULTS is not set -# CONFIG_CMD_ELF is not set -# CONFIG_CMD_IMI is not set -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set -# CONFIG_CMD_FLASH is not set -# CONFIG_DM_VIDEO is not set -# CONFIG_VIDEO_BRIDGE is not set -# CONFIG_VIDEO_SEC_MIPI_DSI is not set -# CONFIG_VIDEO_IMX_SEC_DSI is not set -# CONFIG_VIDEO_LINK is not set +CONFIG_CMD_FASTBOOT=y + +## NON-SECURE STORAGE +# CONFIG_CMD_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mqevk/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mqevk/lmp.cfg index 8f7cfc1a4c..8550ffe3be 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mqevk/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/imx8mqevk/lmp.cfg @@ -1,93 +1,38 @@ -CONFIG_SPL_DM=y -CONFIG_SPL_FIT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_LOAD_FIT=y -# CONFIG_SPL_FIT_IMAGE_TINY is not set -CONFIG_SPL_OF_CONTROL=y -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y -CONFIG_SPL_USB_HOST_SUPPORT=y -CONFIG_SPL_USB_GADGET=y -CONFIG_SPL_USB_SDP_SUPPORT=y -CONFIG_RSA=y -CONFIG_HASH=y -# CONFIG_SPL_DM_USB is not set -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_DOS_PARTITION is not set -# CONFIG_CMD_DEKBLOB is not set -CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_IMX_HAB=y -CONFIG_SPL_IMX_HAB=y -CONFIG_PARTITION_UUIDS=y +## SPL +CONFIG_SPL_ATF=y +# CONFIG_SPL_MXC_OCOTP is not set +# CONFIG_SPL_OPTEE is not set +# CONFIG_SPL_SIMPLE_BUS is not set + +## OPTEE CONFIG_TEE=y CONFIG_OPTEE=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_SUPPORT_EMMC_RPMB=y -CONFIG_SUPPORT_EMMC_BOOT=y -CONFIG_USB=y -CONFIG_DM_USB=y -CONFIG_USB_GADGET_MASS_STORAGE=y -CONFIG_FASTBOOT_BUF_ADDR=0x44800000 -CONFIG_FASTBOOT_BUF_SIZE=0x19000000 -CONFIG_FSL_FASTBOOT_BOOTLOADER2=y -CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x300 -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="reset" -CONFIG_ENV_IS_NOWHERE=y -# CONFIG_ENV_IS_IN_MMC is not set -# CONFIG_ANDROID_BOOT_IMAGE is not set -# CONFIG_SPL_DM_MMC is not set -# CONFIG_SPL_MMC_SUPPORT is not set -# CONFIG_SPL_BLK is not set -# CONFIG_NET is not set -# CONFIG_CMD_NET is not set -# CONFIG_CMD_DHCP is not set -# CONFIG_CMD_BOOTP is not set -# CONFIG_CMD_TFTPBOOT is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set +# CONFIG_OPTEE_TA_AVB is not set + +## U-BOOT +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set +# CONFIG_BOOTCOUNT_LIMIT is not set # CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set -# CONFIG_CMD_SATA is not set -# CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set -# CONFIG_CMD_SAVEENV is not set -# CONFIG_CMD_EXPORTENV is not set -# CONFIG_CMD_IMPORTENV is not set -# CONFIG_CMD_EDITENV is not set -# CONFIG_EFI_LOADER is not set -# CONFIG_SATA is not set -# CONFIG_DWC_AHSATA is not set -# CONFIG_DM_SCSI is not set -# CONFIG_USB_STORAGE is not set -# CONFIG_USB_KEYBOARD is not set -# CONFIG_USB_HOST_ETHER is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_DISTRO_DEFAULTS is not set -# CONFIG_CMD_ELF is not set # CONFIG_CMD_IMI is not set -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set -# CONFIG_CMD_FLASH is not set -# CONFIG_DM_VIDEO is not set -# CONFIG_VIDEO_BRIDGE is not set -# CONFIG_VIDEO_SEC_MIPI_DSI is not set +# CONFIG_HAS_CAAM is not set +# CONFIG_FSL_CAAM is not set # CONFIG_VIDEO_IMX_SEC_DSI is not set -# CONFIG_VIDEO_LINK is not set +# CONFIG_VIDEO_BRIDGE is not set +# CONFIG_DM_VIDEO is not set + +## FASTBOOT +CONFIG_FSL_FASTBOOT_BOOTLOADER2=y +CONFIG_FSL_FASTBOOT_BOOTLOADER2_OFFSET=0x300 +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_UUU_SUPPORT=y +CONFIG_CMD_FASTBOOT=y + +## NON-SECURE STORAGE +# CONFIG_CMD_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/lmp-spl.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/lmp-spl.cfg new file mode 100644 index 0000000000..56e073c19b --- /dev/null +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool/lmp-spl.cfg @@ -0,0 +1,87 @@ +## SPL +CONFIG_SPL=y +CONFIG_SPL_DM=y +CONFIG_SPL_CRYPTO_SUPPORT=y +CONFIG_SPL_FIT_SIGNATURE=y +CONFIG_SPL_FIT_SIGNATURE_STRICT=y +CONFIG_SPL_HASH_SUPPORT=y +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SPL_LOAD_FIT=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_SPL_OPTEE=y +CONFIG_SPL_RSA=y +CONFIG_SPL_SHA256_SUPPORT=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +CONFIG_SPL_SYS_MALLOC_F_LEN=0x5000 +CONFIG_SPL_USB_HOST_SUPPORT=y +CONFIG_SPL_USB_GADGET=y +CONFIG_SPL_USB_SDP_SUPPORT=y +# CONFIG_SPL_BLK is not set +# CONFIG_SPL_CRC32_SUPPORT is not set +# CONFIG_SPL_DM_MMC is not set +# CONFIG_SPL_DM_USB is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +# CONFIG_SPL_ENV_SUPPORT is not set +# CONFIG_SPL_FIT_PRINT is not set +# CONFIG_SPL_FIT_IMAGE_TINY is not set +# CONFIG_SPL_FS_EXT4 is not set +# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set +# CONFIG_SPL_LIBDISK_SUPPORT is not set +# CONFIG_SPL_MMC_SUPPORT is not set +# CONFIG_SPL_MULTI_DTB_FIT is not set +# CONFIG_SPL_PARTITION_UUIDS is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_SPI_SUPPORT is not set + +## OPTEE +CONFIG_TEE=y +CONFIG_OPTEE=y + +## U-BOOT +CONFIG_USE_BOOTCOMMAND=y +CONFIG_BOOTCOMMAND="reset" +CONFIG_BOOTDELAY=-2 +CONFIG_CMD_XIMG=y +# CONFIG_ENV_IS_IN_FAT is not set +# CONFIG_ENV_IS_IN_MMC is not set +CONFIG_ENV_IS_NOWHERE=y +CONFIG_ENV_VARS_UBOOT_CONFIG=y +CONFIG_FIT=y +CONFIG_FIT_SIGNATURE=y +CONFIG_FIT_SIGNATURE_STRICT=y +CONFIG_LOGLEVEL=2 +CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_PARTITION_UUIDS=y +CONFIG_CMD_EXT4=y +CONFIG_FS_EXT4=y +# CONFIG_ANDROID_BOOT_IMAGE is not set +# CONFIG_BOOTM_NETBSD is not set +# CONFIG_BOOTM_PLAN9 is not set +# CONFIG_BOOTM_RTEMS is not set +# CONFIG_BOOTM_VXWORKS is not set +# CONFIG_CMD_BMODE is not set +# CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_BOOTMENU is not set +# CONFIG_CMD_BOOTZ is not set +# CONFIG_CMD_DEKBLOB is not set +# CONFIG_CMD_DFU is not set +# CONFIG_CMD_EDITENV is not set +# CONFIG_CMD_ELF is not set +# CONFIG_CMD_EXPORTENV is not set +# CONFIG_CMD_FLASH is not set +# CONFIG_CMD_IMI is not set +# CONFIG_CMD_IMPORTENV is not set +# CONFIG_CMD_LOADB is not set +# CONFIG_CMD_LOADS is not set +# CONFIG_CMD_SAVEENV is not set +# CONFIG_CMD_SYSBOOT is not set +# CONFIG_DFU is not set +# CONFIG_DISTRO_DEFAULTS is not set +# CONFIG_EFI_LOADER is not set +# CONFIG_ISO_PARTITION is not set +# CONFIG_LEGACY_IMAGE_FORMAT is not set +# CONFIG_MULTI_DTB_FIT is not set +# CONFIG_NET is not set +# CONFIG_SHA1 is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool_%.bbappend b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool_%.bbappend index aa6d0d6278..c4b33a44a9 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool_%.bbappend +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio-mfgtool_%.bbappend @@ -2,6 +2,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" BOOT_TOOLS_mx8 = "imx-boot-tools" +SRC_URI_prepend = " \ + file://lmp-spl.cfg \ +" + # From u-boot-imx/meta-freescale do_deploy_append_mx8m() { # Deploy u-boot-nodtb.bin and XX.dtb for mkimage to generate boot binary diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/apalis-imx6/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/apalis-imx6/lmp.cfg index 6269c1a86c..ce3a6063bb 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/apalis-imx6/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/apalis-imx6/lmp.cfg @@ -1,90 +1,49 @@ -CONFIG_SPL_SEPARATE_BSS=y -CONFIG_MX6_OCRAM_256KB=y -CONFIG_SPL_SIZE_LIMIT=200704 -CONFIG_SPL_DM=y +# SPL CONFIG_SPL_DM_GPIO=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y -CONFIG_SPL_FIT_PRINT=y -CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_SHA256_SUPPORT=y -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y +CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_WATCHDOG_SUPPORT=y -CONFIG_SPL_OPTEE=y -CONFIG_SPL_OF_CONTROL=y -# CONFIG_SPL_ENV_SUPPORT is not set -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_BLK is not set +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a # CONFIG_SPL_DM_SERIAL is not set -# CONFIG_SPL_DM_USB is not set -# CONFIG_SPL_FIOVB is not set # CONFIG_SPL_I2C_SUPPORT is not set -# CONFIG_SPL_USB_HOST_SUPPORT is not set -# CONFIG_SPL_USB_GADGET is not set -# CONFIG_SPL_DM_MMC is not set -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x18a -CONFIG_IMX_HAB=y -# CONFIG_CMD_DEKBLOB is not set -CONFIG_TEE=y -CONFIG_OPTEE=y -CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_SPL_MXC_OCOTP is not set + +# OPTEE CONFIG_OPTEE_TZDRAM_SIZE=0x02000000 CONFIG_OPTEE_TZDRAM_BASE=0x4E000000 CONFIG_OPTEE_SKIP_LOWLEVEL_INIT=y CONFIG_SYS_L2CACHE_OFF=y -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_IMX_WATCHDOG=y -CONFIG_SUPPORT_EMMC_RPMB=y + +# U-BOOT +CONFIG_BOOTCOMMAND="setenv script_addr 0x15000000; fatload mmc 2:1 ${script_addr} /boot.itb; setenv verify 1; source ${script_addr}; reset" CONFIG_DM_I2C_GPIO=y -# CONFIG_ENV_IS_IN_MMC is not set -CONFIG_ENV_IS_IN_FAT=y -CONFIG_ENV_FAT_INTERFACE="mmc" -CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" -CONFIG_ENV_VARS_UBOOT_CONFIG=y -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="setenv script_addr 0x15000000; fatload mmc 0:1 ${script_addr} /boot.itb; setenv verify 1; source ${script_addr}; reset" -CONFIG_BOOTCOUNT_LIMIT=y -CONFIG_BOOTCOUNT_ENV=y -# CONFIG_NET is not set -# CONFIG_CMD_NET is not set -# CONFIG_CMD_DHCP is not set -# CONFIG_CMD_BOOTP is not set -# CONFIG_CMD_TFTPBOOT is not set -# CONFIG_CMD_NFS is not set +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set +CONFIG_IMX_WATCHDOG=y +CONFIG_TDX_CFG_BLOCK_DEV=2 # CONFIG_CMD_SYSBOOT is not set # CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set # CONFIG_CMD_SATA is not set # CONFIG_CMD_USB is not set # CONFIG_CMD_USB_SDP is not set # CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set -# CONFIG_CMD_EXPORTENV is not set -# CONFIG_EFI_LOADER is not set # CONFIG_SATA is not set # CONFIG_DWC_AHSATA is not set # CONFIG_DM_SCSI is not set # CONFIG_USB is not set # CONFIG_USB_FUNCTION_FASTBOOT is not set # CONFIG_CI_UDC is not set -# CONFIG_FASTBOOT is not set # CONFIG_USB_KEYBOARD is not set # CONFIG_USB_GADGET is not set # CONFIG_USB_HOST_ETHER is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_DISTRO_DEFAULTS is not set +# CONFIG_VIDEO is not set + +## NON-SECURE STORAGE +# CONFIG_ENV_IS_NOWHERE is not set +# CONFIG_ENV_IS_IN_MMC is not set +CONFIG_ENV_IS_IN_FAT=y +CONFIG_ENV_FAT_INTERFACE="mmc" +CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" +CONFIG_ENV_SIZE=0x2000 +# CONFIG_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx7ulpea-ucom/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx7ulpea-ucom/lmp.cfg index d4c097fcb7..6a3967373b 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx7ulpea-ucom/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx7ulpea-ucom/lmp.cfg @@ -1,117 +1,43 @@ -CONFIG_SPL=y -CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds" -CONFIG_SPL_DRIVERS_MISC_SUPPORT=y -CONFIG_SPL_STACK_R_ADDR=0x68800000 -CONFIG_SPL_TEXT_BASE=0x2F011000 -CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y +## SPL +CONFIG_SPL_BLK=y CONFIG_SPL_BOARD_INIT=y -CONFIG_SPL_SYS_MALLOC_SIMPLE=y -CONFIG_SPL_STACK_R=y -CONFIG_SPL_SHA256_SUPPORT=y -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y -CONFIG_SPL_ENV_SUPPORT=y -CONFIG_SPL_OPTEE=y +CONFIG_SPL_DM_GPIO=y +CONFIG_SPL_DM_MMC=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_SPL_DRIVERS_MISC_SUPPORT=y +CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds" CONFIG_SPL_OF_TRANSLATE=y CONFIG_SPL_SIZE_LIMIT=0x2EC00 -CONFIG_SPL_ENV_IS_NOWHERE=y -# CONFIG_SPL_ENV_IS_IN_MMC is not set -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_DOS_PARTITION is not set -# CONFIG_SPL_DM_USB_GADGET is not set -# CONFIG_SPL_USB_HOST_SUPPORT is not set -# CONFIG_SPL_USB_GADGET is not set -# CONFIG_SPL_USB_SDP_SUPPORT is not set +CONFIG_SPL_STACK_R=y +CONFIG_SPL_STACK_R_ADDR=0x68800000 +CONFIG_SPL_TEXT_BASE=0x2F011000 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x180 -CONFIG_IMX_HAB=y -# CONFIG_CMD_DEKBLOB is not set -CONFIG_TEE=y -CONFIG_OPTEE=y -CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_OPTEE_LOAD_ADDR=0x60800000 +# CONFIG_SPL_MXC_OCOTP is not set + +## OPTEE CONFIG_OPTEE_TZDRAM_SIZE=0x02000000 CONFIG_OPTEE_TZDRAM_BASE=0x9e000000 -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_PARTITION_UUIDS=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_SUPPORT_EMMC_RPMB=y -CONFIG_SUPPORT_EMMC_BOOT=y -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y + +## U-BOOT CONFIG_BOOTCOMMAND="fatload mmc 0:1 ${loadaddr} /boot.itb; setenv verify 1; source ${loadaddr}; reset" -# CONFIG_LDO_ENABLED_MODE is not set -CONFIG_ARMV7_BOOT_SEC_DEFAULT=y +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set CONFIG_OF_BOARD_SETUP=y +CONFIG_SPI_FLASH_MACRONIX=y CONFIG_ULP_WATCHDOG=y -CONFIG_SPI=y -CONFIG_DM_SPI=y -CONFIG_FSL_QSPI=y +# CONFIG_CMD_BDI is not set +# CONFIG_CMD_GPIO is not set +# CONFIG_CMD_IMI is not set +# CONFIG_LDO_ENABLED_MODE is not set + +## NON-SECURE STORAGE +# CONFIG_ENV_IS_NOWHERE is not set # CONFIG_ENV_IS_IN_MMC is not set CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_FAT_INTERFACE="mmc" CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" -CONFIG_CMD_IMPORTENV=y -CONFIG_CMD_EDITENV=y -CONFIG_CMD_SAVEENV=y -CONFIG_BOOTCOUNT_LIMIT=y -CONFIG_BOOTCOUNT_ENV=y -# CONFIG_DISTRO_DEFAULTS is not set -CONFIG_FS_EXT4=y -CONFIG_CMD_EXT4=y -# CONFIG_ANDROID_BOOT_IMAGE is not set -# CONFIG_NET is not set -# CONFIG_CMD_NET is not set -# CONFIG_CMD_DHCP is not set -# CONFIG_CMD_BOOTP is not set -# CONFIG_CMD_TFTPBOOT is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set -# CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set -# CONFIG_CMD_SATA is not set -# CONFIG_CMD_USB is not set -# CONFIG_CMD_USB_SDP is not set -# CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set -# CONFIG_CMD_EXPORTENV is not set -# CONFIG_CMD_FUSE is not set -# CONFIG_CMD_GPIO is not set -# CONFIG_CMD_GPT is not set -# CONFIG_CMD_EXT4_WRITE is not set -# CONFIG_EFI_LOADER is not set -# CONFIG_EFI_PARTITION is not set -# CONFIG_EXT4_WRITE is not set -# CONFIG_SATA is not set -# CONFIG_DWC_AHSATA is not set -# CONFIG_DM_SCSI is not set -# CONFIG_USB is not set -# CONFIG_USB_FUNCTION_FASTBOOT is not set -# CONFIG_CI_UDC is not set -# CONFIG_FASTBOOT is not set -# CONFIG_USB_KEYBOARD is not set -# CONFIG_USB_GADGET is not set -# CONFIG_USB_HOST_ETHER is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_DISTRO_DEFAULTS is not set -# CONFIG_CMD_ELF is not set -# CONFIG_CMD_IMI is not set -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set -# CONFIG_CMD_FLASH is not set +CONFIG_ENV_SIZE=0x2000 +# CONFIG_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mmevk/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mmevk/lmp.cfg index dadc8a09b1..c217b2c4fa 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mmevk/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mmevk/lmp.cfg @@ -1,94 +1,37 @@ -CONFIG_SPL_DM=y -CONFIG_SPL_OF_CONTROL=y -CONFIG_SPL_FIT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_LOAD_FIT=y -# CONFIG_SPL_FIT_IMAGE_TINY is not set -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y -CONFIG_RSA=y -CONFIG_HASH=y -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_DOS_PARTITION is not set -# CONFIG_SPL_DM_USB is not set -# CONFIG_SPL_USB_HOST_SUPPORT is not set -# CONFIG_SPL_USB_GADGET is not set -# CONFIG_SPL_USB_SDP_SUPPORT is not set -# CONFIG_CMD_DEKBLOB is not set -CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -CONFIG_SECONDARY_BOOT_RUNTIME_DETECTION=y -CONFIG_SECONDARY_BOOT_SECTOR_OFFSET=0x1000 -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_PARTITION_UUIDS=y +## SPL +CONFIG_SPL_ATF=y +# CONFIG_SPL_MMC_TINY is not set +# CONFIG_SPL_MXC_OCOTP is not set +# CONFIG_SPL_OPTEE is not set +# CONFIG_SPL_SIMPLE_BUS is not set + +## OPTEE CONFIG_TEE=y CONFIG_OPTEE=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_SUPPORT_EMMC_RPMB=y -CONFIG_SUPPORT_EMMC_BOOT=y -# CONFIG_ENV_IS_IN_MMC is not set -CONFIG_ENV_IS_IN_FAT=y -CONFIG_ENV_FAT_INTERFACE="mmc" -CONFIG_ENV_FAT_DEVICE_AND_PART="2:1" -CONFIG_ENV_SIZE=0x4000 -CONFIG_CMD_IMPORTENV=y -CONFIG_CMD_EDITENV=y -CONFIG_CMD_SAVEENV=y -CONFIG_BOOTCOUNT_LIMIT=y -CONFIG_BOOTCOUNT_ENV=y -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y +# CONFIG_OPTEE_TA_AVB is not set + +## U-BOOT CONFIG_BOOTCOMMAND="fatload mmc 2:1 ${loadaddr} /boot.itb; setenv verify 1; source ${loadaddr}; reset" -# CONFIG_SPL_DM_MMC is not set -# CONFIG_SPL_BLK is not set -# CONFIG_ANDROID_BOOT_IMAGE is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set # CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set -# CONFIG_CMD_SATA is not set -# CONFIG_CMD_USB is not set -# CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_USB_SDP is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set # CONFIG_CMD_FUSE is not set # CONFIG_CMD_GPIO is not set # CONFIG_CMD_I2C is not set -# CONFIG_EFI_LOADER is not set -# CONFIG_EFI_PARTITION is not set -# CONFIG_EXT4_WRITE is not set -# CONFIG_SATA is not set -# CONFIG_DWC_AHSATA is not set -# CONFIG_DM_SCSI is not set -# CONFIG_USB_FUNCTION_FASTBOOT is not set -# CONFIG_FASTBOOT is not set -# CONFIG_USB is not set -# CONFIG_USB_STORAGE is not set -# CONFIG_USB_KEYBOARD is not set -# CONFIG_USB_HOST_ETHER is not set -# CONFIG_USB_TCPC is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_CMD_ELF is not set # CONFIG_CMD_IMI is not set -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set -# CONFIG_CMD_FLASH is not set # CONFIG_DM_VIDEO is not set -# CONFIG_VIDEO_BRIDGE is not set -# CONFIG_VIDEO_SEC_MIPI_DSI is not set +# CONFIG_HAS_CAAM is not set +# CONFIG_FSL_CAAM is not set # CONFIG_VIDEO_IMX_SEC_DSI is not set -# CONFIG_VIDEO_LINK is not set +# CONFIG_VIDEO_BRIDGE is not set + +## NON-SECURE STORAGE +# CONFIG_ENV_IS_NOWHERE is not set +# CONFIG_ENV_IS_IN_MMC is not set +CONFIG_ENV_IS_IN_FAT=y +CONFIG_ENV_FAT_INTERFACE="mmc" +CONFIG_ENV_FAT_DEVICE_AND_PART="2:1" +CONFIG_ENV_SIZE=0x4000 +# CONFIG_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mqevk/lmp.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mqevk/lmp.cfg index 76d9025a68..4f58d2e430 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mqevk/lmp.cfg +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/imx8mqevk/lmp.cfg @@ -1,92 +1,37 @@ -CONFIG_SPL_DM=y -CONFIG_SPL_OF_CONTROL=y -CONFIG_SPL_FIT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_LOAD_FIT=y -# CONFIG_SPL_FIT_IMAGE_TINY is not set -CONFIG_SPL_CRYPTO_SUPPORT=y -CONFIG_SPL_HASH_SUPPORT=y -CONFIG_RSA=y -CONFIG_HASH=y -# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set -# CONFIG_SPL_EFI_PARTITION is not set -# CONFIG_SPL_PARTITION_UUIDS is not set -# CONFIG_SPL_DOS_PARTITION is not set -# CONFIG_SPL_DM_USB is not set -# CONFIG_SPL_USB_HOST_SUPPORT is not set -# CONFIG_SPL_USB_GADGET is not set -# CONFIG_SPL_USB_SDP_SUPPORT is not set -# CONFIG_CMD_DEKBLOB is not set -CONFIG_OF_LIBFDT_OVERLAY=y -CONFIG_FIT=y -CONFIG_FIT_SIGNATURE=y -CONFIG_FIT_SIGNATURE_STRICT=y -CONFIG_SPL_FIT_SIGNATURE=y -CONFIG_SPL_FIT_SIGNATURE_STRICT=y -CONFIG_FIT_VERBOSE=y -# CONFIG_LEGACY_IMAGE_FORMAT is not set -CONFIG_PARTITION_UUIDS=y +## SPL +CONFIG_SPL_ATF=y +# CONFIG_SPL_MMC_TINY is not set +# CONFIG_SPL_MXC_OCOTP is not set +# CONFIG_SPL_OPTEE is not set +# CONFIG_SPL_SIMPLE_BUS is not set + +## OPTEE CONFIG_TEE=y CONFIG_OPTEE=y -CONFIG_FIOVB=y -CONFIG_CMD_FIOVB=y -CONFIG_CMD_XIMG=y -CONFIG_SUPPORT_EMMC_RPMB=y -CONFIG_SUPPORT_EMMC_BOOT=y -# CONFIG_SPL_DM_MMC is not set -# CONFIG_ENV_IS_IN_MMC is not set -# CONFIG_SPL_BLK is not set -CONFIG_ENV_IS_IN_FAT=y -CONFIG_ENV_FAT_INTERFACE="mmc" -CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" -CONFIG_ENV_SIZE=0x4000 -CONFIG_CMD_IMPORTENV=y -CONFIG_CMD_EDITENV=y -CONFIG_CMD_SAVEENV=y -CONFIG_BOOTCOUNT_LIMIT=y -CONFIG_BOOTCOUNT_ENV=y -CONFIG_BOOTDELAY=-2 -CONFIG_USE_BOOTCOMMAND=y +# CONFIG_OPTEE_TA_AVB is not set + +## U-BOOT CONFIG_BOOTCOMMAND="fatload mmc 0:1 ${loadaddr} /boot.itb; setenv verify 1; source ${loadaddr}; reset" -# CONFIG_ANDROID_BOOT_IMAGE is not set -# CONFIG_CMD_NFS is not set -# CONFIG_CMD_SYSBOOT is not set +CONFIG_IMX_HAB=y +# CONFIG_SPL_IMX_HAB is not set # CONFIG_CMD_BDI is not set -# CONFIG_CMD_BMODE is not set -# CONFIG_CMD_PXE is not set -# CONFIG_CMD_SATA is not set -# CONFIG_CMD_USB is not set -# CONFIG_CMD_USB_MASS_STORAGE is not set -# CONFIG_CMD_USB_SDP is not set -# CONFIG_CMD_BOOTD is not set -# CONFIG_CMD_BOOTZ is not set # CONFIG_CMD_FUSE is not set # CONFIG_CMD_GPIO is not set # CONFIG_CMD_I2C is not set -# CONFIG_EFI_LOADER is not set -# CONFIG_EFI_PARTITION is not set -# CONFIG_EXT4_WRITE is not set -# CONFIG_SATA is not set -# CONFIG_DWC_AHSATA is not set -# CONFIG_DM_SCSI is not set -# CONFIG_USB_FUNCTION_FASTBOOT is not set -# CONFIG_FASTBOOT is not set -# CONFIG_USB is not set -# CONFIG_USB_STORAGE is not set -# CONFIG_USB_KEYBOARD is not set -# CONFIG_USB_HOST_ETHER is not set -# CONFIG_USB_TCPC is not set -# CONFIG_BOOTM_NETBSD is not set -# CONFIG_BOOTM_PLAN9 is not set -# CONFIG_BOOTM_RTEMS is not set -# CONFIG_BOOTM_VXWORKS is not set -# CONFIG_CMD_ELF is not set # CONFIG_CMD_IMI is not set -# CONFIG_CMD_LOADB is not set -# CONFIG_CMD_LOADS is not set -# CONFIG_CMD_FLASH is not set # CONFIG_DM_VIDEO is not set -# CONFIG_VIDEO_BRIDGE is not set -# CONFIG_VIDEO_SEC_MIPI_DSI is not set +# CONFIG_HAS_CAAM is not set +# CONFIG_FSL_CAAM is not set # CONFIG_VIDEO_IMX_SEC_DSI is not set -# CONFIG_VIDEO_LINK is not set +# CONFIG_VIDEO_BRIDGE is not set + +## NON-SECURE STORAGE +# CONFIG_ENV_IS_NOWHERE is not set +# CONFIG_ENV_IS_IN_MMC is not set +CONFIG_ENV_IS_IN_FAT=y +CONFIG_ENV_FAT_INTERFACE="mmc" +CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" +CONFIG_ENV_SIZE=0x4000 +# CONFIG_FIOVB is not set +# CONFIG_SPL_FIOVB is not set +# CONFIG_SUPPORT_EMMC_RPMB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/lmp-spl.cfg b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/lmp-spl.cfg new file mode 100644 index 0000000000..f403a48ea9 --- /dev/null +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio/lmp-spl.cfg @@ -0,0 +1,87 @@ +# SPL +CONFIG_SPL=y +CONFIG_SPL_DM=y +CONFIG_SPL_CRYPTO_SUPPORT=y +CONFIG_SPL_FIT_SIGNATURE=y +CONFIG_SPL_FIT_SIGNATURE_STRICT=y +CONFIG_SPL_HASH_SUPPORT=y +CONFIG_SPL_LIBCOMMON_SUPPORT=y +CONFIG_SPL_LIBGENERIC_SUPPORT=y +CONFIG_SPL_LOAD_FIT=y +CONFIG_SPL_MMC_TINY=y +CONFIG_SPL_OF_CONTROL=y +CONFIG_SPL_OPTEE=y +CONFIG_SPL_RSA=y +CONFIG_SPL_SHA256_SUPPORT=y +CONFIG_SPL_SYS_MALLOC_SIMPLE=y +# CONFIG_SPL_BLK is not set +# CONFIG_SPL_CRC32_SUPPORT is not set +# CONFIG_SPL_DM_MMC is not set +# CONFIG_SPL_DM_USB is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +# CONFIG_SPL_ENV_SUPPORT is not set +# CONFIG_SPL_FIT_PRINT is not set +# CONFIG_SPL_FIT_IMAGE_TINY is not set +# CONFIG_SPL_FS_EXT4 is not set +# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set +# CONFIG_SPL_LIBDISK_SUPPORT is not set +# CONFIG_SPL_MULTI_DTB_FIT is not set +# CONFIG_SPL_PARTITION_UUIDS is not set +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set +# CONFIG_SPL_SPI_SUPPORT is not set +# CONFIG_SPL_USB_HOST_SUPPORT is not set +# CONFIG_SPL_USB_GADGET is not set + +# OPTEE +CONFIG_TEE=y +CONFIG_OPTEE=y + +# U-BOOT +CONFIG_USE_BOOTCOMMAND=y +CONFIG_BOOTCOUNT_LIMIT=y +CONFIG_BOOTCOUNT_BOOTLIMIT=3 +CONFIG_BOOTCOUNT_ENV=y +CONFIG_BOOTDELAY=-2 +CONFIG_CMD_XIMG=y +CONFIG_ENV_VARS_UBOOT_CONFIG=y +CONFIG_FIT=y +CONFIG_FIT_SIGNATURE=y +CONFIG_FIT_SIGNATURE_STRICT=y +CONFIG_LOGLEVEL=2 +CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_PARTITION_UUIDS=y +CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_CMD_EXT4=y +CONFIG_FS_EXT4=y +# CONFIG_ANDROID_BOOT_IMAGE is not set +# CONFIG_BOOTM_NETBSD is not set +# CONFIG_BOOTM_PLAN9 is not set +# CONFIG_BOOTM_RTEMS is not set +# CONFIG_BOOTM_VXWORKS is not set +# CONFIG_CMD_BMODE is not set +# CONFIG_CMD_BOOTD is not set +# CONFIG_CMD_BOOTMENU is not set +# CONFIG_CMD_BOOTZ is not set +# CONFIG_CMD_DEKBLOB is not set +# CONFIG_CMD_DFU is not set +# CONFIG_CMD_ELF is not set +# CONFIG_CMD_EXPORTENV is not set +# CONFIG_CMD_GPT is not set +# CONFIG_CMD_LOADB is not set +# CONFIG_CMD_LOADS is not set +# CONFIG_CMD_PART is not set +# CONFIG_CMD_SYSBOOT is not set +# CONFIG_CMD_USB is not set +# CONFIG_CMD_USB_MASS_STORAGE is not set +# CONFIG_CMD_USB_SDP is not set +# CONFIG_DFU is not set +# CONFIG_DISTRO_DEFAULTS is not set +# CONFIG_EFI_LOADER is not set +# CONFIG_FASTBOOT is not set +# CONFIG_ISO_PARTITION is not set +# CONFIG_LEGACY_IMAGE_FORMAT is not set +# CONFIG_MULTI_DTB_FIT is not set +# CONFIG_NET is not set +# CONFIG_SHA1 is not set +# CONFIG_USB is not set diff --git a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio_%.bbappend b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio_%.bbappend index aa6d0d6278..2a13154601 100644 --- a/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio_%.bbappend +++ b/meta-lmp-bsp/recipes-bsp/u-boot/u-boot-fio_%.bbappend @@ -2,6 +2,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" BOOT_TOOLS_mx8 = "imx-boot-tools" +SRC_URI_prepend_sota = " \ + file://lmp-spl.cfg \ +" + # From u-boot-imx/meta-freescale do_deploy_append_mx8m() { # Deploy u-boot-nodtb.bin and XX.dtb for mkimage to generate boot binary