Trouble starting AP cpu's on all winner R40/V40 chip, help needed?

Søren Schmidt soren.schmidt at gmail.com
Tue Oct 15 21:03:00 UTC 2019



>> 
>> 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 :)

>> 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

> 
>> 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


More information about the freebsd-arm mailing list