From patchwork Mon Aug 5 12:43:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1969067 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=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=LAVLz5gP; 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 4Wcycd15S4z1yZl for ; Mon, 5 Aug 2024 23:55:13 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 427DB8894F; Mon, 5 Aug 2024 15:55:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LAVLz5gP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7D37B888F0; Mon, 5 Aug 2024 14:43:35 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6A0F8888F6 for ; Mon, 5 Aug 2024 14:43:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bisson.gary@gmail.com Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-6b796667348so47169096d6.0 for ; Mon, 05 Aug 2024 05:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722861812; x=1723466612; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4Lgrn6w9bCGS6LwfaPngU0GvNuYQHDTjCv2vQ//sos8=; b=LAVLz5gPXkRXFqqOPX8i3SI6iXm+688k9TEnVeTdETSdpVpySIGAqoBlKjSupgn2nq JZEYQSPi/UTUuDQWnAELE8/Mz4wa+PtGL2gZES4jaJn/eNcFi3h2ifgxtnUC8+VHOV0C f6Kwo9rysFnfpJOJC8fIsBZCCfpOVEywBQsQbj9VLy53BbikEc8c1viT17TY8AFCnDf8 O57FesIxdsM6ZD5FCZwl2x9CN4yxo4Idlud8UFuKuQFNdVbv19OJhox5cHyiGjPYhR4M uQxbiBPfYG/P8Py/SYTYar8zj8t3FsHk2jh8NDvebvTzw9aSmnBMvEBKkNcNdTpMifAa pTlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722861812; x=1723466612; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4Lgrn6w9bCGS6LwfaPngU0GvNuYQHDTjCv2vQ//sos8=; b=Um7j2YMmPy/zbgCxkXii/cWqxSiVGIZNsfvmQCbDKPu6/bGj+smlUAjRudola8THqT K623XGp7FAvzHrVtnTu37eaefi8C0GbZusTm869JpaX0VSywV1BXfO2U6FEP4bXICXnp 7fqZUu9J1e39fe42HTh/oF5I3KoKE4DMZi0EQ6PxY51qlfszO+ic7fg3VVjS/QUDho/Z FfVYpDYsdJVjnRxhI0PhKwo6f59s5mqZa8Vu5B8+pIUH7fnx/jQ1N78rH/gSx7Vnry7Q 51UPI/dTMd1GmOzL5uCOJPccZdAUH2s2zBKFk0gx8VdMMbRwfecq7rMp6Fg67riC474d O1Rg== X-Gm-Message-State: AOJu0YyCupnvYBw8eurLXf9Ve+nz9VOM4r+qcH51iCNZZwXwqlpu4USY BCh/gtv9JkpJpEUFlMxvPHP0ErFThk3q2oap/qJlRQP3KhbvMeDry3cFjg== X-Google-Smtp-Source: AGHT+IEnfHtD773I4MZ5ltGerpL/B7DwG2u3u4o3deV5OMCRkuwtLpBVskAjBuy8i0S5Ei85ZUawdg== X-Received: by 2002:ad4:41cf:0:b0:6b0:8991:a2f7 with SMTP id 6a1803df08f44-6bb91d83d3cmr256969936d6.12.1722861812244; Mon, 05 Aug 2024 05:43:32 -0700 (PDT) Received: from p1g2.lan (128-78-204-97.abo.bbox.fr. [128.78.204.97]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb9c87bb90sm34984796d6.130.2024.08.05.05.43.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 05:43:31 -0700 (PDT) From: Gary Bisson To: u-boot@lists.denx.de Cc: trini@konsulko.com, festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com, Gary Bisson Subject: [PATCH 1/5] tools: imx8image: fix soc variable for ULP Date: Mon, 5 Aug 2024 14:43:22 +0200 Message-ID: <20240805124326.544310-2-bisson.gary@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805124326.544310-1-bisson.gary@gmail.com> References: <20240805124326.544310-1-bisson.gary@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 05 Aug 2024 15:54:59 +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 Fixes: 6ec65c8558f (tools: image: support i.MX93) Currently the ULP token sets the soc as IMX9, making it impossible to differentiate the two families of processors. However, since the 8ULP requires specific binaries like upower which do not exist in 93, they need to be separated. Signed-off-by: Gary Bisson Reviewed-by: Peng Fan --- tools/imx8image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imx8image.c b/tools/imx8image.c index 76d0cd62dcc..53ab16637ba 100644 --- a/tools/imx8image.c +++ b/tools/imx8image.c @@ -119,7 +119,7 @@ static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token, } else if (!strncmp(token, "IMX8QM", 6)) { soc = QM; } else if (!strncmp(token, "ULP", 3)) { - soc = IMX9; + soc = ULP; } else if (!strncmp(token, "IMX9", 4)) { soc = IMX9; } else { From patchwork Mon Aug 5 12:43:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1969068 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=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=g9tYNQyB; 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 4Wcycp2GBCz1yZl for ; Mon, 5 Aug 2024 23:55:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E8DB68895B; Mon, 5 Aug 2024 15:55:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="g9tYNQyB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9BF688915; Mon, 5 Aug 2024 14:43:36 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B8B3B88908 for ; Mon, 5 Aug 2024 14:43:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bisson.gary@gmail.com Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6b79c27dd01so57882586d6.3 for ; Mon, 05 Aug 2024 05:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722861813; x=1723466613; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eG7eGFC87WGqiacq9foM7qALIiKS16b8fsVar2T0IIA=; b=g9tYNQyB12TqP/5ep6mQCYd+u7tFbTm/Q6fMR5ZcYbTQeq9uGmNvVub03CH4rA1Da0 Q7DRuqAsYFl2t01ZQUpkD7ze+Hk8UxSGD7TJCFNR96qRV0T9yxb6C5vuRQIUAUXP3soY 3VQTrlE6g3JO7tuq2gLntJ+rKfYMuloy1FkhllYvYt4oHHhHPcr7cCNioXvG8etVAE7s yzolFnbGp37lYbpfhylhV9LqDXvnAohQW0a4XIqLo7/KteK0GAnhQBQFD8zQ508RDsMo 6+apjx4iaSqupO7pMSJU1bvcfYAG9smo2GWGvwFcAyx9nDb/upJLIHcuaw81OlYWMWVa BE4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722861813; x=1723466613; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eG7eGFC87WGqiacq9foM7qALIiKS16b8fsVar2T0IIA=; b=DCDsTFwIeMNv01gpYSyI0jkuMHn4tNu/GO26y+Uf7qgzXe463BeGJc4n5IEIoGLDkQ pAy1LV5zJyVxaX7f/NFbkrXLvcZUI4WUoiWG1rWaJBe0WdsE7FENYD+kYGq7g2Oww62Z h07yP9d709H2DP8nA38qQAm5e1Jt3rTSBgiZ6m6/kYuTbr0mWzXH6opjazaId8HD76MF VEeTeQdbmdz3AqimpfeP2luJuyLux9p97DCf6RSAM0+ahqD2l7XTAblltDpz5/42DgaG IGdgmwWTolZH2T6Fl08CfeL4wQKoRRu7aF0B8t7hhLBdxqjE4P28IjBMN7tHeeQjDpkN lvnw== X-Gm-Message-State: AOJu0YxSlsGLJ/Hh+C6ulPTVTDpe7sdGX+CLyz+KB7+PJbvDPMmCUJEP BDey1j6DkDfyBYtaaaAX3JhvtTuP8ORjHPRKnEY2GpRAPRQDPTfaFYHjXA== X-Google-Smtp-Source: AGHT+IF5MjGKjSFBgLS7wGcLlmJJjHEshq/nyqsrgrH4dUKjSc6gKXAB7OQK8NGofgmNuvsPD9I4og== X-Received: by 2002:a05:6214:568e:b0:6b5:e488:61f5 with SMTP id 6a1803df08f44-6bb984069a9mr121641636d6.40.1722861813507; Mon, 05 Aug 2024 05:43:33 -0700 (PDT) Received: from p1g2.lan (128-78-204-97.abo.bbox.fr. [128.78.204.97]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb9c87bb90sm34984796d6.130.2024.08.05.05.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 05:43:33 -0700 (PDT) From: Gary Bisson To: u-boot@lists.denx.de Cc: trini@konsulko.com, festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com, Gary Bisson Subject: [PATCH 2/5] tools: imx8image: add upower image support Date: Mon, 5 Aug 2024 14:43:23 +0200 Message-ID: <20240805124326.544310-3-bisson.gary@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805124326.544310-1-bisson.gary@gmail.com> References: <20240805124326.544310-1-bisson.gary@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 05 Aug 2024 15:54:59 +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 Part of the upower management was included in a previous commit [1]. This patch only adds the bits required to properly parse a config file that would include the binary as follows: IMAGE PWR upower.bin [1] 6ec65c8558f (tools: image: support i.MX93) Signed-off-by: Gary Bisson Reviewed-by: Peng Fan --- include/imx8image.h | 1 + tools/imx8image.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/include/imx8image.h b/include/imx8image.h index 32064bfeeb8..85fb642ae39 100644 --- a/include/imx8image.h +++ b/include/imx8image.h @@ -162,6 +162,7 @@ enum imx8image_cmd { enum imx8image_core_type { CFG_CORE_INVALID, CFG_SCU, + CFG_PWR, CFG_M40, CFG_M41, CFG_A35, diff --git a/tools/imx8image.c b/tools/imx8image.c index 53ab16637ba..5eb4b9612c8 100644 --- a/tools/imx8image.c +++ b/tools/imx8image.c @@ -57,6 +57,7 @@ static table_entry_t imx8image_cmds[] = { static table_entry_t imx8image_core_entries[] = { {CFG_SCU, "SCU", "scu core", }, + {CFG_PWR, "PWR", "uPower core", }, {CFG_M40, "M40", "M4 core 0", }, {CFG_M41, "M41", "M4 core 1", }, {CFG_A35, "A35", "A35 core", }, @@ -181,6 +182,10 @@ static void parse_cfg_fld(image_t *param_stack, int32_t *cmd, char *token, param_stack[p_idx].option = SCFW; param_stack[p_idx++].filename = token; break; + case CFG_PWR: + param_stack[p_idx].option = UPOWER; + param_stack[p_idx++].filename = token; + break; case CFG_M40: param_stack[p_idx].option = M40; param_stack[p_idx].ext = 0; From patchwork Mon Aug 5 12:43:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1969069 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=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mmarCtxO; 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 4Wcyd11xRLz1yZl for ; Mon, 5 Aug 2024 23:55:33 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B06ED88962; Mon, 5 Aug 2024 15:55:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mmarCtxO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A422B888F0; Mon, 5 Aug 2024 14:43:38 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5ACE388901 for ; Mon, 5 Aug 2024 14:43:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bisson.gary@gmail.com Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-6b79b93a4c9so47189046d6.1 for ; Mon, 05 Aug 2024 05:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722861815; x=1723466615; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fXfB6CFpt0ycQtGpxZIBdTwqraGUoLqVZogC2j+r3zI=; b=mmarCtxO7YpOo9eXLnf2RT6YpijYAWS8Oo5GFTN239MaNWou7090bV3LtUOIwURQfS FBSCh/P2CgbZJC9GqxVG4HA0yPgncZJtrH+DhO7jiyHSSQ7aOX8IylufqIHSf9boo6XH hNYP9IPxpxZb6rqwr/ckea3rwOrlC5ztvwOBNg243sFexmORSxJ55/cJv4ArFLmqUy0a K4/OvrTfbRpfPanP/oBLH7AR+fb14RTjqI/GSjx3UbbcGdmtSFGmnYBg57LKJtqNXlp1 zMVU7zsiNCbfNONq0OByu2PirBwbDpHW131MejYXGy533E0ZC9Vgq9YQU5U8A6tpiJq4 A0xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722861815; x=1723466615; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fXfB6CFpt0ycQtGpxZIBdTwqraGUoLqVZogC2j+r3zI=; b=qeyu+GZp5AfwMoATF8eaGCkr8L0vd66sYBUIHIYwZpHnFyHfSKf/RAPT1QrMVEdNuG b8pgO0xrHGg+CtUXfbzQomxZ8i7njX47kHtg+mv4qwFWVYzll7OOu50BGwTESL88CDqu 8cfzKOGyOpdmcc8rCuoxCKrfKRblyOqp8DWYaW+I5/XnfwFZhKM1OjhrVITdxlcfIK86 ImbnSVLfhxnKT0h885KU9i09ySowP5oUwTCQa5GO3dtfEtjUEPoQB4bG+me09rPilwfV iuKJugF9m/TbpJ9nPkKlgpu0VeNhA+Ml1HQJQreC8T3YzXH08OF/3HpIgMLbDid5keun EERA== X-Gm-Message-State: AOJu0Yy/vkvpGtJ4o2cKxXciVJr+CRWpfezJw/fut5gbDR3p6V3ub6g/ DaSotxuO7CF5Dt57E+pRe9rF5mcGzlxHarnGV0NtW0h6jymVPmfu8e6OUw== X-Google-Smtp-Source: AGHT+IH4w24nVyrPq49qQCywwJIYgL42VCAqSSDugqyARNICFIlH3AnqCxiOyBU5zagogbaTduEpHA== X-Received: by 2002:a05:6214:310f:b0:6b5:33c6:9caf with SMTP id 6a1803df08f44-6bb986fb506mr174466486d6.16.1722861814793; Mon, 05 Aug 2024 05:43:34 -0700 (PDT) Received: from p1g2.lan (128-78-204-97.abo.bbox.fr. [128.78.204.97]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb9c87bb90sm34984796d6.130.2024.08.05.05.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 05:43:34 -0700 (PDT) From: Gary Bisson To: u-boot@lists.denx.de Cc: trini@konsulko.com, festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com, Gary Bisson Subject: [PATCH 3/5] spl: binman: Disable u_boot_any symbols for i.MX 8ULP boards Date: Mon, 5 Aug 2024 14:43:24 +0200 Message-ID: <20240805124326.544310-4-bisson.gary@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805124326.544310-1-bisson.gary@gmail.com> References: <20240805124326.544310-1-bisson.gary@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 05 Aug 2024 15:54:59 +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 This is extending commit da96f93cda9 ("spl: binman: Disable u_boot_any symbols for i.MX93 boards") to i.MX 8ULP boards. Signed-off-by: Gary Bisson Reviewed-by: Peng Fan --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconfig.vpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 6f56ca911c1..c08ff064493 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -206,7 +206,7 @@ config SPL_BINMAN_SYMBOLS config SPL_BINMAN_UBOOT_SYMBOLS bool "Declare binman symbols for U-Boot phases in SPL" depends on SPL_BINMAN_SYMBOLS - default n if ARCH_IMX8M || ARCH_IMX9 + default n if ARCH_IMX8M || ARCH_IMX8ULP || ARCH_IMX9 default y help This enables use of symbols in SPL which refer to U-Boot phases, diff --git a/common/spl/Kconfig.tpl b/common/spl/Kconfig.tpl index 4ee3b9b826d..92d4d43ec87 100644 --- a/common/spl/Kconfig.tpl +++ b/common/spl/Kconfig.tpl @@ -23,7 +23,7 @@ config TPL_BINMAN_SYMBOLS config TPL_BINMAN_UBOOT_SYMBOLS bool "Declare binman symbols for U-Boot phases in TPL" depends on TPL_BINMAN_SYMBOLS - default n if ARCH_IMX8M || ARCH_IMX9 + default n if ARCH_IMX8M || ARCH_IMX8ULP || ARCH_IMX9 default y help This enables use of symbols in TPL which refer to U-Boot phases, diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl index f1993026bba..d06f36d4ee4 100644 --- a/common/spl/Kconfig.vpl +++ b/common/spl/Kconfig.vpl @@ -243,7 +243,7 @@ config VPL_BINMAN_SYMBOLS config VPL_BINMAN_UBOOT_SYMBOLS bool "Declare binman symbols for U-Boot phases in VPL" depends on VPL_BINMAN_SYMBOLS - default n if ARCH_IMX8M || ARCH_IMX9 + default n if ARCH_IMX8M || ARCH_IMX8ULP || ARCH_IMX9 default y help This enables use of symbols in VPL which refer to U-Boot phases, From patchwork Mon Aug 5 12:43:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1969070 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=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=LNgry+hk; 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 4WcydD4bQXz1yZl for ; Mon, 5 Aug 2024 23:55:44 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2B8D28896A; Mon, 5 Aug 2024 15:55:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LNgry+hk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3260588905; Mon, 5 Aug 2024 14:43:40 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5B77E88915 for ; Mon, 5 Aug 2024 14:43:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bisson.gary@gmail.com Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-6bb84ac8facso28757496d6.1 for ; Mon, 05 Aug 2024 05:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722861816; x=1723466616; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mDz3/zWh7t59HevhVq+1h+sStqoc9Wi8qXh3yAn2l8w=; b=LNgry+hkBAi0MKmvpRhyEM9JBxY4C1bxF18VvI7BZGcZYE0s88hf23SD/M8mqCs5IM Alq4WMvvVXX9tjGcwROPVmKtLgUa5NhjT5dxFUTVhi1sDnZ1SPg0ri5O1ZYYyekofdFv vS1qRmzU2CZZX1oLspfdSqQcwz7oLzRDC9l3z7NHDr0JGeUwXnfjBUwlqtvYxVlsVPMP /B7ks3Dr17Y0i1Q2/NztCD8VvwWh1gOtx+qabqs5d/8ZPsnFExoORMuqDDtDKnIKgSMZ 8womTBOZZUnhAShxHaJV6opVJppzzo9uAWHVs1/bdHTcgCFWms8cVGDnjhqyuPX+crlJ dx/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722861816; x=1723466616; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mDz3/zWh7t59HevhVq+1h+sStqoc9Wi8qXh3yAn2l8w=; b=CR18LqRfLfJQpfUsR2h+G6xMldahzZ2vHtqjkw4yGNbl4SxumX/aPBZf/zuMQ8UDVl 9naATrvug7FEc7MUVhybZ8UogcUKUp4EHSRZU2nrhtREyHK6uCtLYF0tgxyJ2eYh3IRq vI/x1oAZoUjvkzuH9KO2NDzVewqqU7tZceTFcKVsZCX4y0BHtODfgg8Yz4lzjofSsHWt RAIgXVxQdopRIwG3ZCyo1LQbdju9tmj4gF6Twiq7IDP6sUtss8NaZdrq+vXIRiYE5Ti3 C8rHu+hqTsGmSoLepv00wj8Wl52rVMgizxv6xGbLky0NSvNETw/8WGYEDYv/deZc69qD 2s5A== X-Gm-Message-State: AOJu0YyhcXUcN2ZguP9i50Uf5MzgeCY0kCx2DWvVAncw+bYf94zY5CBa +ZqGLaBKKxvPts+c1/tCECP1dTUfO8ljhImCObkHq+JjW5bZgUD8YIrxkQ== X-Google-Smtp-Source: AGHT+IHSwqfh1m2AB+69ADQV8Sa5yQpEjTAycI2nvVxHjPPBUHBdUH52ClocW7hD9WX8CptXG4Z5GA== X-Received: by 2002:a05:6214:310f:b0:6b5:e97b:bdce with SMTP id 6a1803df08f44-6bb983d6ecemr108205226d6.22.1722861816096; Mon, 05 Aug 2024 05:43:36 -0700 (PDT) Received: from p1g2.lan (128-78-204-97.abo.bbox.fr. [128.78.204.97]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb9c87bb90sm34984796d6.130.2024.08.05.05.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 05:43:35 -0700 (PDT) From: Gary Bisson To: u-boot@lists.denx.de Cc: trini@konsulko.com, festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com, Gary Bisson Subject: [PATCH 4/5] mach-imx: Add i.MX 8ULP binman support Date: Mon, 5 Aug 2024 14:43:25 +0200 Message-ID: <20240805124326.544310-5-bisson.gary@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805124326.544310-1-bisson.gary@gmail.com> References: <20240805124326.544310-1-bisson.gary@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 05 Aug 2024 15:54:59 +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 - Re-use i.MX 93 Makefile target as similar boot process - Create imx8ulp-u-boot.dtsi for binman image architecture - Create both SPL and U-Boot containers configuration Key differences between the 93 and 8ULP SPL container are: - No LPDDR training library needed for 8ULP - 8ULP requires a uPower binary (RISC-V core) for power management - 8ULP also requires a M33 binary to work properly Signed-off-by: Gary Bisson Reviewed-by: Peng Fan --- arch/arm/dts/imx8ulp-u-boot.dtsi | 63 +++++++++++++++++++++++++ arch/arm/mach-imx/Makefile | 4 +- arch/arm/mach-imx/imx8ulp/container.cfg | 7 +++ arch/arm/mach-imx/imx8ulp/imximage.cfg | 9 ++++ 4 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/imx8ulp-u-boot.dtsi create mode 100644 arch/arm/mach-imx/imx8ulp/container.cfg create mode 100644 arch/arm/mach-imx/imx8ulp/imximage.cfg diff --git a/arch/arm/dts/imx8ulp-u-boot.dtsi b/arch/arm/dts/imx8ulp-u-boot.dtsi new file mode 100644 index 00000000000..30baaeff8ef --- /dev/null +++ b/arch/arm/dts/imx8ulp-u-boot.dtsi @@ -0,0 +1,63 @@ +// SPDX-License-Identifier: GPL-2.0+ + +#ifdef CONFIG_BINMAN +/ { + binman: binman { + multiple-images; + }; +}; + +&binman { + u-boot-spl-ddr { + align = <4>; + align-size = <4>; + filename = "u-boot-spl-ddr.bin"; + pad-byte = <0xff>; + + u-boot-spl { + align-end = <4>; + filename = "u-boot-spl.bin"; + }; + }; + + spl { + filename = "spl.bin"; + + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x22020000"; + + blob { + filename = "u-boot-spl-ddr.bin"; + }; + }; + }; + + u-boot-container { + filename = "u-boot-container.bin"; + + mkimage { + args = "-n u-boot-container.cfgout -T imx8image -e 0x0"; + + blob { + filename = "u-boot.bin"; + }; + }; + }; + + imx-boot { + filename = "flash.bin"; + pad-byte = <0x00>; + + spl: blob-ext@1 { + filename = "spl.bin"; + offset = <0x0>; + align-size = <0x400>; + align = <0x400>; + }; + + uboot: blob-ext@2 { + filename = "u-boot-container.bin"; + }; + }; +}; +#endif diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index ef0caed3f7f..b311d176d64 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -129,7 +129,7 @@ DEPFILE_EXISTS := $(shell $(CPP) $(cpp_flags) -x c -o u-boot-dtb.cfgout $(srctre else ifeq ($(CONFIG_ARCH_IMX8M), y) IMAGE_TYPE := imx8mimage DEPFILE_EXISTS := 0 -else ifeq ($(CONFIG_ARCH_IMX9), y) +else ifeq ($(CONFIG_ARCH_IMX9)$(CONFIG_ARCH_IMX8ULP), y) IMAGE_TYPE := imx8image DEPFILE_EXISTS := 0 else @@ -215,7 +215,7 @@ flash.bin: spl/u-boot-spl.bin FORCE endif endif -ifeq ($(CONFIG_ARCH_IMX9), y) +ifeq ($(CONFIG_ARCH_IMX9)$(CONFIG_ARCH_IMX8ULP), y) quiet_cmd_imx9_check = CHECK $@ cmd_imx9_check = $(srctree)/tools/imx9_image.sh $@ diff --git a/arch/arm/mach-imx/imx8ulp/container.cfg b/arch/arm/mach-imx/imx8ulp/container.cfg new file mode 100644 index 00000000000..029b79128c8 --- /dev/null +++ b/arch/arm/mach-imx/imx8ulp/container.cfg @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +BOOT_FROM SD 0x400 +SOC_TYPE ULP +CONTAINER +IMAGE A35 bl31.bin 0x20040000 +IMAGE A35 u-boot.bin CONFIG_TEXT_BASE diff --git a/arch/arm/mach-imx/imx8ulp/imximage.cfg b/arch/arm/mach-imx/imx8ulp/imximage.cfg new file mode 100644 index 00000000000..a55359fee23 --- /dev/null +++ b/arch/arm/mach-imx/imx8ulp/imximage.cfg @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +BOOT_FROM SD 0x400 +SOC_TYPE ULP +APPEND mx8ulpa2-ahab-container.img +CONTAINER +IMAGE PWR upower.bin +IMAGE M40 m33_image.bin 0x1ffc2000 +IMAGE A35 u-boot-spl-ddr.bin 0x22020000 From patchwork Mon Aug 5 12:43:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 1969071 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=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=nYs0dNBl; 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 4WcydR35DNz1yZl for ; Mon, 5 Aug 2024 23:55:55 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8750888975; Mon, 5 Aug 2024 15:55:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nYs0dNBl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A7512888F6; Mon, 5 Aug 2024 14:43:41 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 93109888D7 for ; Mon, 5 Aug 2024 14:43:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bisson.gary@gmail.com Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-6b796667348so47169766d6.0 for ; Mon, 05 Aug 2024 05:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722861817; x=1723466617; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iCEv4QbvIhAYTYl2QKKcipo/TOJRbHhY/FhAtveaZdg=; b=nYs0dNBlN+Znm+bV94D5dqxM4sckk8KxPBVDWYg0qD8IjEeA6VS8etPWNZ00opFEDs sniZb9JRY5dk7u1LVF3I6BEJxD9+loqdE77Ou163uxrP4WvHSqoEreI5Wte0bfC0wb5Q q8RW+CNmL+VY4F3Df8WLWFYLycFv/xdHNgUXmviARQDTxd+5iz3FvjIJcLJTsJDkvoQQ 1SpLPTr/0l4ufMTsFQHvOCy+r/D3U2bdc9+NwzYgNqy9eNfjOE8z4fZmlIPBGgM9yYip wN+QYNf1njYFChyYAvQYyJJZQ9N0VgvO2XPPSli/8JxvUPsSNJoYz/BgxzzlpLAAB4Rp n6gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722861817; x=1723466617; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iCEv4QbvIhAYTYl2QKKcipo/TOJRbHhY/FhAtveaZdg=; b=CuspFgo2vbZWNG4mSrwMWuHWetyLLOuvCrboYyW2mfvEbMc3uF5HNtwAd8+ErHSvDx opeY4BBD+ihPN9xDOb9gdsXTDTuCA8jwPracjVvO4aG/E0d11I9kI/EQOPQUBgC+r88v OY+ZyUvQvw/xXxf3drrptZ1cJILKsWYAgBqlWtcSNjfqnY7Fjt/sx/MRMcB6KqweVSf5 Gragh3XMquBk9wXlKuJrolosMQKDhyyJ6zptlJk6RI5HMk1QcYWxomgDeON8+ZGm/oqe 4WpxkRjNcnsuo/GxzRUCUBfXlEhLMa7TlQjqU1FXqV+Z354FHP1Z/ygdOoPE7+RgoBM9 LBkQ== X-Gm-Message-State: AOJu0Yw3DVLqt4fZDjKGuMgjRfxWBUXsPzfSQIB3RY52W90bMoXdRSM0 whkmKhLWu5s2dqZwch8xUXsDyg7eRUFJQCCphFn0/JKdH5wVquAZd+tFRA== X-Google-Smtp-Source: AGHT+IEV8I6LyCGeOX0LQ/1aJMxp+5vyLTlIxBSmQRBfymnrx7i/DYVO5BIJlh4WqaaRNqzRniTvIg== X-Received: by 2002:a05:6214:33c5:b0:6bb:8b2e:8e7a with SMTP id 6a1803df08f44-6bb987af505mr194394126d6.24.1722861817347; Mon, 05 Aug 2024 05:43:37 -0700 (PDT) Received: from p1g2.lan (128-78-204-97.abo.bbox.fr. [128.78.204.97]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb9c87bb90sm34984796d6.130.2024.08.05.05.43.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 05:43:37 -0700 (PDT) From: Gary Bisson To: u-boot@lists.denx.de Cc: trini@konsulko.com, festevam@gmail.com, peng.fan@nxp.com, uboot-imx@nxp.com, Gary Bisson Subject: [PATCH 5/5] imx8ulp_evk: enable binman support Date: Mon, 5 Aug 2024 14:43:26 +0200 Message-ID: <20240805124326.544310-6-bisson.gary@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240805124326.544310-1-bisson.gary@gmail.com> References: <20240805124326.544310-1-bisson.gary@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 05 Aug 2024 15:54:59 +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 Signed-off-by: Gary Bisson --- arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 2 ++ arch/arm/mach-imx/imx8ulp/Kconfig | 1 + configs/imx8ulp_evk_defconfig | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/imx8ulp-evk-u-boot.dtsi b/arch/arm/dts/imx8ulp-evk-u-boot.dtsi index 608bde3a2a3..f67fe166d31 100644 --- a/arch/arm/dts/imx8ulp-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8ulp-evk-u-boot.dtsi @@ -3,6 +3,8 @@ * Copyright 2021 NXP */ +#include "imx8ulp-u-boot.dtsi" + / { mu@27020000 { compatible = "fsl,imx8ulp-mu"; diff --git a/arch/arm/mach-imx/imx8ulp/Kconfig b/arch/arm/mach-imx/imx8ulp/Kconfig index 49ea25250a3..6ce6039faf9 100644 --- a/arch/arm/mach-imx/imx8ulp/Kconfig +++ b/arch/arm/mach-imx/imx8ulp/Kconfig @@ -23,6 +23,7 @@ choice config TARGET_IMX8ULP_EVK bool "imx8ulp_evk" + select BINMAN select IMX8ULP select SUPPORT_SPL select IMX8ULP_DRAM diff --git a/configs/imx8ulp_evk_defconfig b/configs/imx8ulp_evk_defconfig index b302df1f351..0f0748b6792 100644 --- a/configs/imx8ulp_evk_defconfig +++ b/configs/imx8ulp_evk_defconfig @@ -8,7 +8,7 @@ CONFIG_NR_DRAM_BANKS=2 CONFIG_SF_DEFAULT_SPEED=40000000 CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0x400000 -CONFIG_IMX_CONFIG="" +CONFIG_IMX_CONFIG="arch/arm/mach-imx/imx8ulp/imximage.cfg" CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx8ulp-evk" CONFIG_SPL_TEXT_BASE=0x22020000 @@ -38,6 +38,7 @@ CONFIG_SPL_MAX_SIZE=0x25000 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SPL_LOAD_IMX_CONTAINER=y +CONFIG_IMX_CONTAINER_CFG="arch/arm/mach-imx/imx8ulp/container.cfg" # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set CONFIG_SPL_SYS_MALLOC=y CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y