From patchwork Mon Apr 10 23:04:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 672043 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:184:0:0:0:0 with SMTP id p4csp495500wrx; Mon, 10 Apr 2023 16:04:40 -0700 (PDT) X-Google-Smtp-Source: AKy350boepoYjkcyOO14Oi6dCv7Qv8/Lbv3TVvyHQCOAGTDisyF4BM4uOG/E35k6nQ9CF0Hm1/P8 X-Received: by 2002:ac8:7f4c:0:b0:3e3:8ee5:1629 with SMTP id g12-20020ac87f4c000000b003e38ee51629mr13948653qtk.51.1681167880165; Mon, 10 Apr 2023 16:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681167880; cv=none; d=google.com; s=arc-20160816; b=DijjXB47RR52744YFSz7eXrQV8/u70Ognvk+gK8LlQMIDjwJpcnoRz5Fu4YONMfWfL e2ocM5f5urn8OfZnSnoSbm7W+zwyEF2xnMUfpDxew52ryYFLWGJECS3RO94/LX4cv5cI pyCJ9PvDIfoldTQQifaJh0zBkvSlXrJ830h4hxNbFd1z890YuZBcyev3Qm0Yb6i0hkDP 26ssaEdzAx4AlRGSrq31ic9dU+Jnk1pQeK9pUu8Aj7Q0Ochzf6Besjh6DAf8zsTQp+zA s7nEGJ5cnft9+Hf2PvRc8RBXkeOlvvjlRJxvH8zYkdHILyPxuylg/y0Si+zOHu4+TkCJ 9fBg== 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=PcFc0d/+kJ7m6WsDtaF4KZ5MiHoxhRxOYlHscUCzow7sAsq7bkI5hoBGm1oSAbRmXS ZqRYh/H7jlYZYwcRroasyvpxdiUSuu8SM9UNgGLxNRcYpSD9ZzX+md4ndkQuGaaDJ+2v iWQmq3vFEiSnMK9Odh+rF44tpPE28W1Imrg6ungxtoF1ZIrPkhYxUdqKDr5/lw1reyqY 5ziLRmAFBS34vZAeudyn4wivSEqeSRvmDIv/gBcpG0REDibRRl3apIKRDnc3shMGnWMP ykV9l7V0B6KbwSswtuSzoTTVbvGIhsqbXr9W0AjqjDd27xD3SBsQzC5S9N0ak2ryRlrZ mE4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nvB1picq; 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 g15-20020ac87f4f000000b003e696fefa3asi5522595qtk.487.2023.04.10.16.04.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 16:04:40 -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=nvB1picq; 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 5C27685D77; Tue, 11 Apr 2023 01:04:32 +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="nvB1picq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 63A708339E; Tue, 11 Apr 2023 01:04:20 +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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (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 208618339E for ; Tue, 11 Apr 2023 01:04:11 +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-yb1-xb35.google.com with SMTP id 72so6349826ybe.6 for ; Mon, 10 Apr 2023 16:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681167849; x=1683759849; 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=nvB1picq8cH50a2nhzDZJsxPk3ZUmuVJk+OOZzynN9rYsWC2mv19vTU/UVH7hOgPJA yukwMAUJ53QRZ4FopOaX0UWa9T1O0y85TZAG1bxJIe6x1PSj8xFXcou60IZqbi3SfV6E nH2lq/OvPoGpBV+5h2fJUejtPjM4HTlmxcwGEF39M6pDaP6bIrGwIB2kGcvBccjDRZ4c CTLEJvYsb2Jf/awLKYa96sLBfyIKNZyyWeo0S7z2w7PDjGI+l102W+AuX4eK2sgg7Yew apZWFw7LY61PqrLxugOF3gIhuuCyuVgVQUebYb4OzDSmKOv0pb8D9Uo40/gXgEqTbdTU Wr9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681167849; x=1683759849; 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=FwKKQUkH9aikSPBXU/UbdbYG4GpJPswzZGakfF6JD9nV2bfd2YXbaiEWNpMZ/1tNfQ khmONzCTy3/DX2410AT0f5/DeyNM1SDhJc+OqIEglfcfR0r2V2QLWi9RcT8IhnUbOHGl NlJOZB3e6CUOSvwSGEhJnbzdhLKLOCRlleWAm6zMwIPIJas48sJwfwMozxlYQ8zWbOR3 6q9GHF8wpsVe7RjEKfPHxOdR8ubwncgaCSSrxG4n0XOnBvTE0Qu6gxlVWT56HeMY6UaJ NQ80V9x3Sfylv5xobU3TsKYnu40ZTK++2acN4a0JaOMhWV5gab83u0eRbuZ4btxjOXJM BaZA== X-Gm-Message-State: AAQBX9eeQEiee4VPYveeKcb/DY/ZGA8mFmnEVn6+AshBdA3mgnuvJ6an 3cqZJ3HieMrnk1CnC7NlddxlSEkZmFklEg9BNqE= X-Received: by 2002:a25:360a:0:b0:b8b:f517:1400 with SMTP id d10-20020a25360a000000b00b8bf5171400mr6615294yba.45.1681167849235; Mon, 10 Apr 2023 16:04:09 -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 i3-20020a056902128300b00b8f09a8f4f5sm544726ybu.46.2023.04.10.16.04.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 16:04:08 -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, takahiro.akashi@linaro.org, michal.simek@amd.com, Jassi Brar Subject: [PATCH v5 4/6] configs: move to new flash layout and boot flow Date: Mon, 10 Apr 2023 18:04:05 -0500 Message-Id: <20230410230405.72649-1-jaswinder.singh@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410230143.72556-1-jaswinder.singh@linaro.org> References: <20230410230143.72556-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"