Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2019 23:20:26 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        =?ISO-8859-1?Q?S=F8ren?= Schmidt <soren.schmidt@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Trouble starting AP cpu's on all winner R40/V40 chip, help needed?
Message-ID:  <20191015232026.4b25b064c358eb6ae1e4d711@bidouilliste.com>
In-Reply-To: <4A09598C-3097-4F52-A21F-E82F5D84A72C@gmail.com>
References:  <0AE907CC-0CBC-4A8A-A2D3-71EF37330503@gmail.com> <20191015140210.82d406d7a7b86720e4771206@bidouilliste.com> <C3E6AB41-30DA-4BB7-A6E8-533D536413E2@gmail.com> <07E4329F-3DFD-49FB-A3BC-A63790DCC798@gmail.com> <184A8618-F027-42F2-B930-C3331DB43A50@gmail.com> <20191015224618.3448bd3496ec15df60b64f58@bidouilliste.com> <4A09598C-3097-4F52-A21F-E82F5D84A72C@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Oct 2019 23:02:54 +0200
S=F8ren Schmidt <soren.schmidt@gmail.com> wrote:

>=20
>=20
> >>=20
> >> Success, I now have all 4 cores running, took a little experimenting t=
hough, release the power switch/clamp is non-std too.
> >=20
> > Cool.
> >=20
> >> Now to the last part, the gmac 1G ether controller :)
> >=20
> > What's missing ? is it dwc or awg ?
>=20
> As far as I can tell it is awg type, but possibly with its own deficienci=
es :)

 I guess it's awg since it's sun8i. The dts seems to say that it needs
the ccu to be a syscon interface which will be not hard to do but seems
very wrong.

> >> PS: I have had to add devices to the .dtsi and dts files for the r40/v=
40 for this to work at all, std-linux doesn?t support this setup either.
> >=20
> > What was missing ?
>=20
> It misses the dma controller and iosc clock, and possibly the gmac clocks=
 in sun8i-r40.dtsi, ahci, echi2, and the gmac stuff in sun8i-v40-m2-berry.d=
ts

 For what I can see the gmac clocks are there.=20
 Is the iosc the 16MHz clock that I see in the clock diagram ? If yes I
wonder why it's not present in the dts ...

> >=20
> >> PPS: when this is all done, any chance for it to get into the official=
 sources ? (Yeah I retired my src commit bit long ago :))=20
> >=20
> > Sure open a review on phabricator and add me as a reviewer.
>=20
> OK, will do, but I?ll give the gmac a try first and get more testing done=
, its compiling world now on a SATA SSD, that will take some time :)
>=20
> -S=F8ren

--=20
Emmanuel Vadot <manu@bidouilliste.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191015232026.4b25b064c358eb6ae1e4d711>