[PATCH 4/9] beagle: beagley-ai: env: Setup scripts for LED control
Nishanth Menon
nm at ti.com
Fri Apr 25 19:31:14 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 (ignoring the :heartbeat), 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>
---
Changes Since v2:
- None
V2: https://lore.kernel.org/r/20250418193943.953952-5-nm@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