How to ensure my LEDs are disabled on startup with sysfs on my SBC

63 Views Asked by At

On my SBC I have a RGB LED that I can control through sysfs and GPIO pins. However, on startup the LED are on until the /etc/init.d/rcS is started. Just after that I am able to control the LEDs

How can I ensure that these LEDs/GPIO pins are disabled by default on startup?

Component Specification
SBC Radxa Zero v1.51, 2GB RAM, 8GB eMMC, 4 Cores
SOC S905Y2
Processor ARM Cortex-A53
Architecture ARMv8-A
WiFi/BT AP6256, BCM43456/BCM4345C5, b/g/n/a/ac - BT5.0
OS Buildroot 2022.11, System V
Kernel Latest CIP SLTS version (5.10.145-cip17)
Bootloader Custom U-Boot 2021.01 with vendor FIP
Pinout Link
Quick Reference Manual Link
0

There are 0 best solutions below