I have an off the shelf bit of kit based on the CM 3+ that uses the HAT overlay to set the MAC address for two LAN9512s. It does this by using a custom `device_tree` in config.txt that includes the two LAN9512's. This means that the HAT overlay can successfully be merged with this custom device_tree.
I'm hoping to change that slightly to use the original raspberry pi device tree from raspberrypi/firmware + a custom overlay to define the two LAN9512's but this means that when the HAT overlay is applied the LAN9512 targets don't exist year.
Is it possible to change when the bootloader applies the HAT overlay based on some custom `config.txt`?
Basically I want the overlay apply order to be:
whereas currently it's:
I'm hoping to change that slightly to use the original raspberry pi device tree from raspberrypi/firmware + a custom overlay to define the two LAN9512's but this means that when the HAT overlay is applied the LAN9512 targets don't exist year.
Is it possible to change when the bootloader applies the HAT overlay based on some custom `config.txt`?
Basically I want the overlay apply order to be:
Code:
device_treeoverlay_with_lan9512hat_overlayCode:
device_treehat_overlay # fails because the targets don't existoverlay_with_lan9512Statistics: Posted by mnbbrown — Wed Feb 21, 2024 5:37 pm