Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FA97C369AB for ; Fri, 18 Apr 2025 19:40:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD02E83314; Fri, 18 Apr 2025 21:40:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="BMFo53FX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C96BA832FE; Fri, 18 Apr 2025 21:40:04 +0200 (CEST) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 02963831D4 for ; Fri, 18 Apr 2025 21:40:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 53IJduHS1066910 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Apr 2025 14:39:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1745005196; bh=PoTcv36uvueY6BVwpXBz9YzQnn1PybBa+RNLY3F2WhA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BMFo53FXSTNCys1LibqZ+pNHHTJjM8aSJXeVSXLfIiqsKR0Jo0Mtfe+Fbg9LLa6oV pIT5kkN5Y/oWIZniRd2beX2MbYOYEImJIB8pZBCyuqXK9NUQNQdoi1G2OQTl+rvt4l /hDPTEB1EQkNSyorwJEpe3edVCim2qk5F3EJntGI= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 53IJdul6104884 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Apr 2025 14:39:56 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 18 Apr 2025 14:39:56 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 18 Apr 2025 14:39:56 -0500 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53IJdu8h028502; Fri, 18 Apr 2025 14:39:56 -0500 From: Nishanth Menon To: Tom Rini , Heinrich Schuchardt , Neha Malcom Francis , Robert Nelson CC: Beleswar Padhi , Udit Kumar , Jonathan Humphreys , Andrew Davis , , Nishanth Menon Subject: [PATCH V2 4/9] beagle: beagley-ai: env: Setup scripts for LED control Date: Fri, 18 Apr 2025 14:39:38 -0500 Message-ID: <20250418193943.953952-5-nm@ti.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20250418193943.953952-1-nm@ti.com> References: <20250418193943.953952-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 --- Changes Since v1: - minor commit message improvement. V1: https://lore.kernel.org/r/20250411225717.3117370-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