Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on A20-OLinuXino-MICRO



On Tue, May 29, 2018 at 11:18:16AM +0200, Manuel Bouyer wrote:
> I see what's happening. With the default device tree the allwinner,pipelines
> properties points to the display frontend devices, and we don't have drivers
> for that. In this case it fallback to the simple framebuffer driver.
> But, the drivers for the other parts of the pipeline do reset the hardware
> in their attach function (and disable clocks).
> 
> I could delay the reset to sunxi_dep_attach() and do it only for pipelines
> we activate, but in this case this means that if a pipeline element is
> explicitely not present in the device tree, but has been activated by the
> firmware then it will stay active, draving power.
> 
> I'm not sure about the solution at this point, I will have to think more about
> it ...

I just commited a fix for this. Actually it doesn't take care of disabling
video hardware if there's no display at all configured in the device tree,
but the hardare defaults to disabled after reset. If the user really wants no
video, then the firmware/uboot should not enable it either I guess ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index