From patchwork Fri Jul 9 10:50:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471809 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp162562jao; Fri, 9 Jul 2021 03:50:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPS4BCD8INUSL1MMBBEI0iVx6pYpkpPfj6aO3C128wKU6LVxbbdIZkMZpvH+dbVk7YUYLd X-Received: by 2002:a17:906:8158:: with SMTP id z24mr13290304ejw.359.1625827823270; Fri, 09 Jul 2021 03:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827823; cv=none; d=google.com; s=arc-20160816; b=ooxL8uidlL63E2raRPskyC9KkQfkMFJlZFvEOG1qAxNrIS3+SG3LkNwKYjN7r0x7tu kzbvDgtVLL0T2WWjZufntXxl9+to7C1GnpIv8Dv+LALdvUtRyejCUTQ9jLDBYb1pXD9y TDWZhJ7D0mn+o49Bor6gGQUTq8fSejHOQAjSpLld3x1xolobLPvb6IRsmosrFIKCQpEe ox/wwHWiN6tVk7ZXDY2UFmk4KqB+/gYh/myiHwKwMWAMAleRc5mLEfezfItzVNzvlytn py+JDPm8LwRv9Fu3yXxFH1WbakAZ3vm59PMBBc5QbbVjkhjV2OHddX2Yx/aHv3/kHTEe dlZg== 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=etxZ1QSiKAWL0Fs9ZRU1jLp9IvDQ1eUhUJOdkazKXdRQ/bmgJu2Xs6xlY4sGA/WkvL WzyjHg4Upb+ShX+4wa8z2vf/kvuz2Z3m8axS1T0jhyw8f71deCRXZAcbik6H6LRwp27Z TLQcDlp/jmeZgVWrFjmz3OViSys+zXHFrZylamHAIn4xsiOA9tWbJOwjm/FtNtj+u90E PFdteG9v0hTOh2MhPFvRpo9HCzGpEPYGg7eHAC7DdSJe0G22deMLzQWo6GhIbqUb6g9N Ur9iHVV1H2yuFUMquBS+uZYFudD161DsdZk7Hoayje5TJED2znRAx1wo0Q1/oSbjDALz qnVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u0H4CkCo; 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 et23si2188278ejc.91.2021.07.09.03.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:23 -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=u0H4CkCo; 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 0A8DD8327B; Fri, 9 Jul 2021 12:50:19 +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="u0H4CkCo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C79A83272; Fri, 9 Jul 2021 12:50:17 +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-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 258D08325F for ; Fri, 9 Jul 2021 12:50:14 +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-x629.google.com with SMTP id x16so3927144plg.3 for ; Fri, 09 Jul 2021 03:50:14 -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=u0H4CkCo7VKJZmA6+w2dxCgk4PodGQ3Tv7Svz1gVTr/HB6M7F38SDJXswUGGPE7eBV zLK8CDFdzcpxs17ZtGWsqUhuemE9hAufFAsT+wrDktCg3GmLvo86bH7xmsI+sRVKmcQ1 LRPcAdEe1UTyZGmv6zyDrEX425PbkyBacnNKhOd1EchyIvWLmu+yhGVatq22xKK0CbJ8 AIku4raEF4TszNfMXV+GQvQXN36yWwSbA4fHYhKORtKW3GPn+NPC8J3wwLscoIkZXokP 8Vqioyqf23bOroxn0EyhOIKdZNT7UiM+gw8TbZDGJiPoattry5EqVnK7pDZZK1YGI6Uk h5kw== 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=aRgdzU9rwDfdQQHZrP7isgOawM89GPCwg8CMYM/hLpEMsi2IEvEtjJhtuhZG1FwNb2 WWCGidp4/ezPAP9xeYlhHcb4DKAFRaMwrdyxwxBUp/nsQg1t+n21pVFd3vo5Bdmh0snl ygG1J8Id3YOWmXk2JtwtA2HRLPQRJdyDma5Pv3MbmfUlVVsfzP3WwKyteWZEEnt3loTM t+TMp7O6FVqDZZMY5WXcUf4rdXSQr4zRA+DiReCkBceSxlZ53wV3N2332MsfaaFArj5d X3R3IAVAf95J2Lak/tdYLQ1BOwsenizGz99XDidnqmUM/mgR6vjQU+8IVzSdPSQyr6ce Hh9A== X-Gm-Message-State: AOAM532B/WJ5xvM7SoXd5lnfrBgxNHyTrHslr9qA7R64aJNZmA8s6bYY qUfUnQrR2ks9l9w1s4gQ3cSPSg== X-Received: by 2002:a17:90a:454b:: with SMTP id r11mr35701713pjm.60.1625827812348; Fri, 09 Jul 2021 03:50:12 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id p3sm6893306pgi.20.2021.07.09.03.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:11 -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 1/6] board: synquacer: Initialize SCBM SMMU at board_init() Date: Fri, 9 Jul 2021 19:50:07 +0900 Message-Id: <162582780755.112250.17538050933760262180.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 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 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" From patchwork Fri Jul 9 10:50:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471811 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp162811jao; Fri, 9 Jul 2021 03:50:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwl/oL49pzx0fm/WhiOiFB55gk8G7AHC86mvGMXZRADHylimj69HMNc1ANirRnCFC7zdARw X-Received: by 2002:a17:906:cb86:: with SMTP id mf6mr14790227ejb.116.1625827843737; Fri, 09 Jul 2021 03:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827843; cv=none; d=google.com; s=arc-20160816; b=OVIKFjzHQj+Ph+cXJPnW2uC/8RhHW0UwhkhQsP+tk/14gZGElwXKnOMS4yb7dnR4Be EXjNpdU+ZNq9qcygPZk1rPpPRjNgCYdktljqYCP71eEBcZoQDl+H4Zpn+6VSuqPswKzW 8iQ9xMT/LOatZ0yjKQjWx1QiWf47PWEsmes1AtgQhJCHhV+95BPBZdEnbo1LtX4jh1aG VLDOiQnWokDJBA139ejzHmdkNzzQqY4i0UMdx9BGea7NS/fNK2+yb4TrcA2SRyATtCoT oeENKRu/SR0ErJPVIOQ55Ig+1lXKyaS1UNhmaj3JIVXG7Eg6CDh9ujDPMion2AbhrcrG JQnw== 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=Fc6t4bDLR7ymHxuXboTAUSDglSmcRYGwf/TwkAIJ0WA=; b=VpW/BnG4kkSXi7MLLVLP2cSTuoEiAJ8RRuUOdtyUNMGradQIAR+wBPT4tTUoF/+G1W SMgbCWdVNffqQj8pgQyu0Ph1RoznOS0iPC6lRDO824NsTQRuphR0NjCmYRHoR71dlSBD V4U1F864TH7NwbARU6O44a73TXe+o9rw1HwK7dcOcWX7tMgLN9lMrtnvG/95MfTeAKyJ 7U1Yd+0Gpb5NlGY0ZtlKjFrCpMPx40wVbdzKtNzx4otFr3rQhFAK5HzTBOoShi6WRDMI aF19p7Nb3PdSHy74O7o9EXRvCIpusGT4o9Zaoy9HnfUFIHsXtFqq0wOyn3t9SbqC2792 YenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iSlI57T2; 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 by10si6304627ejc.77.2021.07.09.03.50.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:43 -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=iSlI57T2; 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 6ED2C8328E; Fri, 9 Jul 2021 12:50: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="iSlI57T2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4EE668328D; Fri, 9 Jul 2021 12:50:37 +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-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 0D01583276 for ; Fri, 9 Jul 2021 12:50:33 +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-x42a.google.com with SMTP id b12so8374637pfv.6 for ; Fri, 09 Jul 2021 03:50:32 -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=Fc6t4bDLR7ymHxuXboTAUSDglSmcRYGwf/TwkAIJ0WA=; b=iSlI57T23e3qhKjs/VjXPFzGgOud9d7soacaSVa0O6thYtmeEWoX8I2gf/ed4ti/c2 jmwRX8mvEKecAryzxMcuacRGfFWnDsCh/V6kRCEepxbpqmCahJ31rQ+cMSwUsUXQzt4F NgSGfxh1RYGAc70mdeHZ6dlQbVsdEQfJml/2Kh/KEU3KUphQZwDKXRtoi6F7JEI5kkhx 7t7NLqX0wJKwDmj31ZJxbiqd3WczOyU0OSFEopldiYLbf4paEG4IakUOgwCP7PZC5wOd DeFkCgJMMFR4Bcts4DvrAnTGPRcE9X3nNKLMrgJ2xNpxQvdqfQB2OsFiY/TMg3bJvnNU uZkw== 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=Fc6t4bDLR7ymHxuXboTAUSDglSmcRYGwf/TwkAIJ0WA=; b=CwPv1H4eWMqpP/uXQu/I3arHL+ywj+H6t6a/u3F1hm019KWva5+G+g9jDkeGhY/h5b ReguWGydWlDDtITENieomsPHvsFSqAyEg8Qo/+kZOipGo/0Df3UXSqk+S/pGhE4M5JKM /ccd6VNrW0Pu8pHrnM/kSc3Cv/RLqjsjBEgNLzkOYR3rp6WkKw/Gap+ccumUewCmfWPJ H5HpWZhBwzinM+ax3FyEmIW3JDj9EV+w/Nrsp2vof9Pv8IN/xPsFqTO2zEGUKKJIADz+ 5jUVz8Do3CXxZEaEczYE0WJGX85VyX38zSbKqscRU9mKq2qmByQVOm13CIehKyBeUzas UB3A== X-Gm-Message-State: AOAM532xuRlCYPti/wMj9DBlagiCyzYKzU2mITJuMq6e9u3RTbV/4sGz tsf5hBpHfRC9FM7eU67KmcF7uQ== X-Received: by 2002:a62:f942:0:b029:318:8736:a9a8 with SMTP id g2-20020a62f9420000b02903188736a9a8mr35798706pfm.26.1625827831448; Fri, 09 Jul 2021 03:50:31 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id u16sm5816880pfh.205.2021.07.09.03.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:30 -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 3/6] dts: synquacer: Add partition information to the spi-nor Date: Fri, 9 Jul 2021 19:50:27 +0900 Message-Id: <162582782712.112250.6553338507843531908.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 Add partition information to the spi-nor flash. This is required for accessing NOR flash via mtdparts. Signed-off-by: Masami Hiramatsu --- .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi | 42 ++++++++++++++++++++ 1 file changed, 42 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..245ebcda01 100644 --- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi +++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi @@ -31,6 +31,48 @@ 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 Fri Jul 9 10:50:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471812 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp162926jao; Fri, 9 Jul 2021 03:50:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAZc0rB4Ca9zAUFGtLGPWokrZsF11rRGW/AG1/wtOgtH/NrMuMDc11/FKtyC293AXPPtgb X-Received: by 2002:a17:906:a843:: with SMTP id dx3mr35727618ejb.487.1625827854228; Fri, 09 Jul 2021 03:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827854; cv=none; d=google.com; s=arc-20160816; b=G0RFlP8pKMvw09ZjMfU/zeJAllv7W/wyvnQ0ullzev+OagCDRumU8XKU4eN7tekJYW LT51UJszPY6cO5lD5jq25obvWtj3h9NLSMe7RCRML6rw5XImBV2ByhcMoWAgTeHgSIiD uriH69/iPP5xNdu0I67QtCu9WyyMsm5Y+hI+XR0T0oFAGjNqdWKzc/Tjtwy4tIGKHHBK zLe4ZFiSfZ+OqLUe+dUD3/XcoFTewG9CoJAq2DMyQZfqhKuAwppNXSIEFPd6BiVFTq57 UC2g/zSi+HcdXIT2dz3wgYKg7Vaeic4m7xCpeLYGcNmI1vBdAy+i18n83tsa9kIt8ZPy s/AQ== 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=md7AZDt68Q1SezYD2l5VD9uNm3eAPzS2Vb48WlnGN4JZmgA1BKHraqXhzHlJekHRdq BpGxCZFfY9AB//Nk7MaDOoNpSc2l1FhRRu3djC1jTGcs0jUcE6+0aXfD/kt6MPDP/BBD Enkl7xOm8l2HV2ZBIvsaKCUo+FKmIgCXc9G6ECgcxQRi8d3DhxFvboBnkxHLhTcq0CSe YLXBZJlP268/baHfaas8jWJb0ibYVXg+VgCZHA/SYWPG7MpaiXoxCXClE1IjaFU1z/rC Zqg0qv+ZMNS3bkBqSRPU+5WWoDyB3ANmxxCr9VQztChEkAMB2mQc4M3X+gWJqu+1ekp/ nofA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RsddX+rO; 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 j11si6705546ejj.109.2021.07.09.03.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:54 -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=RsddX+rO; 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 DA6CF83291; Fri, 9 Jul 2021 12:50:47 +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="RsddX+rO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E629383277; Fri, 9 Jul 2021 12:50:46 +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-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 9CE2383276 for ; Fri, 9 Jul 2021 12:50:42 +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-x102d.google.com with SMTP id g24so5535673pji.4 for ; Fri, 09 Jul 2021 03:50:42 -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=RsddX+rO8UgsphP7rgc2JnoiLFbbaNtoLQTIDHSc45c+VK950wJbo+HuTmWwCQimMe 89MtnHUVVcFrMCfyohKcrqq6PeYAmqZQQiMv0BOLgqbck3q0ipyRl0YcQ+KYSAZZu5De 0meiShMNTZDWI+fKFR03Zu+uM0Aps+x6kDDK1R41847VL0AJksHXVJ6udiCHmWPNdiEr iFJzcUW68azlxLtEc2EG9VGQ1Cx3eCIvg+aFoyFr/27HMNgVMIFLNQUxNw6LxXbHPIDX cqWYvNsiAEMIq/ecUtCiRSkr6ITDNFE3l6wv4QiYE8szSh97cIP3YD5QKcEU3oH4YJiR w9vA== 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=cYzHUrkiHxie+BN7FM9FoCzsZYD44Yxpf6IGUGJNu5F7eEdOy4BIY3OD+HxWTAJsaN vtU3MdV34RXkVdTGwucQN6O4woSurAX5Geg17FRnS4zITg4a9FkWok8qRxmXSB7BXIi9 y10pcXuLHBaG5OF9LGhPywUW5YZEpcMKj6YuZobJj9wa69FBLFRMxa4sdg6pNkPPZSxo Fx2S29hgqCNdV+tMIInHqjxCgl/PXskttxSlEbMzYgR1KqcQ0qeDXa06hfTGTbvCu4Th mrYb8EuKQGGxltITo1+TWNq1iZcJiynTn5gf/KZsdD/JvP2r84cMmfE6bI4PxeMdOkMu RNPw== X-Gm-Message-State: AOAM5313FaNLaopKv4y3mCQIpCHyaeaeMJpzVA8hn9+d5Z8nHJdG3H2A 5u7tmSQEQQxY+Suw0wj5o7gY+A== X-Received: by 2002:a17:90a:d102:: with SMTP id l2mr37298347pju.225.1625827841045; Fri, 09 Jul 2021 03:50:41 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id x23sm4661200pgk.90.2021.07.09.03.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:40 -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 4/6] configs: synquacer: Remove mtdparts settings and update DFU setting Date: Fri, 9 Jul 2021 19:50:37 +0900 Message-Id: <162582783680.112250.4844924924619387130.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 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 Fri Jul 9 10:50:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471813 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp163119jao; Fri, 9 Jul 2021 03:51:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBobAcyT7wJ9QXf2eqBHRSF8zauIbHEhFPbpNPKc95Wp22h/IKWhE7b1MuRPrA+8vpQw6i X-Received: by 2002:a17:906:3c14:: with SMTP id h20mr19006934ejg.176.1625827865019; Fri, 09 Jul 2021 03:51:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827865; cv=none; d=google.com; s=arc-20160816; b=SdYe3gBK2Dz//1ABIxwMZg/lA6UMh6P6ytUJBcoHF9Jy/soBPU5ADLazye6I7UKyEB PKEV8KVZQUrkVSqgLCrdfFiiv1SQhGRg9wJ1hQEMCg+XFLQrCc2hTMbN1YlpiP+yTjs1 eFVqa6TF8v01Bq0QurLhltUKGlDtYQLt0SHl6iuYBpWvJkGpyU/2dPK20HTjh5L65o/L YLSFsGKclLhfUu2oefdo/T2c/qcYxxxxemZK6OKYPzoa2C04YwctSRnfnjyL1RhUzdwK Xp2nLxiAJIAmp/gG1w6m10FujDqTcLhoJFK5oZsLSH3uehOV1TIrzjk4Ne0pxX02he9j t3LA== 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=hrDzevMtC4pjgBzvErJL4fkHOS6qDRNPBc3SbnykvBBPJJM5TFlLg4/X7q8t+2LYh7 a6dtHQNf8qkssZmQ04hQy0aqXL+jqDOr7HKcGB9GKko9N62w0e9s/ufM5vOcMMT9y3ch /DJoqarfH9ZFpM3+RX+L1gdONs/XNLeewYMbk29cy45v4Q2HdwDpivTnh+uqIfuBDpvh Lw8XUhWPIzE2dxUGnTSs2dPtAnVLcgTnRdkoKcPhI10YJS0nA0qzuD38ZA3e94HGmnxx GqsnZiAFDDAuRhTEoevgyV4wNfQ9ytSsJBbWxNWWrooYdMB0stlVtRmeO9z70awq4SaC cyHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Wn5ZcqiQ; 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 s7si7998868ejd.294.2021.07.09.03.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:51:05 -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=Wn5ZcqiQ; 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 9BCE483276; Fri, 9 Jul 2021 12:50:57 +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="Wn5ZcqiQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DF8FF83271; Fri, 9 Jul 2021 12:50:55 +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-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 AB5F983271 for ; Fri, 9 Jul 2021 12:50:51 +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-x102a.google.com with SMTP id b14-20020a17090a7aceb029017261c7d206so7998164pjl.5 for ; Fri, 09 Jul 2021 03:50:51 -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=Wn5ZcqiQ6P0iiVhR3uMHz6t3bBbXeJRqPA79ebkiSYj8T9ACFGttYVPN1RuYZ9dVCw L7WEogoYt6oVS6irZwZJik5Crn1CqVR9csC62pCeWn4vmD3ohf982zrtKtgTpuCYP+jD Wr2TI9kVgphEfF24EB1CGDmyNbkrwIi8qMNgwlrE3Sa3IZG6LffBzJaafSGXPBf5XABP k2DVeaUeoCTBHphVZA1yUMBJyECYsoenhg2Em/keqXAkW8QVVFf2K/fLl0zb7NOL8Dh1 w3b8/DDmI43BcIibDPSYjuip6e1uh/GP+LjNcJCgptcdcyFcOteh8AmQLIC4xHIPNiWw nePQ== 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=AvcRaHgrnnoN/bf0Ii9F4BjNnOrfrzOWogPOlVzWFgJi6FDPZyA7GPwcR8hhI74jwM ze8H136zze2AWMWqoW1MQyF7RwGSS26Yuwd1dJYoNsfcI5jepHtEbQkGsWSJ5J+tILj7 iF2spqefoIi+vEutvbYRaiSjPw+N9+5kUUlbIn2Kak70NaZ4wwbs16Zw1V4PG7JBNCOB eyU0FPuXdZ6QhQmjJnQ947EXgnw4xfQ/Y6/jx0AJ4+7c2hRF8aD6Vi6pJ+Giz7Ildg07 4Q7GvkmoVURe31d8ssHZQXendlfNxEQBR+dfXP1OcOmtYDyi/CLYmqsS6XDwxe4WVR89 s5QQ== X-Gm-Message-State: AOAM530kHKGA2n60OrcW1FnP2fHKnLm1jT/yOiIYi8cuvQXvualT/g6N Znt+xa/eog/4cCopO7paVfDAtg== X-Received: by 2002:a17:902:9b87:b029:11b:e66e:a1b3 with SMTP id y7-20020a1709029b87b029011be66ea1b3mr30737890plp.33.1625827850134; Fri, 09 Jul 2021 03:50:50 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id o72sm4348322pfg.44.2021.07.09.03.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:49 -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 5/6] configs: synquacer: Drop Ext2/4 support by default Date: Fri, 9 Jul 2021 19:50:46 +0900 Message-Id: <162582784638.112250.274091611548503452.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 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 Fri Jul 9 10:50:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 471814 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp163273jao; Fri, 9 Jul 2021 03:51:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3zobp7xC9AuPCyoDZWtn799/M1wl15s2I/uKMFDT0FJfZYK6xsy1tOPvZVXZvrg1o1eBr X-Received: by 2002:a17:906:dbf6:: with SMTP id yd22mr13075708ejb.553.1625827876132; Fri, 09 Jul 2021 03:51:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625827876; cv=none; d=google.com; s=arc-20160816; b=kCbWuxXoyQZef0SNjsJGV3O22K3DWyK3hLXqY8utNRkcDPQkSwiLi0PBcSWYtaXDqj f8h94xRo0dle2EbSGlaH7Werqi7PpS9qh5xD2PGPr4FpEyIB2DwD2ShuyGyoWQ/jkJ1j 7SqiNlB3OWqpDVWoUyBY4SX5zQCTJjGA18UGo6uuK/DhNVOx/1j//6AByO3HXNKr1wzZ FKMgIUQVSojlQgWHxoS9u8BuECnVvuGskpHjx5wxQgi6F/K5245nMMIjwR0bkXmIUn+n 48YB6ggaahfZL1rDO/vhviFNhFfFCqQ1RoNnpq+tmpu/OyZLvSgL2swkNQwgI3M51RHX OMCg== 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=vLubpAVjJEE/w5R5fMpQv/DEIRc7LaWeGMV8tVExnqsI0d82KJpKi6Wbix5FQbZTXv Fm+RFoygU8jksLNEPwVSp76NS5egHuSJEk/VJorQ7zZvzMuHCVrRGKFY+zs3QTafnUi5 gq2AtVbVBEBOf1wSMmowShsqeT+SpyJ2Gf37MCjSq7w/es8rQfHw9RdUbBU+6vuAvJao JOas5hHuuCDbc/H83ePDsqYSHlS99ZaKhy9IbG7pthaVzHhO9t/K1WVRXIB38eUAIXwE MiGrJMxLNgO6PrTf3x1NNm8pbLiyWmvFcQEtTXfwHPyPEoYAV2mS/Dc0xmCbLUYIVlcn Rirw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iq3fYYr9; 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 y20si6585450edv.174.2021.07.09.03.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:51:16 -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=iq3fYYr9; 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 93E1283281; Fri, 9 Jul 2021 12:51: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="iq3fYYr9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5020E83285; Fri, 9 Jul 2021 12:51:04 +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-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (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 D238A8327B for ; Fri, 9 Jul 2021 12:51:00 +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-x533.google.com with SMTP id k20so2586007pgg.7 for ; Fri, 09 Jul 2021 03:51:00 -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=iq3fYYr932T/it1JquQ/5I76CR2y6oGruI/dPSpC1qlob50ym1jC/tjT/z0WCXeQ2W VjLhbjW9Ga/DtLMfwTSy07phBA7ftjAqePvEQZlz6a4na4VTgPRifKm6OvAot4jcAE5Y KhdrXh9PYX/L8jok2Wz6SHn9GzWp9IU3pub/jZuMe0ExlwhOgS41RXXv3mnsXzTosJ5/ SQvelnBTpfIRuuianNkrgR5tpr8oCo1HPeF5m2R5CUGrUGsnhdumzANTrlZ7oUCPzohB LJsDaih7OxwHPT0E4ySJyPMDr1Aij92OmauVkhQIC9+fn0e1l2J7MaxskJ56EA637Nwx LZjA== 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=Nj2ifg1NjbMhe2Gbay68ro4I339GI+KzKnkdoO+HC7Asrb6/YWnC0VKhCdiGsQVc72 S69cWDGuE4VQTBIIhnNTaJvx0hdtRmyFUDu0V3NmO6khmysBGQm+KVh+jA9vb3eyTBzf Zw6fPDXpn+jQMt4zQWlhRbsygCuNq8/dYW+dttubZUAf5lp1F1WhPBrPvIg4dEW919ZK e0SXFgFpmESlBgv14s4lLIhJqnwWNX9ICHb+vzOgb+Bko4oO2pTFB1Hq4MbykFUPtqIb W8dGg6rt51lf10PM9kj5IbeXE6pOIb3N40hirT9hHRw2d+QHj/CO1y37RepshVMYkMNm cfuQ== X-Gm-Message-State: AOAM5324WbMBPdW21KMX/biuyzRg6yuDMxVpNOvTdJHvbxP+9GcZmE2v K+AOJCmEnJIYzakX/aTwRChppA== X-Received: by 2002:aa7:93dc:0:b029:328:d6c9:cae7 with SMTP id y28-20020aa793dc0000b0290328d6c9cae7mr2594551pff.53.1625827859321; Fri, 09 Jul 2021 03:50:59 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id co12sm12325846pjb.33.2021.07.09.03.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jul 2021 03:50:59 -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 6/6] configs: synquacer: Enable UEFI secure boot Date: Fri, 9 Jul 2021 19:50:55 +0900 Message-Id: <162582785550.112250.11186438144907762606.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 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