[PATCH v5 0/6] platform: generic: spacemit: add K3 platform support
E Shattow
e at freeshell.de
Sun Oct 25 07:48:35 PDT 2026
Hi Troy,
On 10/22/26 19:42, Troy Mitchell wrote:
>> I did suggest the change to be included by the vendor as a pull request:
>>
>> https://github.com/spacemit-com/uboot-2022.10/pull/5
>>
>> However I do not expect this to be considered, as the vendor uses their
>> own fork of OpenSBI.
>
> I've already passed your PR to the team responsible for our U-Boot tree
> for review.
>
Good report, thanks.
>> [...]
>>
>> Although I was unable boot a Linux userland from vendor 'FSBL.bin' plus
>> the mainline in-development 'u-boot.itb' the Linux kernel appears mostly
>> functional and does output some messages up to the point of 'init'.
>> There is no dependency on any SPI NOR flash content at all, it can be
>> fully erased and the 'esos' 'FSBL' 'opensbi' 'uboot' NOR flash regions
>> are not involved in testing when loading in-development for mainline
>> U-Boot (including mainline OpenSBI fw_dynamic.bin) 'u-boot.itb' and
>> whatever SPL (currently the vendor SDK/BSP 'FSBL.bin' SPL) is required
>> by that.
>
> My COM260 test reached a shell with the SDK U-Boot and a minimal
> initramfs. Could you share the full boot log, U-Boot and kernel
> revisions, and the DT and kernel command line you used?
>
That software stack you describe works on Pico-ITX equally well for me.
I did not get to Linux userland with mainline OpenSBI (this series)
bundled into mainline U-Boot u-boot.itb FIT image, and the SDK SPL
FSBL.bin as the DRAM init and U-Boot loader.
The commits for mainline U-Boot support of Pico-ITX landed to U-Boot
v2027.01 development cycle and are corresponding to Linux v7.3
devicetree-rebasing. Network support is functional in U-Boot for
Pico-ITX so we have the convenience of "wget" in U-Boot to load data
quickly for testing. There is no driver enabled yet for
USB/MMC/UFS/NVMe. I'll post more about this testing methodology to the
U-Boot mailing list soon.
>> [...]
>>
>> I did read through all the patches in this series for any obvious style
>> problems. For the series with no endorsement of suitability for what the
>> code does or how it does so, okay to apply my R-by tag (and/or
>> Tested-by) and with or without any trivial style corrections as requested.
>
> I've dropped the redundant cache-flush comment in patch 2 and used BIT()
> in the K1 nascent hook in patch 3.
>
> Thanks for the review, testing and tags.
>
>
On 10/22/26 20:44, Troy Mitchell wrote:
> This series adds basic K3 platform initialization and start-only HSM
> support. Secondary harts are started directly through the SoC PMU. RPMI
> support for the vendor kernel is outside the scope of this series; the
> upstream Linux boot path does not depend on ESOS.
...
> Signed-off-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
> ---
> Changes in v5:
> - drop the redundant cache-flush comment in the K1 rename patch
> - use BIT() for the K1 ML2SETUP bit in nascent_init()
> - collect review and test tags from E Shattow
> - Link to v4: https://patch.msgid.link/20260910-spacemit-k3-v4-0-0793b62329f6@linux.spacemit.com
Looks good to me, thanks for implementing the changes. -E
More information about the opensbi
mailing list