From nobody Fri Mar 18 18:16:28 2022 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 01B731A112D3 for ; Fri, 18 Mar 2022 18:16:40 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKsfG63Sjz4s64 for ; Fri, 18 Mar 2022 18:16:38 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by mailhost.netlabit.sk with ESMTPSA; Fri, 18 Mar 2022 19:16:30 +0100 id 00DADC23.6234CC7E.0000061E Date: Fri, 18 Mar 2022 19:16:28 +0100 From: Milan Obuch To: freebsd-riscv@freebsd.org Subject: Re: Sipeed Lichee RV (Allwinner D1) Message-ID: <20220318191628.7764ab9d@zeta.dino.sk> In-Reply-To: References: <54a1fb0c-1128-a9fc-a96d-fe973bd2cabc@alvermark.net> <41855845-4e9f-deb9-386c-3e98b99692e9@alvermark.net> <20220228184826.5bdfe7d9@zeta.dino.sk> <20220303232547.316daa2d@zeta.dino.sk> <20220313204621.53748874@zeta.dino.sk> X-Mailer: Claws Mail 3.18.0git333 (GTK+ 2.24.33; i386-portbld-freebsd11.4) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KKsfG63Sjz4s64 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-riscv]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, 18 Mar 2022 18:16:04 +0100 Julien Cassette wrote: > Le dim. 13 mars 2022 =C3=A0 20:46, Milan Obuch a > =C3=A9crit : [ snip ] > > 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 > > =20 >=20 > Is it normal that the interrupt numbers in the boot log and in the > device tree do not match? > I see it with other devices as well. Interrupt numbers in boot log and interrupt property in device tree are not the same entity, maybe, I am not sure. I checked it on a running device, so it is nothing wrong, probably. > Also it seems that there are 2 interrupt controllers in the device > tree, but I have a driver for the PLIC only... >=20 > I have the Lichee RV Dock, and you? > Well, none. I just looked over the description and as RV panel has ethernet connectibity, it could help tremendously while developing (using nfs for file system etc). It could even work out of the box using if_awg interface, which should match according device tree dump you posted... but RV Dock has nothing like this, unfortunatelly. Regards, Milan