Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2018 12:30:52 +0100
From:      =?utf-8?Q?S=C3=B8ren_Schmidt?= <sos@deepcore.dk>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Allwinner R40/V40 support anyone ?
Message-ID:  <DF6CD6BC-F03A-41DB-9106-60488F215866@deepcore.dk>
In-Reply-To: <20181110121241.c016bfc2c0a324a5bb06fa9c@bidouilliste.com>
References:  <14FA23F3-03AA-4970-BA02-F57055C4FF64@deepcore.dk> <20181110121241.c016bfc2c0a324a5bb06fa9c@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
HI

Yeah its almost but not quite like the A20 :)

So far I=E2=80=99ve just added the r40 to the following drivers:

aw_ccu.c
clkng/ccu_a10.c
aw_gpio.c
aw_machdep.c
aw_mmc.c

Which seem to do OK.

However there are issues with the power chip (axp221) it does get found =
by the axp209 driver, but it immediately shuts down and holds NMI active =
so that needs work at least, bandaid for now is just disable its IRQ.
USB finds the controller, but fails to attach the root hub with =
uhub_attach: getting USB 2.0 HUB descriptor =
failed,error=3DUSB_ERR_SHORT_XFER
The GMAC has trouble finding its PHY.
Both could be due to proper power missing I guess.
It finds the SATA part and that works quite well (my own ATA stack, not =
stock CAM).
Haven=E2=80=99t tried video/audio as that has no interest to me for now.

--S=C3=B8ren Schmidt
sos@deepcore.dk / sos@freebsd.org
"So much code to hack, so little time"

> On 10 Nov 2018, at 12.12, Emmanuel Vadot <manu@bidouilliste.com> =
wrote:
>=20
>=20
> Hi,
>=20
> On Sat, 10 Nov 2018 11:23:56 +0100
> S=C3=B8ren Schmidt <sos@deepcore.dk> wrote:
>=20
>> Hi
>>=20
>> I?m looking into getting the BananaPi M2 Berry running, but before I =
toss too much time into it I?d like to hear if anybody else is working =
on it ?
>=20
> R40 just contain most of the IP present in the A20. What would be
> needed is a r40 ccu driver. I haven't read the datasheet but I assume
> that it could be possible to adapt ccu_a10 for it easily.
>=20
>> I?m so far that it boots but with bandaids and sticks :)
>=20
> What are they ?
>=20
>> --
>> S=C3=B8ren Schmidt
>> sos@deepcore.dk / sos@freebsd.org
>> "So much code to hack, so little time"
>=20
>=20
> --=20
> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF6CD6BC-F03A-41DB-9106-60488F215866>