Bug 13281

Summary: Raspberry Pi 2: overlays folder missing in genimage-raspberrypi2.cfg
Product: buildroot Reporter: HiFiBerry (Daniel) <info>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: buildroot
Priority: P5    
Version: 2020.08.1   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description HiFiBerry (Daniel) 2020-10-22 07:03:46 UTC
When using the Raspberry Pi 2 configuration, no overlays will be copied to the FAT partition.

The line 
  
  "rpi-firmware/overlays",

seems to be missing in board/raspberrypi2/genimage-raspberrypi2.cfg while it exists in the other Raspberry Pi configurations
Comment 1 Peter Seiderer 2020-10-22 19:43:57 UTC
Sorry, it is by design (note the line '# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set' in configs/raspberrypi2_defconfig)...

Long answer: 

The buildroot defconfigs are about a minimal starting point for own development, minimal means board startup and at least a serial login, in the case of RPi2 no device tree overlays needed to achieve this, so config option RPI_FIRMWARE_INSTALL_DTB_OVERLAYS disabled and no entry in the genimage config file...

For your own/enhanced project feel free to adjust as needed (and the genimage config is for sure a minor part of it)...
Comment 2 HiFiBerry (Daniel) 2020-11-06 10:38:45 UTC
While I don't agree with the decision, we can close this.