Re: Whether the Sipeed Lichee RV equipment is supported

From: Julien Cassette <julien.cassette_at_gmail.com>
Date: Sun, 11 Dec 2022 14:29:24 UTC
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 >] 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/###
> > > 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
>
> 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
>
> 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
Reviews: https://reviews.freebsd.org/people/revisions/13728/

Regards,
Julien