From: Marek Vasut Date: Wed, 19 Feb 2020 18:14:17 +0100 Subject: [PATCH v2 06/21] configs: socfpga: Enable FIT image loading with ATF support In-Reply-To: <1582115146-28658-7-git-send-email-chee.hong.ang@intel.com> References: <1582115146-28658-1-git-send-email-chee.hong.ang@intel.com> <1582115146-28658-7-git-send-email-chee.hong.ang@intel.com> Message-ID: <2e4c62cc-e922-c630-d43b-6fa2fbf676b6@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2/19/20 1:25 PM, chee.hong.ang at intel.com wrote: > From: Chee Hong Ang > > SPL now loads ATF (BL31), U-Boot proper and DTB from FIT > image. The new boot flow with ATF support is as follow: > > SPL -> ATF (BL31) -> U-Boot proper -> OS (Linux) > > Signed-off-by: Chee Hong Ang > --- > configs/socfpga_agilex_defconfig | 8 +++++++- > configs/socfpga_stratix10_defconfig | 8 +++++++- > 2 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/configs/socfpga_agilex_defconfig b/configs/socfpga_agilex_defconfig > index 693a774..0065ff0 100644 > --- a/configs/socfpga_agilex_defconfig > +++ b/configs/socfpga_agilex_defconfig > @@ -1,6 +1,6 @@ > CONFIG_ARM=y > CONFIG_ARCH_SOCFPGA=y > -CONFIG_SYS_TEXT_BASE=0x1000 > +CONFIG_SYS_TEXT_BASE=0x200000 Why did the text base change ? > CONFIG_SYS_MALLOC_F_LEN=0x2000 > CONFIG_ENV_SIZE=0x1000 > CONFIG_ENV_OFFSET=0x200 > @@ -10,10 +10,16 @@ CONFIG_TARGET_SOCFPGA_AGILEX_SOCDK=y > CONFIG_IDENT_STRING="socfpga_agilex" > CONFIG_SPL_FS_FAT=y > CONFIG_SPL_TEXT_BASE=0xFFE00000 > +CONFIG_FIT=y > +CONFIG_SPL_LOAD_FIT=y > +CONFIG_SPL_FIT_SOURCE="board/altera/soc64/its/fit_spl_atf.its" > CONFIG_BOOTDELAY=5 > +CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y Is legacy image support really needed ?