Upstreaming DeviceTree and Kernel Patches

There are several boards at this point that are built around the K1/M1 processor family at this point. Between the MuseBook, DC ROMA II, and Milj-V Jupiter, there’s a good amount of boards to support. Some owners are also outside of China, including the United States, where access to the original BSP and its derivatives may soon become incredibly limited. Transferring support upstream would lighten development overhead lighter, improve access for current board owners, and improve the overall state of RISC-V as a whole.

As an example, I’m currently attempting to develop x86 emulation based on TianoCore EDK2. There’s documentation for importing EDK2 modules into uBoot, but there is little to no documentation about the K1/M1 aside from reading through scattered DeviceTree files and hoping I don’t miss something. Having more complete, open and clear documentation and sources will benefit everyone, both now and into the future.

2 个赞

The K1/M1-related resource repositories are currently hosted on the gitee, Bianbu Linux: Bianbu Linux是由SpacemiT维护的开源项目,提供Spacemit Stone系列芯片的BSP,即SDK。. Regarding upstream work for components like U-Boot and the Linux kernel, Spacemit is progressively advancing these efforts. You will observe patches being accepted and integrated into Linux kernel versions 6.13 and subsequent releases. For those interested in contributing to K1/M1 upstream tasks, please follow our GitHub Wiki Home · spacemit-com/linux Wiki · GitHub and join the associated mailing lists spacemit+subscribe@lists.linux.dev.

1 个赞

Awesome, thank you for your quick response! I wasn’t aware of the GitHub wiki, I will definitely keep close tabs on that.

Glad to see the upstreaming is picking up pace. The lack of code upstream right now is one of the main pain-points with he K1-based SBCs. Well along with the proprietary PVR GPU driver and lack of support for it in opensource Mesa drivers. Hope to see this also some day. One can just hope some integrated AMD Radeon graphics would be part of the SpacemiT CPUs in the future instead of the not so nice Imagination/PowerVR.