[PATCH] include: sbi_platform: Increase default stack size

Aurelien Jarno aurelien at aurel32.net
Fri Jun 5 11:59:40 PDT 2026


Hi Anirudh,

On 2026-06-04 17:20, Anirudh Srinivasan wrote:
> On Thu, Jun 4, 2026 at 4:43 PM Aurelien Jarno <aurelien at aurel32.net> wrote:
> > I am using the current OpenSBI HEAD. Support for misaligned vector
> > load/store was added in version 1.6 in commit c2acc5e5b0d8 ("lib:
> > sbi_misaligned_ldst: Add handling of vector load/store"), so it's not
> > surprising that your version does not have the issue.
> 
> I wasn't aware that you could use upstream OpenSBI on the k1 boards.

Yes, OpenSBI has support for it, but you either require patching the 
vendor U-Boot [1] or using the second stage upstream U-Boot with all the 
current limitations. Most notably it requires that you embed kernel and 
possibly initrd in the second stage binary [2] as there is not yet 
support for flash or mmc. There are patches posted [3] [4] to improve 
U-Boot K1 support, but I haven't tested them yet.

Regards
Aurelien

[1] https://blog.aurel32.net/upstream-opensbi-spacemit-k1.html
[2] https://github.com/riscv/meta-riscv/blob/master/recipes-bsp/u-boot/boot-bundle/k1/boot-bundle.its
[3] https://lists.denx.de/pipermail/u-boot/2026-May/620040.html
[4] https://lists.denx.de/pipermail/u-boot/2026-May/619045.html

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                     http://aurel32.net



More information about the opensbi mailing list