freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
608 stars 187 forks source link

Initial commit of OrangePi-PC board directory #256

Open CurtisVillamizar opened 6 years ago

CurtisVillamizar commented 6 years ago

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.

valpackett commented 5 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.

CurtisVillamizar commented 5 years ago

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.