summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2025-04-25 12:31:14 -0500
committerTom Rini <trini@konsulko.com>2025-05-02 14:23:32 -0600
commitb522c3031e34b72c416a83fb542adb954f754f3d (patch)
tree378280b0ccaafa6390c0a31f2a9138fb95d5ebda
parentd096ff98c88143d58e32e017a607f54b61c22cac (diff)
beagle: beagley-ai: env: Setup scripts for LED control
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@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Andrew Davis <afd@ti.com>
-rw-r--r--board/beagle/beagley-ai/beagley-ai.env2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/beagle/beagley-ai/beagley-ai.env b/board/beagle/beagley-ai/beagley-ai.env
index db29d13420a..16a03acfca3 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