[PATCH v3 00/16] Add board support for Spacemit K1 SoC in SPL
Guodong Xu
guodong at riscstar.com
Fri Mar 27 04:10:02 CET 2026
Hi, Vincent
On Fri, Mar 27, 2026 at 2:36 AM Vincent Legoll <legoll at online.fr> wrote:
>
> Hello,
>
> I wanted to try this series (applied to upstream u-boot, next branch),
> but it failed to boot properly.
>
Thanks for testing the v3 K1 SPL patchset.
Actually your result confirms the SPL patchset is working correctly and the
build/test procedure is generally complete.
PS: I added some walk through to the key lines in your log below (for you
and for the community's future reference purpose), but for here please be
noted that as I said in the doc patch [1]:
"After DDR init succeeds, SPL proceeds to load U-Boot proper. If
U-Boot proper is not yet available (as in SPL-only testing), you
will see SPL: failed to boot from all boot devices - this is
expected and confirms that SPL with DDR init is working correctly."
[1] https://lore.kernel.org/u-boot/20260311073741.80616-1-guodong@riscstar.com/
> Note that I tried to follow instructions from:
> Subject: [PATCH] doc: spacemit: add K1 SPL build and test guide
> https://lore.kernel.org/u-boot/20260311073741.80616-1-guodong@riscstar.com/
>
...
>
> # Here the path to fsbl.json was not right
> # See:
> https://gitee.com/spacemit-buildroot/uboot-2022.10/blob/k1-bl-v2.2.y/board/spacemit/k1-x/configs/fsbl.json
Thanks for bringing this up.
Regarding the fsbl.json path: allow me to explain the upstream gitee
repository URL has been redirected from
https://gitee.com/bianbu-linux/uboot-2022.10
to
https://gitee.com/spacemit-buildroot/uboot-2022.10
Somehow it causes the fsbl.json path in my doc [1] didn't match.
I will update the repository URL and fix the fsbl.json path in v2 of
the doc patch.
>
> U-Boot SPL 2026.04-rc4-00543-g2ba03a569e61 (Mar 26 2026 - 16:48:44 +0100)
> Fail to detect board:-2
> vdd_core, value:900000
> vdd_1v8, value:1800000
> vdd_1v8_mmc, value:500000
> DDR firmware: [0xc08159c0]:0xf0227179, size:0x8d98
> DDR is ready
> SPL: Unsupported Boot Device!
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
To walk through the key lines:
"DDR firmware: [...], size:0x8d98" - DDR firmware loaded successfully
"DDR is ready" - DDR initialization completed
"SPL: failed to boot from all boot devices" - expected, since no
storage driver (SPI NOR, MMC, etc.) is included in this patchset
to load U-Boot proper
Back to the patch series itself, your log is a good validation of
the v3 SPL patchset.
Thank you again for taking the time.
BR,
Guodong
>
> Thanks
>
> PS: I just (re-)subscribed to the list. I tried to get the email
> threading right, hopefully it'll work.
More information about the U-Boot
mailing list