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 Nazzareno 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" \