Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2022 18:16:04 +0100
From:      Julien Cassette <julien.cassette@gmail.com>
To:        freebsd-riscv@freebsd.org
Subject:   Re: Sipeed Lichee RV (Allwinner D1)
Message-ID:  <CAMWTpV=bJUmGBF9Ww8snDaG%2B6%2BBwWtfb4QsDOF5u8hAeDOGJyg@mail.gmail.com>
In-Reply-To: <20220313204621.53748874@zeta.dino.sk>
References:  <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <CAMWTpVk2xpVjwGc5MEjaazXEJ5HmjrXE78UU3_7B2Z_9DA5kag@mail.gmail.com> <20220228184826.5bdfe7d9@zeta.dino.sk> <CAMWTpVnZxYh6__u2CcOzpvEzwczF8BiAadw0U-hTgVGdhPicUA@mail.gmail.com> <20220303232547.316daa2d@zeta.dino.sk> <CAMWTpV=MnB2VrAitZV-K3fomb7Z7M_AtcUC2FzO4PRqY=DK7Wg@mail.gmail.com> <20220313204621.53748874@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
Le dim. 13 mars 2022 =C3=A0 20:46, Milan Obuch <freebsd-riscv@dino.sk> a =
=C3=A9crit :
>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMWTpV=bJUmGBF9Ww8snDaG%2B6%2BBwWtfb4QsDOF5u8hAeDOGJyg>