Summary: | Allwinner H3: Orange Pi fails to boot with the Audio Codec enabled in fdt | ||
---|---|---|---|
Product: | Base System | Reporter: | Val Packett <val> |
Component: | arm | Assignee: | freebsd-arm (Nobody) <freebsd-arm> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | linimon, manu, marek, marklmi26-fbsd |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | arm | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224070 |
Description
Val Packett
2018-02-18 21:52:32 UTC
Better workaround than using NanoPi's device tree: changing status = "okay"; to status = "disabled"; in the &codec section in sys/gnu/dts/arm/sun8i-h3-orangepi-pc.dts, recompiling it (in that folder: /usr/src/sys/tools/fdt/make_dtb.sh /usr/src/sys sun8i-h3-orangepi-pc.dts ~), copying to the sd card and booting. You might try the hack in 224070. (In reply to Mark Linimon from comment #2) I already applied the hack that is disabling it in the dts :) I just want these boards to be supported in -CURRENT without modifications. By the way, Ethernet works when I plug the cable in before boot. (In reply to Greg V from comment #0) I just tried head -r339076 and 2018.09 u-boot and such for an OPi+2E. The audio-support related kernel crash still exists. I set the status to disabled in the .dts and produced a new .dtb and substituted it. That allowed booting (but disabled audio, not that I'd be using audio if it was working). With Ethernet plugged in up before being powered on, Ethernet worked. A basic test of each of the USB ports showed them to be working. HDMI seemed to work in the early powerup but then the display image was trashed. (I'm not planning on using the display for now anyway.) powerpd was working. The fastest listed clock rate was slightly over 1GHz. I do not have hint sinks or a fan for it yet so I only planned on this basic test for now. It seems basically operational when audio is disabled in the dtb. It is still the case ? I think I've fixed that with some review or other bug report. (In reply to Emmanuel Vadot from comment #5) Testing reverting my .dts patch in head -r358510 the buildworld buildkernel and installations lead to the OPi+2E to booting and working fine so far. Looks fixed to me. Thanks. |