From patchwork Thu Apr 10 08:41:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Primoz Fiser X-Patchwork-Id: 879746 Delivered-To: patch@linaro.org Received: by 2002:a5d:4882:0:b0:38f:210b:807b with SMTP id g2csp132147wrq; Thu, 10 Apr 2025 01:41:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX1Kxg1jWQuuUSMWqR+hr9HgMr6aU/fhMtq/Eb7dDLM8o5I7KLV74TP10EVrRgfJXFJLlQ7jA==@linaro.org X-Google-Smtp-Source: AGHT+IFu3wZYxsRv+kHSGCA190f4QrUtGcbyksvd9wNpLys6lghHihdNJKF4nJah3MnKQFG06MEm X-Received: by 2002:a05:6102:944:b0:4c4:df56:6a2b with SMTP id ada2fe7eead31-4c9d348f673mr1178550137.4.1744274499712; Thu, 10 Apr 2025 01:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1744274499; cv=none; d=google.com; s=arc-20240605; b=RejG9RjwPdxrxQtv8hL4KGo8loEDKbRiwJzaLl29JVgMi4yWAhJIN1/N1AVFp9rOZp NvA2FQdwaqg+rcKJPii+b3mJZNlqveBaZCkmoJkQXRuKgmSxLD2GtNp1b4i6CKANn95U u79UGyIAM9f9W76tSbQZAAiCp+ymNkAlCwsOhQYPvxgT09tVQD2K9DztH9BM72hjz9c8 qwOuER2ZFJVhcDJK6K0eGbsucXM4orEezou9iIsOABGLNpGg4uOrOeSnw9CcUdrzcAfx b8xbIW8ItdkMzQviA6nDetZ/h2xB95Q43Yg0kqG1NhXKrpx3GKs5hu7fJbNYQmD4F912 jocw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LW+0JrKEcu1d0VDGSGJdSrbnIjnSbBWfKj/Eusy6rk4=; fh=hY0wnEtEq+bQbxc+PL753aRo1qv3AdC7oKTypmrCxZo=; b=D+78/cwDRAbi2/3dSve/K6lrwCVH+Y+wRsGMkzIPb1LA/j5Rc4pflLcq79HOuaSZOH RJhaBYpsadWzSe7XV2xOT8QWaVNwqlyJ+lQtTkR/5k43lMaydhQBZd43t7SxMzziEX+Z sGV/voqhtm7mpv6YwmeTueWOdSpnGnObhPPTsWv8ZyYg58lLaoG5mQMK4FiswExLxHHQ lTyjK/ns20tMepIPtzy05oZCsUGCEo72weKSx3h142hsBgE/HvyUY6N6RHR7drZKXBLP QF3WZaVLNqVpagPiu66IKJ0ccgDoyF2yA9w9sni4YF+IJZ0EwzBkPD+hDn0k0chJqNJy nhAw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=SYdUIQAs; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ada2fe7eead31-4c9c9890f94si986722137.243.2025.04.10.01.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Apr 2025 01:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=SYdUIQAs; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 270EF83A57; Thu, 10 Apr 2025 10:41:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=norik.com 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" (2048-bit key; unprotected) header.d=norik.com header.i=@norik.com header.b="SYdUIQAs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 803C383A7A; Thu, 10 Apr 2025 10:41:27 +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_DNSWL_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (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 A9BDD83A5F for ; Thu, 10 Apr 2025 10:41:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=primoz.fiser@norik.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=LW+0JrKEcu1d0VDGSGJdSrbnIjnSbBWfKj/Eusy6rk4=; b=SYdUIQAst3vxFtg7OviMuL9FbQ 8RKrlu7YLDj0ooZF6qUz86TLnEKh5mKlpgCDJRVR46xNYzu8Sp0PuqMI3ZX1ydf2/Mx+KWZmIXAE7 IqfsrBJkKseo7/Z47CP4JQC0mN6Bw2ZMcpvhVWL094zEAI2Er+coSTMvSA8kEH2HiNKYvx9tMsAge Dh+DINj+5XLm/8Vz6Lf8jQpsLlTpZFrSbh/m419n+lPf5mDBSrtK3g4Dc3pbbuMNQ5cBB4Px5N2cD 3wt6PObRfkR/rsFGOIMGjZqLm37sPwsq+dT8qfBo7YI2qhQnLs7raoHNE0ZGFKCDfcAaQT14QNRe4 bhOKMYlQ==; Received: from [89.212.21.243] (port=54584 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1u2nTQ-0007zv-0i; Thu, 10 Apr 2025 10:41:23 +0200 From: Primoz Fiser To: Mathieu Othacehe , Christoph Stoidner , Tom Rini Cc: upstream@lists.phytec.de, u-boot@lists.denx.de Subject: [PATCH 3/6] board: phycore-imx93: env: Add prepare_mcore to environment Date: Thu, 10 Apr 2025 10:41:19 +0200 Message-Id: <20250410084122.1010297-4-primoz.fiser@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250410084122.1010297-1-primoz.fiser@norik.com> References: <20250410084122.1010297-1-primoz.fiser@norik.com> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.denx.de X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: 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 prepare_mcore script to environment to be able to notify Linux about the state of M33 core via the kernel cmdline by appending to ${optargs}. Signed-off-by: Primoz Fiser --- board/phytec/phycore_imx93/phycore_imx93.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env index 36bf3fefa0ba..52c234a4206c 100644 --- a/board/phytec/phycore_imx93/phycore_imx93.env +++ b/board/phytec/phycore_imx93/phycore_imx93.env @@ -9,6 +9,7 @@ fdtoverlay_addr_r=0x900c0000 bootenv_addr_r=0x90500000 fdtfile=CONFIG_DEFAULT_FDT_FILE ip_dyn=yes +prepare_mcore=setenv optargs "${optargs} clk-imx93.mcore_booted" mmcdev=CONFIG_SYS_MMC_ENV_DEV mmcpart=1 mmcroot=2