beagle: beagley-ai: env: Setup scripts for LED control
authorNishanth Menon <nm@ti.com>
Fri, 25 Apr 2025 17:31:14 +0000 (12:31 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 20:23:32 +0000 (14:23 -0600)
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>
board/beagle/beagley-ai/beagley-ai.env

index db29d13..16a03ac 100644 (file)
@@ -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