From patchwork Sun Jul 11 00:46:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 472714 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1661876jao; Sat, 10 Jul 2021 17:46:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiPVLezg5KMIeSBCPH/bkshIvaILEU52OG1NgvylBLpVP1tVEGmCHTMGedie2xi5ikioND X-Received: by 2002:a17:906:4fca:: with SMTP id i10mr46101685ejw.335.1625964377939; Sat, 10 Jul 2021 17:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625964377; cv=none; d=google.com; s=arc-20160816; b=dzJRFPXZk4I5nFXpzcul2qb88cLHQhYlI+js/k8A5oSCn6Ns39bfYKh7hqYHxYX0iM WGS4hAPv9Zjx1WHDoSSjw/X1eGMJzQlwgqU3gFYdk44puO20ck9MrZjmHq0jEpSHNnmB exdYfzmDf5l5tWJVOFBzKDj80holvoF5NxyOhZPT6HR2FE2aISlviGZjASsF0UWtK6iI XJ/atXwD7irf/4m/tOIrPRo9rClmsJ7ZMMwxMqEwbFgYSXGAIxlYl+r+oZPDD5ICOHkW E8qIn0RdcfMEBBU+4Y4RqVRLSe0HERf0Ona0ZY/ZVSZsFw9trEBn/0HUSazwKt6PzCqJ un/w== 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=ihGhsZ/OGiIYh+YiH4AhDiuRYA0GuHubZu/tTVVcq+4=; b=cKl9IRQMLu726qLk4x1Eku0g9pHLbqKLUVM9R5d7iacdpldczcY9C0sPFByTb21MVl Xgk0mNQD6muOlaj5lmnfX6EpJ+29VfgJLC1B5FXsU3EdD7QGfOTv+JILtx+pIk8sFZfB S5TKWR6ew9krqn2JGXnK+ae7VcejcNigaQ6AoFPFBGHY0Yugr78Sxnz44zBYzcXI9ZgB 1UVXGHZkGSebT414Sfxob+JjqmQvDCnsjoc+/o/NOUlz9FWy+rcw5u0LNQ6Sn24VUNZY H7LbnoBGwGYNjfuSCQ1QXDAUQ80EaSTk1IgVe4FClmTvE5cm8FGx74SRHUhtQ9SX5H1v 69uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SGeRMUpX; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id hr24si13620673ejc.277.2021.07.10.17.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:17 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SGeRMUpX; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 E0952832D7; Sun, 11 Jul 2021 02:46:11 +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="SGeRMUpX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B23D4832D7; Sun, 11 Jul 2021 02:46:10 +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-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 68F75831C7 for ; Sun, 11 Jul 2021 02:46:07 +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-pl1-x634.google.com with SMTP id u3so1967067plf.5 for ; Sat, 10 Jul 2021 17:46:07 -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=ihGhsZ/OGiIYh+YiH4AhDiuRYA0GuHubZu/tTVVcq+4=; b=SGeRMUpX28tM2lV6Cj71GB5NWr1qVXlO4EHs4YImEqsi5KxX5IHIzOJ3rwHAZR7jOj HaZjw/g6ppqTkTrGOvKxOFIsM9Cpnzbjgkt+3zd5UZGZf5Cukg0TGdv0SazqQJ1RzcyX WsLWc8ZByHf0jfjrQKVAMDouyLNBub6TVOn0PLQKw7dk0YhQCDpe0zlMy8E1WU8yZY4F AJ3nZT2K5jaoySgEcLKLWEM97Zyqt/0h9FvvNFwvRcJIA3xu9bG37+9tyozSFgDJ+xUi 2n+jhD0BppAvDNIo1gv3lBVvrct8IAnfEEVHnxLBlFXD5PF4wgrrLdsvpQtnCJd7yeRk ufJw== 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=ihGhsZ/OGiIYh+YiH4AhDiuRYA0GuHubZu/tTVVcq+4=; b=YXtc1ShaDEBmjaxF6vfqTG6y1Em44kA00/Z2IF62spgu1gaLccU+msIh1aspUWtTft hE5nOFZzNcoB4IlZaZLr6EHwjucWRDAQ9AYeGeaKlHv1bO+2/3kMppTcKTWgTJOgTZ/V tBSfhv8eoZdldC/9S/k+GpmWC6LocL70j6UhjN2D4CtzPcs3uzpsRxnp5D8BuWClJEdb irfq1xyDbxYVdwZwNNJgd7TwMrfEGHa0CAilYP29FBqRKxvSHw2JbPyYgU/a5LwiyGa8 tBSnnkBPjGnEPq5dCmy89J2/NLlQFzoi3SvmJdRiOMoGRifB3gcR/IIEQrMElvn4mkDe gJeQ== X-Gm-Message-State: AOAM5330IFyEpvgyRkH4kRTjYNO0NgEUMeSJe1YSW2JTER83idRyktD6 tDJGRq6+crjUZcJkcyj14Gs7NQ== X-Received: by 2002:a17:902:8505:b029:129:c61e:e335 with SMTP id bj5-20020a1709028505b0290129c61ee335mr17752160plb.60.1625964365738; Sat, 10 Jul 2021 17:46:05 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id x6sm13038909pgq.67.2021.07.10.17.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:05 -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 1/6] board: synquacer: Initialize SCBM SMMU at board_init() Date: Sun, 11 Jul 2021 09:46:01 +0900 Message-Id: <162596436114.156585.16044692546474285389.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 Since the SCBM SMMU is not only connected to the NETSEC but also shared with the F_SDH30 (eMMC controller), that should be initialized at board level instead of NETSEC. Move the SMMU initialization code into board support and call it from board_init(). Without this fix, if the NETSEC is disabled, the Linux eMMC ADMA cause an error because SMMU is not initialized. Signed-off-by: Masami Hiramatsu --- board/socionext/developerbox/developerbox.c | 15 +++++++++++++++ drivers/net/sni_netsec.c | 7 ------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 34335baec3..9552bfcdc3 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -62,6 +62,19 @@ DECLARE_GLOBAL_DATA_PTR; #define LOAD_OFFSET 0x100 +/* SCBM System MMU is used for eMMC and NETSEC */ +#define SCBM_SMMU_ADDR (0x52e00000UL) +#define SMMU_SCR0_OFFS (0x0) +#define SMMU_SCR0_SHCFG_INNER (0x2 << 22) +#define SMMU_SCR0_MTCFG (0x1 << 20) +#define SMMU_SCR0_MEMATTR_INNER_OUTER_WB (0xf << 16) + +static void synquacer_setup_scbm_smmu(void) +{ + writel(SMMU_SCR0_SHCFG_INNER | SMMU_SCR0_MTCFG | SMMU_SCR0_MEMATTR_INNER_OUTER_WB, + SCBM_SMMU_ADDR + SMMU_SCR0_OFFS); +} + /* * Miscellaneous platform dependent initialisations */ @@ -71,6 +84,8 @@ int board_init(void) gd->env_addr = (ulong)&default_environment[0]; + synquacer_setup_scbm_smmu(); + return 0; } diff --git a/drivers/net/sni_netsec.c b/drivers/net/sni_netsec.c index a9ebf6af9c..4901321d0c 100644 --- a/drivers/net/sni_netsec.c +++ b/drivers/net/sni_netsec.c @@ -1059,18 +1059,11 @@ static int netsec_of_to_plat(struct udevice *dev) return 0; } -#define SMMU_SCR0_SHCFG_INNER (0x2 << 22) -#define SMMU_SCR0_MTCFG (0x1 << 20) -#define SMMU_SCR0_MEMATTR_INNER_OUTER_WB (0xf << 16) - static int netsec_probe(struct udevice *dev) { struct netsec_priv *priv = dev_get_priv(dev); int ret; - writel(SMMU_SCR0_SHCFG_INNER | SMMU_SCR0_MTCFG | SMMU_SCR0_MEMATTR_INNER_OUTER_WB, - (phys_addr_t)0x52E00000); - netsec_reset_hardware(priv, true); ret = netsec_mdiobus_init(priv, dev->name); 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" From patchwork Sun Jul 11 00:46:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 472716 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1662045jao; Sat, 10 Jul 2021 17:46:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4ASOPXVG07Rcv80K1qwfAYVA5G0X3AQxZ55ZSJFLGx12/eXVGZlBBa/kcxPJ7JAm1I/Gk X-Received: by 2002:aa7:cf93:: with SMTP id z19mr53624315edx.214.1625964398399; Sat, 10 Jul 2021 17:46:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625964398; cv=none; d=google.com; s=arc-20160816; b=I8JwPcsq8rdVR53l3aifMzZBO5gH+y2Mn+VkFyIsSxLPR4jbsk+9GpkA2DEm9Oi7xm RMOFDqT5PG3aWkVhrfg+hgFzw74R00GI5ukB+GRbNz4LoPSiPXfgjY3ylaP9padGxPQp D/5p6WH6oFZ5FWMd5AyaUid85h9hDKe1Vyjh2LLUuwcf+yl13eS0VEL6QPJun+cIyf8y q+eFvNG87oW8ilQ/yqPv5lkylwDzkDmplk5ZdOHYwstG6YJBpRxKDEDF296Zv19+CoVw xGXWnzo9hwaujMwvOz6WAAzueARj5col9EbYkwjoDx07kjywR4zd/ZCG1AY+2XYovF+/ 2Yqg== 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=Y9YUWTFMmHLVrARSRuNvRgeMC4WA2siP7WjvP/zO9wQ=; b=FTpP1ZqZcCB+ul0GWMo+fMImLfd4jP826dZZZqO7zPbjWrkKnq3ibt2QnPc1PRRf4K 7L3rBr0ptgRRr/HoRH3o8jtY8a7OqelQND2pOW5GfFmbgUbk6HyjTG5cZBXOduW+Kcjl BoaYjS9W2qJR2HdF5G/kQzbdCPC42DJcRrsdRxGFOZR4UtzBsOJAw6wp23a6cGJb9uJ+ ik1QxwQvyjf9ODQfT9rrv8c1Dc3fF9386XcI4QeoDbG1OIdY+hRXoozKbJgPAsAaj0US zIX+X7HbAEqFuIahN4B5lmxw4WPT26UVYQk6Mr707kP3N3OgwP4KSmB2OWET5g0BRT20 gWjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ak7ZDP2/"; 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 ml21si12997382ejb.137.2021.07.10.17.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:38 -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="ak7ZDP2/"; 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 150DB832FB; Sun, 11 Jul 2021 02:46:31 +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="ak7ZDP2/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EF900832FD; Sun, 11 Jul 2021 02:46:28 +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-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (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 2C2A7832DC for ; Sun, 11 Jul 2021 02:46:26 +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-x102e.google.com with SMTP id b5-20020a17090a9905b029016fc06f6c5bso8295356pjp.5 for ; Sat, 10 Jul 2021 17:46:26 -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=Y9YUWTFMmHLVrARSRuNvRgeMC4WA2siP7WjvP/zO9wQ=; b=ak7ZDP2/xU5F9XjAzHPtRCM5RK8uVJF+eEMDL4V+gPaUhvyFDYlQavw/kLbKkrap2h YtpRFwZ2yW/kK/f0urtIF+57X5w4N7McWclUVfBTvgb6sbZ8acx9ok0sj05C7Bbd//T5 gjvEfFCnlbS33vHo3tAy89i+jn6Y6fHSB9Xx3nd3dqVMe+Ty9yl4baJ37E0GGYtvPRPL QcffhaUVtYTF4iQ6TZ4uxw6HwFUCRdlW8IeIV3sJivfikB67C4zWOxk7VfVAlB30s772 guLJ0D1Jz/nq4vC7BPJOGS723oHsxXw4D9MA+4IoTBdID5QaENX0VOMExqeRZsH8TF/3 8pTA== 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=Y9YUWTFMmHLVrARSRuNvRgeMC4WA2siP7WjvP/zO9wQ=; b=PTiRchEF9ZJBa5pqY/AHoObj0qRPr9gWDh2eqIVyNok4zFR4v3GScCLzAKz5P+B4pL APIruygPOgLAbMjt9IRrUV6Z85p1RqJDxNWTfVA43xAxfqEczS2lilx6g7uBUNpTNOKW 2sEqkkTUElqsScbDJNQKOGTURiFqvA9joXgAhi9tO7pcsOirq9YealwKkL7ZPWAZdAbt nquojn2YU+zn0BLofPMlj48A/pVbGEOtmzDQ/Nkzho1wskuO4zyFMoE43ABSmZNSyzMh zRp1l0T4D6/VYu4Ao0Nwg++mA6N9X+MjS8ukC4fxID4buCFx5iOyemFq0tSdubVRi6jA lLYg== X-Gm-Message-State: AOAM531oglBQJP42FXzK/EVmmjfMQd4PcFBhoAMbeuzxwblppyg1DOBB 2AhTA892Oewns8IK9arExz8C9w== X-Received: by 2002:a17:90a:f198:: with SMTP id bv24mr1087701pjb.171.1625964384553; Sat, 10 Jul 2021 17:46:24 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id c7sm12020394pgq.22.2021.07.10.17.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:24 -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 3/6] dts: synquacer: Add partition information to the spi-nor Date: Sun, 11 Jul 2021 09:46:19 +0900 Message-Id: <162596437959.156585.5142528869375419273.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 Add partition information to the spi-nor flash. This is required for accessing NOR flash via mtdparts. Signed-off-by: Masami Hiramatsu --- Changes in v2: - Add new lines to separate the partitions. --- .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) Reviewed-by: Marek BehĂșn diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi index 2f13a42235..7a56116d6f 100644 --- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi +++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi @@ -31,6 +31,55 @@ spi-max-frequency = <31250000>; spi-rx-bus-width = <0x1>; spi-tx-bus-width = <0x1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "BootStrap-BL1"; + reg = <0x0 0x70000>; + read-only; + }; + + partition@70000 { + label = "Flash-Writer"; + reg = <0x70000 0x90000>; + read-only; + }; + + partition@100000 { + label = "SCP-BL2"; + reg = <0x100000 0x80000>; + read-only; + }; + + partition@180000 { + label = "FIP-TFA"; + reg = <0x180000 0x78000>; + }; + + partition@1f8000 { + label = "Stage2Tables"; + reg = <0x1f8000 0x8000>; + }; + + partition@200000 { + label = "U-Boot"; + reg = <0x200000 0x100000>; + }; + + partition@300000 { + label = "UBoot-Env"; + reg = <0x300000 0x100000>; + }; + + partition@500000 { + label = "Ex-OPTEE"; + reg = <0x500000 0x200000>; + }; + }; }; }; From patchwork Sun Jul 11 00:46:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 472717 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1662141jao; Sat, 10 Jul 2021 17:46:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybFyqjKbI8M+gMCvGCYJShVxQfRdgud4HXb5suQeVq+gkuqs4/LBX8S/FF3hSj65WkwKYF X-Received: by 2002:aa7:cc87:: with SMTP id p7mr55608558edt.82.1625964409261; Sat, 10 Jul 2021 17:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625964409; cv=none; d=google.com; s=arc-20160816; b=o1fsfkEVPEPUaXt1zg/zQLH0kxP6fbNLqFxQNsJtr4lKfqG67776V3NfNj8yoGKa8O Fp3MhZG0VSWWGJAwRtN4y0E4yeEs2lkfQBlmefagIr+fmv2m8LI5T8W01qCgZorj1TIT WPh99gMlrD3qcSVVJDMjGOr6tWVaus/JHpDAYzno8mkkfwknEmD7CDBTcdv7pxyFoGVl ZPoJFYtFb+1V1ydYWJuCH9o8NWd7Z3Ql6kefM4T+uGC9+cNaXVJ3J4QMmFdhQw69tGBv oCmekBxfFeBD52w+XXnmMl2dCNJYrwgPiok6uYnj0FdShDQ+CtZD7tHKY+XTkIr8bpC4 hxZw== 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=fYQi5Cra6CMthQK6ylcIOeDsK1QGAL3TO6oaJoaG/K8=; b=WEATEaKGLKaI+/PBp4KPFsWrYAueRBLkn302oN1YwBwm3eMiMIKivaU8hhUp3CKftj y40dzPrLeGTlsirJ/HcOPMp5IWHxpxe6hyWHQ+2RiWAea3o2tVApDPw6/3lo1rOa5brR 8oXtBjcemfO9pR+HdL6t6QUrbzOOb4WZmHFRlPSlgZkpR77YZN3ILRdxW8PUl6VTsIb3 Uh9PR+X2+ReCCmsXmwk34ddZz+wbzPC5hrNIlAWAgUlWxau4QZzTP4YvmC3I4IHmIzrt JDUc1a2+SzWY4dlkIWGJv7cgTZ9dael7gDWf2JjblWS3+xH7AD5TDk9q3fFIFSgSymwE r2Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Lo8YNN/r"; 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 c18si12567311eds.371.2021.07.10.17.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:49 -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="Lo8YNN/r"; 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 CB8E983301; Sun, 11 Jul 2021 02:46:39 +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="Lo8YNN/r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 232EC83306; Sun, 11 Jul 2021 02:46:38 +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-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 4A27783301 for ; Sun, 11 Jul 2021 02:46:35 +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-x432.google.com with SMTP id y4so12573889pfi.9 for ; Sat, 10 Jul 2021 17:46:35 -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=fYQi5Cra6CMthQK6ylcIOeDsK1QGAL3TO6oaJoaG/K8=; b=Lo8YNN/r+SANihMx6HeP5gmgeF8yi60tTrM8pXWpPaCBRBEBAFx9q8vfVKctqVHYyN UXwVi2MTx2RZoIoHxEGS834Rm1yrmaYwDST0ThyF36kyr2G5Xe4buBnH7Ig7GYb8k8yS 14id4xKD91XUyjd3MCnccNTbUEnnPefudUrVCQHdzJOM/CZ3X8s1HRZCIyjkUCOBn7+E I3ltffdvr4DRF3aTVsCdm5viaK9ch4x1M545saHKhC5Jwh5WmftdEWTvSDQYh+xoa5pl rWFmYCK4YL9yAz8DO8MSyap3Q4vY+RPdKioPrwjLQYEsITVV+4XcnudfzFRpVualgyPS 7R1A== 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=fYQi5Cra6CMthQK6ylcIOeDsK1QGAL3TO6oaJoaG/K8=; b=P1YB3J0NQjDGeE7u8/miXqHhcada0pVBzxZ5yEOKgZMA4eQxcF3+rbcgjy4mfW54O+ I5D15ja4r5u/BHHSvTz0+i9Amt6a9fiXnBhkq4GhNEcaaCB/AdI2hFza9Sd/yegtdpn/ 48tcaa5yn++5oCeJfFhYvXX9TSHQxerHgJsZ3FTD0oKQWvJIVRZbQH/akPyDnRhrgPMt hlzHQkaMnU6Kolo3rl/8w73HNU08RUqIw7Hfb1GimByiJw0er8pabaApxymFK6Cdwbg+ sHyn0gtq95UdBRUPJGciaNmQlKnRhBDTvbB6fckYpEwFCD9RnqP9NXzq6NqwTLcsZJi5 9Y7w== X-Gm-Message-State: AOAM530QyLEsc/g9q8x4lD6xhS0f/Iq8EYcoRr1KyIdCDVVLFF4lLhEC BTFaIdTPf2vycvYWNJftirt2CQ== X-Received: by 2002:a65:550a:: with SMTP id f10mr20828824pgr.155.1625964393685; Sat, 10 Jul 2021 17:46:33 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id x68sm9781768pfb.115.2021.07.10.17.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:33 -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 4/6] configs: synquacer: Remove mtdparts settings and update DFU setting Date: Sun, 11 Jul 2021 09:46:29 +0900 Message-Id: <162596438922.156585.12238190313184035965.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 Since MTD partitions are based on the devicetree name, remove unneeded mtdparts settings and update DFU setting. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig | 2 -- include/configs/synquacer.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index fe30f0169f..bea13be874 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -45,8 +45,6 @@ CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_MTDPARTS=y -CONFIG_MTDPARTS_DEFAULT="nor1:448k(BootStrap-BL1),576k(Flash-Writer),512k(SCP-BL2),480k(FIP-TFA),32k(Stg2-Tables),1m@2m(U-Boot),1m@3m(UBoot-Env),2m@5m(Ex-OPTEE)" -CONFIG_MTDIDS_DEFAULT="nor1=nor1" CONFIG_CMD_LOG=y CONFIG_PARTITION_TYPE_GUID=y CONFIG_EFI_PARTITION=y diff --git a/include/configs/synquacer.h b/include/configs/synquacer.h index 8fe10d7485..4503cf3f6d 100644 --- a/include/configs/synquacer.h +++ b/include/configs/synquacer.h @@ -62,7 +62,7 @@ /* #define CONFIG_SYS_PCI_64BIT 1 */ #define DEFAULT_DFU_ALT_INFO "dfu_alt_info=" \ - "mtd nor1=u-boot.bin raw 200000 100000;" \ + "mtd mx66u51235f=u-boot.bin raw 200000 100000;" \ "fip.bin raw 180000 78000;" \ "optee.bin raw 500000 100000\0" From patchwork Sun Jul 11 00:46:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 472718 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1662210jao; Sat, 10 Jul 2021 17:46:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHJUzJggQcomAoBaBziuMsLcyXEjfLLEu7U5b7GiVBurJKyVNadnzE0pvPrmvATfxZPYZx X-Received: by 2002:a17:907:3da5:: with SMTP id he37mr475570ejc.189.1625964419486; Sat, 10 Jul 2021 17:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625964419; cv=none; d=google.com; s=arc-20160816; b=gKs0OKhfI7qD5vhhSuh1xNq60nXoblUtS+1bfMoQVx/q/m0R63giGj6NMfKMLwOf8u Y08fh15ZzyjfYySPmRt8uBUuxO/LKH2rNQKb5j6mRw0E1T87TnX7Yc/imuzfptcixYoL /48dWrCkZ4ZOiQ5DlNPrCb7ujj3usQpcp/u40y3aGfif5XFKpYOWLhTHrn9h6VLUbs4m 1S5ki8HhD0T1Bs3/n0iGE+ypD0+1bebp2VlRSEs4M4VaqJjAxEi8l/ItXwIWtQprbIId L65fZvuvsieB3HgIw7HFLnqLRWQ0FI0qhBnEk7giB3BrKkWvoq7qEWEuaoZuaKdcNtpz QHnw== 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=oWuZhZyYzBlsRkTmBmnWNmCJfzy1aCUvn97jXgXmq0Q=; b=XuryiQ8baS77lbRIK3qOnlPvlO/vPxNh8U2TX/loQB4luvdgsm9jla+hppcUG6DY2F Q1hUN/0544HKEJgzjtKZPrfrxfjGgUI/oJnxPLZyiuAbknWQjzP33M47PvBpFO8KN73/ K3A1FXTFkDqpuq6KX4woAiHiJqMxotqS3Xtl5Ce0pkpJRFa0EHeGO08XmAn/Tn+Kft9u kFsWHcSZXpyRtdouoUq9B/5rHN7Q0dr/5XFNXXnXkE/YwD0pHYnTOeLuXehKN9VT8hrc 2RVDbD7BMstw5dOAdbQiKPzyQYEyuyyNfG5mBbRFJfEbk37bBDR3EUC17cMYK4uRQR1z lEvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sr6xeYOO; 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 qa32si784930ejc.359.2021.07.10.17.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:59 -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=sr6xeYOO; 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 29F078330C; Sun, 11 Jul 2021 02:46:49 +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="sr6xeYOO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 398958330E; Sun, 11 Jul 2021 02:46:47 +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-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 3F75583311 for ; Sun, 11 Jul 2021 02:46:44 +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-x1033.google.com with SMTP id g24so7909035pji.4 for ; Sat, 10 Jul 2021 17:46:44 -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=oWuZhZyYzBlsRkTmBmnWNmCJfzy1aCUvn97jXgXmq0Q=; b=sr6xeYOONadhPzA/aYYIV8J+qKgunKNEZKhhzXsGicBrQlle/boI1roQTsr6NEdKkP Xx/n4m4mewP8ZNR8CFWkMeghQ4NLl3bH64qj9TOV4gNfiBMSMnVn52VGHlRM1Lmqfi52 RIRYUTy38uwXTNe6JxWxVDUEXS8OWHV0nzCXV4ZYOnHLrFpHhy1ipAStV7cZ4HaPuHEB FM3G13PleOkuHRbHehDt0kZBK6NQ9zdiOZx5tWfTO1BaWEGNAb8Hu03gHjPTRHrZlwIG dRSp0GhWAiHNphqPdyce4u9QiPP7yZuo1KRAtdYVlimX6mbhgNqoEwfUoU5Q0GBtWaPY EwDA== 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=oWuZhZyYzBlsRkTmBmnWNmCJfzy1aCUvn97jXgXmq0Q=; b=GZAoXy3uDoNGgYvUs6WiCWEEwiBsZf8KUh8fHiSEDLd50Orul11ighiNHbQwosNT5Y i1yIGLXpiI4uQv6PFCeHns/zeDf5VFToML9ltwASaTK+rj05QpnFgqkDDjm5whzIeom0 673qNbMHlyhVSd28eqqIBFBWWCSbMEnOWyzC9810rayW5mADZTFdzQybQeDRHwGk31yF A6rO2Qg/kJYKry5VCf0+bLbaOV+kdYmLYczUW3V1lxFzPCWEnr6pSuhgoalUWuxJeMb7 vAPsLRjRG6Uv4PWboAC2YNb4AY4UBSPQgrws5v/sdiiTQkSI2nl30zQ2uZZ4gHk4caAF oZOA== X-Gm-Message-State: AOAM533PgqYGqAQrBww5yDVqAargBm1VTMCMGqgKKuASopnpXsvWXUx2 CryAmeW4sT4Wol95PO3TgvNGBA== X-Received: by 2002:a17:902:b418:b029:12a:edee:a7ff with SMTP id x24-20020a170902b418b029012aedeea7ffmr4706214plr.59.1625964402715; Sat, 10 Jul 2021 17:46:42 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id e23sm2727834pjt.8.2021.07.10.17.46.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:42 -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 5/6] configs: synquacer: Drop Ext2/4 support by default Date: Sun, 11 Jul 2021 09:46:38 +0900 Message-Id: <162596439835.156585.2412498297210174866.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 Since the U-Boot for the SynQuacer DeveloperBox is designed for compatible with EDK2 boot, we don't need to support Ext2/4 fs support by default. Drop it. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index bea13be874..208c939412 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -41,8 +41,6 @@ CONFIG_CMD_SATA=y CONFIG_CMD_NVME=y CONFIG_CMD_USB=y CONFIG_CMD_FS_GENERIC=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_MTDPARTS=y CONFIG_CMD_LOG=y From patchwork Sun Jul 11 00:46:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 472719 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp1662282jao; Sat, 10 Jul 2021 17:47:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsjTEcYYUY+xyOK46uRtbdREZR7/qbm2eIyQ6L/PHDm2NIJolO5Rb9IK01PzNsVquUWEPE X-Received: by 2002:a17:906:c10d:: with SMTP id do13mr35476581ejc.61.1625964429373; Sat, 10 Jul 2021 17:47:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625964429; cv=none; d=google.com; s=arc-20160816; b=PtUq6b/4HSSrJ9KFM0nh27ihOA3miF5UdUCrOlw6CU0ha57gSFtAfSzuXm9+1V2SQu 0o8IMwNaGxnwnndUeGwmoUGNqsgzceTwjhzFbxjNruPFfNw6WAFGENnhlFskHEB6vfHM qgJ9JWxBEr9Yv2dVSsPW7Z+538DTRe511j0d7PmRloQ3IGrKBwwNsj04QU2LEY/DuaUd JMMfNWIf/0B9Fq8DnPM8vK+6ikJb/5pGKAca0ceEMi5p4njddw6/MVbb7LQpd+U1oLSP ERVQdWTkqnhr/sJvviJKGonG1Iv0jbd7GLBI69DtuXL3JfkE0s58mUrSMAjKHi0YZQDp 9JQw== 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=rZq6lYPUhmUmHP0PwRNXv1/cgfHCOt3HQu2fG8AzTcU=; b=eN3+c61RRN5YKpn+3AhoDRoaVJ93B5AC78Bokyd3gP6aoI6gyWNwz/qYM0SN+kMdsx JblSfoVhlPJ5+hydFZR5or2ciqqILJskKZWg4x1Ia86rsSZB4ZRDQKr8MAZjMPvR1jyb FuxygH6/0TO8W7l242MbB67ZuiEjQjiLfQr/xYTbt+gKtaELZ/0B+IPHW0f7O48mRSwS Ya5HXCyku66jAjkNi1vKvP5jBxQzyoA6COhmFSUo4Ufk9FZwe+djU9cGEqK4R0sEXVlU 79bqej6944f7C83Vsy0Bs6V7zEGF8W78TrdzBgJyBlB3AKa//f7EF9FD4KwbX3ZzLcWa iXnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uA/0wXIc"; 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 r12si12782692edd.502.2021.07.10.17.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:47:09 -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="uA/0wXIc"; 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 6BC5583312; Sun, 11 Jul 2021 02:46: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=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="uA/0wXIc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E87C983312; Sun, 11 Jul 2021 02:46:57 +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-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (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 A16288331F for ; Sun, 11 Jul 2021 02:46:53 +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-x52b.google.com with SMTP id f5so14173109pgv.3 for ; Sat, 10 Jul 2021 17:46:53 -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=rZq6lYPUhmUmHP0PwRNXv1/cgfHCOt3HQu2fG8AzTcU=; b=uA/0wXIc5TP1JFoONOkZpiP1E/SRurCABnq+fxO9ucz9TcZnSxZvTlgMOsIufQeZY1 XrdiHCZk/67IR8BWEmqCGuoFwy1JtmERXACeJJFPj5caxc37/dHSNWuLM6Y9gzrmJNze JtdxMsn91/uvd+Kl8WcxgHIC7QcRGm1zeHYwzE3oIzPSCLaMfuxnpq+DtAHXY5pPtY83 h/s3GZgxxW5vIKr93P55XrW7f1g3VR6kKM4Dc+wHGEAYoiEBriHMW/9ISi2rWhzhpOGa OJV/6DSqMN8d/E7Btj+vK7ThueacoSjncsL36zc1kY1eigfzlPnMmPokga7JsH9nmezQ 1n+A== 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=rZq6lYPUhmUmHP0PwRNXv1/cgfHCOt3HQu2fG8AzTcU=; b=W/rOp3LZPSdHkueWExcP27tzmCLakwPerQi4gfBc6bIQY1xh7u3df0024QpFNkhP1l MEL9btEWJsjz3g1cfaB1RzMmHYhdF6MYXiEDzvvB9gKXAyJV/TH14haWZ1l6jASMa1H9 04vMu5ZT75wOVguh+G0bdStFp4+4+P3mxFCFINW9hs4gTvlznQIZtdCfmXdFEBmBMX2k OCm40gh39lnmqhCVngiTVhrmkkoscRDhsGjHeBeWr/FMG9nv77EwFJJo9Xeb7Ux7Fw6h wKQmw9TAo+ti7coArG8+SNzWUa2/XuZmaIrkET3qvuXXtbs3hRmIqxNFWHiXjBM3ABjK JI5w== X-Gm-Message-State: AOAM533jaQs3H+Eu1vxaGbQerB+HiNnXQbrQY/P4yhPWIUmlYjG1FVH9 s1CZaNJOjWI0zjVdSuYgQj9DUQ== X-Received: by 2002:a62:5285:0:b029:2e9:e0d5:67dc with SMTP id g127-20020a6252850000b02902e9e0d567dcmr45330415pfb.79.1625964412086; Sat, 10 Jul 2021 17:46:52 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id 22sm10548639pfo.80.2021.07.10.17.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jul 2021 17:46:51 -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 6/6] configs: synquacer: Enable UEFI secure boot Date: Sun, 11 Jul 2021 09:46:47 +0900 Message-Id: <162596440734.156585.3515863869483691483.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 Enable UEFI secure boot on synquacer. Note that unless user setup their keys, the secure boot will not work. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 208c939412..fba8fa2deb 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -115,6 +115,7 @@ CONFIG_EFI_CAPSULE_FIRMWARE=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y CONFIG_EFI_CAPSULE_FMP_HEADER=y +CONFIG_EFI_SECURE_BOOT=y CONFIG_FLASH_CFI_MTD=y CONFIG_CMD_DFU=y CONFIG_DFU_TFTP=y