Re: Sipeed Lichee RV (Allwinner D1)

From: Julien Cassette <julien.cassette_at_gmail.com>
Date: Fri, 18 Mar 2022 17:16:04 UTC
Le dim. 13 mars 2022 à 20:46, Milan Obuch <freebsd-riscv@dino.sk> a écrit :
>
> On Sun, 13 Mar 2022 17:30:43 +0100
> Julien Cassette <julien.cassette@gmail.com> wrote:
>
> [ snip ]
>
> > I am trying to make the `aw_mmc` driver work but it is failing on
> > getting ressources, I guess the IRQ one.
> >
> > Source code: https://github.com/jcassette/freebsd-src/tree/sun20i-d1
> >
> > Boot log: https://pastebin.com/1MDWtymS
> >
> > Output of FDT print: https://pastebin.com/CkKmej7s
> >
>
> Looking at your device tree, I see no immediate hint what could be
> wrong with aw_mmc. Somewhat deeper analysis of sources is needed, I do
> not feel like an expert in this area...
>
> Do you have RV dock or RV panel?
>
> Regards,
> Milan
>

Is it normal that the interrupt numbers in the boot log and in the
device tree do not match?

Also it seems that there are 2 interrupt controllers in the device
tree, but I have a driver for the PLIC only...

I have the Lichee RV Dock, and you?

Julien