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=-19.0 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,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 61EFEC07E95 for ; Sun, 11 Jul 2021 00:46:29 +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 B87B26127C for ; Sun, 11 Jul 2021 00:46:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B87B26127C 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 B3A268296A; Sun, 11 Jul 2021 02:46:20 +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="EKzckF+c"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4A05B8297D; Sun, 11 Jul 2021 02:46:19 +0200 (CEST) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 7DAB08295B for ; Sun, 11 Jul 2021 02:46:16 +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-pf1-x433.google.com with SMTP id x16so12565280pfa.13 for ; Sat, 10 Jul 2021 17:46:16 -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=1UfVKztZQMQdA5QatUHjb1EnRR4khC9oYmugqmVYs8A=; b=EKzckF+cl4qLDx5Q49N7hwwn9zTxJRFg8exRP/LEsIaxw5VvUUuvvPCrBc2QkKm0Ur oAP0lSmcfvfEUjAOq9FkSvXLtuSkR0tN2WUfm7M8UT4+XRUU7DqEFxB6GjeuoVdDQ+U+ anhHei+jjQX/ZOsrTwe9gaicSXnDsC+v7bg7S72AJLfdHs1iH6Nt44A7g/ccE+xCE9jU jlZwILKGnviUUM+wUkiYxTq7D85oFmgWOgY6CyWHcFq2/ioq5aSnOh/fArGHXcfVOZjP qV8QTwOn9JxU+pr5Vmgz4/A+2CmXghOSfZLJE+H+ZKWPUp5LXvQmKzOsb7kvHUT2GzAX VjtA== 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=1UfVKztZQMQdA5QatUHjb1EnRR4khC9oYmugqmVYs8A=; b=aF8GvzZ4HA93XV40kEbEWtmtmQtaCPsNf7mNyxgiIYX3hzeOJBwq2P9sdhbuX/8lMC Z1zZotDsDaZBSmOsr65BXZBmsY0fVFWUfYuu9ygbZDX6mIBOHOKeEd4J4VTE77XTeFZg UCjKPhIsIf6h0KPvWtckjPenGWmxUYJhWvgdb+xUiPLNAt1A+hLY7g6gkR0WP5SuJA/U kEovYZvzm8HtDIcrOxysQZvkl9OjBymCgg4fvfoyldg8rYUzPqfTxM4OOumNC89TEjD8 GQ3GsgGHNRIau7qUY72BzSXif9dONcsomJUK8nD3hlNMugbz1bKpIy4ohOtmK/3/ZSLb Tqnw== X-Gm-Message-State: AOAM530FTbPftnD7FGxqZh3c32tXTvogMQ7JImdSI5gEbKOLjIlP4kzO SZD/ZvPLewx3Z4AO+v0gVv4mOA== X-Google-Smtp-Source: ABdhPJy6XEU8POF8dTj9WwXtPp7uRjcc7U12Q2Aw6VBO70P9/Nxe2vdXs2X69v2uUhKwwTO+lEleMQ== X-Received: by 2002:a05:6a00:15d0:b029:305:1ef:8fbd with SMTP id o16-20020a056a0015d0b029030501ef8fbdmr46468477pfu.64.1625964374947; Sat, 10 Jul 2021 17:46:14 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id 198sm9594454pfw.21.2021.07.10.17.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:14 -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 v2 2/6] configs: synquacer: Make U-Boot binary position independent Date: Sun, 11 Jul 2021 09:46:10 +0900 Message-Id: <162596437036.156585.10054663717812301830.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162596435163.156585.9583856356967436590.stgit@localhost> References: <162596435163.156585.9583856356967436590.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 v2: - Fix a typo in the changelog. --- 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"