[PATCH v3 5/5] configs: socfpga: Fix de0_nano_soc boot

Chee, Tien Fong tienfong.chee at altera.com
Mon Dec 15 06:04:57 CET 2025


On 12/12/2025 12:34 am, Jan Kiszka wrote:
> [CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
>
> From: Jan Kiszka <jan.kiszka at siemens.com>
>
> By default, the de0_nano_soc used raw sectors, but the address became
> invalid due the raw-mode refactorings. With loading via partition type
> fixed, we can switch to that mode which is in line with what the ROM
> loader does.
>
> Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
> ---
>   configs/socfpga_de0_nano_soc_defconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig
> index 32cdf6d3a6c..6564cbd03c6 100644
> --- a/configs/socfpga_de0_nano_soc_defconfig
> +++ b/configs/socfpga_de0_nano_soc_defconfig
> @@ -28,6 +28,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y
>   # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
>   # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
>   CONFIG_SPL_HAVE_INIT_STACK=y
> +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE=y
>   CONFIG_SPL_SPI_LOAD=y
>   CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
>   CONFIG_SYS_MAXARGS=32
> --
> 2.51.0


Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>

Best regards,
Tien Fong



More information about the U-Boot mailing list