From patchwork Fri Oct 25 02:02:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse T X-Patchwork-Id: 2002006 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=bqUnGvko; 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 4XZQzF1n6zz1xwF for ; Fri, 25 Oct 2024 13:02:49 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 04E6088F83; Fri, 25 Oct 2024 04:02:41 +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="bqUnGvko"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D8A1A88B0C; Fri, 25 Oct 2024 04:02:39 +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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 CA8A588FBF for ; Fri, 25 Oct 2024 04:02:31 +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=mr.bossman075@gmail.com Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7b13fe8f4d0so106090285a.0 for ; Thu, 24 Oct 2024 19:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729821750; x=1730426550; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Qf2km1sVoj38LAoHSbncMebl/iwPREBdiLFqLWYuvbE=; b=bqUnGvkoMFoidPMAH9nh1vWnjj2KYzZxWq0QwIr0pRXIB5MT5b71pMAoXDNMn+1WBp hP/vcJCbBwXVt2u+vSHXBABIOcOs0nviHXOFV5J6s4JrKlY88K7PT2qS0kOjizUd+U39 CGv68etoK3c1U+VJUd8Wd3MQ+HCko5ihu0KkU9azTzgbB8fKkP3QiYHGXcJbYYx2dXKm 4WLs7fHV8bmrdkiiKHwFtQITaNE2Vh8tA3HHFgk/kMFV6g6RP7AHfgx8lvx2BJ0fAC6g 90FW9szQ6kDfYUZIwan5WE6ZuJJ0F94hHknHbQcc0wZ4ONp4CMxVwoKCZZ4wrfjYBhOF YexA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729821750; x=1730426550; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qf2km1sVoj38LAoHSbncMebl/iwPREBdiLFqLWYuvbE=; b=PfKIi0iTmYAVPyyC+nB6b7nviqVz7/xHhGR0H4Xb69+osNAUvpImsnm6xF30jRfup6 8jHolQ5tGKwAzg8jUkIGQ4QlgPs5tT7v+UShifZTssOKQdh4OEZYsdRSAQ0BGFfibX+h 8mikKCzbDcaUofIKgm8OTLzqvgCG/X3n8Wxak4NUBI2TKiMX9b8A8h2fVM4hVBDSvG3k HVpHWNWMVvUDBPEJztM0hXJWGwvJ/+meI6zr/MQJsUXqkgMLCezGX5YXgtQsASPxCI+w w96MYHJZC2vd1Yt26zm2smlsrgsYWwAieGjy2x7ek7E3a5Bf7HzFvblQuULHX7KoyQ9a fEHA== X-Gm-Message-State: AOJu0Yx162lwM88ttcOsI05wEDkkOCEeW1nMquVlnSHlSfXY75HuqoWT OtCTgTiKbJQtLRf6XbfZlJiLpE6HlanX1CsFv54QRP2WtbcwjVdLpXP0hn95 X-Google-Smtp-Source: AGHT+IF9reYre7qMYzTPcPAHBWRQg5LyTo6c49zSPu02y+3oTPrgy5sOQxR8FJLHTJRY+VGMqBwuyg== X-Received: by 2002:a05:620a:240a:b0:7a7:fdef:27a with SMTP id af79cd13be357-7b17e5bc63emr1107339085a.58.1729821750278; Thu, 24 Oct 2024 19:02:30 -0700 (PDT) Received: from jesse-desktop.. (pool-108-26-179-17.bstnma.fios.verizon.net. [108.26.179.17]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b18d294b3fsm11607585a.33.2024.10.24.19.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 19:02:29 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Tom Rini , Giulio Benetti , Jesse Taube , Lukasz Majewski , Sean Anderson , Simon Glass , Quentin Schulz , Peng Fan Subject: [PATCH 1/4] imx: imxrt*: Fix binman breaking boot Date: Thu, 24 Oct 2024 22:02:25 -0400 Message-ID: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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 The init_r parsing of U-Boot device tree to search the binman information errors. set CONFIG_BINMAN_FDT to no to fix this. Fixes: 7079eeb72fc ("imx: imxrt1050-evk: Add support for SPI flash booting s") Signed-off-by: Jesse Taube Reviewed-by: Simon Glass --- configs/imxrt1020-evk_defconfig | 1 + configs/imxrt1050-evk_defconfig | 1 + configs/imxrt1050-evk_fspi_defconfig | 1 + configs/imxrt1170-evk_defconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/configs/imxrt1020-evk_defconfig b/configs/imxrt1020-evk_defconfig index 5865d41a741..58a3e92ce08 100644 --- a/configs/imxrt1020-evk_defconfig +++ b/configs/imxrt1020-evk_defconfig @@ -67,6 +67,7 @@ CONFIG_FSL_LPUART=y CONFIG_TIMER=y CONFIG_SPL_TIMER=y CONFIG_IMX_GPT_TIMER=y +# CONFIG_BINMAN_FDT is not set CONFIG_SHA1=y CONFIG_SHA256=y CONFIG_HEXDUMP=y diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig index f8b85398b79..2653efac148 100644 --- a/configs/imxrt1050-evk_defconfig +++ b/configs/imxrt1050-evk_defconfig @@ -84,5 +84,6 @@ CONFIG_VIDEO_MXS=y CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_BMP_16BPP=y +# CONFIG_BINMAN_FDT is not set CONFIG_SHA256=y CONFIG_HEXDUMP=y diff --git a/configs/imxrt1050-evk_fspi_defconfig b/configs/imxrt1050-evk_fspi_defconfig index 73001ffe161..95b5b56ece7 100644 --- a/configs/imxrt1050-evk_fspi_defconfig +++ b/configs/imxrt1050-evk_fspi_defconfig @@ -85,6 +85,7 @@ CONFIG_VIDEO_MXS=y CONFIG_SPLASH_SCREEN=y CONFIG_SPLASH_SCREEN_ALIGN=y CONFIG_BMP_16BPP=y +# CONFIG_BINMAN_FDT is not set CONFIG_SHA256=y CONFIG_HEXDUMP=y CONFIG_FSPI_CONF_HEADER=y diff --git a/configs/imxrt1170-evk_defconfig b/configs/imxrt1170-evk_defconfig index 5f28c22e66c..487da275c62 100644 --- a/configs/imxrt1170-evk_defconfig +++ b/configs/imxrt1170-evk_defconfig @@ -68,3 +68,4 @@ CONFIG_FSL_LPUART=y CONFIG_TIMER=y CONFIG_SPL_TIMER=y CONFIG_IMX_GPT_TIMER=y +# CONFIG_BINMAN_FDT is not set From patchwork Fri Oct 25 02:02:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse T X-Patchwork-Id: 2002008 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=ZjhPfSZ/; 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 4XZQzg0VnMz1xwF for ; Fri, 25 Oct 2024 13:03:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C32FC88EEB; Fri, 25 Oct 2024 04:02:43 +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="ZjhPfSZ/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ACF7C88FED; Fri, 25 Oct 2024 04:02: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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 2BD4388DDC for ; Fri, 25 Oct 2024 04:02: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=mr.bossman075@gmail.com Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7b15416303aso101402985a.1 for ; Thu, 24 Oct 2024 19:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729821751; x=1730426551; 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=C2FKi6AvzADxkSAtCZPRyIlx1EgsG1LhomoWDDgmc08=; b=ZjhPfSZ/Rn6nHw96YHWa5uNinxSAkppLg3OGaORS3geTCFTAa7NWS9wPyO0ExEC8vC abCKvocoW6D8ldSVSCPMJwos35hDBaCU31IQl52/3vIo9g5JO4dGQ9ydOMQGh3LRmaqq IO4WpeZIsc2wn1rJ6wZDtp9NVweQ6QFNsxGhBh5/m0+B3RQ74oZcbnFSncsj9AgLy3xI 2E9alQ25WmkIOqlvqbB9md1Od28F1Ux02PmkgHVHK0Hg22R7+387DBNPWnG6HUUYk1C9 fj25AA45zImnlXAaXb3yfC6xtd0eHqa5xsiPcyTWNe9k5OE5bZjyqpkKy1ZuO/BRxvtJ Ke+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729821751; x=1730426551; 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=C2FKi6AvzADxkSAtCZPRyIlx1EgsG1LhomoWDDgmc08=; b=fBF1RsJDoyAT2AVp8vpb2lTOFTyya+RP4SiprWG9VVYijrKTYx+52cul88JTJVfLJ2 S5+0eIJHn0tON5xmlf40sG89vC59uVrXb4tUCX+kygmb1iqpwkkgXoP5xrjcvfxwrcDV hKm0ZEL3Vf2fbpwyFKPqLxAiIu6kX9rWSgoFb+xh3trBKkcm1abGMM8OBZaVZzH7Yb3L aSTY5HIw4GQaUoHbTD6BoWoeyv8jFfvXIVHElpav+oVhrpQGyH1i2WvCCfnj6Q7sdp/8 fAmrd+AHN/yja5clWOA6zHZOM7ZbcLfouNyhXjM+enY1k3NwV15r6O3XHG0reBcw1mjD 4b8Q== X-Gm-Message-State: AOJu0YxxSUD0HtY9zm9HZP7zVvR4lqBF7y6HS6UOh8JWzyDQBg3ST8LF MZRWkJ+QshecEAFdovANnkTFBz6THhap6ulT3ch9Iry2828f4FYZWcYmvOdH X-Google-Smtp-Source: AGHT+IHIgzRV7/BBhhmjXyc4UW61L1OuTagydwwc6+di7lLhdJ73bilVYp7hkFv+R52v8DTZK+Fl6g== X-Received: by 2002:a05:620a:248c:b0:7a9:c0f3:3b71 with SMTP id af79cd13be357-7b17e56a02fmr1155941585a.19.1729821751628; Thu, 24 Oct 2024 19:02:31 -0700 (PDT) Received: from jesse-desktop.. (pool-108-26-179-17.bstnma.fios.verizon.net. [108.26.179.17]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b18d294b3fsm11607585a.33.2024.10.24.19.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 19:02:30 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Tom Rini , Giulio Benetti , Jesse Taube , Lukasz Majewski , Sean Anderson , Simon Glass , Quentin Schulz , Peng Fan Subject: [PATCH 2/4] imx: imxrt1050-evk: Fix missing clocks for mmc Date: Thu, 24 Oct 2024 22:02:26 -0400 Message-ID: <20241025020228.1686306-2-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> References: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 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 Two of the clocks required by the usdhc1 controller are missing from the clock controller node. A recent change enables all the clocks in the esdhc node, which fails as they are not defined in the clock controller. Fixes: 76332fae769 ("mmc: fsl_esdhc_imx: Enable AHB/IPG clk with clk bulk API") Signed-off-by: Jesse Taube Cc: Peng Fan Reviewed-by: Peng Fan --- arch/arm/dts/imxrt1050.dtsi | 2 +- drivers/clk/imx/clk-imxrt1050.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index 03e6a858a7b..a25eae9bd38 100644 --- a/arch/arm/dts/imxrt1050.dtsi +++ b/arch/arm/dts/imxrt1050.dtsi @@ -87,7 +87,7 @@ reg = <0x402c0000 0x4000>; interrupts = <110>; clocks = <&clks IMXRT1050_CLK_IPG_PDOF>, - <&clks IMXRT1050_CLK_OSC>, + <&clks IMXRT1050_CLK_AHB_PODF>, <&clks IMXRT1050_CLK_USDHC1>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c index 788e0650a92..2c029ec5a6e 100644 --- a/drivers/clk/imx/clk-imxrt1050.c +++ b/drivers/clk/imx/clk-imxrt1050.c @@ -144,6 +144,9 @@ static int imxrt1050_clk_probe(struct udevice *dev) clk_dm(IMXRT1050_CLK_AHB_PODF, imx_clk_divider("ahb_podf", "periph_sel", base + 0x14, 10, 3)); + clk_dm(IMXRT1050_CLK_IPG_PDOF, + imx_clk_divider("ipg_podf", "ahb_podf", + base + 0x14, 8, 2)); clk_dm(IMXRT1050_CLK_USDHC1_PODF, imx_clk_divider("usdhc1_podf", "usdhc1_sel", base + 0x24, 11, 3)); From patchwork Fri Oct 25 02:02:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse T X-Patchwork-Id: 2002007 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=D0kULvAM; 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 4XZQzP0m03z1xwF for ; Fri, 25 Oct 2024 13:02:57 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 675EB88FCB; Fri, 25 Oct 2024 04:02:41 +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="D0kULvAM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5DC6188B0C; Fri, 25 Oct 2024 04:02: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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,T_SPF_TEMPERROR autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 6EE4E88F83 for ; Fri, 25 Oct 2024 04:02: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=mr.bossman075@gmail.com Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7b158542592so102867685a.2 for ; Thu, 24 Oct 2024 19:02:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729821753; x=1730426553; 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=TmGiU8hTdE/i3CkC3m5nW2x+X5WDaGWRQQKox4eVncI=; b=D0kULvAMK67156hvPg0wR+oQjLx0pb4nQGu3X7AMXcCmKGpCuEohy5IyjnJuCCLsux Duu9LljZbLsSbMUearq8ZXXRiC6mRXIUeffsCNs3GRWAIMxp4FnzZcyx1wnsfRusxHQx GKJf4P0eALnjWVRz2LMOwpcxtLSjcRiuHkQ87Typl4mRUArJv5Ggs+KsJmVjauVi7D4e iPOQDWkjH5oPk3eM/XpOuco7giOZRGozo2fSSOBol7MUKT5O4Oc8PIkFvH1YMR99nz60 vuKnDM76Y011EmoYXd7LIv/dCajpyR+Pm0Kb/iS6djQ5AXu0j2C4V5KK/2i2Bjuky0iY GISQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729821753; x=1730426553; 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=TmGiU8hTdE/i3CkC3m5nW2x+X5WDaGWRQQKox4eVncI=; b=ZUXlGWU27GEel2h9lvNvSSak3w87ECxiS53aZ8Gbisu9bxgDKXXwbr50OsrW1K7Cch /VjkKUOR7TlMQVjNs9BD63cQz/+xeWrF0S9TyWiL6FuHjCiHlcJkUhRYwwcldygerBKz J7Wvs5/5zKWhUKKTVzhGWb99BqZgsSiSESNn+f2OsCi3XRtTK8+g0rs8lya01o1jQjS6 l1Zug5ntYgGJQwcrcm7vxyUt2CQNZOzZvjtu2ait/WUeKKxo9tSzf7Xcw5FkbkrGnScM RzAUjUhLJqmXqPhhDnrK3DdnstHdAWTMLs3wLki5CDIAeKDzlye618TQ922POu/1lflW RMtA== X-Gm-Message-State: AOJu0YyagzT8LP2NKUmMWZQSn4FzYtxCHBsT4l7mQu64NumQfPfOXBOt YVQUDtEolfyesrFiQMq7YUgXvsQapGFyjT2z1FGHz5Rp4/4QVsMrY8z+X23H X-Google-Smtp-Source: AGHT+IH8YpG1/lqm2ZiFlovjUaoGfk2yDH49GVS1hdETbvuy0yiiPKLQzINp7nh674ldj4v/nIGISQ== X-Received: by 2002:a05:620a:1a8f:b0:7b1:56f0:e06f with SMTP id af79cd13be357-7b17e568066mr928667685a.15.1729821752879; Thu, 24 Oct 2024 19:02:32 -0700 (PDT) Received: from jesse-desktop.. (pool-108-26-179-17.bstnma.fios.verizon.net. [108.26.179.17]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b18d294b3fsm11607585a.33.2024.10.24.19.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 19:02:32 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Tom Rini , Giulio Benetti , Jesse Taube , Lukasz Majewski , Sean Anderson , Simon Glass , Quentin Schulz , Peng Fan Subject: [PATCH 3/4] configs: imxrt1050-evk: Enable standard boot Date: Thu, 24 Oct 2024 22:02:27 -0400 Message-ID: <20241025020228.1686306-3-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> References: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 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 Enable standard boot support and add default environments for the imxrt1050-evk board. Signed-off-by: Jesse Taube --- board/freescale/imxrt1050-evk/imxrt1050-evk-nor.env | 13 +++++++++++++ board/freescale/imxrt1050-evk/imxrt1050-evk.env | 13 +++++++++++++ configs/imxrt1050-evk_defconfig | 4 ++-- configs/imxrt1050-evk_fspi_defconfig | 5 +++-- include/configs/imxrt1050-evk.h | 7 ------- 5 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 board/freescale/imxrt1050-evk/imxrt1050-evk-nor.env create mode 100644 board/freescale/imxrt1050-evk/imxrt1050-evk.env diff --git a/board/freescale/imxrt1050-evk/imxrt1050-evk-nor.env b/board/freescale/imxrt1050-evk/imxrt1050-evk-nor.env new file mode 100644 index 00000000000..c61e9e3c00a --- /dev/null +++ b/board/freescale/imxrt1050-evk/imxrt1050-evk-nor.env @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +/* environment for imxrt1050-evk */ + +#ifdef CONFIG_VIDEO +stdin=serial +stdout=serial,vidconsole +stderr=serial,vidconsole +#endif + +fdt_addr_r=0x80800000 +kernel_addr_r=0x80000000 +boot_targets=nor diff --git a/board/freescale/imxrt1050-evk/imxrt1050-evk.env b/board/freescale/imxrt1050-evk/imxrt1050-evk.env new file mode 100644 index 00000000000..1c5cbc29d53 --- /dev/null +++ b/board/freescale/imxrt1050-evk/imxrt1050-evk.env @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +/* environment for imxrt1050-evk */ + +#ifdef CONFIG_VIDEO +stdin=serial +stdout=serial,vidconsole +stderr=serial,vidconsole +#endif + +fdt_addr_r=0x80800000 +kernel_addr_r=0x80000000 +boot_targets=mmc diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig index 2653efac148..141303c5a29 100644 --- a/configs/imxrt1050-evk_defconfig +++ b/configs/imxrt1050-evk_defconfig @@ -23,10 +23,10 @@ CONFIG_SPL_SIZE_LIMIT=0x20000 CONFIG_SPL=y CONFIG_HAVE_SYS_UBOOT_START=y CONFIG_SYS_UBOOT_START=0x800023FD -CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTSTD_FULL=y +CONFIG_BOOTSTD_DEFAULTS=y CONFIG_SD_BOOT=y CONFIG_SPI_BOOT=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276 CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y diff --git a/configs/imxrt1050-evk_fspi_defconfig b/configs/imxrt1050-evk_fspi_defconfig index 95b5b56ece7..b77dbab7077 100644 --- a/configs/imxrt1050-evk_fspi_defconfig +++ b/configs/imxrt1050-evk_fspi_defconfig @@ -9,6 +9,7 @@ CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_NR_DRAM_BANKS=1 +CONFIG_ENV_SOURCE_FILE="imxrt1050-evk-nor" CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x20020000 CONFIG_ENV_OFFSET=0x80000 @@ -24,10 +25,10 @@ CONFIG_SPL_SIZE_LIMIT=0x20000 CONFIG_SPL=y CONFIG_HAVE_SYS_UBOOT_START=y CONFIG_SYS_UBOOT_START=0x800023FD -CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTSTD_FULL=y +CONFIG_BOOTSTD_DEFAULTS=y CONFIG_SD_BOOT=y CONFIG_SPI_BOOT=y -# CONFIG_USE_BOOTCOMMAND is not set CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276 CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y diff --git a/include/configs/imxrt1050-evk.h b/include/configs/imxrt1050-evk.h index b370e25105a..c520c2fc203 100644 --- a/include/configs/imxrt1050-evk.h +++ b/include/configs/imxrt1050-evk.h @@ -18,13 +18,6 @@ #define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \ DMAMEM_SZ_ALL) -#ifdef CONFIG_VIDEO -#define CFG_EXTRA_ENV_SETTINGS \ - "stdin=serial\0" \ - "stdout=serial,vidconsole\0" \ - "stderr=serial,vidconsole\0" -#endif - /* * Address of U-Boot for SPI NOR boot */ From patchwork Fri Oct 25 02:02:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse T X-Patchwork-Id: 2002009 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=WvugLQ7A; 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 4XZQzy21gfz1xwF for ; Fri, 25 Oct 2024 13:03:26 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2A6CD88FC8; Fri, 25 Oct 2024 04:02:44 +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="WvugLQ7A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E5D5E88DDC; Fri, 25 Oct 2024 04:02:42 +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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (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 9EAD588FB7 for ; Fri, 25 Oct 2024 04:02:35 +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=mr.bossman075@gmail.com Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-7b14554468fso98328785a.1 for ; Thu, 24 Oct 2024 19:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729821754; x=1730426554; 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=s5Nb1izu2Wd1J8OL0vWu/TL9qDa8++DVpnU3OSHdAL4=; b=WvugLQ7Az5qZoAbStXBDMBaSUIk/OTfDArBTYw+A9OqbL1LSgBW423AMlnJQj2ObsD JWZDpMnjE50QRZsYkm3zkQtV39YcM7hbW/rV78p/9Uz/KqiFXEetzr9f9cupEgejGK6W jO+RyjhaNe+l40V7rcH9dVaXtxlQ+68mOqXGkhkxZeLTCEQFLKwLN/TXghIhNMLs6Shb 2BgNUBJnFLruEov+FS00AFEWhtpx/JoxuV4Wm+Srxyguvbe2gNAzJ+Br+OwEprczql1s ffQDtVNhm53W+GfdYEslk7debB8FP2hQb/2QKC0OSCswhW1Yx1YKM0KkOeEeQdv1Clr5 0ZDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729821754; x=1730426554; 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=s5Nb1izu2Wd1J8OL0vWu/TL9qDa8++DVpnU3OSHdAL4=; b=e7tAnvlirXKiX2jdIL/Bem4sulhf1jBZpqH9M9pSSxZj8atR5cHIKk4JZ+xj3QTVFR BNGkMpTOceuJ+lK/ARRddTBuluk0STW5TNyAIFB6t/fgALoYF25iiOkEZFypLxAR+akm /gW+OlwXNIohtSLSLsYlKb/rvp4RXtnGS7I7JDNrpcH/mK4CNnc8Hy9f6VdYGUQhhKoL fnqeIE6lyemBjqrwr2eVd0WTAodCR907lz+wujFAzbAza/Tf//XKOMyCNz+Im13p1d9G IKyno6Ya7K5VaRp8TwxgDGu9ZdrMLun6S8qLvjf4/1Bs7Q6cuaP9glGwfDnhNt+1kJcf 02gA== X-Gm-Message-State: AOJu0YzXN5UIO+hDC7adE22onX150GdUccA4tg7zgc/vJZaavZydAzT3 QwWs2RPrG+AKheTdmf4BDPlVaGyKdgZi9tX0q4Na9TzuhtkKs92UoYNOGbpJ X-Google-Smtp-Source: AGHT+IHc3qVAqigy4OKgOADMPuXjmzA2N8vZM/fauuGNmSGtylfC+zyc84nuXJdltLglVKQ1MYFGQA== X-Received: by 2002:a05:620a:4249:b0:7b1:184e:a665 with SMTP id af79cd13be357-7b186d0f689mr510560685a.59.1729821754158; Thu, 24 Oct 2024 19:02:34 -0700 (PDT) Received: from jesse-desktop.. (pool-108-26-179-17.bstnma.fios.verizon.net. [108.26.179.17]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b18d294b3fsm11607585a.33.2024.10.24.19.02.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 19:02:33 -0700 (PDT) From: Jesse Taube X-Google-Original-From: Jesse Taube To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Tom Rini , Giulio Benetti , Jesse Taube , Lukasz Majewski , Sean Anderson , Simon Glass , Quentin Schulz , Peng Fan Subject: [PATCH 4/4] ARM: dts: imxrt1170: Fix default cells value warnings Date: Thu, 24 Oct 2024 22:02:28 -0400 Message-ID: <20241025020228.1686306-4-Mr.Bossman075@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> References: <20241025020228.1686306-1-Mr.Bossman075@gmail.com> MIME-Version: 1.0 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 #address-cells and #size-cells to the memory node to fix warnings Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1170-evk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imxrt1170-evk.dts b/arch/arm/dts/imxrt1170-evk.dts index c2fd0c0392c..0d8e7016860 100644 --- a/arch/arm/dts/imxrt1170-evk.dts +++ b/arch/arm/dts/imxrt1170-evk.dts @@ -20,6 +20,8 @@ }; memory { + #address-cells = <1>; + #size-cells = <1>; device_type = "memory"; reg = <0x20240000 0xf0000 0x80000000 0x4000000>;