From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCD5DC07E99 for ; Mon, 12 Jul 2021 10:36:08 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2A45C6100C for ; Mon, 12 Jul 2021 10:36:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A45C6100C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de 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) 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-Google-Smtp-Source: ABdhPJzruTBXnytAa40V2nECsHxJa6ExiDe35eWfDZgFr2Oski277Au7aACoPMTASluZCxOC6tmLkw== 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=20Beh=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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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