u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Andrew Davis <afd@ti.com>, Neha Malcom Francis <n-francis@ti.com>,
	Robert Nelson <robertcnelson@gmail.com>,
	Tom Rini <trini@konsulko.com>
Cc: Beleswar Padhi <b-padhi@ti.com>, Udit Kumar <u-kumar1@ti.com>,
	Jonathan Humphreys <j-humphreys@ti.com>,
	Nishanth Menon <nm@ti.com>, <u-boot@lists.denx.de>
Subject: [PATCH 4/9] beagle: beagley-ai: env: Setup scripts for LED control
Date: Fri, 11 Apr 2025 17:57:12 -0500	[thread overview]
Message-ID: <20250411225717.3117370-5-nm@ti.com> (raw)
In-Reply-To: <20250411225717.3117370-1-nm@ti.com>

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@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


  parent reply	other threads:[~2025-04-11 22:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-11 22:57 [PATCH 0/9] board: beagle: beagley-ai: Cleanups and Nishanth Menon
2025-04-11 22:57 ` [PATCH 1/9] board: beagle: beagley-ai: Add pattern match for MAINTAINERS Nishanth Menon
2025-04-11 22:57 ` [PATCH 2/9] arch: arm: dts: k3-am67a-beagley-ai-u-boot: Mark main_gpio1 as bootph-all Nishanth Menon
2025-04-11 22:59   ` Nishanth Menon
2025-04-11 22:57 ` [PATCH 3/9] beagle: beagley-ai: env: Set up the boot devices and boot methods Nishanth Menon
2025-04-11 22:57 ` Nishanth Menon [this message]
2025-04-11 22:57 ` [PATCH 5/9] beagle: beagley-ai: env: Enable DFU env options Nishanth Menon
2025-04-11 22:57 ` [PATCH 6/9] configs: am67a_beagley_ai*: Use saveddefconfig Nishanth Menon
2025-04-14 13:49   ` Andrew Davis
2025-04-11 22:57 ` [PATCH 7/9] configs:am67a_beagley_ai*: Drop un-necessary config options Nishanth Menon
2025-04-11 22:57 ` [PATCH 8/9] configs: am67a_beagley_ai_a53: Enable additional features Nishanth Menon
2025-04-14 13:51   ` Andrew Davis
2025-04-17 23:03   ` Jon Humphreys
2025-04-18 19:06     ` Nishanth Menon
2025-04-11 22:57 ` [PATCH 9/9] doc: beagle: Add BeagleY-AI documentation Nishanth Menon
2025-04-14 14:02   ` Andrew Davis
2025-04-17 23:05 ` [PATCH 0/9] board: beagle: beagley-ai: Cleanups and Jon Humphreys
2025-04-18 19:07   ` Nishanth Menon
  -- strict thread matches above, loose matches on Subject: below --
2025-04-25 17:31 [PATCH 0/9] board: beagle: beagley-ai: Cleanups and stdboot Nishanth Menon
2025-04-25 17:31 ` [PATCH 4/9] beagle: beagley-ai: env: Setup scripts for LED control Nishanth Menon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250411225717.3117370-5-nm@ti.com \
    --to=nm@ti.com \
    --cc=afd@ti.com \
    --cc=b-padhi@ti.com \
    --cc=j-humphreys@ti.com \
    --cc=n-francis@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=u-kumar1@ti.com \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).