From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807745; cv=none; d=zohomail.com; s=zohoarc; b=EUmjBRK2M2A0UOm4MxudP8kUZs0/1hPuomJuYs6svK4Y+R6jWuju9u1hGlqOJjJ4O+PyyPtOkmJk6L/uY0ONsFp9nJOaZHvCxo0F5HS5o2nWlw+7rRmcTpLCindE2Xh+fpWtITDXo0gNHHg4wn/QSNY9so1Yofbg2GUioe4HYto= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807745; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=6N1jZ1+6HSSEfbc/nt6q5ecEC/Qcja+N9BUymVZyGyo=; b=RqH3ikeQBdNXrqz48ipnJodLXlaT4wa12OIay+BI5SXgCZdYUj12BL5UdApwYVqdwrIbBVNgCUUbIpzHzJqbwJlLiVvK6ixSWwxTCdPB9W/A7Z9VbC+y3v9VjBBt71w2sHy83XX5BZ/5tlVlQQzRwMZccWEAYPJoJYsefybLFiY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592807745244896.3993436754465; Sun, 21 Jun 2020 23:35:45 -0700 (PDT) Received: from localhost ([::1]:40872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG3T-0008SU-Na for importer@patchew.org; Mon, 22 Jun 2020 02:35:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1U-0006RS-Kc; Mon, 22 Jun 2020 02:33:40 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:37919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1R-0007uD-Q1; Mon, 22 Jun 2020 02:33:40 -0400 Received: by mail-wr1-x444.google.com with SMTP id z13so3624780wrw.5; Sun, 21 Jun 2020 23:33:37 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.33 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6N1jZ1+6HSSEfbc/nt6q5ecEC/Qcja+N9BUymVZyGyo=; b=B45PiL5Q5pvMakAzx/6cvQYbj15+y5W6pjVphLYSz+3erY68io+KkzvY9y261Cf8Xk UQrphtUVhNWr5H7a8CR4sb+13K+dlrzTiGrvlO8a5vFJVnrhUJqqUsIoEabEEQQxXK3P /B1Y3SI6LmrEPvgHVDzZYVo2uBImBvGM/wup2z5Vjul+n6zBngxw8FB6wM0pnKDn95oy RqNA9c+JI4nSdKflA4b9JYegYTpA0aELXf5qTJprbCilAFrfqB6j2Pgeu1Dbyn2hZsmp qEcuN80S9RsJimrTwwB/LKQLOGbbpeF/fB9LdVwbF8BeGPbGkMbZnL6tIblKTAKCInnl z9dA== 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; bh=6N1jZ1+6HSSEfbc/nt6q5ecEC/Qcja+N9BUymVZyGyo=; b=qYkxjjcoSwtfY5H2/hNeNMU0gjZKRsI4vjxhT1XdNHZdtJpCFUJn4pJ8ssCQOBe0Cj rpsPenx6ktBVhPOlGKbz6u9FTka0Wg3Sw8FeaPQe1plSMzQfhjPUf/xLWGGVtKY1qlIA NB41/1BnUg/pdq+O+/kHnXwh/oxWBBzTaoEdzaa9oRmbHQukprEjaD8FZ5/ZE0m/n8wE jUNmjS32agVAnMwg5K7Mf4eY32NHbgdDfKzfWxX154snoGonB4r81UPReT3y0/RUFOEF IJAVid6YQRwz9kmME+gQPN2VmeadC5iYjPuCIQU66hVqHxf/54SOaNGeKBS6uUBxFfiG nJ5g== X-Gm-Message-State: AOAM531A55tCk0HM0+VPzESniULONWrTnphMV296kk5J1z7gA3dobXQ4 Ieg/omUWYDEn3iHjiG66ke4= X-Google-Smtp-Source: ABdhPJykUFhAByiso6aoz8U476t9+5VPw3jxDjrWYnvWK+Z3gfMWsVHh+5Ivj8C7di/NGz1DrBiujg== X-Received: by 2002:a5d:5449:: with SMTP id w9mr17505899wrv.106.1592807615974; Sun, 21 Jun 2020 23:33:35 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 1/7] configure: Create symbolic links for pc-bios/*.elf files Date: Sun, 21 Jun 2020 23:33:18 -0700 Message-Id: <1592807604-20805-2-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=bmeng.cn@gmail.com; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng Now we need to ship the OpenSBI fw_jump.elf image for the RISC-V Spike machine, it requires us to create symbolic links for pc-bios/*.elf files. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- Changes in v2: - new patch: configure: Create symbolic links for pc-bios/*.elf files configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index ba88fd1..4a1514a 100755 --- a/configure +++ b/configure @@ -8399,6 +8399,7 @@ LINKS=3D"$LINKS tests/qemu-iotests/check" LINKS=3D"$LINKS python" for bios_file in \ $source_path/pc-bios/*.bin \ + $source_path/pc-bios/*.elf \ $source_path/pc-bios/*.lid \ $source_path/pc-bios/*.rom \ $source_path/pc-bios/*.dtb \ --=20 2.7.4 From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807896; cv=none; d=zohomail.com; s=zohoarc; b=Nawb84N0OjmuP2V++a6j3W/tIWRXap+r1x+7dyCJJ3vMTAUYYmj+CAuogeSPammT3K5ZTo//O2ObvxMBLWfnCfpbIUKhw9vG7yeJomznnjSXXN9SKt58/aRNd3AyzaIsTsJGwqrj2Z0uy4P1+J+3dD+CRbZMqsja4Dr4y9kmmvU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807896; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=btjVPyb1qrDzQlS5M5uR9mQsHVvPldi1yyNVxqhsBCU=; b=bYA17bcDujs+bVaR8aT8IbuYXpdnb9h1jmute/jeIu0l3ZRFk+eN54PVUp+z9/XgqJFDNtU0OeM2v+/r1WHSYWRf7pQdaLLdtf6TE+ETg85z4ijbrbjE63PZyVKRQqnfXy/beDz7dMvhEIXHeCtVhGA3+FM8TjPJlPX4Zlu3/dg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 159280789638013.370854382625112; Sun, 21 Jun 2020 23:38:16 -0700 (PDT) Received: from localhost ([::1]:48842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG5t-0003ks-JP for importer@patchew.org; Mon, 22 Jun 2020 02:38:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1a-0006SX-9P; Mon, 22 Jun 2020 02:33:46 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:51569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1U-0007uY-MF; Mon, 22 Jun 2020 02:33:45 -0400 Received: by mail-wm1-x32f.google.com with SMTP id x16so4555592wmj.1; Sun, 21 Jun 2020 23:33:39 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.36 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=btjVPyb1qrDzQlS5M5uR9mQsHVvPldi1yyNVxqhsBCU=; b=YK1UzfNEBHcYagMJFpQcEdZlt46sS3h0rYPQAbiUcY6umCyARR1Ps8bbW8D3SgSeby 5D/wECTduUHQEDrcRzzYZTcTWGjrkFCAam8LNGfDMqCt+SmDQd4//Jj7BaId+f2v42VD Hb+aaour4SIBZsKPsDu9T+f5wT4hZjCdXyk+WoGzcf8Odqde03HQLHO9FUGPpN7EFbD7 5/SGby8SFtJC+qbYFmJZyeQttewSYt+cCWSPLUwJlXkJbMrr58hB3Gt45/E8EANbooCk FxafQwaSRhC+lRZ4KqjJBoOKWO+okg12Og1xgVMLjD6y6R1LQbf7g/qH6UOL2bKqzhyl pwjQ== 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; bh=btjVPyb1qrDzQlS5M5uR9mQsHVvPldi1yyNVxqhsBCU=; b=srk/1+cTE4C/0pPEFPNi00oVOAGXtnUX61PwqrN6uL8k/QHfvoSgmZ/ztREq8bknYl QzmTAex4PApdFh5XO4o3LbU1f2BtZSZ6q0CncEe9rwSl8QkCzprviSQAIZQG25JRjMbC 8nw7mfeN7SrlJZXe+CCKJqiJTIbh3xxdyOOjOiEYgHXtpfBUHXwUuXZx3IT4ww+42PaN Z4b+4hz/VP87beaDjj/MV57KKLyYg5XhWgVYE+mp/VpzcBx91zJlVVTCqxW3sH8MW/VI M+btDufrk9uGKlvrTDGwzYhJ5VsFe4Gg2O6fMrc6pcg6m4BAHfX8aJeDq4VhVsRlqz+Y IX3g== X-Gm-Message-State: AOAM530QoRK+BOinsC4W0XivV6o1lk51LddL2x+w8Uq7rNQ8ux4vICx5 u/9y+m6+3Q5ivcu5stX374k= X-Google-Smtp-Source: ABdhPJzwOMXlYKle2ir/1dgcV9NJrMKBkwsqn0lxqw8K90fmP4/DiJlhJPVtdonsOD3S7S02RYAAzQ== X-Received: by 2002:a1c:5f45:: with SMTP id t66mr17468783wmb.144.1592807618314; Sun, 21 Jun 2020 23:33:38 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 2/7] roms/opensbi: Upgrade from v0.7 to v0.8 Date: Sun, 21 Jun 2020 23:33:19 -0700 Message-Id: <1592807604-20805-3-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=bmeng.cn@gmail.com; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng Upgrade OpenSBI from v0.7 to v0.8. The v0.8 release includes the following commits: 1bb00ab lib: No need to provide default PMP region using platform callbacks a9eac67 include: sbi_platform: Combine reboot and shutdown into one callback 6585fab lib: utils: Add SiFive test device 4781545 platform: Add Nuclei UX600 platform 3a326af scripts: adapt binary archive script for Nuclei UX600 5bdf022 firmware: fw_base: Remove CSR_MTVEC update check e6c1345 lib: utils/serial: Skip baudrate config if input frequency is zero 01a8c8e lib: utils: Improve fdt_parse_uart8250() API 0a0093b lib: utils: Add fdt_parse_uart8250_node() function 243b0d0 lib: utils: Remove redundant clint_ipi_sync() declaration e3ad7c1 lib: utils: Rename fdt_parse_clint() to fdt_parse_compat_addr() a39cd6f lib: utils: Add FDT match table based node lookup dd33b9e lib: utils: Make fdt_get_node_addr_size() public function 66185b3 lib: utils: Add fdt_parse_sifive_uart_node() function 19e966b lib: utils: Add fdt_parse_hart_id() function 44dd7be lib: utils: Add fdt_parse_max_hart_id() API f0eb503 lib: utils: Add fdt_parse_plic_node() function 1ac794c include: Add array_size() macro 8ff2b94 lib: utils: Add simple FDT timer framework 76f0f81 lib: utils: Add simple FDT ipi framework 75322a6 lib: utils: Add simple FDT irqchip framework 76a8940 lib: utils: Add simple FDT serial framework 7cc6fa4 lib: utils: Add simple FDT reset framework 4d06353 firmware: fw_base: Introduce optional fw_platform_init() f1aa9e5 platform: Add generic FDT based platform support 1f21b99 lib: sbi: Print platform hart count at boot time 2ba7087 scripts: Add generic platform to create-binary-archive.sh 4f18c6e platform: generic: Add Sifive FU540 TLB flush range limit override 13717a8 platform: Remove qemu/virt directory 65c06b0 platform: Remove spike directory d626037 docs: Add missing links in platform.md 7993ca2 include: sbi: Remove redundant page table related defines 5338679 lib: sbi_tlb: Fix remote TLB HFENCE VVMA implementation dc38929 lib: sbi: Improve misa_string() implementation 433bac7 docs: platform/generic: Add details about stdout-path DT property b4efa70 docs: platform/generic: Add details about IPI and timer expectations dfd9dd6 docs: Add platform requirements document c2286b6 docs: Fix ordering of pages in table of contents 7be75f5 docs: Don't use italic text in page title 63a513e lib: Rename unprivileged trap handler aef9a60 lib: Add csr detect support 13ca20d lib: Create a separate math helper function file 79d0fad lib: utils: Update reserved memory fdt node even if PMP is not pres= ent 6a053f6 lib: Add support for hart specific features b2df751 platform: Move platform features to hart 4938024 platform: fpga: Remove redundant platform specific features ec0d2a7 lib: timer: Provide a hart based timer feature 1f235ec lib: Add platform features in boot time print 22c4334 lib: Add hart features in boot time print 36833ab lib: Optimize inline assembly for unprivilege access functions 38a4b54 firmware: Correct spelling mistakes 28b4052 lib: sbi: detect features before everything else in sbi_hart_init() 4984183 lib: sbi: Improve get_feature_str() implementation and usage 3aa1036 lib: sbi: Remove extra spaces from boot time prints 3a8fc81 lib: sbi: Print platform HART count just before boot HART id 63b0f5f include: sbi: Use scratch pointer as parmeter in HART feature APIs 2966510 lib: sbi: Few cosmetic improvements to HART feature detection a38bea9 lib: sbi_hart: Detect number of supported PMP regions 89ba634 include: sbi: Add firmware extension constants 73d6ef3 lib: utils: Remove redundant parameters from PLIC init functions 446a9c6 lib: utils: Allow PLIC functions to be used for multiple PLICs 2c685c2 lib: utils: Extend fdt_find_match() Implementation d30bb68 lib: utils/irqchip: Initialize all matching irqchip DT nodes a9a9751 lib: utils: Allow CLINT functions to be used for multiple CLINTs 569dd64 lib: utils: Add fdt_parse_clint_node() function 6956e83 lib: utils/ipi: Initialize all matching ipi DT nodes a63f05f lib: utils/timer: Initialize all matching timer DT nodes 30b6040 Makefile: Fix builtin DTB compilation for out-of-tree platforms 64f1408 firmware: fw_base: Make builtin DTB available to fw_platform_init() 4ce6b7a firmware: fw_base: Don't OR forced FW_OPTIONS 86ec534 firmware: Allow fw_platform_init() to return updated FDT location c6c65ee Makefile: Preprocess builtin DTS 4e3876d Makefile: Add mechanism for platforms to have multiple builtin DTBs 72019ee platform: kendryte/k210: Use new mechanism of builtin DTB 51f0e4a firmware: Remove FW_PAYLOAD_FDT and related documentation 1b8c012 lib: Add RISC-V hypervisor v0.6.1 support 79bfd67 docs: Use doxygen config to mark the main page 106b888 docs: Remove redundant documentation about combined payload use case 9802906 platform: Add AE350 platform specific SBI handler 32f87e5 platform: Add AE350 cache control SBIs e2c3f01 lib: Fix __sbi_hfence_gvma_vmid_gpa() and __sbi_hfence_vvma_asid_va= () 6966ad0 platform/lib: Allow the OS to map the regions that are protected by= PMP 518e85c platform: Update Nuclei ux600 platform support d5725c2 lib: Don't print delegation CSRs if there is no S-Mode 637b348 lib: Fix the SBI_HART_HAS_MCOUNTEREN feature check db56ef3 platform: Add support for Shakti C-class SoC from IIT-M 9bd5f8f lib: sbi: Fix 32/64 bits variable compatibility 2314101 lib: Don't return any invalid error from SBI ecall a98258d include: Bump-up version to 0.8 Signed-off-by: Bin Meng Reviewed-by: Anup Patel Reviewed-by: Alistair Francis --- Changes in v2: - Upgrade OpenSBI to v0.8 release roms/opensbi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roms/opensbi b/roms/opensbi index 9f1b72c..a98258d 160000 --- a/roms/opensbi +++ b/roms/opensbi @@ -1 +1 @@ -Subproject commit 9f1b72ce66d659e91013b358939e832fb27223f5 +Subproject commit a98258d0b537a295f517bbc8d813007336731fa9 --=20 2.7.4 From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807980; cv=none; d=zohomail.com; s=zohoarc; b=U3b+t2rWIhUqcF5aJIhMWF72plCrKmTirr22cHR7ZInbNB9n+afFGfut5wwLIEw+cz4LOFiIJnw3sfZI7NTjKDbDGpOJpnHx2fQ7cHBgyQ/9bVuxMpylftWb14Iniu6G2NP9ojhhejJa2RB7io8ewcGSPrMv6KMB1+3zTGBRpOU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807980; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=xAwN/a4oBvgObKEWKqLHwzSi23Om+xZRsWpsUFF+lhU=; b=EuVwFeRElNm0iLDX3ZEAZUUiDjkNC2GeZn7j/g9bRkK9vyr32F8larWYq0h20mbvpWyLsNWMhS/+gUfpR36LL4gEvadvBAPcs9qgjy/ontQaYdO/MokE8pvuwgl9hPkrYcvwaEho/WyttzKTwz9zGrDRThLfGeZcJ4OZa6ko3DE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592807980230275.1210705638365; Sun, 21 Jun 2020 23:39:40 -0700 (PDT) Received: from localhost ([::1]:54116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG7G-0006Sy-RV for importer@patchew.org; Mon, 22 Jun 2020 02:39:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1h-0006V0-N9; Mon, 22 Jun 2020 02:33:53 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:52515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1W-0007ul-GC; Mon, 22 Jun 2020 02:33:53 -0400 Received: by mail-wm1-x341.google.com with SMTP id r9so13699487wmh.2; Sun, 21 Jun 2020 23:33:41 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.38 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xAwN/a4oBvgObKEWKqLHwzSi23Om+xZRsWpsUFF+lhU=; b=bLyI0el3fQ1Af0KNXQomybyruDMqB/LyVdJrM0LzCWapPFEb507ueDkv3pHvoUwRxr YQiv159ybBomQOSTAKVeqA0oeiTFCMQHAr3z3gy/MXBH1ZbZrKE2Xpr9z6D+XRmBXxBG 6iT3bE/973is2afBqqTJe7qozq9iIATZB64Z7GqPPvV937c1+d+xKvwx5awPWvSXSiEy 98goxTlEBg180NlKCp8UpmuwZpVcEgAVy1epaHXs/OCryAE+bUIBMMOb1EW68liCzkKq PAq4v7kS7h5lctDfHfnFH7jdVUQmjKuVZBcj4iEt1phKvnYGkRZaxbdJPho0vIJYNWO+ fUxw== 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; bh=xAwN/a4oBvgObKEWKqLHwzSi23Om+xZRsWpsUFF+lhU=; b=ZVQ4bIFbYDMVSJDFSOqrP19gzX6gwWGCall2NgQ50oaqNJIrbH5OESp4NXUieF2h6l /p+2MKU0L0MakkHvo39LnGjjyzDXRLwt7rd6sBAEQWpYMfcIWtTmZSkaJZ1hXSJok5KU 6I0B0kq2uLZxauCWYOhzDOXoBpcSOBdSBnFPYjMaYe/wlQ8Hf2D5RyA6O/NDdGORIp7U uywMNL5AvIAsvqet/USkX5jWJEYy2XrARlpRUS9EH6A0LQkK0gzIBVPagGNS7O85dCVL E4ojIxr+UFOE9RovPzb0rR2cz8o0hxgIOJTwCyo+cN5i6rOKQnYk2xpREENfhWjhcMyy wtPA== X-Gm-Message-State: AOAM533IemSNNpWAkqSuIxtBeZ+lxo1ooTy0srPl4A97LzPCQemjZ+C+ o1VYLnPY3fB/FmeyT9pBSpI= X-Google-Smtp-Source: ABdhPJwp4wsC/VupXLnJyEivh+9jjMgz9ZXrOLn41yfFdUSv/aoVsayD2Qr/toJBrJTqu7dCB3+GKA== X-Received: by 2002:a1c:2157:: with SMTP id h84mr15499792wmh.35.1592807620778; Sun, 21 Jun 2020 23:33:40 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 3/7] roms/Makefile: Build the generic platform for RISC-V OpenSBI firmware Date: Sun, 21 Jun 2020 23:33:20 -0700 Message-Id: <1592807604-20805-4-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=bmeng.cn@gmail.com; helo=mail-wm1-x341.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng The RISC-V generic platform is a flattened device tree (FDT) based platform where all platform specific functionality is provided based on FDT passed by previous booting stage. The support was added in the upstream OpenSBI v0.8 release recently. Update our Makefile to build the generic platform instead of building virt and sifive_u separately for RISC-V OpenSBI firmware. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- Changes in v2: - Copy the ELF images too in the make rules roms/Makefile | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/roms/Makefile b/roms/Makefile index f9acf39..211a269 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -64,10 +64,8 @@ default help: @echo " u-boot.e500 -- update u-boot.e500" @echo " u-boot.sam460 -- update u-boot.sam460" @echo " efi -- update UEFI (edk2) platform firmware" - @echo " opensbi32-virt -- update OpenSBI for 32-bit virt machine" - @echo " opensbi64-virt -- update OpenSBI for 64-bit virt machine" - @echo " opensbi32-sifive_u -- update OpenSBI for 32-bit sifive_u machine" - @echo " opensbi64-sifive_u -- update OpenSBI for 64-bit sifive_u machine" + @echo " opensbi32-generic -- update OpenSBI for 32-bit generic machine" + @echo " opensbi64-generic -- update OpenSBI for 64-bit generic machine" @echo " bios-microvm -- update bios-microvm.bin (qboot)" @echo " clean -- delete the files generated by the previous= " \ "build targets" @@ -170,29 +168,19 @@ skiboot: efi: edk2-basetools $(MAKE) -f Makefile.edk2 =20 -opensbi32-virt: +opensbi32-generic: $(MAKE) -C opensbi \ CROSS_COMPILE=3D$(riscv32_cross_prefix) \ - PLATFORM=3D"qemu/virt" - cp opensbi/build/platform/qemu/virt/firmware/fw_jump.bin ../pc-bios/opens= bi-riscv32-virt-fw_jump.bin + PLATFORM=3D"generic" + cp opensbi/build/platform/generic/firmware/fw_jump.bin ../pc-bios/opensbi= -riscv32-generic-fw_jump.bin + cp opensbi/build/platform/generic/firmware/fw_jump.elf ../pc-bios/opensbi= -riscv32-generic-fw_jump.elf =20 -opensbi64-virt: +opensbi64-generic: $(MAKE) -C opensbi \ CROSS_COMPILE=3D$(riscv64_cross_prefix) \ - PLATFORM=3D"qemu/virt" - cp opensbi/build/platform/qemu/virt/firmware/fw_jump.bin ../pc-bios/opens= bi-riscv64-virt-fw_jump.bin - -opensbi32-sifive_u: - $(MAKE) -C opensbi \ - CROSS_COMPILE=3D$(riscv32_cross_prefix) \ - PLATFORM=3D"sifive/fu540" - cp opensbi/build/platform/sifive/fu540/firmware/fw_jump.bin ../pc-bios/op= ensbi-riscv32-sifive_u-fw_jump.bin - -opensbi64-sifive_u: - $(MAKE) -C opensbi \ - CROSS_COMPILE=3D$(riscv64_cross_prefix) \ - PLATFORM=3D"sifive/fu540" - cp opensbi/build/platform/sifive/fu540/firmware/fw_jump.bin ../pc-bios/op= ensbi-riscv64-sifive_u-fw_jump.bin + PLATFORM=3D"generic" + cp opensbi/build/platform/generic/firmware/fw_jump.bin ../pc-bios/opensbi= -riscv64-generic-fw_jump.bin + cp opensbi/build/platform/generic/firmware/fw_jump.elf ../pc-bios/opensbi= -riscv64-generic-fw_jump.elf =20 bios-microvm: $(MAKE) -C qboot --=20 2.7.4 From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807772; cv=none; d=zohomail.com; s=zohoarc; b=fyKsdGSLjweN1wloN2agGJliQVrftV2h4/hvkAxqLr9vM4XthJMqQSUmrtT/VOFWw2/CFiBdCDJf1As9EdWVfWaam5rV5wnGBTiU5flNRPlU2aHI6IPOfo4sLTK2YX7QAWAkZ6tzjCQu2+hoNR9daEOQmFcJc7ElKKa1/pHp+c8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807772; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=aGHyCuLl/Ys7FbleNBZAF/IMrzuPBOPAwUm4n3cBWrQ=; b=aDH+RcpD+ea78SOnG8IoWnO4NtGltYyHTwJRTEHzzrT8rs0LK1sp4toNzi8zvLDNPlOPmkeS1HXyuo94eJoZEYgBYl6ZRy0OEmsG2LbPebX0Nyd207nwXdYTMDdFBKwBjM94Pr84SlnNTENAlvltRuhtmsiyh2ufdjMoLRACgsc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592807772070496.35969886878297; Sun, 21 Jun 2020 23:36:12 -0700 (PDT) Received: from localhost ([::1]:41890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG3u-0000Zd-Qj for importer@patchew.org; Mon, 22 Jun 2020 02:36:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1c-0006Ts-4E; Mon, 22 Jun 2020 02:33:48 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:44638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1a-0007uw-9Y; Mon, 22 Jun 2020 02:33:47 -0400 Received: by mail-wr1-x442.google.com with SMTP id b6so15365948wrs.11; Sun, 21 Jun 2020 23:33:43 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.40 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aGHyCuLl/Ys7FbleNBZAF/IMrzuPBOPAwUm4n3cBWrQ=; b=Yvv83vqiTPUWqTUk++xOuXRVFk+QPaxQFfg11xVfNJf+2x3zXAdP+FUowjXyeyPmJx vgtxAciO2+d/q4j9zDLbPc5bcRXPWa6oJzEyZ8Wk0ctN3ViM28YXftOxCnmo13SSCX/r FEtz/Q34a60kCQ0e/0ziUwYobM51AuoTIl+byx0LlkfQ2Nujj9diPM5SiaILkWwJvqb3 fT1lsIbwE2kVIiL3/+OlM1XSAiwwEH1yvSxEzyWfr8dZi0FDilfXlY6MerJXreg/c3V5 ZxDA5MJeLH1wOGHiCWUobNOoz3pCRGzH1m/1yCK/jNLAl5xnqaK20OzSmFi9szXTbr60 P5Kg== 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; bh=aGHyCuLl/Ys7FbleNBZAF/IMrzuPBOPAwUm4n3cBWrQ=; b=tVGwWDMPO5vjagKKK2mRg7pOKyKnEVAQgyYUR4y/gYh164ck14BvHiRUJ/6B+y9NkQ DpSjeZngPNfT6hyho7Cc9g6050ePbj6Yi6Vflwtk3ICEdvj0eKmGvIf/MoJuXH1DFC5V dPLP0JATsZSsNyqbQRm/37t9Da8ciuvlK9rAd7ovGY7rvjy/ir9q0l4amO0JYCx5y9ek v3OOQbavPBorKmdd5vfTCFa5w0ZaF1rASAa3gx82Jw7knP1Yvj2tk8CJx+3O92HeADwq qHndHFjPtx6Y99qw+U5l1Pct0tkHiKdCvvxhz+bf0ArRPk8ERU9O8Y1plnFWpSP1jagA z5bA== X-Gm-Message-State: AOAM530BDWtreZCDX0GJZ9oWa8x+CUDwo980g54I1ywFPFJ09rYPBpiF v5QB7BgyWpgmf4all9/xVnc= X-Google-Smtp-Source: ABdhPJyvvuel2ptwTCFei2Ak1NGKs95SQcYZvEZT7cCW+8lARe6xv1VphlYV6k3wfKgzMIuM8JvE5w== X-Received: by 2002:a5d:46d0:: with SMTP id g16mr18735402wrs.229.1592807623091; Sun, 21 Jun 2020 23:33:43 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 4/7] hw/riscv: Use pre-built bios image of generic platform for virt & sifive_u Date: Sun, 21 Jun 2020 23:33:21 -0700 Message-Id: <1592807604-20805-5-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=bmeng.cn@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng Update virt and sifive_u machines to use the opensbi bios image built for the generic FDT platform. Remove the out-of-date no longer used bios images. Signed-off-by: Bin Meng Reviewed-by: Anup Patel Reviewed-by: Alistair Francis --- (no changes since v1) hw/riscv/sifive_u.c | 4 ++-- hw/riscv/virt.c | 4 ++-- pc-bios/opensbi-riscv32-generic-fw_jump.bin | Bin 0 -> 58048 bytes pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin | Bin 49520 -> 0 bytes pc-bios/opensbi-riscv32-virt-fw_jump.bin | Bin 49504 -> 0 bytes pc-bios/opensbi-riscv64-generic-fw_jump.bin | Bin 0 -> 70792 bytes pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin | Bin 57936 -> 0 bytes pc-bios/opensbi-riscv64-virt-fw_jump.bin | Bin 57920 -> 0 bytes 8 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 pc-bios/opensbi-riscv32-generic-fw_jump.bin delete mode 100644 pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin delete mode 100644 pc-bios/opensbi-riscv32-virt-fw_jump.bin create mode 100644 pc-bios/opensbi-riscv64-generic-fw_jump.bin delete mode 100644 pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin delete mode 100644 pc-bios/opensbi-riscv64-virt-fw_jump.bin diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index ea197ab..2edd81a 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -58,9 +58,9 @@ #include =20 #if defined(TARGET_RISCV32) -# define BIOS_FILENAME "opensbi-riscv32-sifive_u-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv32-generic-fw_jump.bin" #else -# define BIOS_FILENAME "opensbi-riscv64-sifive_u-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv64-generic-fw_jump.bin" #endif =20 static const struct MemmapEntry { diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 616db6f..b7f8598 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -46,9 +46,9 @@ #include =20 #if defined(TARGET_RISCV32) -# define BIOS_FILENAME "opensbi-riscv32-virt-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv32-generic-fw_jump.bin" #else -# define BIOS_FILENAME "opensbi-riscv64-virt-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv64-generic-fw_jump.bin" #endif =20 static const struct MemmapEntry { diff --git a/pc-bios/opensbi-riscv32-generic-fw_jump.bin b/pc-bios/opensbi-= riscv32-generic-fw_jump.bin new file mode 100644 index 0000000..ec40860 Binary files /dev/null and b/pc-bios/opensbi-riscv32-generic-fw_jump.bin di= ffer diff --git a/pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin b/pc-bios/opensbi= -riscv32-sifive_u-fw_jump.bin deleted file mode 100644 index 3e0da54..0000000 Binary files a/pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin and /dev/null d= iffer diff --git a/pc-bios/opensbi-riscv32-virt-fw_jump.bin b/pc-bios/opensbi-ris= cv32-virt-fw_jump.bin deleted file mode 100644 index bc56ed6..0000000 Binary files a/pc-bios/opensbi-riscv32-virt-fw_jump.bin and /dev/null differ diff --git a/pc-bios/opensbi-riscv64-generic-fw_jump.bin b/pc-bios/opensbi-= riscv64-generic-fw_jump.bin new file mode 100644 index 0000000..7b08352 Binary files /dev/null and b/pc-bios/opensbi-riscv64-generic-fw_jump.bin di= ffer diff --git a/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin b/pc-bios/opensbi= -riscv64-sifive_u-fw_jump.bin deleted file mode 100644 index 1acee86..0000000 Binary files a/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin and /dev/null d= iffer diff --git a/pc-bios/opensbi-riscv64-virt-fw_jump.bin b/pc-bios/opensbi-ris= cv64-virt-fw_jump.bin deleted file mode 100644 index c62f2b4..0000000 Binary files a/pc-bios/opensbi-riscv64-virt-fw_jump.bin and /dev/null differ --=20 2.7.4 From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807890; cv=none; d=zohomail.com; s=zohoarc; b=STgXjrDxosF+DCwm0QcG2dXN5/8iPGiBuHbPU4RvB+mF6leQIw1CEqdpfNWn13v3ClIHPpyPKFXfNMfRK8/Z2CIP3mIOlUAdYRNIkOmQLg+buWGVMNZnJ1cgF1+G1BKTBx/qtlKYz6GbZdDZxcwOuED+IJtOTEJqaEKKNbhEOlk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807890; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=xz3x58qCy/6rZFSI16VgMGU7FAdOPJY6KAWYPjgSODE=; b=kPgM+5u4ZBHbo0cQQLkYYhZEngriE833xSh8KtDVebZ1mYCrP1Eqx+8no/kHbJ69m9GxJsWXkt1/18jC/IsTSILrKgPSRei2OO/BwfdeMM16eiLtAufL2LQmVssVM3N3BkVmfY6hWNHhghk5KkxswWomTl2HmUSTC0c9v6ZHHro= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592807890657193.12309326258264; Sun, 21 Jun 2020 23:38:10 -0700 (PDT) Received: from localhost ([::1]:48806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG5p-0003k4-G7 for importer@patchew.org; Mon, 22 Jun 2020 02:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1i-0006WA-9A; Mon, 22 Jun 2020 02:33:54 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:36889) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1b-0007v9-Jv; Mon, 22 Jun 2020 02:33:53 -0400 Received: by mail-wr1-x441.google.com with SMTP id a6so13420922wrm.4; Sun, 21 Jun 2020 23:33:46 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.43 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xz3x58qCy/6rZFSI16VgMGU7FAdOPJY6KAWYPjgSODE=; b=U7C3q21XyfMc755wUOL50i/2a1gFlnECu0lLh+XcvccNvMCqNCX2aRK4cjK2J8H3h+ WNw64j3lb4SDstIHkZJr5fZHyGXTZdfpdjtptFW9AUqYx2DaVXhWof+M1jvGbDrToIht bAwg63QjenuXquThZp8DZ8vPpUALinSiVzovc/oUJpZqbLaXEwDKNgJEelwT6T7pCtM1 JBB3EuBk36dyYZUCvqHQ8DSRCSkccg6QnEHkDCCH5z0oXhvyuzrAfz3q9tbAvUz6uTwK b4jhMwPWLg4KTBb9w5E+iK2UX9RmoHFsyceMxDXLpGRqXZlIg5W6rznDuECWe55T3frz HkUQ== 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; bh=xz3x58qCy/6rZFSI16VgMGU7FAdOPJY6KAWYPjgSODE=; b=otYVwtR7pw7z0PSHRwSE1bT5DsOlZt/nsPILHAdjhwEoNRK/gSwBGgqKtYPQAOkQ09 k2LljPJzvCchzhZlA+Az19tCiagy/dx1BC3FGEN6BRKC5BeF0SGD6l23YXoWi09SKxiT PxvjbHwYFzF81ZI9ajXCNniUdg/1Reb18caxhZ6H8WpJB/5/5kfmet3+LwJCo989DcRH 4/eElKrebXhHiym8TKOnLxAiGpgeSGMowRy6IfXYj6V3T5euW2uHV+a9QdKmchvhOvKW 8EBLupcv4GQpaoABZSkHH1LXuAPCu4lCJOEtlfWfkfoqcmT53U2JmT8MjWWb3Vs7tkQO 9zbQ== X-Gm-Message-State: AOAM533wolrWQv4TU7LjBKQDIavUx8jdg9x3E/LFX0FW/Eulo0Fq3guQ nP0rfH/fWuVXgMjCJl2Bwjk= X-Google-Smtp-Source: ABdhPJw4XJMvzuVDtqPZSUYnUax1VSxhdpAThyrWnPJkAbQ4uXJ6Hv1eVw84MdE99HzJX3vzYBDefg== X-Received: by 2002:adf:fd41:: with SMTP id h1mr17831639wrs.374.1592807625465; Sun, 21 Jun 2020 23:33:45 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 5/7] hw/riscv: spike: Change the default bios to use generic platform image Date: Sun, 21 Jun 2020 23:33:22 -0700 Message-Id: <1592807604-20805-6-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=bmeng.cn@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng To keep sync with other RISC-V machines, change the default bios to use generic platform image. While we are here, add some comments to mention that using ELF files for the Spike machine was intentional. Signed-off-by: Bin Meng Reviewed-by: Anup Patel Reviewed-by: Alistair Francis --- (no changes since v1) hw/riscv/spike.c | 9 +++++++-- pc-bios/opensbi-riscv32-generic-fw_jump.elf | Bin 0 -> 554156 bytes pc-bios/opensbi-riscv64-generic-fw_jump.elf | Bin 0 -> 619960 bytes 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pc-bios/opensbi-riscv32-generic-fw_jump.elf create mode 100644 pc-bios/opensbi-riscv64-generic-fw_jump.elf diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index 3c87e04..2fb7f98 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -45,10 +45,15 @@ =20 #include =20 +/* + * Not like other RISC-V machines that use plain binary bios images, + * keeping ELF files here was intentional because BIN files don't work + * for the Spike machine as HTIF emulation depends on ELF parsing. + */ #if defined(TARGET_RISCV32) -# define BIOS_FILENAME "opensbi-riscv32-spike-fw_jump.elf" +# define BIOS_FILENAME "opensbi-riscv32-generic-fw_jump.elf" #else -# define BIOS_FILENAME "opensbi-riscv64-spike-fw_jump.elf" +# define BIOS_FILENAME "opensbi-riscv64-generic-fw_jump.elf" #endif =20 static const struct MemmapEntry { diff --git a/pc-bios/opensbi-riscv32-generic-fw_jump.elf b/pc-bios/opensbi-= riscv32-generic-fw_jump.elf new file mode 100644 index 0000000..5fd3fb7 Binary files /dev/null and b/pc-bios/opensbi-riscv32-generic-fw_jump.elf di= ffer diff --git a/pc-bios/opensbi-riscv64-generic-fw_jump.elf b/pc-bios/opensbi-= riscv64-generic-fw_jump.elf new file mode 100644 index 0000000..d29e4f8 Binary files /dev/null and b/pc-bios/opensbi-riscv64-generic-fw_jump.elf di= ffer --=20 2.7.4 From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807937; cv=none; d=zohomail.com; s=zohoarc; b=Aq/D/+qH7Ro7cAVYdObuFwwGj+ir0EaIkV7JSMO5z9G2JBSVZXY9u03xpHWBCELJOfgZD70v3cAReuDVtBKoAFY0sYZUnc2WdB5RVmthYKbRx0xNtci7Ui1rpM321dTigZbpZE0g37MqJfzGZUpp77PuCGmYO5Eqp48Uc3kEBH0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807937; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=Bf9mVslhR8Md1AJAa172xTX30v7Z4QWEBUyTeFfWAU4=; b=ig0A//nxEqfBW2ZSQo8K7Ii0chDqP/XUF5hzh8dU/5P43SyocBHQI1w8uFI3PiqtfPygKSmt1hX6hs1r3GwOFulGo8FJSVWI3ifDIB3NYd5iw/h/h8k8KUHSDFGVvZIkNiRN0ZDJ1DV3LbZ0M0wfO4IKrB92ujbUYcAT3jRA2c8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592807937344688.01182421275; Sun, 21 Jun 2020 23:38:57 -0700 (PDT) Received: from localhost ([::1]:51400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG6a-0005Oh-44 for importer@patchew.org; Mon, 22 Jun 2020 02:38:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1k-0006c3-Hi; Mon, 22 Jun 2020 02:33:56 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:52140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1h-0007vc-MT; Mon, 22 Jun 2020 02:33:56 -0400 Received: by mail-wm1-x341.google.com with SMTP id x16so4555894wmj.1; Sun, 21 Jun 2020 23:33:48 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.45 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Bf9mVslhR8Md1AJAa172xTX30v7Z4QWEBUyTeFfWAU4=; b=p0o12OZ3EJiu6TbgQNLrR89eYluwfA5iYe5EVxpVWp5PoX+ENaVbloaFOH/ESk+ul5 3s1GZDgFlPG+T9BSqFjkB1rSpEkPizbxKXOgm7xrepZcZ6MyMQCTh3ainRrVCu0Z3LrH uR3l1CqNXfrma7+Mu62sQ0rgLddzOEQkQeOFbBOQiXBBCxsQRzSTFzhmmTw5GXk58OFh 9+YpBgxhkRHzM+r1FXSBdEHP2rm2A1hYp2Fcs2z8giI5/n61Pa2xF/oPXu0W+41aVNts AcCkVNy9tWixPgLos05n43UZDBEQaIGSk9W1PfP+NTXmow8pbrnALXULBJzaDB//B+RW D67A== 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; bh=Bf9mVslhR8Md1AJAa172xTX30v7Z4QWEBUyTeFfWAU4=; b=XN0kNOxEGYxkZ8PRBjXJpZOAvybuWY/UCOYYkJMgRx+2xaJcb5OhgAan+CW27ev00i ING4ZUeOe+yM6RVIni3x2lNSpo+arRXm3Pb+w/KvpvBJPSoeBCbcXYpgRFcebrq94ou2 TgzPcSQCi+usO/4Hr5UWgUUhJ6M1IlRfgtiKN8/ls0akyD61tiRjYv/flDbJsSPXRW9a LRAp6WKF2EOljldqOLH5Ust9O9W40RLuU+xIb6tBbteYvC6Tj/WZSYkacNUkVlLg2T/m OLNeU9ur3eOakYHZZOaZY+vcejZsM2+AiMcouH7Z3xHWLXgbmq+Vwyw8gdW4ZMqvHcpt SfvQ== X-Gm-Message-State: AOAM533joqQ8KSEWDKK+lIhtxKD40JlaeQ1PvWM1bPbVW2lSo2cfXUSS gN/W9C1GsVnrcJzkTPhxscs= X-Google-Smtp-Source: ABdhPJxrsHGxPd8Eu7eA08bYb8E62OX07e+JeAE7oc1K80El8Keyw9+g/JLO423rBAqcv3z+/bpFjw== X-Received: by 2002:a7b:c14a:: with SMTP id z10mr5242721wmi.19.1592807627832; Sun, 21 Jun 2020 23:33:47 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 6/7] gitlab-ci/opensbi: Update GitLab CI to build generic platform Date: Sun, 21 Jun 2020 23:33:23 -0700 Message-Id: <1592807604-20805-7-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=bmeng.cn@gmail.com; helo=mail-wm1-x341.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng This updates the GitLab CI opensbi job to build opensbi bios images for the generic platform. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- Changes in v2: - Include ELF images in the artifacts .gitlab-ci.d/opensbi.yml | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.d/opensbi.yml b/.gitlab-ci.d/opensbi.yml index dd051c0..23e2fe4 100644 --- a/.gitlab-ci.d/opensbi.yml +++ b/.gitlab-ci.d/opensbi.yml @@ -34,18 +34,14 @@ build-opensbi: when: always artifacts: paths: # 'artifacts.zip' will contains the following files: - - pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin - - pc-bios/opensbi-riscv32-virt-fw_jump.bin - - pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin - - pc-bios/opensbi-riscv64-virt-fw_jump.bin - - opensbi32-virt-stdout.log - - opensbi32-virt-stderr.log - - opensbi64-virt-stdout.log - - opensbi64-virt-stderr.log - - opensbi32-sifive_u-stdout.log - - opensbi32-sifive_u-stderr.log - - opensbi64-sifive_u-stdout.log - - opensbi64-sifive_u-stderr.log + - pc-bios/opensbi-riscv32-generic-fw_jump.bin + - pc-bios/opensbi-riscv32-generic-fw_jump.elf + - pc-bios/opensbi-riscv64-generic-fw_jump.bin + - pc-bios/opensbi-riscv64-generic-fw_jump.elf + - opensbi32-generic-stdout.log + - opensbi32-generic-stderr.log + - opensbi64-generic-stdout.log + - opensbi64-generic-stderr.log image: $CI_REGISTRY_IMAGE:opensbi-cross-build variables: GIT_DEPTH: 3 @@ -54,10 +50,6 @@ build-opensbi: - export JOBS=3D$(($(getconf _NPROCESSORS_ONLN) + 1)) - echo "=3D=3D=3D Using ${JOBS} simultaneous jobs =3D=3D=3D" - make -j${JOBS} -C roms/opensbi clean - - make -j${JOBS} -C roms opensbi32-virt 2>&1 1>opensbi32-virt-stdout.log = | tee -a opensbi32-virt-stderr.log >&2 + - make -j${JOBS} -C roms opensbi32-generic 2>&1 1>opensbi32-generic-stdou= t.log | tee -a opensbi32-generic-stderr.log >&2 - make -j${JOBS} -C roms/opensbi clean - - make -j${JOBS} -C roms opensbi64-virt 2>&1 1>opensbi64-virt-stdout.log = | tee -a opensbi64-virt-stderr.log >&2 - - make -j${JOBS} -C roms/opensbi clean - - make -j${JOBS} -C roms opensbi32-sifive_u 2>&1 1>opensbi32-sifive_u-std= out.log | tee -a opensbi32-sifive_u-stderr.log >&2 - - make -j${JOBS} -C roms/opensbi clean - - make -j${JOBS} -C roms opensbi64-sifive_u 2>&1 1>opensbi64-sifive_u-std= out.log | tee -a opensbi64-sifive_u-stderr.log >&2 + - make -j${JOBS} -C roms opensbi64-generic 2>&1 1>opensbi64-generic-stdou= t.log | tee -a opensbi64-generic-stderr.log >&2 --=20 2.7.4 From nobody Sat May 18 09:22:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1592807823; cv=none; d=zohomail.com; s=zohoarc; b=T+VxY3UkxK/6NlgMWJM8OUvOs7Mpyqd51gB9kUXQsk91uFxWlT7lVG4e5SwRAmSYB/V98KmXsiGze/DI9EL7mPZWUl6j2dXVSxuPHDzZzymxRsVWsQJy16MvJpvFvm177HNnNN4uNtZrlD7PxH7YMXKNsleqlvPJfyoTPrlw8+g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592807823; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=DBMvo4MSmxnrTos0RHTFQ1uipETn7yULsn5/57j1g2I=; b=a+opmmW8TVTVUeFF1wqc/aTRh94lcUjrP2lEYSUC6qUM95Vot1GNLw7lJOXa5UTJLH09LbW3vySLWBD0naIqcp24+xvimFi/vrEhqhmuUGAwNOp/m0f14WmNf32kckdE37ZxB3u6nSE3lCngM0p6GPySZ1DjT85KdRvRMUQHvvU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1592807823783177.21810620152837; Sun, 21 Jun 2020 23:37:03 -0700 (PDT) Received: from localhost ([::1]:44352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnG4k-0001wA-Jr for importer@patchew.org; Mon, 22 Jun 2020 02:37:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnG1j-0006ZM-Il; Mon, 22 Jun 2020 02:33:55 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:36160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnG1h-0007vo-Ng; Mon, 22 Jun 2020 02:33:55 -0400 Received: by mail-wr1-x441.google.com with SMTP id k6so2917404wrn.3; Sun, 21 Jun 2020 23:33:50 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id a10sm16684240wrm.21.2020.06.21.23.33.48 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 21 Jun 2020 23:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DBMvo4MSmxnrTos0RHTFQ1uipETn7yULsn5/57j1g2I=; b=CbrscSCh7wy90RoaEA729exYVrmnCp9th0HqJvUlVF+sfMwIbv1WeXHfXvIppc9dUj DWOY8RRF8Wp28YCaPEamVzx38SmaRhB/PyYqdSP5JYcot6dNZrKl7JmQaUe/uV3CNU51 rTpPdOWoiLOL6thpkq/ci6rTQ3o2evXvaDpPS4bDWe28CrvVHn5Ymv3UiT0Fh4dHt2Oj ffIl2aLsFYxS/pNmStD7y71suDDQA/s2outz+TkOgRipE16oth7Ipxf/pcX80PaEtVAu JkxyKKg+A5nRVxJ64qoX1OdWv8Fqp+a5rV3jgPIS9uzhW4xv5pQBQP/HZr3P9kcX8Avj IyDA== 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; bh=DBMvo4MSmxnrTos0RHTFQ1uipETn7yULsn5/57j1g2I=; b=rLtEDEMeXVZb9ZxEtK+kt3Ppq8er2dDpP5+pMVQ1UJPcvpb/dyh9RO22x8YyQhhnUU 40qMgPY71sYMYJdCS2D2HTkGc3itPDWggr7F0F8oA7eBRiS2TarhJiLeEIekKk1CgKes DckNDImWFumvUcBCEJwse/ti9VDrPn3ECpj8C/WhEs802W1WgqEOPCE3451//1IUGEBm sYko4stMvV9WW7jOKLXSGhYhLI1CZQILcszKohsYp5rSA2lz5GwEJ1asnjDmL4MY7vgy z64Uf5y82sk3L4Ph0//Mf2OBs4XvNpIKzXD0Z7T2vElLhuyM71XE9jkMAa0/XLPmEvcN reaA== X-Gm-Message-State: AOAM532ZjpVgX6pY6jC0iTkUpdcW+gvoaVyPWzo51/Tdijzi7TgKqKag HphbkPrR9b41jJOL1Z2Prfk= X-Google-Smtp-Source: ABdhPJzIymSFXUZgF545ZWfQjZDiLIvp8afF3GhTBnreqwrhqjB4b9GrX856vGYhtwnypV0/Kf5eXA== X-Received: by 2002:a5d:62d1:: with SMTP id o17mr16997999wrv.162.1592807630175; Sun, 21 Jun 2020 23:33:50 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v2 7/7] Makefile: Ship the generic platform bios images for RISC-V Date: Sun, 21 Jun 2020 23:33:24 -0700 Message-Id: <1592807604-20805-8-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> References: <1592807604-20805-1-git-send-email-bmeng.cn@gmail.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::441; envelope-from=bmeng.cn@gmail.com; helo=mail-wr1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , Bin Meng Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Bin Meng Signed-off-by: Bin Meng --- Changes in v2: - new patch: Makefile: Ship the generic platform bios images for RISC-V Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 48f23aa..ddd7c43 100644 --- a/Makefile +++ b/Makefile @@ -841,8 +841,8 @@ u-boot.e500 u-boot-sam460-20100605.bin \ qemu_vga.ndrv \ edk2-licenses.txt \ hppa-firmware.img \ -opensbi-riscv32-sifive_u-fw_jump.bin opensbi-riscv32-virt-fw_jump.bin \ -opensbi-riscv64-sifive_u-fw_jump.bin opensbi-riscv64-virt-fw_jump.bin +opensbi-riscv32-generic-fw_jump.bin opensbi-riscv32-generic-fw_jump.elf \ +opensbi-riscv64-generic-fw_jump.bin opensbi-riscv64-generic-fw_jump.elf =20 =20 DESCS=3D50-edk2-i386-secure.json 50-edk2-x86_64-secure.json \ --=20 2.7.4