From patchwork Fri Jul 9 10:50:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471810 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp162691jao; Fri, 9 Jul 2021 03:50:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1DkrJ3UzVIlgRFUqDEasBQVJBNIjzu7aWOhqtfa6wwXGkHs8IE5/963wXDSzPLRqYOV2v X-Received: by 2002:a17:906:4fca:: with SMTP id i10mr36988883ejw.335.1625827833205; Fri, 09 Jul 2021 03:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827833; cv=none; d=google.com; s=arc-20160816; b=AAlGScKtY/cH39ONt8j7pPWlJfX2uSh3E0t8FPl+zgMC+5Nfd1yU/R9iGxJxNnu21k tM6tDnHsM6k93D1X7PSeMSxGFrUAmDfpDMGtOIgiZq9rOzn2gzX++s4MiSdgPpUFK94c ai4sFCRMwOrlLB3KjzZln60j1AVFlEWLVTIJvXshcjT88ON7lxCkd4PvVtiz7JmYnTid cqvLDRXEEQ23JE6dCY4b1P/GE0z4pBO6MW7HEVrAeKfWBm/J7QddGTRiiKtT2iuzFDIM knfPfhV/VnApljlPeJXBbJkrSIh7dQ21o0BP+JH1pzFk9lSwkZi+hOtzJHTadfo5MY8A QyYA== 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=s9a0sugS/pDszSMKUrIXOsR3Olnma5VTcNvQP9n05+4=; b=TJLtnUJdroocSSARX90OoCnbKAmmyxsNE6H/qnZzNZijkhLajIUiFX7ZTlrOaDizTC VovSofdMM7wQoDoekjVdObj3urIf1Fi/65qhNIkUy8AipRCrO0yFNmq4mtX2Oujy7uQr GGt5f1GaMTtCI6lgvevUUwYnSS/AdzklJTv6izJVfpJu916JAUpApJ5HeGz9G0Fhv0af TS6DAwweqivETU1cazf/9DDXIoiczo4I0K1ibtsWSaBt17XiWuLYLsJzI/YBMLikLE4K LfNVZdXXluv6ZLbfgQxlQO7QlgN6nyrBpbNWQ+n3OxSzNabRRglPlcG4h4N/yn/DsC42 DYzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YlVIDj3g; 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 hb13si6554598ejc.185.2021.07.09.03.50.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:33 -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=YlVIDj3g; 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 9BC0183288; Fri, 9 Jul 2021 12:50:27 +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="YlVIDj3g"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 489058327C; Fri, 9 Jul 2021 12:50:26 +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-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 59DEA83277 for ; Fri, 9 Jul 2021 12:50:23 +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-pj1-x102f.google.com with SMTP id oj11-20020a17090b4d8bb029017338c124dcso3131222pjb.0 for ; Fri, 09 Jul 2021 03:50:23 -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=s9a0sugS/pDszSMKUrIXOsR3Olnma5VTcNvQP9n05+4=; b=YlVIDj3ggy3rQUh72o9e837IiYCDrr2aoMX6go3J7yi4+RSBQ340MObJkphjE6Fgh+ bVlxyUSukfKeEuzkpbMnE+09VkAMi+75HX74RB1/TjWi2iLdLugW7EBoslnsZmLVK17m T08GWO2smhwiuyWavHr1+cWJdDnEeexrtG4xM8ity5/FaCSRhxKpgsnihx9ER4ajAdmv drGHJiRERDmMjAavlJTX1VzPWpx+oXSrSToDoG7kXBS8/+geiomW3+CXKlmU+ido6ewb 3CDBk9BFV3zbDLl6BusVaEl7x9DPFCFaxaJVFw2AswShJK3GQtP4f0ppi3D8Rtsks+k2 YNZg== 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=s9a0sugS/pDszSMKUrIXOsR3Olnma5VTcNvQP9n05+4=; b=q9ycqmv7OYEMQvpaf+EMBOH9HblphSY4oPLLnTc0u23wjloxGuz5euwsnkYRXqRwYB hPpiyQf7X8aCoN3CdtV17WPlxUudSKSa7rRoRjDifvEjhm2jY2qPtJhrx92S0PLlgnZD DAmovzVAsfsCapWuTYnIu20Uy/HRsC9gjuBcsC0mneflzEyJni9fVuv2br8fZgsrl/vN GyZj+/LP/OHmzi5E9BmtkQ/8oolo2Ge/hyJ15+v58S7qIEX/bwvognH1Z7Y0bp1/Bkum hN/wKdwZS3CoLZ3Pdspz2Z2s9j4tH1VJ5AfvWi/yOXE+Vqy4qMiMQrQ1D+3IZa6dy/ve t4Pw== X-Gm-Message-State: AOAM530RpAORkUoPssUvNIFjAU4/DAcVHwYy8r+IG48RSPpoOMUH1Wqb 6BovHrB6FBK1iFgZdZRaM/WmTg== X-Received: by 2002:a17:902:ac86:b029:129:a880:264e with SMTP id h6-20020a170902ac86b0290129a880264emr16636019plr.54.1625827821761; Fri, 09 Jul 2021 03:50:21 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id w6sm7191424pgh.56.2021.07.09.03.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:21 -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 2/6] configs: synquacer: Make U-Boot binary position independent Date: Fri, 9 Jul 2021 19:50:18 +0900 Message-Id: <162582781774.112250.1373732983360635382.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162582779750.112250.1804638357524349747.stgit@localhost> References: <162582779750.112250.1804638357524349747.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 bianry for SynQuacer position independent so that the previous bootloader (SCP firmware or BL2) can load the U-Boot anywhere. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index d42db9a1d6..fe30f0169f 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -1,11 +1,13 @@ CONFIG_ARM=y CONFIG_ARCH_SYNQUACER=y -CONFIG_SYS_TEXT_BASE=0x08200000 +CONFIG_SYS_TEXT_BASE=0x00000000 CONFIG_ENV_SIZE=0x30000 CONFIG_ENV_OFFSET=0x300000 CONFIG_DEBUG_UART_BASE=0x2a400000 CONFIG_DEBUG_UART_CLOCK=62500000 CONFIG_ENV_SECT_SIZE=0x10000 +CONFIG_POSITION_INDEPENDENT=y +CONFIG_INIT_SP_RELATIVE=y CONFIG_DM_GPIO=y CONFIG_TARGET_DEVELOPERBOX=y CONFIG_DEFAULT_DEVICE_TREE="synquacer-sc2a11-developerbox"