From patchwork Wed Jun 8 16:53:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2043 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C04173F1F7 for ; Wed, 8 Jun 2022 18:54:05 +0200 (CEST) Received: by mail-ej1-f72.google.com with SMTP id pv1-20020a170907208100b00710f5f8105csf5037539ejb.17 for ; Wed, 08 Jun 2022 09:54:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654707245; cv=pass; d=google.com; s=arc-20160816; b=NaaD4RXMKfqfH2BI4Jw05+CA0CVtyda0Gu/piGgbnoxKi888XnByo9Gq24Lih3zdx3 MxY9V2fpr2GZVHLNUTI8YQX2x/+rHV38SzELx9pHIFp5ODZ1tocRa6kzTOVKZDFgcX2e xeusiwo9FV3B4YD3qVdEnQV4n1bTWYysUxeN8WsrvOY3Vi8yocGq0XXc7owf/CL5WyA0 469QcpPMFz9JuUpnuZyBDy943xTJtKBAsSYI0P84vxKPBqfyk+QxrM/6vpT3Soag9Ofg pg3hYYfCFNVq43KxPzSynoKYP578dzF/Wb8Qge+iq8BOdlZMlqb04qp0Rs5AYWOnn7HL q/rQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6ZGjbOqUJeHXm8zFQx4b0S3atjFtdpngBBcqQo9qDIs=; b=QS68cr4NE0YpfPJL0/1UXOXbgsJjDeAntzELkK1mtAlWieN1kpwuvVPyEcn0r4snHg V2G0mC+nVwd/8ma0WLTRxeHbNl/w1NV7VkY9NTQoqcH5aZWco2PuOtxnRXZY5EMbZHil 4zz37uuaeGdnu0UbYPt9pAr99NZ0Sgcs6qFcNq9QBe7LD12S2RCX6n4anj1BSCi9+Brk WTs9rg+QAaY5IhuzXJ/ObpfR6kSYH1JIhPebiUODA4imto2O9/yTT28qyGrrapUXgZ2a HEUTDQngSpfBMq8Ce81xxnQbT8d6Yti237MzwtMlEs7f9h+T1gRFsetO7mHQX1wGELpa SavA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KLIKaSWq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=6ZGjbOqUJeHXm8zFQx4b0S3atjFtdpngBBcqQo9qDIs=; b=fhfpN0Bycv7NbggUXXJU3om9Ikbtu/Fv1dD0fJwvTOr5LigXptrRQCJh6mYMJPYBgy j5uWEc84w+QbxtyQpCw4e2G9s8htWoef376XtN1D4M5CJDGpCRz3Sh7Otrb5s+IDIkLd /K+q+XVwaYzf9bvbTcs5QYU5FAFspZuF1exbc= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=6ZGjbOqUJeHXm8zFQx4b0S3atjFtdpngBBcqQo9qDIs=; b=KR9uE9MAW+P1Kp5nfk4hBCUYxYFfEWFwaSJx414owyGBpWTzx2VdkA89Z41qDYaAnJ wIPWPGQIOB/28NMTX9jJlFZ5CdiGNPnqwHfRWQYdkxFHpwURs/24306qwyt+A+gG0wBr N0NdmHe6F3VWW2AUHhGpPv03M+xJvvL/1XV6oFKXdiQJVCQpvKBAEcUC+Hkh0enIYMJe vVqF8fim0wdD4ydzHwAgeX3jAFz7ZV+edVsQbh+LTC/dzkvb3Mauo5/HAjjxxdLrOMqD Z/dv+6WOVK46XUksXKQdH4nLEpnVhgC4TVMqfYLNqsXT2TMH+TmdVqRrIT+B6RX+rLx+ 9Nog== X-Gm-Message-State: AOAM5336BaYJkBrQ90/56HeKMJKv46llWENUoDlaUKyO89ZQdX+2QGqF QAVS+jUl079a+9L9CwSm5UIM1CMW X-Google-Smtp-Source: ABdhPJzpTdPlZsiRUInis0WRJsYEC8KW58ahXtAGhwuwvHwGZwqfhosq31+qLWA4jUGQFHPz+lr2/g== X-Received: by 2002:a05:6402:4386:b0:431:9cc4:1214 with SMTP id o6-20020a056402438600b004319cc41214mr7228757edc.45.1654707245619; Wed, 08 Jun 2022 09:54:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:2741:b0:41f:7eee:e393 with SMTP id z1-20020a056402274100b0041f7eeee393ls195615edd.3.gmail; Wed, 08 Jun 2022 09:54:04 -0700 (PDT) X-Received: by 2002:a05:6402:3594:b0:431:4cb8:c7b6 with SMTP id y20-20020a056402359400b004314cb8c7b6mr22115198edc.334.1654707244655; Wed, 08 Jun 2022 09:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654707244; cv=none; d=google.com; s=arc-20160816; b=ISKHmGi9k1CENUTkixhmXywj6ZcWPzhJ0Jqo1vtG5OIbKmUPlNNi3BYowazdbIAIfu 3vEmhePfsYX2g/5P58cn/KmIrUHUfZiXQt6m0aijTTu7W7FWgaXBmcFYIjduXPjsbBW5 JrJ+POZxyiMDKM2qKcGuQK0HfKn92NXerzi7IeFVrLh0oEa2NPt0clDYon12axxsC6gv qP63LPflx9zMbdU+YJ4QUQGIHWTYQnOCvhFqfTRRBNdM2sl2RIDOHB72bVUavH8cChOO d/jWoZ4Y07+/YwvUKf1QVkG518gfLOjg7+nUSlMDTfHWkw7huqWp6q6oBM7380X0gS1s g7Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XvYv87ukHvyE+DctfWOfxaFamOoD8EomQVqR2av1d1E=; b=rUMV4GRErh6sdDQkZWJDXtd3qZczybkhV2/sesvDH+RBC7AFO3OoSTIdVL23j8Ua1m vA+OEXwJ8A8X4GGIjUz/jVGPJdurjFzct6CZWCGiBFrbsCGsR8oewJ2dAV293AGLhT4q 9UXi3jTNqGM5H2jBLMMuEVgiY8QXGU3mqqbAxTBrfJEl3JED8HwekggdlJSrqPOffBZk tkONRSPWN1tS7Ig+hMC7nerukqH5sD6ztlCU7I8Xn0hPjUDOOfahM/URZR1I+MmfiEJs SwmvwPG3NBScpJt9YR6Hc/JJMtd9fZ1a8WD9D45HUHlo0qGfWxz9R+y1HWcvlce3xTEf T7gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KLIKaSWq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id r1-20020a1709060d4100b006ff445e5d40sor10023474ejh.4.2022.06.08.09.54.04 for (Google Transport Security); Wed, 08 Jun 2022 09:54:04 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:54c3:b0:6ef:d07b:c8ec with SMTP id c3-20020a17090654c300b006efd07bc8ecmr32124140ejp.687.1654707244489; Wed, 08 Jun 2022 09:54:04 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id jt2-20020a170906dfc200b006f4cb79d9a8sm9410251ejc.75.2022.06.08.09.54.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:54:04 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Michael Trimarchi , Ariel D'Alessandro Subject: [PATCH 1/4] configs: imx8mn_bsh_smm_s2: add NAND driver Date: Wed, 8 Jun 2022 18:53:57 +0200 Message-Id: <20220608165400.1575815-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> References: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KLIKaSWq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It allows to boot from NAND. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- configs/imx8mn_bsh_smm_s2_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig index 49f425300151..08f52e50609b 100644 --- a/configs/imx8mn_bsh_smm_s2_defconfig +++ b/configs/imx8mn_bsh_smm_s2_defconfig @@ -30,8 +30,10 @@ CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_BOOTROM_SUPPORT=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 +CONFIG_SPL_DMA=y CONFIG_SPL_I2C=y CONFIG_SPL_MTD_SUPPORT=y +CONFIG_SPL_NAND_SUPPORT=y CONFIG_SPL_POWER=y CONFIG_SPL_WATCHDOG=y CONFIG_SYS_PROMPT="> " @@ -65,6 +67,9 @@ CONFIG_SYS_NAND_USE_FLASH_BBT=y CONFIG_NAND_MXS=y CONFIG_NAND_MXS_DT=y CONFIG_SYS_NAND_ONFI_DETECTION=y +CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y +CONFIG_SYS_NAND_U_BOOT_OFFS=0xD8000 +CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x4058000 CONFIG_PHYLIB=y CONFIG_PHY_NXP_TJA11XX=y CONFIG_DM_ETH=y From patchwork Wed Jun 8 16:53:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2044 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DE0883F1F7 for ; Wed, 8 Jun 2022 18:54:06 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id g3-20020a056402320300b0042dc956d80esf15202406eda.14 for ; Wed, 08 Jun 2022 09:54:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654707246; cv=pass; d=google.com; s=arc-20160816; b=Ol5LL3AXC1qDCTrzbI9IXZfeGOgfjQrxL1lbJ9RGq6n2VVq8hFZzzagQotgcMKzspx d+NIw5t/n44721BY1QU8mKFnT8oOmGZkWsz7+SzxcetGgOAFve1n/GZUOlFLIlzAsMVC eX/WnqXAQVwDqE8fVwarvtC3Ej99HKnq4CuLyU4Bo3fdnIr15RE9Js7rMuoh6VYLcN1/ eaMXAoi16raUCP+6lMNJ0m7jVAj6gdlheBQtnuA99+MxsHJUMVhGpvQ8voOG9yDw8PDI tM9iDANGrXAZDfYdUcTFvXgkQM/U7fgF7JsXWTGvd4l+LnT6pqNfVHURupastuNEGPo6 o2Dg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=UaXx69SG6gYPDmI18AJ2VKgWFoBk+aa3ui2/1wMHjJQ=; b=I/S1Jk2tyb8rPwDCJqgT2OrIKn3Mzs7mPDqtShbAv1s63z/DIyoJpe3y4J8v7c5328 LoaGBgAx18sEnIpYCGcoXsMCMAkSdQrGPeHuyeeX+TQ5fqreYEdydQMTgkq7+jTZB5Gc LvcoW2mIH2Qo2E22hUhiHf168oF5GMrVv7YEzwUtn3g2VbBK6cqBEDayHUOrjUTGOLhr gMH0xheWjKr+uvU0M8uifcloZrGvgRoY7oqvfpyAfJ7jBC6DMV9ZL8jrmhWXRnH80AnQ e4kKCyp7wYgEl12UHiXQozd5ZESIDbRZQ998a9CB2uwnN835JLjIirp+kDPGi6qH1qRH ayuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VM69N+gg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=UaXx69SG6gYPDmI18AJ2VKgWFoBk+aa3ui2/1wMHjJQ=; b=pvTwj0xZWFaSNV0VU+pfSXQz1Iys6Fi6ZisPdCNK2JGXjskWYmYDHk7KgGf9QhZtjG aEoiDjA5Q2d5SdH0a72+Oo9QAWIFIvCPMBQq7GtaJfXchLvIhs9OO8B858ii6LDYTZxB uOElIx83c5p7E4JIsZOl4Gon9+INWU2g8vAyg= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=UaXx69SG6gYPDmI18AJ2VKgWFoBk+aa3ui2/1wMHjJQ=; b=X5p04JxcVvcfz0lgihU7Rx8zMOsbyImZxO2RH4G8GjpXQCV1c/pjMwb0nh9OfejjdX k2qlEvIhf7zN77r7zguPLJRzYfDykGSxakmyPYpuCb4JsaVYPTL1a+OOvJ4mM4NzLVXr 5gz6/f7BDX5jH9yadu+Fr5v+syPoaLMuTImT4IuyGg8O3CNL6Ki27Nx7qaR8Xpv7+paC wDt5M1zjuqTr+6C8sap2RNK8lBxqgHYhzCmZ78y+4xIBjeNHi4lrK06mwRZnMKYbUVPW yky+4iCRx0oqQygKK6gmenzCRaXpKDBhXB6oFAxW+4N1KcF9uXp3Eg+F4MvrBtFYgikm yu8Q== X-Gm-Message-State: AOAM5307ZDTvKGkyA4FA9zw6yQ7f0ErKytjZCQ6AO0cgQ5L+hnONRzDl DOS5QXiwtfmZ8eSEKThTUf6JW5Hw X-Google-Smtp-Source: ABdhPJw5ZyypEIILNnVIZKaJ3HmRlfwDYn/yO4Nilec9412QRcM4154H779cjGQz4fHAAubQX/Y7aQ== X-Received: by 2002:a05:6402:2806:b0:431:87c8:b45e with SMTP id h6-20020a056402280600b0043187c8b45emr12316065ede.130.1654707246739; Wed, 08 Jun 2022 09:54:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:2741:b0:41f:7eee:e393 with SMTP id z1-20020a056402274100b0041f7eeee393ls195663edd.3.gmail; Wed, 08 Jun 2022 09:54:05 -0700 (PDT) X-Received: by 2002:aa7:c492:0:b0:42d:ed6a:26e5 with SMTP id m18-20020aa7c492000000b0042ded6a26e5mr39886840edq.64.1654707245795; Wed, 08 Jun 2022 09:54:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654707245; cv=none; d=google.com; s=arc-20160816; b=vggPJyjIwHYDebWAyQcnz0xesIkx9NInoWHJuooAYFQyRKfw80Doqnq6idL3lzoU/R 49kuTHdzdOIM38sdapAw3sznseOKnZB9cgqk2oR9f1E638QZRhv44azi8nWKrwKRMfrP Wt2enRVvhWSo8ftmSgKD0ykLAWC9m2J1Kh9pzIfmp2mPxtWZRNexA+H4d6pr1N6MgrRX ci2Zb3KZLfM/0hEU/nBCMnFy4DP0aarLUhdIpJ7o3CkfloLYlNY8rBnpRBPOOmQ0t24g efxyhK8mJG67B7msYoAI8NkFrdlThfs1glV/NaNQKYMnU2JQpEWTl+h29J82IpMxjzW6 Zkwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=NsSdpyV2eyKo+2LGnGCFzH4FyMAqdHd/oVEM2U9iePk=; b=htV8LfOYY8PztQJKFQ1iysdnToUgCkI2AYjY2KOmX1GcsvDrryU5BsguVJmToQyWoI mVlJ3roWK2kZhYKZkZ5OKfYi1gd/Ar344ccYXnO5Iqj0KjBL/KDLXXBe34KZBVzkU8Va AecY1qFWwC8qXp0VALRlv1ObzDdswwYGoOEVVOLY/7Puyt2O0iluJvyBsT5WkDRKBpOL JQKPNuKw0OrEZlQmYndAtBjS8DnupwcEIMow1rbmiK9wS6HjzTLHzDCDDHzXAnKPiUgu 5i9U5JJw6SB32O36meVXK+G2zX8DKWF1vrxkGL6eoCfTz7qUQhBZbcGOg/BuePoIoxM4 Epog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VM69N+gg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id bt5-20020a170906b14500b006fec66f1502sor10215582ejb.53.2022.06.08.09.54.05 for (Google Transport Security); Wed, 08 Jun 2022 09:54:05 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:7d94:b0:6ff:1580:4d01 with SMTP id oz20-20020a1709077d9400b006ff15804d01mr32791150ejc.231.1654707245581; Wed, 08 Jun 2022 09:54:05 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id jt2-20020a170906dfc200b006f4cb79d9a8sm9410251ejc.75.2022.06.08.09.54.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:54:05 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Michael Trimarchi , Ariel D'Alessandro Subject: [PATCH 2/4] configs: imx8mn_bsh_smm_s2: add UBI commands Date: Wed, 8 Jun 2022 18:53:58 +0200 Message-Id: <20220608165400.1575815-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> References: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VM69N+gg; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , imx8mn_bsh_smm_s2 uses ubifs rootfs, UBI commands are required to flash it. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- configs/imx8mn_bsh_smm_s2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig index 08f52e50609b..f8c75a2b237e 100644 --- a/configs/imx8mn_bsh_smm_s2_defconfig +++ b/configs/imx8mn_bsh_smm_s2_defconfig @@ -43,6 +43,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_MTDPARTS=y CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" CONFIG_MTDPARTS_DEFAULT="gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),1m(nanddtb),8m(nandtee),-(nandrootfs)" +CONFIG_CMD_UBI=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y From patchwork Wed Jun 8 16:53:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2045 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0B0FB3F1F7 for ; Wed, 8 Jun 2022 18:54:08 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id x15-20020a05640226cf00b004318eab9feasf3999511edd.12 for ; Wed, 08 Jun 2022 09:54:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654707247; cv=pass; d=google.com; s=arc-20160816; b=SXVFY9XnNvK1BqjVr+85F4Cu9YvopaS9G3Ibwb9OGdUab2Co6f7Hjxw0sX+1ezyfjQ u25nwsn8ouxL49vjji4ZrNhxfJeZxFnUUpCdSXJT17M5DpDT17rcGxdCDplmMkp5sEph aKhUffDSKYWJVRIe19S88aTu1foAlwRzRRLU81eGgEZs0k7bWVWA48KiwSL1m6QO191h uBcHGgK75hoTtXgJvpwSTiyi7epEc/5h7DdT2N0BUR1ja7sN3fn2gfKeM9q1SEJiglxD 3LWUo6QIE0LwSt0Lj6wWMSL4l7a23wZW0F2N//VuPHuNvI367vtzhdeLUpkUTwKk9ng4 IizQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=aBM59OPpabAfIDKEbwtSnNt9K8qytvuIT17YVO9lfw8=; b=KfAR3HZAo6GXiTgwTQMGp+yiD7H/+ov3HL4te6YQ+rv1+vG+VLMiBknnhWGEfDb1go QLcd3qyVuLYi2gSM0lVp1UbfgQ9uv2H7wy3Ut0fVdx5pek9JAOZNRa5Ti3JTUh3ZplIs Shu25w6yjNw4EFQwWqnlmG5GXZsPhyxfA4y3qBrBHfXIcxO6lL7656eGhT0DqIInVLrE JCAHMxw1dtzI0b/Lyj+gYFWqz4PlKRiV9/fxLNx24jVFPG7xB4KdDhfvyYihvNw2Rr2V JNq4YOYoi/cdettfiiZy1tCUVDtZNXnJfyJtg/hSQaaJ6ybStHykwJN5xYDx2WsyCAKP SBhg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V+ETNvzw; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=aBM59OPpabAfIDKEbwtSnNt9K8qytvuIT17YVO9lfw8=; b=AlLhTmtb7Mto/sULo88IbPS6oO8PNe7sCQhEPfA5nN8kKAqRxbcA9Q+W55OrkwVHju 6jt+215Hax2C/3GO8FSQXmdSyevZnHa677FP0BVOIi4FGTIr7HMlhY+teU9D2htOa0ys QwU+Hp8ICEP7MnIs//8iRF0MNrFwjbUW+XDKc= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=aBM59OPpabAfIDKEbwtSnNt9K8qytvuIT17YVO9lfw8=; b=S0bZiB5VebWIBd5AUrol2LKQpX6bWTY4HtT2q/FY1gkkqe+1STCXab9ch5jzaERFjX k7CZuRfmoH8gL99vCIR7mB3tVodrd/eaVNtXEfMdk3QbZyYtox1DvaSvqy+nvc7DQmLF CXcMa6lIJ2mApwN0s41TtpAXqy+x4gJQ41DwiMlJXAH2cxT7ZrBOhpykO7IQB/oLDLbQ jwj5sF4QVuI2NUCDWgzMz+vd3dUr14QjMn6kzvHMh6UrT72sUnOHoP8Rf02fX3u6kA0r qAFvFk9kqxonh29v5U3ycXbECJnofmCCFiczvVXhNtBTzfEgWelhlVaicuVjm4Rdajez RF2g== X-Gm-Message-State: AOAM530HkIH72tMW/rxQwF+UEdx+5Dw0Pxt1C2sPs9CinbpODeEdZbc4 GvilvqgmisZs6DTPtgVNdv2dVFYI X-Google-Smtp-Source: ABdhPJyzH/mT43Qb4JBcCv3QcxHWRcm2u16mbmJxFAZc84MwYhXyDg13PD33RBv67IVJj/mC1p7y6w== X-Received: by 2002:a05:6402:3907:b0:431:6776:64e7 with SMTP id fe7-20020a056402390700b00431677664e7mr17927479edb.0.1654707247879; Wed, 08 Jun 2022 09:54:07 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:6a26:b0:70a:1088:57d1 with SMTP id qw38-20020a1709066a2600b0070a108857d1ls1240008ejc.3.gmail; Wed, 08 Jun 2022 09:54:07 -0700 (PDT) X-Received: by 2002:a17:906:478b:b0:6f8:5850:4da9 with SMTP id cw11-20020a170906478b00b006f858504da9mr32209310ejc.619.1654707246909; Wed, 08 Jun 2022 09:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654707246; cv=none; d=google.com; s=arc-20160816; b=WDNx8pGIAxLxS5oiLWOt8xefZDai5/4lCPnI/xFALm5LVai/CElhmKFXEVDCcLpAUD 6msVz4udF1UW2EYxN67AMqsaOAtwVM3YR+dvN7bp6LhWWP3pFIJNQge8MM1sK1qPpbdV Gz37eeKaQfhTWng/bQRiL/BOZW6Uqt3B6cOLDjBARRGUpkwRuJmE+h6e4pMnBMVrSS5K cgvt3+bqkduWlX1XIFMBUuDrG0bpCRmK1jieXeF1ByW29a6ruex5dRoA4PMaG4pgl8NF NoRFTmq5VdByxJbyX8nW8jGJjtUYIfDIdjqd/VV+JMOXTdK9aWdGF+ZRSuQvINHrjHLK MTYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=/l46dtlKKif5hagnRv51qFo1Mz78tf8+a4hvVGZOq7s=; b=GmIV8SThNr9Lj38w3ZGaFATqWPoxa3ykWld+XfjfcyG3sGMns2Iz5afEGqCrxbDL+n HNS3EcwLALXi5nK1CPNGq3TBdWYKxRzKp1mwRnFmcV9qQtnBE6Wz1SObpXzXFdDmkKbR Tht+aAlKlCdwA5u96axQ/RoM87p3PPeZPC+6ttG+Rhnk/+CrVL0SlmeM80CvKMVvX6e8 7j6Tu6NeK+LwiVvpj8+Tth7TeNjCk5qMNM6GJABiSPddPd6efZmXXZAcRIP1FdL95Qht 2ZNJKOuZwsQD4QstqXA1ZrZGGynZzCcYa2YbflhUVxlGd9iRUSzwLR5+A+76AFUxxVIK MGGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V+ETNvzw; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id w21-20020a056402071500b0042aaaeca870sor12406365edx.37.2022.06.08.09.54.06 for (Google Transport Security); Wed, 08 Jun 2022 09:54:06 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6402:2948:b0:42a:ae0c:2f26 with SMTP id ed8-20020a056402294800b0042aae0c2f26mr39855176edb.425.1654707246728; Wed, 08 Jun 2022 09:54:06 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id jt2-20020a170906dfc200b006f4cb79d9a8sm9410251ejc.75.2022.06.08.09.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:54:06 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Michael Trimarchi , Ariel D'Alessandro Subject: [PATCH 3/4] configs: imx8mn_bsh_smm_s2: remove console from bootargs Date: Wed, 8 Jun 2022 18:53:59 +0200 Message-Id: <20220608165400.1575815-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> References: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V+ETNvzw; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The Linux kernel device tree already specifies the device to be used for boot console output with a stdout-path property under /chosen. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- include/configs/imx8mn_bsh_smm_s2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/imx8mn_bsh_smm_s2.h b/include/configs/imx8mn_bsh_smm_s2.h index 098f23b206d1..1eff8c43701c 100644 --- a/include/configs/imx8mn_bsh_smm_s2.h +++ b/include/configs/imx8mn_bsh_smm_s2.h @@ -16,7 +16,7 @@ #define NANDARGS \ "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \ "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ - "nandargs=setenv bootargs console=${console} " \ + "nandargs=setenv bootargs " \ "${optargs} " \ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ From patchwork Wed Jun 8 16:54:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2046 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9A9563F1F7 for ; Wed, 8 Jun 2022 18:54:09 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id ee46-20020a056402292e00b0042dd4d6054dsf15228836edb.2 for ; Wed, 08 Jun 2022 09:54:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654707249; cv=pass; d=google.com; s=arc-20160816; b=a2WiymENIYoPWY+MdciOL2t+CjIsjsG9O1IhzJ7ZNu2GpSeyW5qRvcwHC55jApFPwl SCH/tdoNNojHmLmStuPJAGB0kNG+ufWJdGJhbdRsgAHlYWD//qWv8bqvIJOozyAG7Hdt /lpoQ9wMQQx3o8x2NVqy6Dg1GjE9nrH+0Q1mbc+Qiupza2BrUJdqB7Ai9zarwN0EDRDL hlRVYJtHi8WTPhqVUpMAXlStXwJglqi9LhpVonhNSQO5Ug7LuBvIue+Vhs8dZPaM356p lZ/mRaeRvtruYf7DVXK2lbq+n3WLLn2BOeeIyWeZTUtwtDAKjSu2Qq+yFi23mt6vzF5G 3lOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=nYr83EVIkuCO/F8On62VMI3Bw2/w3rjhcTnwVMFo4j0=; b=YcUBXVmspc3mkgCYp++vdYf22aJjQsUeQohvclVeZ+m4Yt0tdY9SkouU0fQ/zX2Qru LV+uS8e4UeLsijQ75vXMn5S6QfbvLpOGX4WYucd9CsVNhQXaGBFC88R5ZYMwly5XVqEU PrHFXPBZzn99hsAlapWLAanMvIjMpC/h2utAupyeogI+gHoepJi4zYc1f7uQg41ziyj6 xhsATU10TTbP3PAi4hUlN3rcGQMhTbwhAeZw0zkap+nbIvRJtaUsigk+ii8xPxBNfwtQ jrq9i9yvDB+c4Qh2pR1cznlwbVXwrKWkMz/jsInlvGae9IdQ76zo7ZbDJsftLmemGsFQ XOEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m7DlNhQc; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=nYr83EVIkuCO/F8On62VMI3Bw2/w3rjhcTnwVMFo4j0=; b=q/FraQq2iJw3/pi78QXr2qAO6UPNnMkrCsm5uxg2eATUiHJdtaJMzQGvRPt3me7vJo UGlY2YNOB+Ea/Yo0k31npQFboVod8J4khnBPHMAhVl+HLO6Mx4NSw+GjBFafmkdJl6gM cr38EwYmxGBmvH96FhYfRZEePDUbn04iBGFzw= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=nYr83EVIkuCO/F8On62VMI3Bw2/w3rjhcTnwVMFo4j0=; b=qoDjRXf1ixcTVyEgoV1TVuhElBFCn4u4nQWnu1aC0AuV788Vfu8A4XT9Eb8W5VzDeE 4zbHup+ZbQ0tZf634YeREBWBBlqiV1GQv2KXPXM3dX2qGwGn0HPkk3UqR19JbPfOVAip HtYcN/j+NqdSzKjOyeModHsK5pujiQgRD9TnAaF+DJ/3+p+Z+oRapo+WKnSHRYY95KUB L8XXLOIs6YU0XgM3qJj+9Am6qFPTb7A4YdA3i547vdkv7i/2fx77eJzYWi7ILJRp5Dsi eXXJsLdP5tYMxje86rl2uyr7fZNmvpWYTWLIRdvkFD3c03H5Wy66+zCaj6oaUKbYXjX2 qOsw== X-Gm-Message-State: AOAM530uJH2B7n4tJHotyHnGYCepUjpNwuy8JNg+Q1K6hfiRfvKsXIlj BQLaB1q41uCrm1taox8Ho2eSKGEC X-Google-Smtp-Source: ABdhPJxXUSwE6VMdlnwlvpnYFyJTdTPhtnEr62AGmts9rw+Zvx+G6mcW+q9vk9Zz4if2XPXcf2VrGw== X-Received: by 2002:a17:906:5393:b0:711:ca9c:5589 with SMTP id g19-20020a170906539300b00711ca9c5589mr16848846ejo.350.1654707249240; Wed, 08 Jun 2022 09:54:09 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:2ad6:b0:6fe:976a:7a5 with SMTP id m22-20020a1709062ad600b006fe976a07a5ls1336619eje.7.gmail; Wed, 08 Jun 2022 09:54:08 -0700 (PDT) X-Received: by 2002:a17:906:3bd2:b0:711:ce53:5d5f with SMTP id v18-20020a1709063bd200b00711ce535d5fmr16068488ejf.500.1654707248072; Wed, 08 Jun 2022 09:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654707248; cv=none; d=google.com; s=arc-20160816; b=xFdkVXgcsmRMnBOJwq7D6uArtYLQJNMoOvKVqFuyfuvnHnGA6J+ebmjJz6NsGleTQL uH+oM7hUiR4COqlD6i0sIFipMHbXFuwR/kHlskgCVdF3mIJzRkc9v5YO0yGOUmzLxh5v i6+tUc9wCI8EGAU5QnDfPKGS41Ut0O/bx3IGrAJAegaIeBpkpe9dGX9eoOdUVMYyCSmP +z5L+8YUYasjdT6/OxnB2EmcUHsWH2sFma2itMV6I+fGSIpQ5dmvsMZXJIPqHZewkn5L ErDHUJPfmOLVSxIK8pXIO4f/moNkx6b8irDGHO/2k4iPB56HjEhpY14ATyYLwmNmsGJm MdJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=2/ucg537xPZbFw9vhb74o1HTA1Oa+2BKIp6iPUCuWmc=; b=F7MY8N32UxdMnzCM6Y0bEkeosXhhcrv4g1YpaIDnR7LLPIyhTwB0fh3e7dS17YwPht fBkuvH24mTggyoHmHAsKQ+GOy4kvLWqCKmmMQbmBOc3R36co3UdsQfWnNWV4tQtByM+1 huYZEJSz9+4J8O8clxnWXZCMxvNEwjVTRHpOkjRb6H+DkTfnU4WLrpSk4ROAVvNDzBxe vf511KF/7zLFnMzee4TYzkjbITG3E65n8hObqQ55LJmvN75NGIdZghV8BvV3V0EuyV5z d5u0aVkqF+Wq+Hx/7h3c1qRtljs4Rhb5GsgN/EPLfUpFYVFSurOJvDT3Z0LD1/j7/O0u xmwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m7DlNhQc; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u3-20020a170906b10300b006fea20ed1f9sor9833547ejy.93.2022.06.08.09.54.08 for (Google Transport Security); Wed, 08 Jun 2022 09:54:08 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:60cc:b0:6f4:ffba:489 with SMTP id hv12-20020a17090760cc00b006f4ffba0489mr32695490ejc.666.1654707247900; Wed, 08 Jun 2022 09:54:07 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id jt2-20020a170906dfc200b006f4cb79d9a8sm9410251ejc.75.2022.06.08.09.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:54:07 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Michael Trimarchi , Ariel D'Alessandro Subject: [PATCH 4/4] configs: imx8mn_bsh_smm_s2: add mtdparts to bootargs Date: Wed, 8 Jun 2022 18:54:00 +0200 Message-Id: <20220608165400.1575815-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> References: <20220608165400.1575815-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=m7DlNhQc; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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" \