I just got an OrangePi-mini and tried to install Hans's sunxi-wip (from 2-3 days ago) in order to get audio output support. And I'm happy to report success.
The good: after applying the patch below (I found the stmmac patch by web-searching, it'll presumably find its way to 4.2 before the release), the system works. Minor problems: - I got the audio out (mostly tested via MusicPD) working, but I had to add amixer set 'DAC Output' 'Mixed' to /etc/rc.local since before I do that, the audio output hangs (the "DAC Output" control apparently defaults to "Muted" and I guess this doesn't just throw away the samples but it stalls the samples instead?) - The name of the mixer control to change the volume output is "PA". I haven't seen much standardization in those names, but it's the first time I see "PA". In some earlier version of Emilio's codec code, on my Mele A2000 it was called "Master". I haven't experimented with the OTG support yet, so I have nothing to report on this part. Two more annoying problems: - The machine does not reboot. When I issue a reboot, Debian does all it needs to do then ends with [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Reached target Shutdown. [ 377.515591] reboot: System halted and sits there. I have sunxi_wdt compiled in the kernel (not as module), FWIW. Any idea what that might be or what I should do to track down this problem? - I think this is a known problem, but I can't read my SD cards (I get "Error R1 ready timeout"). Stefan diff --git a/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts b/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts index 4f65664..9c8b11b 100644 --- a/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts +++ b/arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts @@ -95,6 +95,13 @@ status = "okay"; }; +&codec { + routing = + "Headphone Jack", "HP Left", + "Headphone Jack", "HP Right"; + status = "okay"; +}; + &ehci0 { status = "okay"; }; diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index f3918c7..48191d7 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -413,3 +413,7 @@ static int stmmac_pltfr_resume(struct device *dev) SIMPLE_DEV_PM_OPS(stmmac_pltfr_pm_ops, stmmac_pltfr_suspend, stmmac_pltfr_resume); EXPORT_SYMBOL_GPL(stmmac_pltfr_pm_ops); + +MODULE_DESCRIPTION("STMMAC 10/100/1000 Ethernet platform support"); +MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@xxxxxx>"); +MODULE_LICENSE("GPL"); -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.