From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pragnesh Patel Date: Fri, 24 Apr 2020 14:06:21 +0000 Subject: [PATCH v6 13/17] configs: fu540: Add config options for U-Boot SPL In-Reply-To: References: <20200329170538.25449-1-pragnesh.patel@sifive.com> <20200329170538.25449-14-pragnesh.patel@sifive.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Bin, >-----Original Message----- >From: Bin Meng >Sent: 20 April 2020 15:05 >To: Pragnesh Patel >Cc: U-Boot Mailing List ; Atish Patra >; Palmer Dabbelt ; Paul >Walmsley ; Jagan Teki >; Troy Benjegerdes >; Anup Patel ; Sagar >Kadam ; Rick Chen ; Palmer >Dabbelt >Subject: Re: [PATCH v6 13/17] configs: fu540: Add config options for U-Boot >SPL > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >Hi Pragnesh, > >On Mon, Mar 30, 2020 at 1:07 AM Pragnesh Patel > wrote: >> >> With sifive_fu540_defconfig: >> >> User can use FSBL or u-boot-spl.bin anyone at a time. >> >> For FSBL, >> fsbl->fw_payload.bin(opensbi+u-boot) > >nits: need a space before ( and around + Will update in v7. > >> >> For u-boot-spl.bin, >> u-boot-spl.bin->FIT image(opensbi+u-boot+dtb) > >nits: need a space before ( and around + Will update in v7. > >> >> U-Boot SPL will be loaded by ZSBL from SD card (replace fsbl.bin with >> u-boot-spl.bin) and runs in L2 LIM in machine mode and then load FIT >> image u-boot.itb from 1st partition of SD card (replace fw_payload.bin >> with u-boot.itb) into RAM. >> >> U-Boot SPL expects u-boot.itb FIT image in the 1st partition of SD >> card irrespective of GUID >> >> Signed-off-by: Pragnesh Patel >> --- >> configs/sifive_fu540_defconfig | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/configs/sifive_fu540_defconfig >> b/configs/sifive_fu540_defconfig index 6d61e6c960..4fa4e1520f 100644 >> --- a/configs/sifive_fu540_defconfig >> +++ b/configs/sifive_fu540_defconfig >> @@ -12,3 +12,14 @@ CONFIG_DISPLAY_BOARDINFO=y >> CONFIG_DEFAULT_DEVICE_TREE="hifive-unleashed-a00" >> CONFIG_SYS_RELOC_GD_ENV_ADDR=y >> CONFIG_DM_MTD=y >> +CONFIG_SPL_SEPARATE_BSS=y >> +CONFIG_SPL=y >> +CONFIG_SPL_MMC_SUPPORT=y >> +CONFIG_SPL_SPI_SUPPORT=y >> +CONFIG_SPL_YMODEM_SUPPORT=y >> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y >> +CONFIG_SPL_CLK=y >> +CONFIG_SPL_PAYLOAD="u-boot.itb" >> +CONFIG_SPL_GPIO_SUPPORT=y >> +CONFIG_SYS_MALLOC_F_LEN=0x3000 >> +CONFIG_SIFIVE_FU540_DDR=y >> -- > >Please do the defconfig update via the following way: > >$ make sifive_fu540_defconfig >$ make savedefconfig >$ cp defconfig configs/sifive_fu540_defconfig Will update in v7. > >Regards, >Bin