the complicated manor in which i would go about figuring this out would be as such:
boot into raspbian with the default led settings, then use dtc to dump the active device tree into a dts file
dtc -I fs -O dts -s /proc/device-tree > ~/led1.dts
reboot, but this time with desired led settings in config.txt
dtc -I fs -O dts -s /proc/device-tree > ~/led2.dts
then diff the dts files and look for the pertinent changes
then you're going to need to get the kernel sources for fedora and work that data into something like bcm2837-rpi-3-b-plus.dts and then regenerate the dtb file which you'll need to replace each time you update the kernel
it's probably not worth it
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org/message/RTGZXPF2R7SSV67EMBHCWA522AHSXU4Y/
No comments:
Post a Comment