Open CurtisVillamizar opened 6 years ago
It's not necessary to remake the whole fdt, since ubldr supports overlays now. You can use tools/fdt/make_dtbo.sh
to build an overlay, place it into /boot/dtb/overlays
and put something like
fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-disable-audio.dtbo"
into /boot/loader.conf
. (where sun8i-h3-disable-audio.dtbo
is the one you build, sun8i-h3-sid.dtbo
is a system built one that enables the eeprom with various calibrations — a prerequisite for thermal sensor support)
Note: looks like it's important to use the system dtc (DTC=/usr/bin/dtc
) for building overlays.
If someone would merge this pull request I'll change this and others I've recently added to use the system dtc and use overlays. No one has acted on my prior four pull requests, some just adding a README file, in five weeks now.
A workaround is needed in the dts file to avoid the pcm0 device. The HDMI doesn't work as with all H3 cards until the ARM Mali-400 GPU is supported in FreeBSD.