From patchwork Sun Jul 11 00:46:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 472715 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1661951jao; Sat, 10 Jul 2021 17:46:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw279bKc1xhhbQ9AnxDPhBnJG0cd/T23AeNwQMbea27TxE/M1yzbUmUiJAvw223E2a/fu/N X-Received: by 2002:a50:d64a:: with SMTP id c10mr58217614edj.199.1625964388668; Sat, 10 Jul 2021 17:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625964388; cv=none; d=google.com; s=arc-20160816; b=VIgdOqUNdl3gx4yO+nW48HXFxgz0LB/g9ifJrWAuzc5XaOeTCdis/4LfDcFCXoJpe5 DIbeTzr7fVSmr4rjadeRKq4QzBYwjlJhFXfZl7bSYUxVxqzeulzhI8EYu1CNUcAt8cIz AG0YEBm5MNGkBeT4g8ajdz6rWa5NZLmBSD8lTqXzdHy5dl50fpm83iwei2heLMLxwBfr 8Dqa9DG95uApUrOFVYgqhXi4L5CoNqRVJD+jnq7pL7tgNzA/6+gMqIEqfDbdZ2jrAeVm iCDf1TF4FlLyzaLu15WCP7iNuJB8ic/7QEP7sM5XCPosypjMS5Qggd2HEl7Sd90PBkHD qdEw== 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=1UfVKztZQMQdA5QatUHjb1EnRR4khC9oYmugqmVYs8A=; b=ZmVHF7+LTtwlzscJum5MYUTK/O5xSkj6a4x7sMzDzWQaher+4VQMSG+j1nZA7h5DUj qOUzbg0lKihEOgNYLaVT+iviCUSu0SV6iHRHruisaYXyuAgBFuYZvASjm73Cl9ZzTce/ 0Z9cDXLREGIsbdTukd23BAJlDO/P8EHkigidt+4jpSxc8M9i7WrfHATlRMBSjom4bEWv v4xlAoQ5ipZiVI1ty37fjWvWo/24gMeKr0eQ+ANXFkqvkIscE2Go9no+rP6XFxtla7aZ wlwnsqaxe1RSYGyCkTfFSvH7ON7eIuFILpMdDBcWl8ex2LdIGqdfSiAhGy05hLUe9ZRR G7Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EKzckF+c; 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 m21si4046957edj.470.2021.07.10.17.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:28 -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=EKzckF+c; 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 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) 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-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-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_Beh=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 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"