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 AFB67C369A2 for ; Fri, 11 Apr 2025 22:57:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D83D684221; Sat, 12 Apr 2025 00:57:26 +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="fItOnicY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0A0AA84218; Sat, 12 Apr 2025 00:57:26 +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 DFE8B8400F for ; Sat, 12 Apr 2025 00:57:23 +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 fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 53BMvJVP2198849 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Apr 2025 17:57:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1744412239; bh=WOlZHBIHe+fdgGs6/KvD99Z33lOeZC2eIfL9hnSVgok=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fItOnicYolyTOWv+nSYAar3spAasvSSeV7cLW0TwCnqqNW+7MGYX3uHzNI+G0IpzN ThqpT7lWQneeAQv5x4Jq3LhITcYzkVu835WDwdRcnywyscmItSMZZjBocUU+3lauSl RInt6d24N+8KSuRwlnvzrrTIrXWzz4thWuqawxTQ= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 53BMvJAC065056 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Apr 2025 17:57:19 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 11 Apr 2025 17:57:18 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE101.ent.ti.com (10.64.6.22) 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, 11 Apr 2025 17:57:18 -0500 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 53BMvIma108025; Fri, 11 Apr 2025 17:57:18 -0500 From: Nishanth Menon To: Heinrich Schuchardt , Andrew Davis , Neha Malcom Francis , Robert Nelson , Tom Rini CC: Beleswar Padhi , Udit Kumar , Jonathan Humphreys , Nishanth Menon , Subject: [PATCH 4/9] beagle: beagley-ai: env: Setup scripts for LED control Date: Fri, 11 Apr 2025 17:57:12 -0500 Message-ID: <20250411225717.3117370-5-nm@ti.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20250411225717.3117370-1-nm@ti.com> References: <20250411225717.3117370-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, 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 --- 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