[v1 5/5] configs: socfpga: Add defconfig for Agilex and Diamond Mesa with VAB support

Tan, Ley Foon ley.foon.tan at intel.com
Wed Dec 2 03:47:55 CET 2020



> -----Original Message-----
> From: Lim, Elly Siew Chin <elly.siew.chin.lim at intel.com>
> Sent: Tuesday, November 10, 2020 3:05 PM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex at denx.de>; Tan, Ley Foon
> <ley.foon.tan at intel.com>; See, Chin Liang <chin.liang.see at intel.com>;
> Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>; Chee, Tien Fong
> <tien.fong.chee at intel.com>; Westergreen, Dalon
> <dalon.westergreen at intel.com>; Simon Glass <sjg at chromium.org>; Gan,
> Yau Wai <yau.wai.gan at intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim at intel.com>
> Subject: [v1 5/5] configs: socfpga: Add defconfig for Agilex and Diamond
> Mesa with VAB support
> 
> Booting Agilex and Diamond Mesa with Vendor Authorized Boot.
> 
> Signed-off-by: Siew Chin Lim <elly.siew.chin.lim at intel.com>
> ---
>  configs/{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig} |
> 3 ++-
>  configs/{socfpga_dm_atf_defconfig => socfpga_dm_vab_defconfig}         | 3
> ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)  copy
> configs/{socfpga_agilex_atf_defconfig => socfpga_agilex_vab_defconfig}
> (96%)  copy configs/{socfpga_dm_atf_defconfig =>
> socfpga_dm_vab_defconfig} (96%)
> 
> diff --git a/configs/socfpga_agilex_atf_defconfig
> b/configs/socfpga_agilex_vab_defconfig
> similarity index 96%
> copy from configs/socfpga_agilex_atf_defconfig
> copy to configs/socfpga_agilex_vab_defconfig
> index ad87a8098f..d437f49ce0 100644
> --- a/configs/socfpga_agilex_atf_defconfig
> +++ b/configs/socfpga_agilex_vab_defconfig
> @@ -1,5 +1,4 @@
>  CONFIG_ARM=y
> -CONFIG_ARM_SMCCC=y
>  CONFIG_SPL_LDSCRIPT="arch/arm/mach-socfpga/u-boot-spl-soc64.lds"
>  CONFIG_ARCH_SOCFPGA=y
>  CONFIG_SYS_TEXT_BASE=0x200000
> @@ -8,6 +7,7 @@ CONFIG_ENV_SIZE=0x1000
>  CONFIG_ENV_OFFSET=0x200
>  CONFIG_DM_GPIO=y
>  CONFIG_NR_DRAM_BANKS=2
> +CONFIG_SECURE_VAB_AUTH=y
>  CONFIG_TARGET_SOCFPGA_AGILEX_SOCDK=y
>  CONFIG_IDENT_STRING="socfpga_agilex"
>  CONFIG_SPL_FS_FAT=y
> @@ -15,6 +15,7 @@ CONFIG_SPL_TEXT_BASE=0xFFE00000  CONFIG_FIT=y
> CONFIG_SPL_LOAD_FIT=y
>  CONFIG_SPL_LOAD_FIT_ADDRESS=0x02000000
> +# CONFIG_LEGACY_IMAGE_FORMAT is not set
>  # CONFIG_USE_SPL_FIT_GENERATOR is not set
>  CONFIG_BOOTDELAY=5
>  CONFIG_USE_BOOTARGS=y
> diff --git a/configs/socfpga_dm_atf_defconfig
> b/configs/socfpga_dm_vab_defconfig
> similarity index 96%
> copy from configs/socfpga_dm_atf_defconfig copy to
> configs/socfpga_dm_vab_defconfig index 975f20c752..97dc269057 100644
> --- a/configs/socfpga_dm_atf_defconfig
> +++ b/configs/socfpga_dm_vab_defconfig
> @@ -1,5 +1,4 @@
>  CONFIG_ARM=y
> -CONFIG_ARM_SMCCC=y
>  CONFIG_SPL_LDSCRIPT="arch/arm/mach-socfpga/u-boot-spl-soc64.lds"
>  CONFIG_ARCH_SOCFPGA=y
>  CONFIG_SYS_TEXT_BASE=0x200000
> @@ -8,6 +7,7 @@ CONFIG_ENV_SIZE=0x1000
>  CONFIG_ENV_OFFSET=0x200
>  CONFIG_DM_GPIO=y
>  CONFIG_NR_DRAM_BANKS=2
> +CONFIG_SECURE_VAB_AUTH=y
>  CONFIG_TARGET_SOCFPGA_DM_SOCDK=y
>  CONFIG_IDENT_STRING="socfpga_dm"
>  CONFIG_SPL_FS_FAT=y
> @@ -15,6 +15,7 @@ CONFIG_SPL_TEXT_BASE=0xFFE00000  CONFIG_FIT=y
> CONFIG_SPL_LOAD_FIT=y
>  CONFIG_SPL_LOAD_FIT_ADDRESS=0x02000000
> +# CONFIG_LEGACY_IMAGE_FORMAT is not set
>  # CONFIG_USE_SPL_FIT_GENERATOR is not set
>  CONFIG_BOOTDELAY=5
>  CONFIG_USE_BOOTARGS=y

See comment in Patch [4/5], this patch need to be updated.

Regards
Ley Foon


More information about the U-Boot mailing list