Trouble starting AP cpu's on all winner R40/V40 chip, help needed?
Emmanuel Vadot
manu at bidouilliste.com
Tue Oct 15 21:20:28 UTC 2019
On Tue, 15 Oct 2019 23:02:54 +0200
Søren Schmidt <soren.schmidt at gmail.com> wrote:
>
>
> >>
> >> Success, I now have all 4 cores running, took a little experimenting though, release the power switch/clamp is non-std too.
> >
> > Cool.
> >
> >> Now to the last part, the gmac 1G ether controller :)
> >
> > What's missing ? is it dwc or awg ?
>
> As far as I can tell it is awg type, but possibly with its own deficiencies :)
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/v40 for this to work at all, std-linux doesn?t support this setup either.
> >
> > What was missing ?
>
> 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.dts
For what I can see the gmac clocks are there.
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 ...
> >
> >> 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 :))
> >
> > Sure open a review on phabricator and add me as a reviewer.
>
> 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 :)
>
> -Søren
--
Emmanuel Vadot <manu at bidouilliste.com>
More information about the freebsd-arm
mailing list