
-----Original Message----- From: Jagan Teki jagan@amarulasolutions.com Sent: 24 January 2020 12:21 To: Pragnesh Patel pragnesh.patel@sifive.com Cc: U-Boot-Denx u-boot@lists.denx.de; Atish Patra atish.patra@wdc.com; palmerdabbelt@google.com; Bin Meng bmeng.cn@gmail.com; Paul Walmsley ( Sifive) paul.walmsley@sifive.com; Troy Benjegerdes ( Sifive) troy.benjegerdes@sifive.com; Anup Patel anup.patel@wdc.com; Sagar Kadam sagar.kadam@sifive.com Subject: Re: [PATCH v3 07/10] configs: fu540: Add config file for U-boot SPL
On Fri, Jan 24, 2020 at 11:21 AM Pragnesh Patel pragnesh.patel@sifive.com wrote:
With sifive_fu540_spl_defconfig:
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 pragnesh.patel@sifive.com
I'm thinking we don't need any separate config for SPL. Say if we have single config that creates both SPL and U-Boot proper and give feasibility to the user to use
- SPL + U-Boot proper
- SiFive SPL + U-Boot proper
Sifive SPL ?
We are using a similar approach for other platforms, I guess the same will valid here, any comments?