From patchwork Mon Jul 12 10:35:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473074 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2805361jao; Mon, 12 Jul 2021 03:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJQa73uzKvP5hz9QZmhFrUKoVJXvThaEETAmZlEwDJ2qac8UWqZy+XO3PEb2XZ74DYxs2E X-Received: by 2002:a17:906:e257:: with SMTP id gq23mr4275403ejb.545.1626086168377; Mon, 12 Jul 2021 03:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086168; cv=none; d=google.com; s=arc-20160816; b=i9oSr/b3x6hOC4vpIK6hkZMgGwtr6nnq6s7YElfjyhyvnXGCIwYOU2ikZPVZWijglW qR83MrIhG0opukxE2HPhEpuFIRCbqcH/kAsJ8t0s+iXguIKHhfRCLZYw3le/ncMW9vT5 bf4oymX5n8wZO5hkxlp/TXzkoTc4199ipA3qhTZ+SvZDMECuHONtgQL7vTLIKVuorcTT OEwKoYOX000R19ucc6QQCIhyHXZJJmQ2wtDfWWjwxjNxSjvMbhDfBsusGrpQPLJekHaP 4xqgpFn29Wu8zSHp/aUPU9WzVbxphbJmG/4nL45hcrodNqk6rECVAUi2pMROSvHW+6Y1 db/Q== 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:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=YMN/jkc+tYHZbUlcwcnjs7f8NhqUuzjNqnGz6jFgFsA=; b=zJUtRmDyIALxhvI3Wm1yVwIDD3mNeyXVrWoc8DTDW+EUyyOWwNI4SDSbvIiB0S8sWz uJfY1c0tis0h0UZfr/MQ2s5GD4TYzIxuFZ/j7cTPV5q4iBOrGy+cCnuASOrEn5FCtnXX uokGYQgPHfbXRWXOxoDEFd+aSuq10i3jVI+oOK9luTajivrrwnLCBlsI5Gffm1Tt1dr0 8avoAFLt9TZTNuystkBFpkNA5KLkaYFuiZAAteS0WjmQujlDmA7Q29gtjwmbiIF5Dggp V+cEbFrGbAgAVqjELiBCt32vE0XQDc6sAKUbC3IvKFb9w5yyXXOWzx/lOklPSh14GlIS KE3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q94oXOZQ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id e5si16122459edu.539.2021.07.12.03.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:08 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q94oXOZQ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 CFF2582DC7; Mon, 12 Jul 2021 12:36:05 +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="Q94oXOZQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B14482DCE; Mon, 12 Jul 2021 12:36:03 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 809FC82DBC for ; Mon, 12 Jul 2021 12:35:59 +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=masami.hiramatsu@linaro.org Received: by mail-pg1-x532.google.com with SMTP id s18so2468810pgq.3 for ; Mon, 12 Jul 2021 03:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=YMN/jkc+tYHZbUlcwcnjs7f8NhqUuzjNqnGz6jFgFsA=; b=Q94oXOZQfuLom21uFhsxU/ZMKgNDK/hINrjiw7a0bRSOJJsnk8VbxhrugW9806qMCj bjPuTtwODx2v8F66YiRDGKqFEvvvlGkcJR7Wh0wcLIJYOSjFXrYzkH1scj4VzMIjr0cE LQjIhpg6vMSQ68+xEHVsqJTW02UHPMorTN87PPMWJZG61+bWEelGWB/wQvcSw/jc1szd nGFG6hx5rEaIX+o+VfaKhavqrttoyOf4Z6y+cRpgAl6pOm7hf2eVDTC8Ora4CfiwHodr CLEVOcnOefQ2selCtacP8byFZzNkLFHSkb/uH1NEeZbguBAcmsF2GkOpeWtoFOg++7Xd rqcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=YMN/jkc+tYHZbUlcwcnjs7f8NhqUuzjNqnGz6jFgFsA=; b=JrWy8pmcgc/9jyj0v6+6Xi/ICYVj9BAIqvTM0iEzUSFA2F+Oocnvglm0IJSef8POuF CCF9jRckTVm3YhSMRINJ8WI5uHfYF94xQXJL4odZq4uxsXoKnJ1sXDfSq99gSqSL9NYG M6K+cAhpqguOGj4xhLqMkC2tSy6suYHq1VzpbnRAaijOXU10vM2SvOqaUKZ8sMrHYVs4 BaydVKIPZo2eS2LCtteDipx7oXGkl1l+4ocm8UTRlXNg4Tz3g61qQI7hzgGnYrwYPDju 00zHriE9sSymTXmGtWFlkJu9668JdDCOcqHwKyAC6J3Ch58z6uRiDPOdc6fw8RET6bYM JZXg== X-Gm-Message-State: AOAM5323kJffpruyGSHNtZ0BOl0zgf02h52E+zKvvYEFDXSqUpCxiobJ SqMTE5NBU8bs/CGxtrJW63oCfw== X-Received: by 2002:a63:4c19:: with SMTP id z25mr52585957pga.160.1626086157758; Mon, 12 Jul 2021 03:35:57 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id o3sm4029263pjr.49.2021.07.12.03.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:35:57 -0700 (PDT) From: Masami Hiramatsu To: Simon Glass , Tom Rini , Heinrich Schuchardt , =?utf-8?q?Marek_Beh=C3=BAn?= Cc: Masami Hiramatsu , Jassi Brar , Ilias Apalodimas , Masahisa Kojima , Takahiro Akashi , u-boot@lists.denx.de Subject: [PATCH v3 2/8] configs: synquacer: Make U-Boot binary position independent Date: Mon, 12 Jul 2021 19:35:54 +0900 Message-Id: <162608615390.206671.1289297812761357181.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Make the U-Boot binary for SynQuacer position independent so that the previous bootloader (SCP firmware or BL2) can load the U-Boot anywhere. Signed-off-by: Masami Hiramatsu --- Changes in v3: - Fix configs with savedefconfig. Changes in v2: - Fix a typo in the changelog. --- configs/synquacer_developerbox_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 090bc47524..92be72d1d0 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -1,6 +1,7 @@ CONFIG_ARM=y +CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_SYNQUACER=y -CONFIG_SYS_TEXT_BASE=0x08200000 +CONFIG_SYS_TEXT_BASE=0x00000000 CONFIG_ENV_SIZE=0x30000 CONFIG_ENV_OFFSET=0x300000 CONFIG_ENV_SECT_SIZE=0x10000