From patchwork Mon Nov 15 11:59:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 1763 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 77A2C3F0D5 for ; Mon, 15 Nov 2021 12:59:44 +0100 (CET) Received: by mail-lf1-f71.google.com with SMTP id f11-20020ac24e4b000000b004001e7ea61csf6682907lfr.6 for ; Mon, 15 Nov 2021 03:59:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636977583; cv=pass; d=google.com; s=arc-20160816; b=jfY/imDYSv6i3qFBoi4O/9bmUkje3Co3ROauv2qolimW+39YuDHz8QSunR9349QHA/ /YobXv5I2rKrhw+faC1YGhiLQbRYejqm+hZxOD1GmEU0gcTFxpAlaT4SvTV260pFAFi3 QKidBHBvR1ux/qcYKlmGbvTFyrvDOMVV69v+Pv6SP97jTOrVMk1Pr12zmwt3N/Ppw2Bt VVBTe9Q7i+xXH/6SjxGWwPKDpauBPLTpXOJIGkfiAoSu3oDbP4iYbMgX2KxSfxwwegcx 6oaJaVYP5aRv56+H9ArAG7fQZxQxKAmOmxjwDOKwqTq6jTF1z2leT6hkuGma0Z36y3gE Dhzw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=x6yMsbmd3HTa7A112uSg3PHNGwXMCtvuIJRmxscZcHs=; b=FCxsMOL4Q9it4F8OhPp19OzSsc4i63h3PI2E/31+6QDvh+1L7zDycAf2yZF4X4x/oX KyWBb+yK/IEpYOqly7UyJiqraJUkqL9kuljpkIjU8ZMZVNF1Za/Ved0IXnRxGTjeUP7P QpPkTdngMkGc3fMUuY6Qy8/lrI99vRzn0B0Aqo17kphWzhgvXiVVR4397pMnYJFR9Eh7 tlV7MjyczyJ6JGrNcUW4VmzQ0BWIfqlt8EZkrr7m2QeNADpRUzfTq5Cd7dDP2IPD8xNT 52zVjkT4z5wB7t5bTxhRkPSf58Jjj5KRltUmVxm2CcE1trPgszVSRLdXxgHozx6h2MOE /bsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WTm7uEv3; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=x6yMsbmd3HTa7A112uSg3PHNGwXMCtvuIJRmxscZcHs=; b=dJe6+YM9rMULF6e6wi3ZvjyapeXxjpn8FWi7Jk8MhO6S693NfFLGlAI4egLsbxEPXx JqgtBaJGREkiGqInD9xIHAbou/H60Mag8D/jBNkA35PAe/TRVRhzGfdkTlHAYYnqHzH6 G8k1SixOJMq2KR9ouaFBYxcQSEg1UQoXi10+8= 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: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=x6yMsbmd3HTa7A112uSg3PHNGwXMCtvuIJRmxscZcHs=; b=bO09Vgx52U0AAvfV5ZAMSpLYm7rwCf5pubMWgz8oTAzCzYpWbfo4A2hjpfMMhpaMXe Hhrf9/k1izN/kT0zn6Dz4GKMQoU6Q3Doy9IUFRinFtns5YaZbwXq265GT8vt9FA+P48p vbViu6R1Ov28C0201eCeQoaoQdnKhh5sgOdmY4KJzbvVUcU+1j9OnBexRbs4SMgIINkd d240ZR6nin9Z/DOgLgmmeAzFi6ZUQdzkIkFSpv6A6eLQ1Fmgzrq19TqfH2GRDz4juvOC b2hG2KtxRcJ02uhLa4s0QJ102XaXBrY76DOVMjLNmaOq8AmxxBHaPiwvDtcTsTXz5TDN JoMg== X-Gm-Message-State: AOAM532hV+RNDwk/IJPvNcUoqA7DRvT3p63jgQhpsfK0I1QIU7j4+B5x wk/87RVZ3egXtCfczCKx26dWzHqW X-Google-Smtp-Source: ABdhPJwi6hOXFNh3ZVDT3O3B6CRFf4bbaXz+zsbcB/r7Hg9UiXiusaQeQljobM1fPJDK7fewnnDhow== X-Received: by 2002:a05:6512:3195:: with SMTP id i21mr34582656lfe.50.1636977583636; Mon, 15 Nov 2021 03:59:43 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:2610:: with SMTP id bt16ls270449lfb.2.gmail; Mon, 15 Nov 2021 03:59:42 -0800 (PST) X-Received: by 2002:ac2:5f6d:: with SMTP id c13mr33725196lfc.501.1636977582455; Mon, 15 Nov 2021 03:59:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636977582; cv=none; d=google.com; s=arc-20160816; b=byfC4mQv8r8Fha4S29GW0n46PvnFzzc7WWufYijNPrOjCKP/57gV/bJdX7iZl5EM8H E/FrVxFUKR6Y7Bjf7z7WxwbDq+yJvxCr6xjq7j6NPviQAcsWpRE/L55QtHOraG6ALe3v kfazUrmpw6l84bGi8tx/AI3rEK2FQCwkHMJo4gbcfrBjNloZgRO4hep7ufeOqqe+se0I ngqZtHpwaMWRFxdm7fosWfNPt5N9Ic6axJChxC/k/r389pRfbgmLTvzxvK5yj1QWLLhE EKqzjU6i4AXfpSwM77xKcKLVk/0PxhnUyMljq6xdXBXObzvoWnoYWtJtmNBXavfYwisv 0Tlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=uAdMuOeJTSjffw9W6NkRohcasMyOT7xt2Cm+YxLTMx4=; b=NnPud6OJDTSEPt5d36/DP9Vjep8gl6XZPO5JM1y0N+F+dcIvGsgRfw49wBdvR+cQlr ynwEMZCDjhwaSGT8xw6DdsX2735bWuhNUfEPvOsr9AcfRCnjbX4sB/2tjrAdWmaqFD1C fxCatwCbnV3fP43hjnSWcRvFpKoeLVYRvvkyv0zDLuPd2sBnBwYN/U+afJfwpjiYBKHa iSFYlz3uXlRqEgtN5hsT5s+ey4wyhFdNPrBWa/NSQkOzFMqy4owXkrGtMyMqqWmJO6yC PUhTr7YYkwDHj6KPzza1tK8EWvgBewfjXJly3SAXoIjBeWJSCEj6Tz6qGfWqg1vQWAF2 FsZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WTm7uEv3; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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 y5sor3358065lfa.70.2021.11.15.03.59.41 for (Google Transport Security); Mon, 15 Nov 2021 03:59:41 -0800 (PST) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6512:1289:: with SMTP id u9mr25997242lfs.273.1636977581544; Mon, 15 Nov 2021 03:59:41 -0800 (PST) Received: from panicking.amarulasolutions.com ([2.196.210.5]) by smtp.gmail.com with ESMTPSA id p12sm1386276lfa.265.2021.11.15.03.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 03:59:40 -0800 (PST) From: Michael Trimarchi To: Ariel D'Alessandro Cc: linux-amarula@amarulasolutions.com, Anthony Brandon Subject: [PATCH 1/2] configs: imx8mn_bsh_smm_s2: Add nand enviroment support Date: Mon, 15 Nov 2021 12:59:37 +0100 Message-Id: <20211115115938.33697-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=WTm7uEv3; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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: , Re-arrange the partition size and strip them out. nandboot should have a space to hold two copies of imx-boot. 16mb for each part it's more then enough to handle both size. Move the nandkernel in the second half and allocate space for nand enviroment partitions Signed-off-by: Michael Trimarchi --- configs/imx8mn_bsh_smm_s2_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig index 68730b90da..89a5c6b77c 100644 --- a/configs/imx8mn_bsh_smm_s2_defconfig +++ b/configs/imx8mn_bsh_smm_s2_defconfig @@ -8,6 +8,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x2000 +CONFIG_ENV_OFFSET=0x5000000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx8mn-bsh-smm-s2" CONFIG_SPL_TEXT_BASE=0x912000 @@ -16,6 +17,7 @@ CONFIG_SPL_SERIAL=y CONFIG_SPL_DRIVERS_MISC=y CONFIG_SPL_SYS_MALLOC_F_LEN=0x2000 CONFIG_SPL=y +CONFIG_ENV_OFFSET_REDUND=5100000 CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_DISTRO_DEFAULTS=y CONFIG_SYS_LOAD_ADDR=0x40480000 @@ -40,9 +42,12 @@ CONFIG_CMD_USB=y 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_MTDPARTS_DEFAULT="gpmi-nand:32m(nandboot),32m(nandkernel),16m(nandfit),2m(ubootenv),1m(nanddtb),8m(nandtee),-(nandrootfs)" CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y +CONFIG_ENV_IS_NOWHERE=y +CONFIG_ENV_IS_IN_NAND=y +CONFIG_SYS_REDUNDAND_ENVIRONMENT=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y # CONFIG_NET is not set From patchwork Mon Nov 15 11:59:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Trimarchi X-Patchwork-Id: 1764 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1DD733F39B for ; Mon, 15 Nov 2021 12:59:45 +0100 (CET) Received: by mail-lj1-f199.google.com with SMTP id l9-20020a2e8349000000b00218c7c981bcsf5025277ljh.8 for ; Mon, 15 Nov 2021 03:59:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636977584; cv=pass; d=google.com; s=arc-20160816; b=h/7aMQ8zE2YT6XfXznfDFzrPT8e6Gc6NnmCxxIFrqHkxWhTMxdJnzlQE8rShtQkd7O aFqMEQ+D6qurlpHCTBS5lb5fbq7tEwqhS2p7/rqpdmk0QsQdBcDk1FUL8ss7KrIZkedU Y9YgrsvBpU8Ktgp+eh8WduIk1Ey4fwwWypcGMC6uSU36WVBDPdt0PinEf4/uoVbbFbnE xgxE/YlkU0yj4LLsnTJ0oUKEFmeeKEkSfSkJhlko/PP4oq26kW3+sUAQVOjYZxXJ/4pL NvesBsVu9qriNaSYAwW7TBvCXl882cFQ4W1nL/FgW4gZheZLXhKPIeCsZBkYlcBF4Bcv scfg== 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=CMhAs7nzBYqDp8dd+fHvm2qivs/+ff4aFja6Psub4K4=; b=gyYpK731YRuF3q1bdnRDaln9HRIquGgIQl6ZiSZBsBIkTf/YYq16NHQhlu3spNetxF D7iPYIWOd5f9HbxL5+vIg0ZIxs2WZTyeI7OKk75HDvwvTyZqRlFYcgiMYLRvaMHznK7Q XtVqg/nDp+9N5G1Jh0V5u8/FG6WJ9L/WLD7nR2SGUsZVv5/uKyfxEbj5fouiWeqrajvI v5xtgLHJp3UoAvprxcnWIyQq7p7fGmGlOhCR0KxYRjmMQA8qTpPFTk6N79yPZtTXGnjF wzg27tkJ0kaTg69OUcgo2gOZCwEl8iZsvOfys+8zlQ6upOlGi/yvs8RWEiMbfUhy8zaH Wgkw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GfDq5TMH; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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=CMhAs7nzBYqDp8dd+fHvm2qivs/+ff4aFja6Psub4K4=; b=UxG29VXR3Tx/Vh2NilzLTRC/2st8xQFzvs0BizWc5LnKoPJ1IK7mfbJ9AxNzI9hRQ0 2bc9tFJWiuj/9HIzp5Ki2yoVl3AL07Gq7TVC2l4+caWQnqcWQdtDNwKpR84pZ9Na9yis lY9zp5S30rJMicQn9ExYVzD+TkYioRtSTJ1ac= 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=CMhAs7nzBYqDp8dd+fHvm2qivs/+ff4aFja6Psub4K4=; b=2TALMyEXvLdBhPkui7TQNOABx02u0zSy5fenJvY0fkjkOwA6krn1eQBsecCxX9NSW/ s+DH/uB2jfkKwfLZyhJPQbVsRsvsVSuFnMTR0op7jBYDZRkwx+uDzewIA8rd1vgFzxGn HGpoFJDomPYLPXgQB3e4vbOkkDI3RwOivZ1Xet/FCujftnSRIqyyRIORMZQtx0daDsSQ f6nn8og4OpqlYTZdbWyePbm0heDH46ulz0vamJv73ZkUW3aiDWLRCLR3coN/eXd4lZAU QMH8JG/InKleutfvkcrVQgoFdAthtm8Nk505WSfam/HZCq1fx9qWH3hF/IthfUbpjyBB YSTQ== X-Gm-Message-State: AOAM532Zgra2ZixzKTLkiv22YsjI3+8Gd4+ONJ4YL65F8z9mmxY4Yuhl DOI8BoQj+xzRzo6la4D8kT79oo21 X-Google-Smtp-Source: ABdhPJzje6G7VYqtuRgqz8HU7taQeqNs4B3I3n/HyNUal2bhfdG8ayCHFnsKz9tvOFP2X5VxbeLWRQ== X-Received: by 2002:a2e:6e12:: with SMTP id j18mr36278367ljc.527.1636977584702; Mon, 15 Nov 2021 03:59:44 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:651c:b1f:: with SMTP id b31ls2161693ljr.0.gmail; Mon, 15 Nov 2021 03:59:43 -0800 (PST) X-Received: by 2002:a2e:948:: with SMTP id 69mr36974241ljj.82.1636977583552; Mon, 15 Nov 2021 03:59:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636977583; cv=none; d=google.com; s=arc-20160816; b=uGpu6td0fvZQtiXFn43R/twO+zA8N7MsPdVm8eLajpdok7quWqiJnw+GQcPtq6+CBh VfHIUO4gPP4xb87MYtALu5P42ywmLy1Ninth9Q7TmQSu7lqxmILFWObSSDXdXpQzK8JI IvibjDYAqaCP25JGUP+AsQg2fnJGm1cwkLYXSpP8BbRNPMuafuUKZDZ/RBcNbQn136fP lkgiGg3acrgUEwW4TwtYL7A5EvkFhy1E6lWFk6/DnnUzrL/VPbcLLDl6SE3drXsb9+4m m0EAyMFaGiWPJzyfABnDU7UGM9dEYqv674WXSOgtxu4eD6ab020DXqscMpnDhvWVBZeF j+zg== 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=oBXh0giXaxLn2wTqZBNl08yzu8YlMW6U0hwhqPTn6gI=; b=VVYz5gx6KVx0R+1pwf+eCxsXO0OkkCuCVp1PRn1Qey05bprkDXN/K3SQqCFHMUjLg9 wBWeersAxpXQ/SGamXwxa/zNfOQeUtJjogm2ZKrzNMrHcjgpp6xAFcXKlKnjpUtZs9rH y2a/Alf8Y6/XCHhwZHBGrDJzUUP/SO6hGLCWuc5wQoTXa2ckeYsd39Zl5z5rVxH4Df2X Dx4zkCgcjbQ34OkDTRpusJk4xqIxSHpkVliB9PLU7IQCxCDZQSX+xqATdQCrRYStge4u 9gMiRsr2hM9mH60WXwl2kw7m2Jdn1HIaqKmQE9oLcj/2idoWYlVfRZNWht1IluKp2nmN N5zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GfDq5TMH; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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 v3sor6605736lji.55.2021.11.15.03.59.43 for (Google Transport Security); Mon, 15 Nov 2021 03:59:43 -0800 (PST) Received-SPF: pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a2e:2f1d:: with SMTP id v29mr38427028ljv.439.1636977583057; Mon, 15 Nov 2021 03:59:43 -0800 (PST) Received: from panicking.amarulasolutions.com ([2.196.210.5]) by smtp.gmail.com with ESMTPSA id p12sm1386276lfa.265.2021.11.15.03.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 03:59:42 -0800 (PST) From: Michael Trimarchi To: Ariel D'Alessandro Cc: linux-amarula@amarulasolutions.com, Anthony Brandon Subject: [PATCH 2/2] imx8mn_bsh_smm_s2: Add legacy option nandfit_part Date: Mon, 15 Nov 2021 12:59:38 +0100 Message-Id: <20211115115938.33697-2-michael@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211115115938.33697-1-michael@amarulasolutions.com> References: <20211115115938.33697-1-michael@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: michael@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GfDq5TMH; spf=pass (google.com: domain of michael@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=michael@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 has written in fuse where to find secondary bootloader. The default value offset is 64mb. This is used by uuu to flash secondary bootloader Signed-off-by: Michael Trimarchi --- include/configs/imx8mn_bsh_smm_s2_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/imx8mn_bsh_smm_s2_common.h b/include/configs/imx8mn_bsh_smm_s2_common.h index 5a63f23df3..97fbfc56d4 100644 --- a/include/configs/imx8mn_bsh_smm_s2_common.h +++ b/include/configs/imx8mn_bsh_smm_s2_common.h @@ -33,6 +33,7 @@ #endif /* CONFIG_SPL_BUILD */ #define MEM_LAYOUT_ENV_SETTINGS \ + "nandfit_part=yes\0" \ "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "ramdisk_addr_r=0x43800000\0" \