From patchwork Mon Jul 12 10:35:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473073 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2805242jao; Mon, 12 Jul 2021 03:35:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQDar06XQTHV2LpOOKsdtx+ckC2WUfX70+QRQB+VZpAESXxC/yDFP30krAFsHOYTo1L4Vk X-Received: by 2002:a17:907:72ce:: with SMTP id du14mr52132991ejc.529.1626086156873; Mon, 12 Jul 2021 03:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086156; cv=none; d=google.com; s=arc-20160816; b=auMnQ7zG9+WhOCjzJDF/Ik3G13MWKXKvski5oJkhJM3ZGarHpWTKbM3CizgjXbsXo/ IrSSQywCdNieLHKRZxd9wBleccQJ5ceRjeOy/2fh+YDljwStjCrzT3C5YrGptBjB8kUm pYML3jheFA2l0K6N6u3r2NUpFNu9au/x8biiCa+PQNEqPsBBZnf+FaF8b9uDKpMvgCsA 7oz63kbMfRANf974Z4Xl/Bo3hoozh6979ODIZsgG6JyBm6iIy93soMUtt5gB7vs3NCz2 xF3nheAXTEp5vXiBz8O2WhhERWZ32cKCi4W1n7cbETeAYiuiniX6nabj/7UjB64t+hwg 4XlQ== 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=p4ZJM+Aem+CN5BIUwnWEZua4z9hILMLwxpKXNIJQfcXvgz3HgBhjkqk4HbeY8DEMKr oJzOvURYgpneGGiPJ8GK8D6u1LmX59eqcrg9g+Qd/cebLW+nAg0F/IbsfZ6K4Z7v9TYO GlCjNMvQClYuvA6riHBIHZahKlKHsPCvo5xFHOoAafmcGdrlbHHPVMB6sBju4xwDBRY3 amsDCKz/ehQOlrV1yrG9M9UvKGDP2fhPPelUQuQRkUOuFABWMW5btVD5x8rXQ/ILtiFw D7gD8egtjAwKg5Q80P4RzgKOdyGCYtxSueFe7pPFtWAW9ON8FEVcq73Vs++D3zoJiXSb JZ5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SqxmHRZ1; 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 w19si16609530edv.129.2021.07.12.03.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:35:56 -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=SqxmHRZ1; 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 5BA3182DA9; Mon, 12 Jul 2021 12:35:54 +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="SqxmHRZ1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A12A82DB4; Mon, 12 Jul 2021 12:35:53 +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-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (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 1FDD382DA1 for ; Mon, 12 Jul 2021 12:35:50 +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-x430.google.com with SMTP id p22so3033258pfh.8 for ; Mon, 12 Jul 2021 03:35:50 -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=SqxmHRZ1R4rQu9zlbMOt4gL4hOKgIypNYLTFUHgHWf84/t39rjHIf1V/YtI+0ochDA EKJcNQSRnqtsSQQ5UofpxtDRt2LeP1k+FsIhjmWsjQAhpZ2YtV7fmkFDGX8ZKXtIMRnQ ez28hNElvFH8EuE1wVZQYLmmwEVqzvyn3rPQqxYI+725h9yuYYYYyBhbjZIJ/c9hSt3B fERYP5srHvrKLGv4XZx7kqd+r4DD6VYBbkm6TzkIEPxyG6Dxay2z5zfFqb9MSSJnzwLF J0aW2x2HJS6hk7UPuHyY/6OqcKIGACeLdh6M2qnVZQG8v1oBTdTgpFKy1DcuifPsKR9p 7XoA== 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=BzLB7zLAzUH4xmAgJlMDxmA23jzkGyK8NzwYly5eplTuhhcXeGtza/mMNADkGsefv9 2z1ZaYCvUHO121ZQt8V7drGLOqscB3P21sXSyD8r/zCk59JTR+jD7WXeMEH1ng7i7aBC ZsV5f3c9Zq356MrRmrEEYqqSzMtDyVfcIzruPxC+OVLp0Zuaq8fLImksFyELCJHcRR88 Kid0eZfK5UM9TtGhqx+sWfR5UfeLWKyaeaBmZP3Im9xERUCUGZQtRJlF1x0aiXqMVamK d4hB5rhnocB1IyHuBU4mQQM8yoTma8JIh+JKDNRAnrAS8F9y235PK/kyQs/dcjR250Rt eGOA== X-Gm-Message-State: AOAM531ehRR2SRgoQJcg6FFnXhbZ2TRyGycxYNFcncDgrI05D0DJQJ8P 9tuhVzYdFNldCKIfS4sGgAUeLA== X-Received: by 2002:a62:ea1a:0:b029:329:a95a:fab with SMTP id t26-20020a62ea1a0000b0290329a95a0fabmr13838418pfh.31.1626086148560; Mon, 12 Jul 2021 03:35:48 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id k10sm15295871pfc.169.2021.07.12.03.35.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:35:48 -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 v3 1/8] board: synquacer: Initialize SCBM SMMU at board_init() Date: Mon, 12 Jul 2021 19:35:44 +0900 Message-Id: <162608614422.206671.16863457236408720329.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 Mon Jul 12 10:35:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473074 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2805361jao; Mon, 12 Jul 2021 03:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJQa73uzKvP5hz9QZmhFrUKoVJXvThaEETAmZlEwDJ2qac8UWqZy+XO3PEb2XZ74DYxs2E X-Received: by 2002:a17:906:e257:: with SMTP id gq23mr4275403ejb.545.1626086168377; Mon, 12 Jul 2021 03:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086168; cv=none; d=google.com; s=arc-20160816; b=i9oSr/b3x6hOC4vpIK6hkZMgGwtr6nnq6s7YElfjyhyvnXGCIwYOU2ikZPVZWijglW qR83MrIhG0opukxE2HPhEpuFIRCbqcH/kAsJ8t0s+iXguIKHhfRCLZYw3le/ncMW9vT5 bf4oymX5n8wZO5hkxlp/TXzkoTc4199ipA3qhTZ+SvZDMECuHONtgQL7vTLIKVuorcTT OEwKoYOX000R19ucc6QQCIhyHXZJJmQ2wtDfWWjwxjNxSjvMbhDfBsusGrpQPLJekHaP 4xqgpFn29Wu8zSHp/aUPU9WzVbxphbJmG/4nL45hcrodNqk6rECVAUi2pMROSvHW+6Y1 db/Q== 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=YMN/jkc+tYHZbUlcwcnjs7f8NhqUuzjNqnGz6jFgFsA=; b=zJUtRmDyIALxhvI3Wm1yVwIDD3mNeyXVrWoc8DTDW+EUyyOWwNI4SDSbvIiB0S8sWz uJfY1c0tis0h0UZfr/MQ2s5GD4TYzIxuFZ/j7cTPV5q4iBOrGy+cCnuASOrEn5FCtnXX uokGYQgPHfbXRWXOxoDEFd+aSuq10i3jVI+oOK9luTajivrrwnLCBlsI5Gffm1Tt1dr0 8avoAFLt9TZTNuystkBFpkNA5KLkaYFuiZAAteS0WjmQujlDmA7Q29gtjwmbiIF5Dggp V+cEbFrGbAgAVqjELiBCt32vE0XQDc6sAKUbC3IvKFb9w5yyXXOWzx/lOklPSh14GlIS KE3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q94oXOZQ; 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 e5si16122459edu.539.2021.07.12.03.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:08 -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=Q94oXOZQ; 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 CFF2582DC7; Mon, 12 Jul 2021 12:36: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="Q94oXOZQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8B14482DCE; Mon, 12 Jul 2021 12:36:03 +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-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 809FC82DBC for ; Mon, 12 Jul 2021 12:35: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=masami.hiramatsu@linaro.org Received: by mail-pg1-x532.google.com with SMTP id s18so2468810pgq.3 for ; Mon, 12 Jul 2021 03:35:59 -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=YMN/jkc+tYHZbUlcwcnjs7f8NhqUuzjNqnGz6jFgFsA=; b=Q94oXOZQfuLom21uFhsxU/ZMKgNDK/hINrjiw7a0bRSOJJsnk8VbxhrugW9806qMCj bjPuTtwODx2v8F66YiRDGKqFEvvvlGkcJR7Wh0wcLIJYOSjFXrYzkH1scj4VzMIjr0cE LQjIhpg6vMSQ68+xEHVsqJTW02UHPMorTN87PPMWJZG61+bWEelGWB/wQvcSw/jc1szd nGFG6hx5rEaIX+o+VfaKhavqrttoyOf4Z6y+cRpgAl6pOm7hf2eVDTC8Ora4CfiwHodr CLEVOcnOefQ2selCtacP8byFZzNkLFHSkb/uH1NEeZbguBAcmsF2GkOpeWtoFOg++7Xd rqcA== 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=YMN/jkc+tYHZbUlcwcnjs7f8NhqUuzjNqnGz6jFgFsA=; b=JrWy8pmcgc/9jyj0v6+6Xi/ICYVj9BAIqvTM0iEzUSFA2F+Oocnvglm0IJSef8POuF CCF9jRckTVm3YhSMRINJ8WI5uHfYF94xQXJL4odZq4uxsXoKnJ1sXDfSq99gSqSL9NYG M6K+cAhpqguOGj4xhLqMkC2tSy6suYHq1VzpbnRAaijOXU10vM2SvOqaUKZ8sMrHYVs4 BaydVKIPZo2eS2LCtteDipx7oXGkl1l+4ocm8UTRlXNg4Tz3g61qQI7hzgGnYrwYPDju 00zHriE9sSymTXmGtWFlkJu9668JdDCOcqHwKyAC6J3Ch58z6uRiDPOdc6fw8RET6bYM JZXg== X-Gm-Message-State: AOAM5323kJffpruyGSHNtZ0BOl0zgf02h52E+zKvvYEFDXSqUpCxiobJ SqMTE5NBU8bs/CGxtrJW63oCfw== X-Received: by 2002:a63:4c19:: with SMTP id z25mr52585957pga.160.1626086157758; Mon, 12 Jul 2021 03:35:57 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id o3sm4029263pjr.49.2021.07.12.03.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:35:57 -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 v3 2/8] configs: synquacer: Make U-Boot binary position independent Date: Mon, 12 Jul 2021 19:35:54 +0900 Message-Id: <162608615390.206671.1289297812761357181.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 v3: - Fix configs with savedefconfig. Changes in v2: - Fix a typo in the changelog. --- configs/synquacer_developerbox_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 090bc47524..92be72d1d0 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -1,6 +1,7 @@ CONFIG_ARM=y +CONFIG_POSITION_INDEPENDENT=y CONFIG_ARCH_SYNQUACER=y -CONFIG_SYS_TEXT_BASE=0x08200000 +CONFIG_SYS_TEXT_BASE=0x00000000 CONFIG_ENV_SIZE=0x30000 CONFIG_ENV_OFFSET=0x300000 CONFIG_ENV_SECT_SIZE=0x10000 From patchwork Mon Jul 12 10:36:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473075 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2805507jao; Mon, 12 Jul 2021 03:36:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4vpCwHQpJLwHHoLGNET/EQIxiyPfHuEU0TPv4OP9ttMoz+TbE5YTKcKJilZdZDTomAONi X-Received: by 2002:a17:906:4886:: with SMTP id v6mr14887629ejq.45.1626086181475; Mon, 12 Jul 2021 03:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086181; cv=none; d=google.com; s=arc-20160816; b=WTvxezp9L9jgLQpfqCDrXsPuOncoZObzOMNGrDoMwyDif6X1X83qYFzSS7xUBc+VSm uc33eu8O8acbTAtUBteMVfuiKtPm4LwLRbtH6gHx6NeHmWjjRNS1X8kGl48BQYGK2F7W CwLD9NfcECMDxK+DWzUohp/ay2vV5LbWqVKGTA90eASzy3D4VDQIzbdNDiFJ4PA5LVRG hjeVrpIaVRF3DlShB8GJ1/NvHQdkn+X3yAFo+tKsdi9MhXFd1j5f0LrjfpPoPlkn+Rpd Uvrj7EEaQl5nEyAgjRijMh3q7tQS7xaocNbbdG3UNmf57Qenc1ISfcikLkW62UtWlGk5 kudQ== 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=pbGvQkvP/U7vQR6xyia+QF5X0n5rRM/EnBydbs8x488=; b=QlhTLZuX3ofgfUBse1+S7FuTRIupzOoN8VoUZ/QYY18jt+pkorzGs0Q5hGiAE9N8Z2 dRsR0rLHNLBR+6neTO2V0HOOyamWW7vQXVK+D4krlSLyGq6Bb1C8hPFOkOpZPrAME4Pz RJlSEX3CKKqdj0Y71UI9JBwqwkMiGwTxsCpbIRyvN0dxjv4WdZBfkR8t4VnEI7v04XG2 aCJisuARpo7RiLWoYb88c58rf3EIslVhF25oP+hc3AV3mYfISHfuP9d/RA+Q6EAJyCry OfhGt8rjqfei67+RXBwiucpATg3SswFyjtdtPYSl0ZlPozrs67UKH6AwJatiw8lDc34+ SQ9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j0FteOZd; 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 y11si16555335eje.13.2021.07.12.03.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:21 -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=j0FteOZd; 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 2DEF682DD8; Mon, 12 Jul 2021 12:36: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=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="j0FteOZd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3C2DB82DC9; Mon, 12 Jul 2021 12:36:12 +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-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (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 4E91282DA1 for ; Mon, 12 Jul 2021 12:36:08 +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-x52c.google.com with SMTP id h4so17767053pgp.5 for ; Mon, 12 Jul 2021 03:36:08 -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=pbGvQkvP/U7vQR6xyia+QF5X0n5rRM/EnBydbs8x488=; b=j0FteOZdcl9PbAoWhZb4wgcKb6nGriaSv+A4qfW3v4RBd3+iTlzM9x9HMA7RjwshQy FfVG+2ThytG2KDYt+unEpC1N9tvH16+BJVcKG6JxWVQIttrrcIOxSmkpfPyIIInbecmG XkCtQUA/WT4E5ouKPC73NVUVMmUPV6imy9rlX2LR9OmbBGvM2esvc9L7VvxwZVgMsXH4 Y/LyG+s7+04qHT+5/JoKzcCTpN58XSk2ZyFRg/ODawA5B26MG5j89gdpN2efr+M7TWa/ yG0/Iqik3JJqjs8D9pqaP+vYSCnK1Fa6ZSD6qrOtxn9BkcF0LizaxL/U0+kLpfgiMdfe dutg== 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=pbGvQkvP/U7vQR6xyia+QF5X0n5rRM/EnBydbs8x488=; b=l87bI2pC9hu90moGWqkbRAXewoDyVRG19u0sBYb57WnO/kVjLs5XKZ4IVqHOgA5AhO CYtOHMfQXURcAS5Njpq6NEqWXC1n4svcYzqBH+IkAl+JpBjqxxwpq9sBAjdElUeHmRKr aU2+MTnAvNPHFs7nL5MRGt5wiE9ZSwk9fkT1kKAG0NwqopK6pQtwi3LJJaoP52Otw2kV 5wDyCoVK3GFuw2o26XGUvSISA2s7T8HadwdtmDmGMf2G3Kn7ypRkHePxwoFn/yEXLF/B Q3ADJWEjIr6d5tCJqebRqOc+E7XsvTnk+s6eENFu3AvPuDDO8zHYIZbhz9wN/mXBokvy BoNQ== X-Gm-Message-State: AOAM531RG2S1JmrpxRbEx4tWkgZC7g0BXt1wKT+aUNdnFQRscwpLMp38 YpJrYzqV7rSwAOF9Lo9UDfftFA== X-Received: by 2002:a63:4750:: with SMTP id w16mr25511255pgk.229.1626086166809; Mon, 12 Jul 2021 03:36:06 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id s123sm15352786pfb.78.2021.07.12.03.36.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:06 -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 v3 3/8] dts: synquacer: Add partition information to the spi-nor Date: Mon, 12 Jul 2021 19:36:03 +0900 Message-Id: <162608616313.206671.11863227793411224264.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 Reviewed-by: Marek BehĂșn --- Changes in v3: - Add Marek's Reviewed-by. Changes in v2: - Add new lines to separate the partitions. --- .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) 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 Mon Jul 12 10:36:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473076 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2805717jao; Mon, 12 Jul 2021 03:36:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK7KLWwR2NAT+0yiq2nvdikEff17pWfFA13dIw0DKFjlLqJX62JF+y24/mfeW+wChT0sJa X-Received: by 2002:a17:906:60d3:: with SMTP id f19mr53035587ejk.413.1626086199504; Mon, 12 Jul 2021 03:36:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086199; cv=none; d=google.com; s=arc-20160816; b=XDUNZ8iWMTVJN0ooIZWWzZfqBpu8kMGIWXNYCc1GuJ6WXbO04EhbboXsdGv1elrcV+ rqEOhZ+e7dOKweYwGVi/Zzkvv3wR4L2//Bnzy13AmvO/Yh34h+6Mi7wkKDchfIBQxwar OyGq2MCXLBdUwoUdEsKnqRyGo/GKKbdEJ/SUgnsd1H/KVGEgD8IjQlZhc5bNkd49R7pf Wm3sPwGc3OIpNEkgNJrPBXL9TFd2ojwmhT+twv4/dDcWCQvKtDDUNOeC6tLzRFQDrit/ tWEIceRJBhIJ0o8hk/oSZS3X7Om7OYOst1aZK7Y+ic4nlbOsxZ+n/CPoMIHm5SRNpyov Oq+Q== 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=8SqUs2w8bwVFMdSxOj2YgQC2y+Jfw16bDY2YZ9XJVnM=; b=D8cuEH81XZl1kLIhQFSP48m6Yi8T3EwE6KIXHMHI+wmqtrGDQxzacmTH9CrfRGY6JW a3eDZREw0zkImNLdevNEDEG+5E3MulH3yEF8Wzl31m3LSwTUUNMovht19+b6DdpfkEya Ub5bhFFBUxwAOVlVRN+w2m8PpvvbidqF3RiiaSVp91itj6dA7Ed9mbX0EmF9CpG3J6b/ tFq9jdnvk9NDJBpMUH+BEMtl+wt8LPQV4SOa060Z6FyKAldFSAB0l/2OVANMm0t3/pw5 g0aEfxAZJzeEdoo+RPVjtqyWQk4ssjSuitm1gjNRnA9NG0LYZaZc71tv+yV6SUL6csze YQWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u9ho6rVi; 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 mp36si16806470ejc.478.2021.07.12.03.36.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:39 -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=u9ho6rVi; 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 E18D482992; Mon, 12 Jul 2021 12:36:22 +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="u9ho6rVi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8395382024; Mon, 12 Jul 2021 12:36:21 +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 9716882024 for ; Mon, 12 Jul 2021 12:36:17 +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 oj10-20020a17090b4d8ab0290172f77377ebso10306560pjb.0 for ; Mon, 12 Jul 2021 03:36:17 -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=8SqUs2w8bwVFMdSxOj2YgQC2y+Jfw16bDY2YZ9XJVnM=; b=u9ho6rViF56ADD0kqyR5oKZ+/tIY2bvZWKIAYU8pV4zCT03S013sx9YHdNr2KzIe0v SG7S1tMROkQXnj8QMeYbUFsbqj9GzFEtQHMyITv+mbzDIDZu8F+ux6pfUDzJn+t2lVv7 eBEnZMgOq2VwkaD3zYUg173iQTBmgEtjtpL/eJt2nEuczNIZSHpQlF9f/qQZ32NHxl9L e72meufYJrYy/zjc7GsTSkNagEV86qnZpbEcc4tH1OL90uve6MyVJCQPc8BYm9d2sCJJ Fi300GwP5nTqEm2WUHqVuHaUKw2pGt7i4gOpuVxTvqVVWeT8zR+krtAM4Q0CmhOerYiZ u/bQ== 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=8SqUs2w8bwVFMdSxOj2YgQC2y+Jfw16bDY2YZ9XJVnM=; b=gOORAjb5r9wRz1fa4MGtMGDyIeyjrybG2ee7OwUFO8c10MFFxyfwQTuNmtGV5EGXJx 70auZUmIMeu3MAWx0FWEjKemBn+FprdeEt3ol4tpmVMeP7cOQcEbqIc8Sbxn61j/n/1p YGwTiJKxCVnUbD9CEVW8RSdtgB827FrYHBNnrI40qxeW3BoCS3gFHpnxXyXoSh3NrLQ4 +6i2GWLL287aWAn36S4wPCMPyxm96Ph8y3Gb88i+EDVl4ZkacXij44wKU/aKz/8N3DDP jZr4QlxBU+XivRm7kcGPyZU7q0H3HbB9nj50fqIKgPr8VLoVv/Aff1xanTnAw6N2J02J YuPA== X-Gm-Message-State: AOAM5321Jsoiv4asQH6j/jQ2dJjZ6p8nmyBoxWrRmtUoxru7NGvwkv64 0kHk0u1+bIbRujYlmc8TdRslqw== X-Received: by 2002:a17:902:ac97:b029:129:dd16:2994 with SMTP id h23-20020a170902ac97b0290129dd162994mr19524378plr.19.1626086176056; Mon, 12 Jul 2021 03:36:16 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id o3sm4030195pjr.49.2021.07.12.03.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:15 -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 v3 4/8] configs: synquacer: Remove mtdparts settings and update DFU setting Date: Mon, 12 Jul 2021 19:36:12 +0900 Message-Id: <162608617212.206671.7232497375700728068.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 --- Changes in v3: - Fix configs with savedefconfig. --- 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 92be72d1d0..16976b3c3d 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -37,8 +37,6 @@ CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_MTDPARTS=y -CONFIG_MTDIDS_DEFAULT="nor1=nor1" -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_CMD_LOG=y CONFIG_PARTITION_TYPE_GUID=y CONFIG_ENV_IS_IN_SPI_FLASH=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 Mon Jul 12 10:36:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473077 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2805869jao; Mon, 12 Jul 2021 03:36:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAYw6/tKUIeyfKLOpvxogFTyksCDSRII7b7PFlNMBxxyDRo+WkdRbG9IalT+ZWPL8OTze4 X-Received: by 2002:a05:6402:358b:: with SMTP id y11mr38399521edc.43.1626086213856; Mon, 12 Jul 2021 03:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086213; cv=none; d=google.com; s=arc-20160816; b=EJld6dtC1oTdDReB08EWvyopQU80uMYgQV+PG6z/HZ605mB5liOYliWryna8B6YIcJ NPtRPiuSCpIGWUJdOXpX2x4q0TTvNzxjF8jcqqXszAbxK1x1yjvXZYoxI/V/xryX5yaX MjEEU2IovU/J7RchUGLWPWQzLNTX9K7EYqxCTIR13z0VjDsERoT8cC6OOuPqNSjpA9Np 2JUGtyIQZjTaaMjoKu9zLvd73T+Rzm1+X1RKC+e6kdb/TJjDdlVxHqTHPuRtfxP1uELe 8uIoZOAVsvATr8utknVYq3h+Y9yIKTZcX2sUKP69z573EIlK4L3Ba9uwhQ8F7YAtAycv v8FQ== 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=XTNIrF5kgYW+7cEainYZE+GjDZEnjk7P8zrXH/2G23g=; b=Q1h8aDzOCs7ZOkHkl0BvQqCk0BhTJHwxK7NJHh3+EbyfWP4JXSUiE5wcW7zDDjXvUR aBA44EUR73A0uQrWd8DGRR0mMs0a1AEEyOd8MGEFdEkz8LHmO67dIwOoUUO6RuBc7nG6 eiM772l+gmaXZLGW7rgvW6ttuc5hI8LkXa8yQc4/WurFG4ly/gRV9TVAUz1V2OUa2n6S BmNO2tzLTUNITb14VO7qAZUQxk3xBi4mc4lB1cNMPYiI6uRmhG6eTNEbAXZ45DPu3a6R kOIQZNVUkb2RrYeEDBmKZXt2ijOaouHoiiC42kr9vz/0Ax0AKg6xrt012pu1p4C9cVZS CcMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TbV/RwzB"; 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 w17si19489806ejb.632.2021.07.12.03.36.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:53 -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="TbV/RwzB"; 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 042C182BF1; Mon, 12 Jul 2021 12:36: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=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="TbV/RwzB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F3CD982BE4; Mon, 12 Jul 2021 12:36:32 +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 BACA182BF1 for ; Mon, 12 Jul 2021 12:36: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-pf1-x42a.google.com with SMTP id q10so15946627pfj.12 for ; Mon, 12 Jul 2021 03:36: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=XTNIrF5kgYW+7cEainYZE+GjDZEnjk7P8zrXH/2G23g=; b=TbV/RwzBtMxaQO22G/1pVrB289J6hr0e4Ja/N+ZbVdG/nOYdAF8aF+4DBtwOqlfzSs sOvg7JcvGxit4qgERRbLqg11C6HIO8IoGF5Fbug9gpDUq0CPmFLHKWYt8iERmX+Ff+/p +pw+QbBaNZZDjPSLi3rU2vxMXiQPoxbBJj4oK/Nb05ZKQ9YC4FAnvpygCxRc/pq0gcz6 WJn2hkO5hO5nJ+0Ez25b+LHDQe+cwhMDp257qZtA2m4AMrTlc5QeCOJZvxjp7O12hVK3 0k2Xh7mU22schLslIy1yheUIOhmtAaGKw/5oSz9PqjiLsQPxr2W6o/szW5rdPb9yEG3I r7Uw== 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=XTNIrF5kgYW+7cEainYZE+GjDZEnjk7P8zrXH/2G23g=; b=p4q/I2OYqv/chu98Z2xvYu4RUcekcK7BOmNjZJMWB+yS3qpNV8rjf1MQdWoGjzs1me 2Nixgjaqc13s99pMkGUwRO2K5B8b7krvUI17zWFyq7w+qoHzcAofICFEMYNcPDGLwwYo babaRzaRl/mCXx5pmagmKIvV7jJy2vmkEq2rG5qfS95C8Bl42D+TJprT2gaBXQJ67QIX PB/7fC7SKpp4uJuD80wbASm75sk1G6mfoKbZdqzrdAic41tbTU0c8DRldO6oFYdZ/i75 ToBjBVf7TEmAc2ogjYv30VnDEA97VFy/3bmFddBZyCd39LXUY+nj+C6+wPvYAy68ir+V eM3g== X-Gm-Message-State: AOAM531iZ6ww4n99GoW+wibtQyEHSk4KdqVjMpaej7TNf2KFAZAxwKMI RpB/emIPR4BDpxdJZE7TDRhpJg== X-Received: by 2002:a63:ff22:: with SMTP id k34mr52413457pgi.336.1626086185124; Mon, 12 Jul 2021 03:36:25 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id l11sm6088408pjw.45.2021.07.12.03.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36: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 v3 5/8] configs: synquacer: Drop Ext2/4 support by default Date: Mon, 12 Jul 2021 19:36:21 +0900 Message-Id: <162608618139.206671.612076016311846325.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 --- Changes in v3: - Fix configs with savedefconfig. --- configs/synquacer_developerbox_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 16976b3c3d..3aa507fbe5 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -32,8 +32,6 @@ CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_CMD_EFIDEBUG=y CONFIG_CMD_RTC=y -CONFIG_CMD_EXT2=y -CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_MTDPARTS=y From patchwork Mon Jul 12 10:36:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473078 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2806019jao; Mon, 12 Jul 2021 03:37:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnJAxy1+X+BxrqA9CmXljswEYCdpTjRL0WSZJ12zZLj3+otIjGDnKF1LD14KFr7qZ/pOft X-Received: by 2002:a17:906:4745:: with SMTP id j5mr31802809ejs.75.1626086225950; Mon, 12 Jul 2021 03:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086225; cv=none; d=google.com; s=arc-20160816; b=DHIa7RGTViTUgmrYwVAOhkhu6wxTveTjaQFNb7kEBpc0Sn/iJrVOhZ8K1rfF76YQh1 L3M1aM9GpGq7EhBdOcs5BXsWUlatHK1yutzbXUuDIPNQNRRshVdVCbTDtpQdd0N7F/eM xm1EnKvBHHAuWb4O0Ffx5vd6Pgmkyxv3GsxxbYecqnjFHaHCP1RXx2aD1z5U8PGD7iJR Q00H2CTRLwXvZ10ds81xSfUZjKKPE/9kzMY2IJjj5mLwgX6bJhEayO2u6gHpRpJEolQ7 LGirITGvZlr704GJkjtA8ouYniUT66pkN5mJPKxqYg7Xsyw8x+1m61l0o39PeijHPZ5I J4Ow== 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=iz/YUAARRJyACJ9xbVJxAM5khE/z+R5d9Xk/4ywhnJM=; b=C7p4yE1g8kMZw29BPaFRR3qPuheQ77fz+CGBtk2fhs9a0jwxFseFim5Q64lPdJRN23 gJyY3VAxW1m9wXijG3qhTzN4zONx1uPsshlI8adRx0u8XDoeo6QJKtk+/FBsCiGcoahl GA4jBpK5/p3QAYItFgc2ac+p0IaEF50gR4iIl4G0Mqe47/tegY56OcGyvRp+OgOBSJeB IDihI8CgTcTVlKkVRAs4x8pvEJGfyllv94mzVRm8hAB3Y+WNC9ysewNMAmlCFxBwDxGy awdQh7L59NBIx6wC8RFPHeggnF5RAWZu2CCjM6KqkkNfBvONJuLTR+YslBsbOim4kLYC hvPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lv9lVstP; 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 v18si8210979edc.4.2021.07.12.03.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:37:05 -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=lv9lVstP; 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 EF0FB82F2B; Mon, 12 Jul 2021 12:36: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=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="lv9lVstP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E9F782DEB; Mon, 12 Jul 2021 12:36:43 +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-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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 D231882DEB for ; Mon, 12 Jul 2021 12:36: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-x431.google.com with SMTP id o201so10917542pfd.1 for ; Mon, 12 Jul 2021 03:36: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=iz/YUAARRJyACJ9xbVJxAM5khE/z+R5d9Xk/4ywhnJM=; b=lv9lVstPcB0aD65hUzQyObB0+Ls+ffVfPy09Lf9mVzeUY0uJeIgQ4P/ccOFjiLZZUH RiR09J68arPEJPyWmOtiskc0CWI6lsDU5vcM1kEVUeADoKpSXCc4bu/oCfidV4Zny28V 2uvkLhA66zeOqIcSzQqhH8EmQBzBSsMV+w8TF/HutIeVOl+UTSu+m2Uc6EOCFDmDVT2i wBbIxgQu/dckQrXGyDBVcy1hInY1l6WTfUS76xHqbSVIzdFEBw1Ao18tN2il1I1ghNDv PhfGbCJMpOZij12ozVP84CkcpX3RfoFpVDn+6nImtyHSrSrcsdswF9kirKD7v1scJ4ME fWDQ== 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=iz/YUAARRJyACJ9xbVJxAM5khE/z+R5d9Xk/4ywhnJM=; b=tX+JJmJ9igrcMnz7FjdA5UEnLMo3MrbnRqY6wR5/GzHgLu+/RL7QBWXnXeAULPxWpw PXl2q4wedHGPeYwCIFTTnUPLa9vUHFbuZiENRkCYSn6aLHjnkCti4hBlJaj3YHyvI9hb NTevFGRXT7IkgXA4qOuLOcoyXkn1PSoz790zSOS1WQ3K2xTXH0824PDEDQ+GhNtdAtvJ BGCXlFGlDDL0j3UlV3M0pWLwV98CzpSFkkCGIIlI/qIeOBXfdS0C+FpftemBcUyBK0gQ pxDS8ULAGmdWAjCOl3lDyy+k4vWe5vBPBFDOVlVTaPMSTQ1pH5tIn5fq0VocdpmoqVR/ aVMw== X-Gm-Message-State: AOAM533Rm3vj0eq5We9ZiYzneI8hr4xPKdloIoecRRJUoA2FWRHeAiiH 4hNPUWQ037J57OCmvwrXrb262g== X-Received: by 2002:a63:f94a:: with SMTP id q10mr53585005pgk.76.1626086194339; Mon, 12 Jul 2021 03:36:34 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id j20sm12488692pfc.203.2021.07.12.03.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:34 -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 v3 6/8] configs: synquacer: Enable UEFI secure boot Date: Mon, 12 Jul 2021 19:36:30 +0900 Message-Id: <162608619056.206671.7879111738944526926.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 --- Changes in v3: - Fix configs with savedefconfig. --- configs/synquacer_developerbox_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 3aa507fbe5..da5714de61 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -92,3 +92,4 @@ CONFIG_EFI_SET_TIME=y CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y +CONFIG_EFI_SECURE_BOOT=y From patchwork Mon Jul 12 10:36:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473079 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2806130jao; Mon, 12 Jul 2021 03:37:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyomH0mWwbIaI98OL7zPDEjA770sNKUonZ3KnUW2aABP/SknPeyxV41s0pUA24lBbgfNUYU X-Received: by 2002:a17:906:58cc:: with SMTP id e12mr52055866ejs.279.1626086238204; Mon, 12 Jul 2021 03:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086238; cv=none; d=google.com; s=arc-20160816; b=zLxDDFjHldFqy+JTBB6X/EkerKLLoZaLX45jb0zLRZD05asfTNczWqIL2j9zO/jBBv PZAQnmiXU+Tk4NIZ0DTEa1tHTYsEIQKx3cYO7F93YC1GGmIUz7G7s7QOZ3Vy65m+6jht 9M73HtucHUOdfwH0rky+nYAaV8Fb1rbO0og8KO93wIhzhja+PVlV++fImPIqnKE5SUZ9 jOVi47iCCrPXRZV9/t9VsGQv7RntvzbBJbHqogj6yywOL7X8RQw2WIlPCuum1C/HE4DE XpT6EaFvTG53vwav+vVjHislOJKzWdjXiPMU62Z9n5Fp9P2p3W0gATBs++Lljr3af/Nq hhRg== 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=ryJzTXtTJA5UxhIYob3HiiBayUWlOle+WNz95wZcH+I=; b=MBdgEAFHNrwUrZsELjhXf5mmMRZyfrbhMBX4a27bD0mEJnjd40Qbc9yLdMF6t4IPN+ jAv7/lLmaFAxYLwOyHQd/rEsw+wFlvkikNWb1zSwab4U7S9Vmy+PmS+q8lnxXEwOeENM HRJmgtuJ1TT5UA/FcxB2c1KzwMzt9U7F34HS8Ds3Z2s4Yq/REXE8WpoMBnixbxPSyios b86yLkoslBtJxCOMZaGK0JUgvbtote9px8wz4XW+tVvmJlU0bt6iB4++5sWkj111v5ED WESPKeA2dViW57NElWJtljJJP6xz/6wgdxGK0SI5ijY4FajZdiG9G7BzXCvSpPDKmumc R12g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TclnEQbE; 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 f8si1247343ejr.340.2021.07.12.03.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:37:18 -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=TclnEQbE; 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 51ED382D84; Mon, 12 Jul 2021 12:36: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=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="TclnEQbE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 61D3183171; Mon, 12 Jul 2021 12:36:49 +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-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 9CDBB83232 for ; Mon, 12 Jul 2021 12:36:45 +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-x1031.google.com with SMTP id h1-20020a17090a3d01b0290172d33bb8bcso12511903pjc.0 for ; Mon, 12 Jul 2021 03:36:45 -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=ryJzTXtTJA5UxhIYob3HiiBayUWlOle+WNz95wZcH+I=; b=TclnEQbEqLIb1EOMdq2+EKx7Uj+rSZqA76tmkmpGgfoVRBfAgPN8DmU9U8yaPpyuch WHeFj5jFGqCfGlr3E8oUmbyHKJi+8JwFbNgQEHbePpPpBlYaE1ub7HiWsSm6SGJxGCJe JdsRMZu8vmTDKU1Q+uXqNL5D3wQVaB6LhE9disL8v/s7KzXE6be4PxylQ04HiqPX6O+Z I/IMsDMU11FIGbk8pUea+2IsbweUPsKqoQdbdoFkaWS7V/382KccbmAFtNa8+Wvwt0Oi iB7xpxp1KxKNodtFvFvcjVaO9Zlsn8cVq6XUEHVDVkTXkrpvb+kgZL4mOQBNcfk1kkvH ZBFw== 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=ryJzTXtTJA5UxhIYob3HiiBayUWlOle+WNz95wZcH+I=; b=ETtRQOgNOQZWIYFvPIXrxDm/4Q+PvTW9qmZ8g2LHnftocfnK4DKCLnBllIASX4/ian zqOs2NSzOQJF7zxgo1CgZQiwkAUDgT9U7Jduz20nMW8524aNl8rQqw5n3pz4wfFZmDxr c+Pmb7jr4AyADzljZ93rdXlONZsBg5dWwEiNOoteWCjN+Cq/DUaJcpuDXfPMGAJCQdgX u4MUX/1ZIcKrAxyxxOiyyVjlLQoZK+Bg/CibpFVo939XxLXPtKa75DtL6tFXAUTcBK8N tQWh5amLvKh1G2PRZtPwihe4L9Xja1E41/2G072QZAMAUy1EIxm61fpaxdGL8taPqCG4 0zcw== X-Gm-Message-State: AOAM5307bo4TfdV33zhO08hVour+hVou2Bmnqaef7lTcEO+nIV1xIpDe IGUwf8n+Z8J+u18AnkXUjfPJ9A== X-Received: by 2002:a17:902:e744:b029:12b:40e:7606 with SMTP id p4-20020a170902e744b029012b040e7606mr5911178plf.53.1626086204115; Mon, 12 Jul 2021 03:36:44 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id q14sm6651534pff.209.2021.07.12.03.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:43 -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 v3 7/8] configs: synquacer: Use RAW capsule image instead of FIT Date: Mon, 12 Jul 2021 19:36:39 +0900 Message-Id: <162608619965.206671.9802244348679655764.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 recent commit; commit b891ff18f899 ("efi_loader: Force a single FMP instance per hardware store") forces a single FMP instances for a storage, we can not enable both RAW and FIT capsule image support at once. Since RAW capsule image support is simpler than FIT, enable RAW capsule image instead of FIT by default. Signed-off-by: Masami Hiramatsu --- configs/synquacer_developerbox_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index da5714de61..c4de622314 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -91,5 +91,5 @@ CONFIG_USB_STORAGE=y CONFIG_EFI_SET_TIME=y CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y -CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y CONFIG_EFI_SECURE_BOOT=y From patchwork Mon Jul 12 10:36:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 473080 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp2806261jao; Mon, 12 Jul 2021 03:37:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2EvMsqVMgqdNJItRHAktS6JmntRLz2ttIPGpfWnPbzJQy3yj4EiZOB8fSFG4+i6UTcvWK X-Received: by 2002:a17:906:924a:: with SMTP id c10mr34670459ejx.85.1626086250573; Mon, 12 Jul 2021 03:37:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626086250; cv=none; d=google.com; s=arc-20160816; b=m0WXtDxLwEo7wVmSPwh56G8BNXOFslY4b+QHHZcxMxwbK5uss81QKaV7XquhQm78sI 1R3jAEjaY29Q8oPvX5r1Fuhw7JkwvVB/2S9LW9t6NX4u66CPANsVkgR6pMsUnAc86rmA Vz9n0G7TzhaIzj5vCTUR8nZ9TBK8bEKQ5dvrqTBD2YkguKYgOQsISdrdkqr1Ikm9gZ4g DyG97szefi939ogUACK8l0WbAc31D7B6LiCZfg9qu0CtwllwEt8Zsvg/43bd+61oZRGf oSXMeC1nUaCOFrOVE53uC3iFUtMGx1C0lCQxoUiPNQGbGWUpeaxv5gFc5uF0EJIUIRI8 PuFA== 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=TQqcRk9WlcX8Vj9QVUfKa5QzHHBuM5IEcRasJrhINHA=; b=BOiPxHwmCf8XSWFJv2tKVoCgmPrrxSLct4LcayDui6AWaZXVqpvtE0/kcTx2/xij3r YS5Y5FEdho0AClVkH9Jbn/lJtXDscdgqCKk6v7+xkFwoFVpQl7wpT6NBJ6iSDSMV0vQY 034cNKuDnP2oQxaOUhPBuxX85MEWrGUAd4PxNleD3gMhU36GSG63QhXgOh1XC/zH8kfE R1YXzi7zCo2N12zxvnLBXp4GoBAxRZSAOWnQV9LtJJyyo9QCihzYcSoQ9kkXIqVdwyGZ hK7q7FrKFn3+0y8CwvFDDCDV7r1obWa8DRble/5RXH7mZVrqOawGCBdS/jYs2wP64+6G euWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a9ZD5j+j; 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 eo22si17903689ejc.52.2021.07.12.03.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:37:30 -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=a9ZD5j+j; 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 7CD3D832DC; Mon, 12 Jul 2021 12:36: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="a9ZD5j+j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CB227832DB; Mon, 12 Jul 2021 12:36: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-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 C8B4C82DBC for ; Mon, 12 Jul 2021 12:36:54 +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 17so16006297pfz.4 for ; Mon, 12 Jul 2021 03:36:54 -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=TQqcRk9WlcX8Vj9QVUfKa5QzHHBuM5IEcRasJrhINHA=; b=a9ZD5j+jgQKGGjeAfNHB1s8x8m2ceHIaP5ZqzSflmJa83vd3MOx6F72LgilB5hy3SM jYyyNLgoVDMLazE5Z9C7/dhWyRiA55/tVjEenfMpWSN0uA/zOtYJtt0T1Dk23v68odhk QvQf8WAVwkDtGX0SEEfpSzjcPRhRvoq67SQwHbM/BQuIp1tybo7pJ+vNtUvmPxRcubou u++DzwOMm7mREh5IKNWHNg1YoYsRWcq5ReOq1wp9gF/WFcK7PGJN9WAMpN57nHMvJ08w y4LofSHpd2VOuEg23zy5AHg4mJEZbfumpt6/vKOYDpikIN08tzP58wnOc81VzqdO0j2H 0lRQ== 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=TQqcRk9WlcX8Vj9QVUfKa5QzHHBuM5IEcRasJrhINHA=; b=i4DnFqyPZMOISfgDu4g71zfroaDVQaGLU9IEIJzKlCfecUl7d5fceEQMKz2DupDDg6 TEMtE6m8bVviPZab2NKqhKUhHee42UHJ+bsb+dy3zUSjgaSu71Tqtyax2eFRdU+5gjHi kbz87ki1vrpGPCNJUmlPLLCmshloIUUHyFXWjlJRv/UmbrQ3tf8m7jpJJf7GY0iA+vbF d3FYNjyZd7FK8M0U6sj5fcD+IVe5W9qg59cS4rOcL7zAYKnan+EGZk7g0STidTBXtAso PdgTPEQw84cYefQDZ0SuCOo6GAeDdFka2YmDKPI/rbPG5Alk+qYuRAeXs+8btgP9VBzN GTnw== X-Gm-Message-State: AOAM533DgfVCy1+kvN5ksauC+O/ztKTfLZ9Tx/Tl3JKIOhtVGiWwyzW9 nEb0A0nkvMUFdoEHhfXBZZwT1Q== X-Received: by 2002:a63:f306:: with SMTP id l6mr53619770pgh.46.1626086213185; Mon, 12 Jul 2021 03:36:53 -0700 (PDT) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id b1sm11688573pjn.11.2021.07.12.03.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 03:36:52 -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 v3 8/8] configs: synquacer: Ignore OsIndications on DeveloperBox Date: Mon, 12 Jul 2021 19:36:49 +0900 Message-Id: <162608620948.206671.14669865103546406288.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162608613498.206671.7144957749931134518.stgit@localhost> References: <162608613498.206671.7144957749931134518.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 we can not set OsIndications from Runtime Services SetVariables at this moment, it is better to ignore the OsIndications if there is any capsule file in the correct place. 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 c4de622314..ed372f7df9 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -91,5 +91,6 @@ CONFIG_USB_STORAGE=y CONFIG_EFI_SET_TIME=y CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y +CONFIG_EFI_IGNORE_OSINDICATIONS=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y CONFIG_EFI_SECURE_BOOT=y