[PATCH 4/9] beagle: beagley-ai: env: Setup scripts for LED control
Nishanth Menon
nm at ti.com
Sat Apr 12 00:57:12 CEST 2025
Most of the users of BeagleY-AI are headless OR do not use serial port.
In such cases, it is very useful for the device to provide some level of
indication to know what state their board is at.
Unfortunately, with a single LED, the options are limited. This is a
precursor patch to actually enabling the LED options that will use the
same in the follow on patches.
Signed-off-by: Nishanth Menon <nm at ti.com>
---
board/beagle/beagley-ai/beagley-ai.env | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/beagle/beagley-ai/beagley-ai.env b/board/beagle/beagley-ai/beagley-ai.env
index db29d13420aa..16a03acfca3c 100644
--- a/board/beagle/beagley-ai/beagley-ai.env
+++ b/board/beagle/beagley-ai/beagley-ai.env
@@ -10,6 +10,8 @@ console=ttyS2,115200n8
args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
${mtdparts}
run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
+set_led_state_fail_load=led led-0 off
+set_led_state_start_load=led led-0 on
boot_targets=mmc1
bootmeths=script extlinux efi pxe
--
2.47.0
More information about the U-Boot
mailing list