Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F581C433EF for ; Sun, 26 Jun 2022 10:06:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A2B53843D8; Sun, 26 Jun 2022 12:05:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="maS0Vx+C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4B33B843D8; Sun, 26 Jun 2022 12:05:47 +0200 (CEST) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 1A6508449D for ; Sun, 26 Jun 2022 12:05:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dario.binacchi@amarulasolutions.com Received: by mail-ej1-x633.google.com with SMTP id h23so13195462ejj.12 for ; Sun, 26 Jun 2022 03:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2/ucg537xPZbFw9vhb74o1HTA1Oa+2BKIp6iPUCuWmc=; b=maS0Vx+CZ3OC0cXBVR4fkogZ+gdHLbhDPgvYCAzcbmeDYDeUMV1CoEMf2gcPAIuDIr lgYMqwPbgUAbQD17OtxYWFlKuJ2XSLyLNjhcJq50MW+fccQUhoKSAU8fjeGElZQOIfwB GoTPvv1Sxs+T7HxWQVcy+SKuZoMhCWJnpnV10= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2/ucg537xPZbFw9vhb74o1HTA1Oa+2BKIp6iPUCuWmc=; b=6+Wb5vxa0Yuzd/+pMM9hckyTcDM1ZIAcpJWHkhK3NdLkL1kjvu+ijAgTO++zKZPl7g b8iccWHSVhl0baor7XuBpl11MVQLegUEDBoG7MumDL/b/2RtBmB6zbGarJIGnznMRcYw LN0fn+iIIJsO3U12q/fy2D0yaVoAehmlIHSTaxKPewR9HE02u7JLWOxtZgR0VVtnMUkD OMYbpUIYyupQe5OFLZ5io2VO0Jurbk9A1YKOTnJHfVBi83jMi4TSQV4z6SUOdgResELi K5Umsk9z10ZS1EGE6P9Lao62rN9Ov4ZW/cnHwO+aDvcXZJ58TVFUXeZDtalj6a+UlyY7 Al0Q== X-Gm-Message-State: AJIora/1dNw7vL8mi0xsNdo7R+5GVGJ9zEtBWlnCGkpsU3D92uwrWJej 0XZEJJu0wP0LmPEZLe9FAhE9Wvpcgyxs1w== X-Google-Smtp-Source: AGRyM1tNFQvJY7+J5FJC0604mu9Bkx8EHqj45K4sS50gqfTwSfs34EfHAb6EMp+IlfMur817uji8mA== X-Received: by 2002:a17:906:9c82:b0:6e1:2c94:1616 with SMTP id fj2-20020a1709069c8200b006e12c941616mr7539668ejc.64.1656237942433; Sun, 26 Jun 2022 03:05:42 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.retail.telecomitalia.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id a7-20020a056402236700b0043570d96d25sm5602935eda.95.2022.06.26.03.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 03:05:42 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: Fabio Estevam , Stefano Babic , Amarula patchwork , Dario Binacchi , Michael Trimarchi , Ariel D'Alessandro Subject: [RESEND PATCH 4/4] configs: imx8mn_bsh_smm_s2: add mtdparts to bootargs Date: Sun, 26 Jun 2022 12:05:18 +0200 Message-Id: <20220626100518.1583356-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220626100518.1583356-1-dario.binacchi@amarulasolutions.com> References: <20220626100518.1583356-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean Passing the mtdparts environment variable to the Linux kernel is required to properly mount the UBI rootfs. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- include/configs/imx8mn_bsh_smm_s2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/imx8mn_bsh_smm_s2.h b/include/configs/imx8mn_bsh_smm_s2.h index 1eff8c43701c..d09c2ab01610 100644 --- a/include/configs/imx8mn_bsh_smm_s2.h +++ b/include/configs/imx8mn_bsh_smm_s2.h @@ -18,6 +18,7 @@ "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ "nandargs=setenv bootargs " \ "${optargs} " \ + "mtdparts=${mtdparts} " \ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ "nandroot=ubi0:root rw ubi.mtd=nandrootfs\0" \ -- 2.32.0