meta-raspberrypi icon indicating copy to clipboard operation
meta-raspberrypi copied to clipboard

Lacks support for Hifiberry Dac+ADC Pro

Open valentinlageard opened this issue 2 years ago • 2 comments

Description

Hi, I'm trying to build an image containing hifiberry-dacplusadcpro.dtbo. I've seen that it is not included in RPI_KERNEL_DEVICE_TREE_OVERLAYS conf/machine/include/rpi-base.inc. I'm in the process of learning yocto and I'm not entirely sure how to append the overlay I need to the previously mentioned variable. I've tried to find information on how to change variables in .inc files to no avail. I considered cloning and patching your layer but if I understand correctly, it is considered bad practice to clone and modify layers you depend on. Could you point me to the right direction in order to have my custom layer adding support for the DAC + ADC Pro by appending to your layer ? Or even, better, add support directly in your layer ?

Thanks and cheers, Val.

valentinlageard avatar Apr 18 '23 14:04 valentinlageard

Hi, I tried simply manually adding overlays/hifiberry-dacplusadcpro.dtbo to the rpi-base.inc file locally and the device tree overlay is added to the image and works fine.

Still, I don't understand how if I should do a pull request or find a way to override this in my own layer. If option 2 is better, could you point me in the right direction ?

Val.

valentinlageard avatar Apr 18 '23 15:04 valentinlageard

I am happy for it to be added to the layer. The only thing to look out for is to ensure it works with any version of the kernels we support. See https://github.com/agherzan/meta-raspberrypi/pull/1158

agherzan avatar May 15 '23 15:05 agherzan