From patchwork Wed Apr 21 04:20:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1468549 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=UsqNxGLP; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=X08U5fKC; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=bZS90Yjk; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FQ6mK2B7Nz9tkv for ; Wed, 21 Apr 2021 14:20:33 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xWri77sweKb5zgGg3aShAeW1YMKEu2ruCxsNWnx9xRo=; b=UsqNxGLPqII2p7 rEcFGScfUKrpfcCLViqPhRgLkTi7x4MCIy5/TM5dXY7h+vHrkPOWGUUJWeAjr5+URn9kx523vmfvI BB6d0hQTTEGB+o/At2uV+l7VEzMCoJY9IlUqQotRes7uhl3amR/PTcFmFnywhhz1WhUJhTaDP+6Ai vWf+eR+oJs3NKq4lIUz6jMc+rWa6LSZpxc86IGSCgcRWVsXJXk7pRMxfOZusy3E59IDftN6LFTdSu 9Nh1zZbi0nho8mVoGUJb8XdBxw97qAV8kN1HAy0RpqZ373/28V+5sUtc4v7NIsH6MzTuBWOJcokYR zr9bnayEim93839ODZVg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZ4Lj-00Dc6J-TB; Wed, 21 Apr 2021 04:20:28 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ4Lh-00Dc6A-J1 for opensbi@desiato.infradead.org; Wed, 21 Apr 2021 04:20:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=LxmP+G4DOP82rdP8xd5rpBz9mb8VVFU+XS5xR2THRiQ=; b=X08U5fKClqbc+4MnYJaeacW3xt 10MWhYw/JzJiAIaeIB697/Rl2zcj0f05q/1/PJ9TKwHgANtab1nddPEUkmdtiTlL/aQ5tovpuQ3YE GK+IlqHk3cvTk4bSGp5ThkLggP91R+c3lOFiblKfw0OvPzuYEF9IZlhQJLpRSLwpFbVU5LzCxKZmI SNp8UAwxhi/zfR6ahmDWgvPrsmow78Jws7nllerOYxeOfP9+GYbvQB59q5+dwX2ZzpZbw3Cr18hGy I4m0sr5mPHMMslJgUXfh3jNZ6WV2Q0W4o5YTyzrJY4S+HZoq3LR6TNb+dPZSt1vhJCQl3P3+H7aQv TCGfDCNw==; Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZ4Lb-00CaLB-TL for opensbi@lists.infradead.org; Wed, 21 Apr 2021 04:20:24 +0000 Received: by mail-ed1-x52e.google.com with SMTP id k17so8155198edr.7 for ; Tue, 20 Apr 2021 21:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=LxmP+G4DOP82rdP8xd5rpBz9mb8VVFU+XS5xR2THRiQ=; b=bZS90YjkGpDq5ZRAptO+qEmMfR4/8WvkvqQViR/K3n3h3ffL66XsNPWMmgZOogskpV x4wWoEZl6iZuCsFdvN3Q96vrVqUUWvwTmj6gPVrdFCluPQDl5rORrv4jVFTJx90gyYDM 2OvX+LAOWiYWXhPBk3dvoyYGH59YL0fdIn8F+7USodkjledpZOLOHvEMaQlfk5hNSqeL 0ZvPG/SL0mKNvvdoayh9GV9Q1/HH4gFqX4r84lUdgM6qJid2Y2JWz8dCcBSoHXwFOCH3 U29bOfeP7m8ODTsOg31C0hGLZSGODwDPSHDkWtI00JZ8EVdkgDdEzAvs85yTZJWFr6Mm nSng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=LxmP+G4DOP82rdP8xd5rpBz9mb8VVFU+XS5xR2THRiQ=; b=jxTDxJqFt+zc3yMR+49VLjfN2HRDQAFvRN5/0ZnPpU+A5bdTwo69/Tc8GPw9TQHsON Fm7Z+FxujKMlW5zbj24SWSiwdC/XU791Ohmr7AKwxEyvVzbG9mU4P69h2ssN9a1Wou7/ BLaNnRg3CgWkWF+YioGD2F5A+noMW1m5lfmgHbdN74XFg86T0RLoD9A/HDi43BXqWSEi ekOjjvl4fEF2nxblJokjb81PhAQX0TTFOnClfrLJ6/DLCCf6GgEHUtd8B4bS5m5Zp9gQ L00/W4huTJhbfht//v/j2sVebWlWSqNGI7QZ0hpp5061X/w0cDEQaPeTb0RJHSPkuOfM mfZw== X-Gm-Message-State: AOAM532h8cbBmBKtQn2tFmcEOdhNHS+IM8F4YBxeyCgEQVTugcwI9Qdm Yzx3dtuaNO7irejeohefp3wX/0frstQ= X-Google-Smtp-Source: ABdhPJxj1XUyzR84lfYiNrxnmQqyhHcu+qPajX197YzNk2FaLU+1v+z0seCyau9LLM8AGoJoRLctrA== X-Received: by 2002:aa7:d2d6:: with SMTP id k22mr33528219edr.9.1618978814359; Tue, 20 Apr 2021 21:20:14 -0700 (PDT) Received: from pek-vx-bsp2.wrs.com (ec2-44-242-66-180.us-west-2.compute.amazonaws.com. [44.242.66.180]) by smtp.gmail.com with ESMTPSA id m14sm1432127edr.45.2021.04.20.21.20.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 21:20:14 -0700 (PDT) From: Bin Meng To: opensbi@lists.infradead.org Subject: [PATCH] docs/platform: sifive_fu540: Update U-Boot defconfig name Date: Wed, 21 Apr 2021 12:20:04 +0800 Message-Id: <20210421042004.1209459-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210420_212019_986652_16D31E7B X-CRM114-Status: GOOD ( 13.38 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: With latest U-Boot upstream (v2021.07 in development), the defconfig name has been changed to sifive_unleashed_defconfig. Update the doc. Signed-off-by: Bin Meng --- docs/platform/sifive_fu540.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [bmeng.cn[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:52e listed in] [list.dnswl.org] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org With latest U-Boot upstream (v2021.07 in development), the defconfig name has been changed to sifive_unleashed_defconfig. Update the doc. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- docs/platform/sifive_fu540.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/platform/sifive_fu540.md b/docs/platform/sifive_fu540.md index b4d3c60..b38df47 100644 --- a/docs/platform/sifive_fu540.md +++ b/docs/platform/sifive_fu540.md @@ -42,7 +42,7 @@ make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=/arch/riscv/bo The command-line example here assumes that U-Boot was compiled using the sifive_fu540_defconfig configuration and with U-Boot v2020.01, and up to -v2020.07-rc3. +v2021.04. sifive_unleashed_defconfig shall be used with v2021.07 or above. ``` make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=/u-boot-dtb.bin @@ -153,11 +153,12 @@ This is because QEMU generates a device tree blob on the fly based on the command line parameters and it's compatible with the one used in the upstream Linux kernel. -When U-Boot v2020.01 (or higher) is used as the payload, as the SiFive FU540 +When U-Boot v2021.07 (or higher) is used as the payload, as the SiFive FU540 DTB for the real hardware is embedded in U-Boot binary itself, due to the same -reason above, we need to switch the U-Boot sifive_fu540_defconfig configuration -from **CONFIG_OF_SEPARATE** to **CONFIG_OF_PRIOR_STAGE** so that U-Boot uses the -DTB generated by QEMU, and u-boot.bin should be used as the payload image, like: +reason above, we need to switch the U-Boot sifive_unleashed_defconfig +configuration from **CONFIG_OF_SEPARATE** to **CONFIG_OF_PRIOR_STAGE** so that +U-Boot uses the DTB generated by QEMU, and u-boot.bin should be used as the +payload image, like: ``` make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=/u-boot.bin