From: Nishanth Menon Date: Fri, 25 Apr 2025 17:31:14 +0000 (-0500) Subject: beagle: beagley-ai: env: Setup scripts for LED control X-Git-Tag: v2025.07-rc2~38^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b522c3031e34b72c416a83fb542adb954f754f3d;p=pandora-u-boot.git 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 Reviewed-by: Bryan Brattlof Reviewed-by: Andrew Davis --- 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