From patchwork Wed May 31 05:29:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 687283 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1083739wru; Tue, 30 May 2023 22:30:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72374jA7pEOmeaGMKVoHZcWY70gxqBMYzKs6392oI6eGkRlKSaLLW5ETvD2/E0yPPkCbsz X-Received: by 2002:a17:902:850b:b0:1ae:3145:ab7a with SMTP id bj11-20020a170902850b00b001ae3145ab7amr4072593plb.9.1685511011216; Tue, 30 May 2023 22:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685511011; cv=none; d=google.com; s=arc-20160816; b=wb8bQHsxjX1MmI3DLYPr8oRlUH9+q5SraimCZv7sntePa9X5sJ9tcZlJ3+b1z0CYCi X4qv2Xt1UXnx/KD2KgNxEEJ9CibZK8pwQSKJB6lpX/eHnImUN7XAQFzAp2CGB0jN7fzh SRrCLmTzw4MYqJByAUj/rABUViiLJXOTtyLNJyN0zMGBYNwptRulrVFmxbaGaRVJwwYx KkBw9Kt01W+PvG2Lk+PlHSoylPsWxpuR26kVSqtDCEN6KJpZiVKo3ir9RqRckHog9lAi DZ+g7eZDD4VqRhvPhpL0ptBVKGZGD58bYUjEi0dXRbeBQ6lFPNXJvjXRyHYaf/C6pgb3 WFgg== 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=DS+I1k2dMYKNQGlgkX2ma2wg2pxC4PwS9aKKU1IBJKA=; b=LLwaEknCJlQqeqeXi1WCs/KWJpJgaBI+u4OUsRblp+dM3uU5mq9WjY5bZfAOsLkFoZ DpETHi99DgTmiCU+VD7OWnewCAOYMAwJFTmRcQWcOY54zftuE2mW9RqUeowPgzQbK9yB b6HJT0JGCkubImUTqdszy3yypQ9GbfuiRzJgp/E7tVmZV0V8SbznjdiSk+DxB8BX/Jyp vnz/Up6vvgBkYofZPhp5gdWduEFwX/tLVqSM25PqbzeN8RkPG5j7CqoZEgtlmBuKnamN xvCB/nG6zUH8E20UXhoNeXBR9woOfm66AWc2xfswkVvgUPdqWZg/uoe2rZ9cXkIy71RC X7Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OhjMDNHA; 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=NONE dis=NONE) header.from=linaro.org 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 t13-20020a170902e84d00b001ae42afbf93si277376plg.450.2023.05.30.22.30.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 22:30:11 -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=@linaro.org header.s=google header.b=OhjMDNHA; 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=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E9505861BE; Wed, 31 May 2023 07:29:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="OhjMDNHA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D66E1861BE; Wed, 31 May 2023 07:29:52 +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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) (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 F3A22861D5 for ; Wed, 31 May 2023 07:29:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jaswinder.singh@linaro.org Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-565bdae581eso66169987b3.2 for ; Tue, 30 May 2023 22:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685510985; x=1688102985; 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=DS+I1k2dMYKNQGlgkX2ma2wg2pxC4PwS9aKKU1IBJKA=; b=OhjMDNHAAPJ0x9IBAt0nwdw5ZAwcWD0hWBD3NXuX0/WAar0PqcKBgjnHXHRDVs0XZB GdjR/EtRHsCxobks7+V75d+rtiDj+2dRZxhA82QOZou2X67L6FNa8e/xA6XFa5un4LBY DU14eDGQpsL0HXFIVGc24KOwJ/I3MyRVx/Kd286Im6ev+lKPQ87ABZnh+ylTBOAZckaJ ci4+06yegj9Zv/vN1ffJi1VMIom/Raos1AfifrW6+CBEhqbRA/0d7xyMaRdCq6jw94Kt YHQrDHBq04KTQ8bloi0xeEN52CT2uSSnNQulE2wd/CUMntpN9EIkizx6gorylaslMnBu kW8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685510985; x=1688102985; 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=DS+I1k2dMYKNQGlgkX2ma2wg2pxC4PwS9aKKU1IBJKA=; b=booNDZLdMupkTldlYZWOVIgRrfxEJEfLtxQ2bQxuMWxEEzP9GZtYkgymUFnXnhhBMg UhzHN3d0YWu7Y0vjGYouhAy3geyIdOWjju3XoYNZL5TDqcWUypxO6yENb2WO+a6cIx1m dMPlNEr9GrqLqd1HxNZ7MYdF/2/fo1ZrHsRIX3h1vELjSu0EMNSZ2eQMbNk3f7LUOoKB U98FOnUzcDp6b44WzDdT4NODb7gWQexa+RW97CodR9+vRm4ksH0t7DxbjG0cs9oMVqpW Kfh6L3JYzenV/qs7fDqdkfyLLN6suzpILCYeJxC0ZC3kBMe+/1u5wTHU4X2iDRowHhVn mS9A== X-Gm-Message-State: AC+VfDzqR5n0BRlFz7dhysqQHFDSrqaEtfPGgJQ32AbHMqF1/YWYLDE7 6CYoX6jiNy7cbN8OfxTsuQB6s1ZBNj5MIr3mx2k= X-Received: by 2002:a0d:f887:0:b0:561:a80b:6647 with SMTP id i129-20020a0df887000000b00561a80b6647mr4428231ywf.45.1685510985496; Tue, 30 May 2023 22:29:45 -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 u185-20020a8184c2000000b0055d7fc2b704sm4511892ywf.16.2023.05.30.22.29.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 22:29:45 -0700 (PDT) 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, michal.simek@amd.com, takahiro.akashi@linaro.org, Jassi Brar Subject: [PATCH v6 4/6] config: developerbox: move to new flash layout and boot flow Date: Wed, 31 May 2023 00:29:41 -0500 Message-Id: <20230531052941.21940-1-jaswinder.singh@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230531052804.21871-1-jaswinder.singh@linaro.org> References: <20230531052804.21871-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. Acked-by: Etienne Carriere 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 68f7bacf02..0c37897c9a 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -1,13 +1,13 @@ 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_SF_DEFAULT_SPEED=31250000 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"