From patchwork Mon Mar 27 21:16:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 667415 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d08:0:0:0:0:0 with SMTP id z8csp1316790wrt; Mon, 27 Mar 2023 14:26:48 -0700 (PDT) X-Google-Smtp-Source: AKy350aC1cYX6C4gOKHt4TwVpTWY2jVwk6sPcpG0FViUwWfCQrxsgVywac7qyFirc3xVlSABbI0P X-Received: by 2002:a17:90b:3ec2:b0:234:409:9752 with SMTP id rm2-20020a17090b3ec200b0023404099752mr13749587pjb.25.1679952408075; Mon, 27 Mar 2023 14:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679952408; cv=none; d=google.com; s=arc-20160816; b=Lw9tUPSo376dYRLxF5BLPWXuQ526QRdTaFZN0QzEWrZFORqJftNYFiz0pnr7CIekEr I0pKLuaM5fYDVKOuKuw13fK20FVhMWWw4J6Qyvw94mr2YepDZukAGcWoPanqKT60cXV0 x5XbFOVNUIBcEokKBDxidN7SQmyaVsCfFQI7PrL2PZmrvd0pkR2789KfooxYONLpYBBZ pxyBezspMrznp6gF31Pv78JaP+bc1Wm5ZsXe/d4X7hM7M4TBg6uQuh4nZNFRA5JQAmRe vW1AXr8gtaU9KFGORyZAxUleEDTs1LJ6Kt0F38fRB/Y7wHRJz76GnB/j0ma/LIqS6ZUt Bg9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OXBn5foSwTJTJ2vmulNQTAQcFjz178bCXgid1TBmP7k=; b=XGfAzsNyjGbPFoO7/jTxhrmXxqsx/Mt4GKu3+bTYtGPQVBhEMyuaq84yrXO/p7IZHG O8FmclOcF6WN7nfFRMWoQ7b+BPGI8j6Db+4Sz/TgcKFrnuF/PzaIN1QgjEbBSa9nil0o TpaoF++nmMbqmwf1/eJ7UWlb6Sq8Ki2tC7iJOJoa7+evA4+AitZ671lbyjKzMAaYvQTW iTFijoJQI3iyd/NLHYICKzVQGCWR9p7t5SfobLJo1IQ4VeBciPkkCtwo6nDcpdZOxomV EosjQeOpYoHgYHe95grqDqSLb/BWE5WTm8Dqdbj6BFwDvMk6E7ggTTOSHOrO89YOgZyR TXnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=b0RSOwm1; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id f7-20020a17090a638700b00233fdfd70fdsi6714289pjj.18.2023.03.27.14.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 14:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=b0RSOwm1; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 713B385B70; Mon, 27 Mar 2023 23:26:39 +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="b0RSOwm1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A78DB844BF; Mon, 27 Mar 2023 23:26:37 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 868DB85C66 for ; Mon, 27 Mar 2023 23:17:23 +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=jassisinghbrar@gmail.com Received: by mail-il1-x12c.google.com with SMTP id j6so5335400ilr.7 for ; Mon, 27 Mar 2023 14:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679951790; 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=OXBn5foSwTJTJ2vmulNQTAQcFjz178bCXgid1TBmP7k=; b=b0RSOwm1bFafeyuGP7kc950VT9uH2i//ig06evDFG2dWxGOYOWgYs5gKyq//qd2ca7 biaOphqIQsprb5jWgZfbjybb0O5VgZwJ/mrYvm61JmaPn3OdjlB+zw0rEhi67B2CM798 vRFz+ZrMBUzDPtED2ApljWjsJhtyDNXMisa1bIn4sQ0QboWQJC/bEfT0ORIv3PInUXoC U5zb6ja6mf6E3sDwsFqeZTnH1BE5TJGrU+rh2RsQdqkTm1jvN9UAuRifD8HgfHS9vNA/ NShQwnWLSGHPpiTStLcxv3hhmSrfQhKSYgRK84aU4J5/niPa40WGhPvNg5bhB2D8kw0u 5x6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679951790; 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=OXBn5foSwTJTJ2vmulNQTAQcFjz178bCXgid1TBmP7k=; b=4HIMFrC0x/fLyonr6fWJI6MN9Hy7BtwvcgU53gTg5JwSttBR5ifGwKh2C2QuLe2Wjn Rfa/XX8urxE163cSUwhHVeVydhs9jyPXAv8MedOgWrT+NfxgxyxWl8j6RPlLzWRFP1BT y4kEzzU+jvZq27l+IXbcc56m0ssG6uTWA1VjaltpraKyJYu/zN0jf2ymIYevGzNmbo1A e3pWotShCv9IDRYV+CaCsuac8ONTSYyHE1svRA4D54/5Dy5GiBXfyFqJy1ucJTzpDec6 QQCUxXdOd04l63aMx2sTvLw6srK6yZGwr18tRWTNqErSYepkNESjEId6IW18v5GBXdXI CpHg== X-Gm-Message-State: AAQBX9ef+7+aeP2Z8e+wu2HBr5OK7oT0KI0bAUNLlY++at3I4uYj2b0F kavaUUMBiVktgrt9rmA2z2u6A4ovM6A= X-Received: by 2002:a05:6e02:78a:b0:314:20e6:133c with SMTP id q10-20020a056e02078a00b0031420e6133cmr3724145ils.3.1679951789883; Mon, 27 Mar 2023 14:16:29 -0700 (PDT) Received: from jassi-desktop.. (wnpgmb0311w-ds01-45-177-228.dynamic.bellmts.net. [206.45.177.228]) by smtp.gmail.com with ESMTPSA id n10-20020a056e02100a00b003261422fdbcsm446834ilj.80.2023.03.27.14.16.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 14:16:29 -0700 (PDT) From: jassisinghbrar@gmail.com X-Google-Original-From: jaswinder.singh@linaro.org To: u-boot@lists.denx.de Cc: ilias.apalodimas@linaro.org, etienne.carriere@linaro.org, trini@konsulko.com, sjg@chromium.org, sughosh.ganu@linaro.org, xypron.glpk@gmx.de, takahiro.akashi@linaro.org, michal.simek@amd.com, Jassi Brar Subject: [PATCH v4 5/6] configs: move to new flash layout and boot flow Date: Mon, 27 Mar 2023 16:16:25 -0500 Message-Id: <20230327211625.498983-1-jaswinder.singh@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230327211458.498879-1-jaswinder.singh@linaro.org> References: <20230327211458.498879-1-jaswinder.singh@linaro.org> 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 From: Jassi Brar Towards enabling FWU and supporting new firmware layout in NOR flash, make u-boot PIC and adjust uboot env offset in flash. Signed-off-by: Jassi Brar --- configs/synquacer_developerbox_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 08f19a90cb..09e12b739b 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -1,12 +1,12 @@ CONFIG_ARM=y CONFIG_ARCH_SYNQUACER=y -CONFIG_TEXT_BASE=0x08200000 +CONFIG_POSITION_INDEPENDENT=y CONFIG_SYS_MALLOC_LEN=0x1000000 CONFIG_SYS_MALLOC_F_LEN=0x400 CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xe0000000 CONFIG_ENV_SIZE=0x30000 -CONFIG_ENV_OFFSET=0x300000 +CONFIG_ENV_OFFSET=0x580000 CONFIG_ENV_SECT_SIZE=0x10000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="synquacer-sc2a11-developerbox"