[PATCH v1 6/8] configs: cyclone5: Enable SPL FAT support

Jan Kiszka jan.kiszka at siemens.com
Thu Nov 27 18:42:31 CET 2025


On 27.11.25 10:42, Sune Brian wrote:
>> My patches address master (of two weeks ago at least). Please have a
>> look at
>> https://lore.kernel.org/u-boot/cover.1763140421.git.jan.kiszka@siemens.com/
>> (or https://patchwork.ozlabs.org/project/uboot/list/?series=482132), and
>> if you find something that is changing in the wrong direction, please
>> comment on it. There is at least one known build issue when you disable
>> CONFIG_SYS_MMCSD_RAW_MODE.
>>
>> Jan
> 
> Will take a look more a bit.
> Before that I want to confirm s.t.
> You want all three modes to support combined SPL+UBOOT
> aka u-boot-with-spl.sfp in A2 parition?
> So simply speaking you don't want u-boot.img in FAT?

I want something booting. If I had known earlier that FAT is working and
not generating too large SPLs (e.g. if the default board config had
changed...), I would have stopped using raw mode.

Now, let's assume someone still wants raw mode (and [1] suggests that
there might be cases), the raw sector mode is not so desirable because
it forces you to place the binary at a specific location on the disk,
requiring that to be synchronized with your image layout (such as a wks
file). Given that the romloader happily uses part-by-id, I would prefer
that for the SPL as well. Still, if someone configures another mode,
that should still work (when providing the right magic sector value).

Jan

[1]
https://lore.kernel.org/u-boot/85b3b8a8-fbaf-4e30-a38b-af4299820487@siemens.com/

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


More information about the U-Boot mailing list