(subset) [PATCH RESEND v8 0/6] riscv: add initial support for Canaan Kendryte K230
Yangyu Chen
cyy at cyyself.name
Tue Jun 25 09:04:22 PDT 2024
> On Jun 19, 2024, at 18:45, Conor Dooley <conor at kernel.org> wrote:
>
> On Wed, Apr 10, 2024 at 11:30:25AM +0100, Conor Dooley wrote:
>> From: Conor Dooley <conor.dooley at microchip.com>
>>
>> On Mon, 08 Apr 2024 00:26:58 +0800, Yangyu Chen wrote:
>>> K230 is an ideal chip for RISC-V Vector 1.0 evaluation now. Add initial
>>> support for it to allow more people to participate in building drivers
>>> to mainline for it.
>>>
>>> This kernel has been tested upon factory SDK [1] with
>>> k230_evb_only_linux_defconfig and patched mainline opensbi [2] to skip
>>> locked pmp and successfully booted to busybox on initrd with this log [3].
>>>
>>> [...]
>>
>> Applied to riscv-dt-for-next, thanks!
>>
>> [1/6] dt-bindings: riscv: Add T-HEAD C908 compatible
>> https://git.kernel.org/conor/c/64cbc46bb854
>> [2/6] dt-bindings: add Canaan K230 boards compatible strings
>> https://git.kernel.org/conor/c/b065da13ea9c
>> [3/6] dt-bindings: timer: Add Canaan K230 CLINT
>> https://git.kernel.org/conor/c/b3ae796d0a4f
>> [4/6] dt-bindings: interrupt-controller: Add Canaan K230 PLIC
>> https://git.kernel.org/conor/c/db54fda11b13
>> [5/6] riscv: dts: add initial canmv-k230 and k230-evb dts
>> https://git.kernel.org/conor/c/5db2c4dc413e
>
> After some discussion on the k1 thread
> (https://lore.kernel.org/all/ZnEOU7D00J8Jzy-1@xhacker/, https://lore.kernel.org/all/ZnA6pZLkI2StP8Hh@xhacker/)
> I am going to drop this series. It's not very useful in the current
> state and there's not really been any interest from people in getting
> the platform to a more complete state. Jisheng made some good points in
> the k1 thread about the missing clock controller stuff, and I think I'm
> going to make having basic things like clocks and where applicable
> resets and pinctrl the minimum requirement for the platforms I'm looking
> after.
>
> I've thrown these patches into my tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/log/?h=k230-basic
>
> I do have one of these boards, but I'm fairly limited at the moment between
> the various linux-related and work demands on my time, so it's pretty
> unlikely that I'll do anything with it myself.
>
OK. I understand about this. I do some initial support for K230
only for my evaluation purpose and propose this tree to provide
information for others to boot up a minimal kernel and also have
another patch [1] to have a USB node so we will able to run a distro
like Debian over NFS rootfs by USB ethernet which is on canmv k230
board.
But I want to say I may have no time to do further driver development.
I have done this for my evaluation purpose to get some performance
metrics on real RVV chips for research usage since I’m a Ph.D.
student focused on computer architecture. I have to devote my time
to my research work.
If anyone wants to do some further driver development, please don’t
hesitate to do so. Don’t imagine I may be doing this, so you may
do duplicate work. I’m too busy to do that.
[1] https://lore.kernel.org/linux-riscv/tencent_E9B853316D217B8D1E7CDF8288DA5E8ED908@qq.com/
Thanks,
Yangyu Chen
> Thanks,
> Conor.
More information about the linux-riscv
mailing list