回复:Whether the Sipeed Lichee RV equipment is sup ported

From: Haowu Ge <gehaowu_at_bitmoe.com>
Date: Mon, 12 Dec 2022 01:25:29 UTC
Thank you. I'll try to compile freebsd-d1
------------------------------------------------------------------
发件人:Julien Cassette <julien.cassette@gmail.com>
发送时间:2022年12月11日(星期日) 22:29
收件人:Milan Obuch <freebsd-riscv@dino.sk>
抄 送:freebsd-riscv <freebsd-riscv@freebsd.org>; 葛豪武 <gehaowu@bitmoe.com>
主 题:Re: Whether the Sipeed Lichee RV equipment is supported
Le dim. 11 déc. 2022 à 11:44, Milan Obuch <freebsd-riscv@dino.sk> a écrit :
>
> On Sun, 11 Dec 2022 18:15:01 +0800
> "葛豪武" <gehaowu@bitmoe.com> wrote:
>
> > hello everyone:
> > I have obtained a Sipeed Lichee
> > RV[https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html <https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html >
> > <https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html <https://wiki.sipeed.com/hardware/en/lichee/RV/RV.html > >] device,
> > which does not seem to support freebsd. Do you have a support plan
> > and schedule? Thank you Sipeed Lichee RV <https://fanyi.baidu.com/### <https://fanyi.baidu.com/### >
> > > hello everyone: I have obtained a LICHEERV device, which does not
> > > seem to support freebsd. Do you have a support plan and schedule?
> > > Thank you
>
> Allwinner D1 uses C906 core, which means something special needs to be
> done to support it. See older post on this list, available at URL
> https://lists.freebsd.org/archives/freebsd-riscv/2022-December/000229.html <https://lists.freebsd.org/archives/freebsd-riscv/2022-December/000229.html >
>
> Some time ago, however, there was a thread on the subject as well, most
> interesting one (I think) is from March 13, 2022, archived copy at
> https://lists.freebsd.org/archives/freebsd-riscv/2022-March/000159.html <https://lists.freebsd.org/archives/freebsd-riscv/2022-March/000159.html >
>
> I don't know more, but maybe Julien achieved something, added as CC. It
> would be nice if he can share in case he has anything done.
>
> Regards,
> Milan
Hello
I have ported the following drivers: watchdog, interrupt, clock/reset,
i/o pins, memory card; and implemented C906-specific cache management
functions.
So in September I could boot from MFS, get a shell and mount the MMC.
But I could not boot directly from MMC and I stalled there.
Also I had to disable T-Head memory extensions in the bootloader. I
don't know if other C906-specific things are needed.
Sources: https://github.com/freebsd-d1/freebsd-d1 <https://github.com/freebsd-d1/freebsd-d1 >
Reviews: https://reviews.freebsd.org/people/revisions/13728/ <https://reviews.freebsd.org/people/revisions/13728/ >
Regards,
Julien