U-Boot SPL not getting generated
Simon Glass
sjg at chromium.org
Fri Nov 18 21:50:23 CET 2022
Hi Venkatakrishnan,
On Wed, 16 Nov 2022 at 16:56, Venkatakrishnan S ic11539
<venkatakrishnan.sutharsan at imail.iitm.ac.in> wrote:
>
> Hi,
>
> I am trying to generate u-boot spl for a custom processor based out of
> risc-v arch. I have done the defconfig for u-boot proper and is
> working now. I am able to use that alone with opensbi. I am trying to
> generate u-boot spl for the same board and I am not able to generate
> it despite adding the config option in the defconfig for the board.
>
> The options enabled/added for u-boot spl are :
>
> CONFIG_SPL_DM_SPI=y
> CONFIG_SPL_MMC_SUPPORT=y
> CONFIG_SPL=y
> CONFIG_SPL_BUILD=y
> CONFIG_SPL_SPI_FLASH_SUPPORT=y
> CONFIG_SPL_SPI_SUPPORT=y
> CONFIG_SPL_LOAD_FIT_ADDRESS=0x80000000
> CONFIG_SPL_CLK=y
You cannot enable CONFIG_SPL=y in the defconfig, if that is what you
are doing. It needs to happen in the Kconfig as with other boards.
Check the .config to see what is actually enabled.
Regards,
Simon
More information about the U-Boot
mailing list