From patchwork Mon Jul 1 06:20:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schultz X-Patchwork-Id: 1954681 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=juyQ0Mxp; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WCSDg5zZ1z1xpf for ; Mon, 1 Jul 2024 23:53:23 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3BCF2884EA; Mon, 1 Jul 2024 15:53:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="juyQ0Mxp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1A4408866B; Mon, 1 Jul 2024 08:21:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (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 173D98824C for ; Mon, 1 Jul 2024 08:21:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=D.Schultz@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1719814874; x=1722406874; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=a9xqHm3qG8VvotrqEuPF8KSlFgXf/Z9slage8UEy8bg=; b=juyQ0Mxp3duQ5jTBkmMrX2OO87Y900wM5yFGaiaLkZCrb7A5j+CnZdnBC9x1tJmN OMnm4m6rfVGe1H1IrkDrS8vjNrH2uym1bK3QdVWkt8KlpxIJB3E7pNmW4hePNCkf IJR4avI57GaVINJjq6dQL1Zd0F8B+FwQkeeyUC5DzJY=; X-AuditID: ac14000a-03251700000021bc-38-66824ada92c9 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id BB.A0.08636.ADA42866; Mon, 1 Jul 2024 08:21:14 +0200 (CEST) Received: from ls-radium.phytec (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Mon, 1 Jul 2024 08:21:12 +0200 From: Daniel Schultz To: , CC: , , , , , Daniel Schultz Subject: [PATCH 1/4] configs: phycore_am62x_a53: Add more commands Date: Sun, 30 Jun 2024 23:20:47 -0700 Message-ID: <20240701062050.1475249-1-d.schultz@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGLMWRmVeSWpSXmKPExsWyRpKBR/eWV1OaQecrBYuWtR4WL47NZbd4 8+Msk8XUSZvZLd7u7WS36H6n7sDm8f5GK7vHqwOr2D3O3tnB6NHf3cLqcfzGdqYA1igum5TU nMyy1CJ9uwSujK4Vk5gKnnJWrHw4gaWB8SBHFyMnh4SAicSPBw9Zuxi5OIQEljBJvL7fyAjh 3GOUuLnqBytIFZuAlsSdLXOZQWwRATOJRWvPs4EUMQtMZpRoPrSQHSQhLOAkcezbK7AiFgFV iWc3FoA18wpYSSzb8ZcJYp28xMxL39kh4oISJ2c+YQGxmYHizVtnM0PYEhIHX7wAs4UEFCRm b5vMCNM77dxrZgg7VOLIptVMExgFZiEZNQvJqFlIRi1gZF7FKJSbmZydWpSZrVeQUVmSmqyX krqJERTWIgxcOxj75ngcYmTiYDzEKMHBrCTCG/irPk2INyWxsiq1KD++qDQntfgQozQHi5I4 7+qO4FQhgfTEktTs1NSC1CKYLBMHp1QDY/OBrrPFSyfq/eBlnBv2J6s698jNhca/gia+Tqz5 2e7x5dU3Ry5XjW+fLB7xqVa1dywM4b9tllFUc61Xd1v72903Il/c2K28TyHw2mubBZ1Lom2e Vvmbr/f3cvgc+fh/R8nt+30vrq48dVZrZ969LBuXTZyvH2Wq1PyaFZsf9XJmSHrKiuhHFUos xRmJhlrMRcWJAES+X8xZAgAA X-Mailman-Approved-At: Mon, 01 Jul 2024 15:53:19 +0200 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 Add i2c and rtc commands with all dependencies which are required for testing. Additionally, add smc and cache commands to boot Zephyr on the A53. Signed-off-by: Daniel Schultz Reviewed-by: Wadim Egorov --- configs/phycore_am62x_a53_defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig index 56302383c0f..06b8834e074 100644 --- a/configs/phycore_am62x_a53_defconfig +++ b/configs/phycore_am62x_a53_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_ARM_SMCCC=y CONFIG_ARCH_K3=y CONFIG_SYS_MALLOC_LEN=0x2000000 CONFIG_SYS_MALLOC_F_LEN=0x8000 @@ -63,9 +64,13 @@ CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000 CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_CMD_DFU=y +CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_MTD=y CONFIG_CMD_USB=y +CONFIG_CMD_CACHE=y +CONFIG_CMD_RTC=y +CONFIG_CMD_SMC=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_MULTI_DTB_FIT=y @@ -123,6 +128,8 @@ CONFIG_TI_SCI_POWER_DOMAIN=y CONFIG_K3_SYSTEM_CONTROLLER=y CONFIG_REMOTEPROC_TI_K3_ARM64=y CONFIG_RESET_TI_SCI=y +CONFIG_DM_RTC=y +CONFIG_RTC_RV3028=y CONFIG_DM_SERIAL=y CONFIG_SOC_DEVICE=y CONFIG_SOC_DEVICE_TI_K3=y From patchwork Mon Jul 1 06:20:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schultz X-Patchwork-Id: 1954682 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=CzBDyVJ6; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WCSDt5fm7z1xpf for ; Mon, 1 Jul 2024 23:53:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B0026886A3; Mon, 1 Jul 2024 15:53:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="CzBDyVJ6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 968A88824C; Mon, 1 Jul 2024 08:21:18 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (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 B577888664 for ; Mon, 1 Jul 2024 08:21:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=D.Schultz@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1719814876; x=1722406876; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/mmGTTLBpjAphcLbEEXMrgBbfRTFdiFKbVPVaZK+Rjk=; b=CzBDyVJ6wUBdQ2CXAK/BzBi6JreLzJlL9sB/O1weBMtKtT+MxMFecFY2XcneULUp ZNEIrthkfq4kpupXHdy8poexliNO3kkdpzxNqZySvAt62QKDXbQUbI4I24s+6tAO L1AZLbcXYmqfun8mO0ZlEWMPggCperF9dUd3GJ1uyhc=; X-AuditID: ac14000a-03e52700000021bc-3b-66824adcfe0a Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 5D.A0.08636.CDA42866; Mon, 1 Jul 2024 08:21:16 +0200 (CEST) Received: from ls-radium.phytec (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Mon, 1 Jul 2024 08:21:14 +0200 From: Daniel Schultz To: , CC: , , , , , Daniel Schultz Subject: [PATCH 2/4] configs: phycore_am64x_a53: Add more commands Date: Sun, 30 Jun 2024 23:20:48 -0700 Message-ID: <20240701062050.1475249-2-d.schultz@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240701062050.1475249-1-d.schultz@phytec.de> References: <20240701062050.1475249-1-d.schultz@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsWyRpKBR/eOV1Oawb5TmhYtaz0sXhyby27x 5sdZJoupkzazW7zd28lu0f1O3YHN4/2NVnaPVwdWsXucvbOD0aO/u4XV4/iN7UwBrFFcNimp OZllqUX6dglcGWf+nGIpeMFaseNNdQNjE2sXIyeHhICJxLF7G4BsLg4hgSVMEjO/9TNBOPcY Jb5s2s4CUsUmoCVxZ8tcZhBbRMBMYtHa82wgRcwCkxklmg8tZAdJCAs4SXSdvgU2lkVAVWLh 7PtsIDavgJVE965vbBDr5CVmXvoOVs8pYC0x+dZtsHohoJprO+6zQ9QLSpyc+QRsMTNQffPW 2cwQtoTEwRcvmCHqFSRmb5vMCDNz2rnXzBB2qMSRTauZJjAKzUIyahaSUbOQjFrAyLyKUSg3 Mzk7tSgzW68go7IkNVkvJXUTIygKRBi4djD2zfE4xMjEwXiIUYKDWUmEN/BXfZoQb0piZVVq UX58UWlOavEhRmkOFiVx3tUdwalCAumJJanZqakFqUUwWSYOTqkGxtopnp4Rc3jlfr+ZwrjY w70z32xngFoKJyvTVsHjnyet2v/L8ZfyweBt7/8vEixL8uQt2/A8YDL7myDOROv6izHrU7ju dRyf0js9XPHQRAaWjLiEXyns119UfwtWW6igq7EsZsO8zF27LbeL8DnkeJ5+otNYnnqtktun bfOegr+Pf4hpLZTIVmIpzkg01GIuKk4EALOpQjpwAgAA X-Mailman-Approved-At: Mon, 01 Jul 2024 15:53:19 +0200 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 Add the rtc command for testing this device. Additionally, add smc and cache commands to boot non-Linux firmwares on the A53. Signed-off-by: Daniel Schultz --- configs/phycore_am64x_a53_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig index dac82f99a1a..fe09f79796d 100644 --- a/configs/phycore_am64x_a53_defconfig +++ b/configs/phycore_am64x_a53_defconfig @@ -70,7 +70,10 @@ CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_MTD=y CONFIG_CMD_USB=y +CONFIG_CMD_CACHE=y +CONFIG_CMD_RTC=y CONFIG_CMD_TIME=y +CONFIG_CMD_SMC=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_MULTI_DTB_FIT=y From patchwork Mon Jul 1 06:20:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schultz X-Patchwork-Id: 1954683 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=PmHFwjdJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WCSF42QC5z1xpf for ; Mon, 1 Jul 2024 23:53:44 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2385D886AB; Mon, 1 Jul 2024 15:53:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="PmHFwjdJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C4EFF88657; Mon, 1 Jul 2024 08:21:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (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 ED8458824C for ; Mon, 1 Jul 2024 08:21:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=D.Schultz@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1719814878; x=1722406878; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bn2n5NVkC7t1q6wggQyIhl3UUX4Gc/lBP6biGUSjvPo=; b=PmHFwjdJcLSvW6VV8RTAERRmpffQmXMs13/o0FEwQuRe+D0bQIT6oob5OdhOQ44W /Fp2/LERz9geXz8MgUo5lwTGqswQgj++Xd3xlSUSqX0nqR5jKG+PVI9o5/Ac0Jw/ 5UbWSHltDr4tdYVfaiwy+1SUjsOeZKXYW4TqV3LzTow=; X-AuditID: ac14000a-03251700000021bc-40-66824ade2065 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 1F.A0.08636.EDA42866; Mon, 1 Jul 2024 08:21:18 +0200 (CEST) Received: from ls-radium.phytec (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Mon, 1 Jul 2024 08:21:16 +0200 From: Daniel Schultz To: , CC: , , , , , Daniel Schultz Subject: [PATCH 3/4] board: phytec: phycore_am62x: Move earlycon into own variable Date: Sun, 30 Jun 2024 23:20:49 -0700 Message-ID: <20240701062050.1475249-3-d.schultz@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240701062050.1475249-1-d.schultz@phytec.de> References: <20240701062050.1475249-1-d.schultz@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHLMWRmVeSWpSXmKPExsWyRpKBR/eeV1OawZXDhhYtaz0sXhyby27x 5sdZJoupkzazW7zd28lu0f1O3YHN4/2NVnaPVwdWsXucvbOD0aO/u4XV4/iN7UwBrFFcNimp OZllqUX6dglcGYu3TGApaOOo+Lb0HWsDYxd7FyMnh4SAicTvSY1sXYxcHEICS5gkfr6bxwrh 3GOU2P73ODNIFZuAlsSdLXPBbBEBM4lFa8+DdTALTGaUaD60EGyUsECQxM1ZX1lBbBYBVYm1 j3vB4rwCVhLP199lglgnLzHz0newOKeAtcTkW7fB6oWAaq7tuA9VLyhxcuYTFhCbGai+eets ZghbQuLgixfMEPUKErO3TWaEmTnt3GtmCDtU4sim1UwTGIVmIRk1C8moWUhGLWBkXsUolJuZ nJ1alJmtV5BRWZKarJeSuokRFAciDFw7GPvmeBxiZOJgPMQowcGsJMIb+Ks+TYg3JbGyKrUo P76oNCe1+BCjNAeLkjjv6o7gVCGB9MSS1OzU1ILUIpgsEwenVAOj7sKatjkfgiasvfvT7960 NdcvdixRmdBv/bGl4/lT3fL/c9bqbFpa6aa64rAOP0tL7T0b7jzV4Cmbs6rcElexLRCf3ui9 /v+5lVVpDP8+OGWU3FnwVU/f6MGsp/YruS8vueAkO+u/vkN7+95EjWXHfb5FW/Gr+GydLvQl 07dDPqRC88S3CDtDJZbijERDLeai4kQAujj5c3ECAAA= X-Mailman-Approved-At: Mon, 01 Jul 2024 15:53:19 +0200 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 By moving the earlycon definition into a dedicated variable, it's easier to change these values in case the kernel should print on a different serial interface. Signed-off-by: Daniel Schultz --- board/phytec/phycore_am62x/phycore_am62x.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/phytec/phycore_am62x/phycore_am62x.env b/board/phytec/phycore_am62x/phycore_am62x.env index 42db26a5990..2d6475d408f 100644 --- a/board/phytec/phycore_am62x/phycore_am62x.env +++ b/board/phytec/phycore_am62x/phycore_am62x.env @@ -13,7 +13,8 @@ mmcdev=1 mmcroot=2 mmcpart=1 console=ttyS2,115200n8 -mmcargs=setenv bootargs console=${console} earlycon=ns16550a,mmio32,0x02800000 +earlycon=ns16550a,mmio32,0x02800000 +mmcargs=setenv bootargs console=${console} earlycon=${earlycon} root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile} From patchwork Mon Jul 1 06:20:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Schultz X-Patchwork-Id: 1954684 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.a=rsa-sha256 header.s=a4 header.b=tsckgkFL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WCSFG688Xz1xpf for ; Mon, 1 Jul 2024 23:53:54 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8A504886B5; Mon, 1 Jul 2024 15:53:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="tsckgkFL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 672E788657; Mon, 1 Jul 2024 08:21:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (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 1E9FF8824C for ; Mon, 1 Jul 2024 08:21:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=D.Schultz@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1719814881; x=1722406881; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=l5PwJ529kbhE7voOA3aOyDqVDvtVaMLKqOZi6fmZ7Vk=; b=tsckgkFLE1DLxcvoi0GoNldk6d5qEDDagVv88ij/9+TgJYBXILgXNbzW/ROSs4nN vwvGzZY7l6wpqLpeMFmk1LjpnH0qCm7iiLg/arO3ofTEF4986zpXjtjJxUkPCbXt bM/tahvtv4JBp5PO9+bo4/4iWlq+D+9GK5TYPpkkyW8=; X-AuditID: ac14000a-03251700000021bc-44-66824ae022e0 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id D0.B0.08636.0EA42866; Mon, 1 Jul 2024 08:21:20 +0200 (CEST) Received: from ls-radium.phytec (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Mon, 1 Jul 2024 08:21:18 +0200 From: Daniel Schultz To: , CC: , , , , , Daniel Schultz Subject: [PATCH 4/4] board: phytec: phycore_am64x: Move earlycon into own variable Date: Sun, 30 Jun 2024 23:20:50 -0700 Message-ID: <20240701062050.1475249-4-d.schultz@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240701062050.1475249-1-d.schultz@phytec.de> References: <20240701062050.1475249-1-d.schultz@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLLMWRmVeSWpSXmKPExsWyRpKBR/eBV1OawckrVhYtaz0sXhyby27x 5sdZJoupkzazW7zd28lu0f1O3YHN4/2NVnaPVwdWsXucvbOD0aO/u4XV4/iN7UwBrFFcNimp OZllqUX6dglcGU9O/mYqaOOomNnUx9rA2MXexcjJISFgInFr72K2LkYuDiGBJUwSC3raWCGc e4wSezceYAapYhPQkrizZS6YLSJgJrFo7XmwDmaByYwSzYcWAo3i4BAWCJK4NY8RpIZFQFXi w+urLCA2r4CVxLTjs9ggtslLzLz0HWwzp4C1xORbt1lBbCGgmms77rND1AtKnJz5BKyXGai+ eetsZghbQuLgixfMEPUKErO3TWaEmTnt3GtmCDtU4sim1UwTGIVmIRk1C8moWUhGLWBkXsUo lJuZnJ1alJmtV5BRWZKarJeSuokRFAUiDFw7GPvmeBxiZOJgPMQowcGsJMIb+Ks+TYg3JbGy KrUoP76oNCe1+BCjNAeLkjjv6o7gVCGB9MSS1OzU1ILUIpgsEwenVANjiYvvXRtBwRm9Sz2j bk80fXCt+bCNfBvjtAPP83Qjlgn4yc0stJJ2EPp3UnrbdhW77n1mR/JmR70ru/15wsTap9M6 H7NnSvK8E1ze4cdX6dewdfohU3Ed6cyyUwY8++9wsJk83qfw+nhM1DITti9cj5PntmluuFbR +Gjl5c3RWTmLX1w9/UNWiaU4I9FQi7moOBEAVGxjx3ACAAA= X-Mailman-Approved-At: Mon, 01 Jul 2024 15:53:19 +0200 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 By moving the earlycon definition into a dedicated variable, it's easier to change these values in case the kernel should print on a different serial interface. Signed-off-by: Daniel Schultz --- board/phytec/phycore_am64x/phycore_am64x.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/phytec/phycore_am64x/phycore_am64x.env b/board/phytec/phycore_am64x/phycore_am64x.env index ada3a9233be..e24a958f51d 100644 --- a/board/phytec/phycore_am64x/phycore_am64x.env +++ b/board/phytec/phycore_am64x/phycore_am64x.env @@ -11,7 +11,8 @@ mmcdev=1 mmcroot=2 mmcpart=1 console=ttyS2,115200n8 -mmcargs=setenv bootargs console=${console} earlycon=ns16550a,mmio32,0x02800000 +earlycon=ns16550a,mmio32,0x02800000 +mmcargs=setenv bootargs console=${console} earlycon=${earlycon} root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} Image loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile}