I’ll admit this is my first post, even though I’ve been using Fedora for over a decade. I’ve come to my first challenge I can’t fix by myself…
I’m trying the armhf image for the first time on my RPi2 and RPi3 units. I’ve got the installation completed easily, it’s updated and displaying nicely on my very picky 8.8" super-wide TFT. However, now I need to try and get a HAT working and I need to add a device tree overlay.
I’ve run the following steps with no success:
rm /boot/dtb
echo "DTFirmware=True" > /etc/u-boot.conf
After this, the system seems to be loading the firmware device tree, as the following line appears in the kernel output during boot:
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 2 Model B
So I then added the following into /boot/efi/config.txt
dtparams=audio=off
dtoverlay=hifiberry-dac
I know the DAC support is experimental/supported (depending on which pages you look at), but I can’t see any attempt to use it in dmesg and the built-in sound devices are still active:
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default Audio Device
sysdefault
Default Audio Device
iec958
IEC958 (S/PDIF) Digital Audio Output
default:CARD=vc4hdmi
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Default Audio Device
sysdefault:CARD=vc4hdmi
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Default Audio Device
front:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
Front output / input
iec958:CARD=vc4hdmi,DEV=0
vc4-hdmi, MAI PCM vc4-hdmi-hifi-0
IEC958 (S/PDIF) Digital Audio Output
default:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
It’s possible that Fedora doesn’t (yet?) use the dtparams=
configuration options. Documentation is a little light on this part. Although functionality is untested for most HATs, it appears that the dtoverlay=
options are supported: HATs and I can see the dtb files in /boot/dtb-5.10.15-200.fc33.armv7hl
and the dtbo files in /boot/efi/overlays
Any pointers? Thanks!