From patchwork Tue Aug 20 15:46:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yashwanth Varakala X-Patchwork-Id: 1974584 X-Patchwork-Delegate: festevam@gmail.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=AYEY+TDX; 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 4WpJLc73k7z1yXZ for ; Wed, 21 Aug 2024 04:45:28 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A189888D8B; Tue, 20 Aug 2024 20:45: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=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="AYEY+TDX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5201A88A3C; Tue, 20 Aug 2024 17:47:03 +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,T_SCC_BODY_TEXT_LINE 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 C446B88D8B for ; Tue, 20 Aug 2024 17:46:58 +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=Y.Varakala@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1724168818; x=1726760818; 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=3CY9SZ0ArTSn45c4ltLOU4qNQWA+cRqyKr0Ve7nQvBk=; b=AYEY+TDX66nDnTD2wMtxJSWHYcPBkELo+vVOQajT556f1jbD6Ifp5/gsgwC21ynC PxN9xBDhjXiy007+De4jKMYTWMdl/PZMEh70MX9lcXPkGhkTqcoJkmjxMdg7dwyi e81UuiHRA81EaJk/XlGwRoz9VvHQybt97eI6Uu7MKg8=; X-AuditID: ac14000a-03e52700000021bc-72-66c4ba726ef4 Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (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 6E.20.08636.27AB4C66; Tue, 20 Aug 2024 17:46:58 +0200 (CEST) Received: from llp-varakala.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Tue, 20 Aug 2024 17:46:58 +0200 From: Yashwanth Varakala To: , , , CC: , , Subject: [PATCH 1/2] board: phytec: phycore_imx8mp: Add mcore support Date: Tue, 20 Aug 2024 17:46:29 +0200 Message-ID: <20240820154630.78976-2-y.varakala@phytec.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240820154630.78976-1-y.varakala@phytec.de> References: <20240820154630.78976-1-y.varakala@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsWyRpKBV7do15E0g4m3BCweXvW3aD/lYzF1 0mZ2i7d7O9ktut+pO7B6zJt1gsVj56y77B6vDqxi9zh7ZwejR393C2sAaxSXTUpqTmZZapG+ XQJXxqk1zcwFS7krrm2KbmC8w9nFyMkhIWAi8fffdKYuRi4OIYElTBLbt81mgXCeMkp8Ovaa BaSKTUBfYsW6RawgtohAhETHhSPsIDazgJ/E5xtz2UBsYQFXiTPTtjGB2CwCqhI/77wFq+EV sJRY0tfFCrFNXmL/wbPMXYwcHJwCVhL7/2qAhIWASvb8+MEEUS4ocXLmExaI8fISzVtnM0PY EhIHX7xghqhXlHj/sIMdZuS0c6+ZIexQic4/91kmMArNQjJqFpJRs5CMWsDIvIpRKDczOTu1 KDNbryCjsiQ1WS8ldRMjKOhFGLh2MPbN8TjEyMTBeIhRgoNZSYS3++XBNCHelMTKqtSi/Pii 0pzU4kOM0hwsSuK8qzuCU4UE0hNLUrNTUwtSi2CyTBycUg2MrWd8TeOT58WvU5DT1Jc43NSt nvTYh6V+rfaMyvf1bGZP29n9C6c8Lp+65jKT0f067TOPT7zL8pqo/fvotNnZ+R8/+cWrHPmh Mpnhq4/Eh3nJa66yTImOu75jx8yaH2etmNpTtDfNfK3vyePwsnvlKV/OU6wmn5y7u72/VLTp dElP+/mHtW6yEktxRqKhFnNRcSIAnV2V22gCAAA= X-Mailman-Approved-At: Tue, 20 Aug 2024 20:45:13 +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 Added m7 core support in uboot for imx8mp by adding the boot variable prepare_mcore. Based on commit 0ed32cc8568a ("LF-6555 imx8m[m/n/p/q]_evk: add bootargs to support mcore") Signed-off-by: Yashwanth Varakala --- board/phytec/phycore_imx8mp/phycore_imx8mp.env | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/phytec/phycore_imx8mp/phycore_imx8mp.env b/board/phytec/phycore_imx8mp/phycore_imx8mp.env index f8f878e8f3a..889464e933f 100644 --- a/board/phytec/phycore_imx8mp/phycore_imx8mp.env +++ b/board/phytec/phycore_imx8mp/phycore_imx8mp.env @@ -30,7 +30,7 @@ ip_dyn=yes loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile} loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} mmcargs= - setenv bootargs console=${console} + setenv bootargs ${mcore_clk} console=${console} root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw mmcautodetect=yes mmcboot= @@ -51,7 +51,7 @@ mmcdev=CONFIG_SYS_MMC_ENV_DEV mmcpart=1 mmcroot=2 netargs= - setenv bootargs console=${console} root=/dev/nfs ip=dhcp + setenv bootargs ${mcore_clk} console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp netboot= echo Booting from net ...; @@ -74,4 +74,5 @@ netboot= echo WARN: Cannot load the DT; fi; nfsroot=/srv/nfs +prepare_mcore=setenv mcore_clk clk-imx8mp.mcore_booted sd_dev=1 From patchwork Tue Aug 20 15:46:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yashwanth Varakala X-Patchwork-Id: 1974583 X-Patchwork-Delegate: festevam@gmail.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=m9Kz6mp5; 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 4WpJLQ2jlBz1yXZ for ; Wed, 21 Aug 2024 04:45:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48A7E87DB6; Tue, 20 Aug 2024 20:45: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=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="m9Kz6mp5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CDFB188A3C; Tue, 20 Aug 2024 17:47:01 +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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 D2EC688D93 for ; Tue, 20 Aug 2024 17:46:58 +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=Y.Varakala@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1724168818; x=1726760818; 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=9r2YP4gdiBeJeZ6yGvPNQQ9Pc2tzST+DuUUYNXzS9n8=; b=m9Kz6mp56Y/JSamz5MsECtnwgT1N731Iy/mE5xtxIy/9KRoLCTL65a809uwIynm0 7hwofHVO7n65CvgdzEJSs0jZ7f0Jmn1asWnOEOqNecwq9g7c5FYnVcr+ggHnKU0W 7yE/GL0Mc06DsZaYe10vh/2aVt/3AOKBNcQHF5ucDU0=; X-AuditID: ac14000a-03251700000021bc-73-66c4ba728981 Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (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 CE.20.08636.27AB4C66; Tue, 20 Aug 2024 17:46:58 +0200 (CEST) Received: from llp-varakala.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Tue, 20 Aug 2024 17:46:58 +0200 From: Yashwanth Varakala To: , , , CC: , , Subject: [PATCH 2/2] configs: phycore-imx8mp_defconfig: Enabled bootaux command Date: Tue, 20 Aug 2024 17:46:30 +0200 Message-ID: <20240820154630.78976-3-y.varakala@phytec.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240820154630.78976-1-y.varakala@phytec.de> References: <20240820154630.78976-1-y.varakala@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCLMWRmVeSWpSXmKPExsWyRpKBV7do15E0g/5mSYuHV/0t2k/5WEyd tJnd4u3eTnaL7nfqDqwe82adYPHYOesuu8erA6vYPc7e2cHo0d/dwhrAGsVlk5Kak1mWWqRv l8CV0T75GHvBMtaKE5P9GhgvsnQxcnJICJhIPP+xgR3EFhJYwiTRN521i5ELyH7KKPHp2Guw IjYBfYkV6xaxgtgiAhESHReOgDUwC/hJfL4xlw3EFhbwl5j4YAkTiM0ioCqx5mM3mM0rYCmx 7PMsVohl8hL7D55l7mLk4OAUsJLY/1cDYq+lxJ4fP6DKBSVOznzCAjFeXqJ562xmCFtC4uCL F8wQ9YoS7x92sMOMnHbuNTOEHSrR+ec+ywRGoVlIRs1CMmoWklELGJlXMQrlZiZnpxZlZusV ZFSWpCbrpaRuYgSFvAgD1w7GvjkehxiZOBgPMUpwMCuJ8Ha/PJgmxJuSWFmVWpQfX1Sak1p8 iFGag0VJnHd1R3CqkEB6YklqdmpqQWoRTJaJg1OqgbG76e6RHK0Jr461z1lbqs+4sD/HQ+D8 h+J9cekJnecjsvT3dEmkFt4zk5QzmhzH/fSzm/bnuH/bV5kc2x/EM3PWRMe9Ah8UJ5/W0xAT vBD48fpc/8R1PVKX/j2NZf56VMDcv/GGj4is67/6Cc8ndxyIYpicPzHZwKbslJvt0xmvrcSZ Q0+sWqLEUpyRaKjFXFScCADX6mlKZwIAAA== X-Mailman-Approved-At: Tue, 20 Aug 2024 20:45:13 +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 To start the mcore binary from u-boot, bootaux command is needed. Signed-off-by: Yashwanth Varakala --- configs/phycore-imx8mp_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig index 63f8a80ba99..6b0ffecf9a7 100644 --- a/configs/phycore-imx8mp_defconfig +++ b/configs/phycore-imx8mp_defconfig @@ -24,6 +24,7 @@ CONFIG_SPL_BSS_START_ADDR=0x98fc00 CONFIG_SPL_BSS_MAX_SIZE=0x400 CONFIG_SPL=y CONFIG_ENV_OFFSET_REDUND=0x3e0000 +CONFIG_IMX_BOOTAUX=y CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_SYS_LOAD_ADDR=0x40480000 CONFIG_FIT=y