From nobody Thu May 2 14:00:46 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=1594357594; cv=none; d=zohomail.com; s=zohoarc; b=TuRvo0Oc/7oZZJ+GTjk2QLXIOVjckWSdmPSbnSgqtmWI1pp5w0ojVMLueJqUtZqQSF0o/Eb0cwdXwJ6Ygka5Xseg8GJ/homVwjZtxA99b1izHIMwkfrs68/MNT490pEMDE1hpOnDLk0vidq53+w9FjpFW/St2zjrk4jZQq8DLQM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594357594; 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=YUmFSMzRZAi3mzFNX7N3yQtui2gfoXBfZk6bh5/WxTY=; b=Xx/V5g4HyVeho0FfUXX7W3MKogTjIKqyYvGZvsImirvsXm6hZqW1vjrLwTCE3xf0OVjMEOMuJQIfa0dtdRFAXhse+kfN5gimveiDmiW88Ds/7NOxKogGYy4C29NKUM6+OvFmIAMI6ESZ3gnr7jO6q9UKLyhSj7K03h7R9QQBv5Y= 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 1594357594982379.27803576216627; Thu, 9 Jul 2020 22:06:34 -0700 (PDT) Received: from localhost ([::1]:49122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlF3-0006I7-Ob for importer@patchew.org; Fri, 10 Jul 2020 01:06:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlDw-0004Z3-Kn; Fri, 10 Jul 2020 01:05:24 -0400 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:55991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlDv-0006I6-3t; Fri, 10 Jul 2020 01:05:24 -0400 Received: by mail-pj1-x1044.google.com with SMTP id ch3so2095061pjb.5; Thu, 09 Jul 2020 22:05:22 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.20 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:20 -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=YUmFSMzRZAi3mzFNX7N3yQtui2gfoXBfZk6bh5/WxTY=; b=TEcTL7mntWGet8gfBsPhvLwVFU+W6lYVo4CidgiImrEHFXPGCh2UvC5lL1rTs96L8i NVRmCTJwYIl9NaGSMPvCWZkOsg0wLYcE/OhIETx456VglUXI6frEIXpTEio9aTfwc/3V Md+0UmSSknZ2p3dwUdqdLBoe7EaII48Ndl7ti+Or/T5G20SBrq/Xux6D3reUduHYbjVs HCDiPc/I1b+QCUu7fR8IPqa+QLppnsNrGw2kHdzizKKNndzypkPQgBTPQx+6fVE2lYQe InnRDLVRCQO6gepqs8M6fkm6/aKsLP1hhNtKQtyNjmkJ3yLcNHu3RRTTTa05oPi/0pif xLtA== 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=YUmFSMzRZAi3mzFNX7N3yQtui2gfoXBfZk6bh5/WxTY=; b=sjy0KQbO8Ey/37W90mcthNoNS0uYPI9ZkvC1XBLdxaT219I3ZgL0qg4tZKSmu6AAsP wzJRVkmAvVvqtIFC9cRG4nyrZR/qgd507O1egfT51KyduxhrDu8GQeOf47kqUGe2Cg1p iyyaRrIOglUZFG7PK3+5ngi49S7XEP6+E3nNrKXPKEaiWlYhOInAExrFqUtaTAXdTmi6 r6sM99Z7RUclKMRe95F5Xmp8x2LEJ2CjN8oRnTAmfD9VPj6Tnx+Dx7vcI6z4nejnSBYF ACzVopXEIrScEM9bb5fS85ILD2AWdXOfb8Om104N/IBXpWAaYkKVdws+9tvD+VlkHUHP KjJg== X-Gm-Message-State: AOAM530yO2MwlvUFy78nMp0AlvwCgFUGeoaoZAZcMgRApyufC4+G04Sy 0YbEUOn6EEtv8E5Ae8VtJO4= X-Google-Smtp-Source: ABdhPJysy3b0ebEJRdSEnUsD4vMbLJwgaDXtJmzOVg2V1VTghjdr2d4wks+1LQO+l4ZGPdwqhfKRfg== X-Received: by 2002:a17:90a:25ef:: with SMTP id k102mr3788498pje.145.1594357521206; Thu, 09 Jul 2020 22:05:21 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 1/7] configure: Create symbolic links for pc-bios/*.elf files Date: Thu, 9 Jul 2020 22:04:53 -0700 Message-Id: <1594357499-29068-2-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::1044; envelope-from=bmeng.cn@gmail.com; helo=mail-pj1-x1044.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=ham autolearn_force=no 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_dynamic.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 --- (no changes since v2) 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 ee6c3c6..36ffe82 100755 --- a/configure +++ b/configure @@ -8539,6 +8539,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 Thu May 2 14:00:46 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=1594357596; cv=none; d=zohomail.com; s=zohoarc; b=VWNAAX8zaIuBXzTUzCsZaVFogeakc8T3a/rxCtaKdJ0M8FsZRsVkHu/JtaMjnG9YUc8a966Uh7x++WU1Buo6jaXAHys1ttv4w2cP/SCIab7SPyjmRbRs7AGfW714DJTS/lbx6+KvaUh6Bh8E8iXrxtdESboQR6GLTcgeJanChuo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594357596; 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=YoykrVtjYqt8oRbnP42shFLWN1mv4jmw4/LHlHynF4c=; b=E8PPhZ1s+maQhNtEkeBF5l9TwBe0rkCsvtVWz9BBPOyLFNTj+2EJY54HKjEUY/mzZ7mPnTLay/tdugsgxaSX/OQ/CoOWN5Nyj4tFD5xhH/TJsf9KltJVOYqS88QgzCvmeyxdHkxSBASO8sdn6+27QDbcn21RpqIEbbEi++1oRhA= 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 1594357596198686.1953109733901; Thu, 9 Jul 2020 22:06:36 -0700 (PDT) Received: from localhost ([::1]:49158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlF4-0006Iu-KB for importer@patchew.org; Fri, 10 Jul 2020 01:06:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlDx-0004af-W7; Fri, 10 Jul 2020 01:05:26 -0400 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:35960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlDv-0006II-Ra; Fri, 10 Jul 2020 01:05:25 -0400 Received: by mail-pj1-x1044.google.com with SMTP id md7so2093568pjb.1; Thu, 09 Jul 2020 22:05:23 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.21 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:21 -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=YoykrVtjYqt8oRbnP42shFLWN1mv4jmw4/LHlHynF4c=; b=P53YiLUwAwoTMlQ9dJlo12Vsikft+qEkadhR0y9D7P3pNExuyv84K94qYJ637is81T vQVeCxI4oRRCjBqvxCsQUE3hSv7CUATgZRmWFV79g94sMZ2zrmQYG2/8nc+Suuy04Pzq 5JGoQ/qul48vY/TnXoAsyL1MF9SLpd2sEBggYMJOpoUnHIOC6RLM+Y7dtIW7ibj6pqfU Vn6hXyCqyAtsQ0j/ft5mV8zljhdcGdUGMvH/I9DOU/Pv42vEJulYDkBGEbxN5DweGzce BCEzruRYMIb+OKX0wM9YDdEZVqapDK9sLSs/PR1qJBn8jJM4O0VU6RqvmOXrqigHWdmF +Zkw== 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=YoykrVtjYqt8oRbnP42shFLWN1mv4jmw4/LHlHynF4c=; b=jFYts9iTfmXOiYT22+PLiCdYZHZ7cYR78lkISF4nSY2o9Fp5rPAJ09NWl6lVNCvQRS i/Ew3HMLJapRAebe9hbDAsvdAD+SQ0tpCvO/15GMuuCr/jgAJgL3j29goJTy+ppFjwzP 0vRVfiAJZxbkSWF7kIrjsXcZjcMxiEyq+E+r4pBkm2jvu9E1MniSc8H9MBmWQDJm2+T7 1r17gi6VOrqdC3p5QiuYSJLqw2y/MTH2iQYOxBRyq0CnS3becmDI0PXXENsVVvnXfFHk J0tIcDWU56LaZCRjdx6vrVLBXRdzpafhCMLvIWl0qKeK/SR5FPfyz4Pw0b/isjCTrndR fDRQ== X-Gm-Message-State: AOAM5332GQYNebTOta1eVwe5BVWuVY37VuBJR85sO/XLjQIPzZmz/JnL 8ewmN44j51dgfC+YKGU84X9j7FUC X-Google-Smtp-Source: ABdhPJxXZRxqR8o3XG5Wi0wuQ2xR6kltGyn+6V5gXRVEJWLFj3XVMFOppadTinvhR+M8eFNrIVpZYQ== X-Received: by 2002:a17:90a:e50c:: with SMTP id t12mr3667315pjy.209.1594357522338; Thu, 09 Jul 2020 22:05:22 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 2/7] roms/opensbi: Upgrade from v0.7 to v0.8 Date: Thu, 9 Jul 2020 22:04:54 -0700 Message-Id: <1594357499-29068-3-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::1044; envelope-from=bmeng.cn@gmail.com; helo=mail-pj1-x1044.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=ham autolearn_force=no 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 --- (no changes since v2) 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 Thu May 2 14:00:46 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=1594357689; cv=none; d=zohomail.com; s=zohoarc; b=f3tl2rRbj2NXtw2BaZ6mKM3SDlNJoKkt+RvEsXFCpvLtcEvxINAozL0UK9FM8fyGdQ5aTc3xuG8rjFs4+ocnXxY07alIWAn9jsl6PUlaaMrwIso7t8vfDlEa9LlrBAncpkNjGIm4DYVJ+bUrz3sD2wOwqta26sHYVmRFsMxsmFI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594357689; 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=rwBr69aKqgDUi0/A7pROTSLiqSwaDFaBxL8GlGAjDF0=; b=AKiaTqdpQS48fgHQcLFynYRvRTv/bkYP9FlqMD9GNFRfrV8KSl7/NIi5GtW/MDsZ9XAjB2RR2ZeCKTN/ZXxUYaPXHECb5k2GOEfYDxPP4NBoJBZov+F2dGy5L9M/jH/5A465c91ikdcjAZ3+LAqTaeRiJNnxkJdQzZlEQf1pMn4= 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 1594357689452743.2144448734415; Thu, 9 Jul 2020 22:08:09 -0700 (PDT) Received: from localhost ([::1]:57678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlGZ-0001Mf-4j for importer@patchew.org; Fri, 10 Jul 2020 01:08:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlDy-0004cA-LO; Fri, 10 Jul 2020 01:05:26 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:46252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlDw-0006IX-Uu; Fri, 10 Jul 2020 01:05:26 -0400 Received: by mail-pg1-x544.google.com with SMTP id d194so1970099pga.13; Thu, 09 Jul 2020 22:05:24 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.22 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:22 -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=rwBr69aKqgDUi0/A7pROTSLiqSwaDFaBxL8GlGAjDF0=; b=irBS60SoZp5h9+cHjhLyvFYsRMaKrGFv25szAQrKd26BTokh+gwyy7jNrDzLiis3rS x85CcxHeDGuUWiu2IW4hyO8dpN6/Aa2CmENnsJXuIQLOFeP00zRZBzWfBtVric6z1uOL 2al+HL7uGkdy6DiLgoVXUnUgs72DWhs7zzu68XdLjsMOrWvHELVdCyqrDVZ5x4dAnzsw FScZZOvoNctjR4l8NVECUKJOh7j7sSF9cYe3d9IOTRn+3guTN1YFpYdHXqLM1/NTeggY HSf0GhETJ7vZkaUwtFIw1/0v5cSPL8Cut87qp/VrP0S/I4Q4XQ6xGRZ8oztAlQPxIZjX 2O6w== 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=rwBr69aKqgDUi0/A7pROTSLiqSwaDFaBxL8GlGAjDF0=; b=JS/LXAvwegF9X1Z5Lx6ZKVpXJ+6U841dzqVzwtzN1hlNs6ZJ4d3+HIlZ00OgdgGxrl jTJLofpOUPjookM/KHpAu+8fHo5eqpfG7WCOk80u0vB2E/Ypsko7mEjJluP5z0/aCYp8 HtfX8+GRWk5sKUdZXpwCh2nIhrBFlNgcajK4kf3qKCCNqoUEy4EFadNDSyzlJWkaLpyu Q5yUd8wr2FMCUOLT+xnWwJLptHSh91c969txjBvihrKAGRw05cvX1M5/3ZU8daXtt4p6 wWaFHGZCcaquZXLWBybjMtvcmVV1KLRy0PGPWAYNWH2YjGS3wCauvfmbrKtXBi982B9r 51qQ== X-Gm-Message-State: AOAM533GZrDWyBuUENKQM+DnS/QEHM4mjhcxzJDZV803EMmJhTR3EEXw SAfZX/R/LfC2rky/UY+mpI8xcbxY X-Google-Smtp-Source: ABdhPJz9i4Jor66sZwOwcxDDAltT88fRHD4na5VPEYfcxdLJkcEW2VlpsDAMHpn/TUcWyQQp0viBlw== X-Received: by 2002:a63:1059:: with SMTP id 25mr30618778pgq.302.1594357523350; Thu, 09 Jul 2020 22:05:23 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 3/7] roms/Makefile: Build the generic platform for RISC-V OpenSBI firmware Date: Thu, 9 Jul 2020 22:04:55 -0700 Message-Id: <1594357499-29068-4-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::544; envelope-from=bmeng.cn@gmail.com; helo=mail-pg1-x544.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=ham autolearn_force=no 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, and change to use fw_dynamic type images as well. Signed-off-by: Bin Meng Reviewed-by: Anup Patel Reviewed-by: Alistair Francis --- (no changes since v3) Changes in v3: - Change fw_jump to fw_dynamic in the make rules 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..5d9f15b 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_dynamic.bin ../pc-bios/open= sbi-riscv32-generic-fw_dynamic.bin + cp opensbi/build/platform/generic/firmware/fw_dynamic.elf ../pc-bios/open= sbi-riscv32-generic-fw_dynamic.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_dynamic.bin ../pc-bios/open= sbi-riscv64-generic-fw_dynamic.bin + cp opensbi/build/platform/generic/firmware/fw_dynamic.elf ../pc-bios/open= sbi-riscv64-generic-fw_dynamic.elf =20 bios-microvm: $(MAKE) -C qboot --=20 2.7.4 From nobody Thu May 2 14:00:46 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=1594357716; cv=none; d=zohomail.com; s=zohoarc; b=bZgUodEYvI8xC/pMpULTzg5enRv1u5haj/aQmNiLrOzPdfyy3M9MiKsjoEfsk5Fef6ELAVy9qXTtVwkWTcFQtSpJPE4xhITK4q1eD5wX+MALx1oZfo8CTQmAbAz+4O3POaNbwOHzYNRu1tZjs49dM4O+3Ng5pZe2PyzJ28bYT7E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594357716; 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=mlUaGZWQPKSRpzuD0YNNdJYl3EAixOrmpeDJCpiLcI0=; b=AYK0TSOo/fjD6STBtz5pts1+UQpCzeWfNP6o4WN+UFj1L5qQh2uKLEAN4hhQHm7tJpCWD60pzz2W8KYiLiSvgnaNAAZLgw9pJuKNliX8ruowJxIfiJztBkRTz9IzH73i/kSZWsojcfrOKag+v6MDq9zTIktVN+4fQoEFAWwMeFY= 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 159435771668413.598004149614667; Thu, 9 Jul 2020 22:08:36 -0700 (PDT) Received: from localhost ([::1]:60766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlH1-0002bb-EG for importer@patchew.org; Fri, 10 Jul 2020 01:08:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlDz-0004ek-P2; Fri, 10 Jul 2020 01:05:27 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:43140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlDy-0006Ii-1E; Fri, 10 Jul 2020 01:05:27 -0400 Received: by mail-pf1-x442.google.com with SMTP id u18so2002063pfk.10; Thu, 09 Jul 2020 22:05:25 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.23 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:23 -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=mlUaGZWQPKSRpzuD0YNNdJYl3EAixOrmpeDJCpiLcI0=; b=pUCeSAjN68vXbf58Ul49OEpnReR9sjn/gPzXMRlccrJb6yYEgJ5DK8oSL7Lm9JiHAw XnppnGIdFfpO9Q0LK2h+WBGklndtBZjviazUovz25LoyGsXr+Yv2suTcOuqM+7m4Vp9s 2Yjkrd5/cYIjL2IwbaSZ78GkAp55pCnBNjaMXTdGQtoMR2+TX43U+OK3ASV0kc664bC0 +FKjhCMZ8TYpvL6GA0VBhbXkBP3Kv3pGvFb7AiHYKbRX2f8UbQwQTbm2QzVVqIsE5gp5 Dya91kkoyzewpdbIDjXYNVjtcQ+H9tcJzyVpRNTRxQJWVKMAPrz+3n+Ew9qx6k6qfp7d /MLQ== 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=mlUaGZWQPKSRpzuD0YNNdJYl3EAixOrmpeDJCpiLcI0=; b=mv4AY9caAFggDa3YNatUFmGQ8i/y2SK6+Xhw7pRqTtpt4jDZ9Yo5kY9/BGvS920WPO qnOypvkBDo0m4r1nMJamVUoZA2YuDP6qJe2iM7TSSYk4VDajgNFG+vUj1h1BTEb102x3 uV0CMVRvnIQvv07uRuCDQud0rYvCQf5m+CjqG2bYv8AaIYNiY7ntiiKMvKPymi0Agg+C z4MbOZ56lVSPpAam9fJ+idSLPWrRSavNC0KbNOk4nu6ooRKk97X318QVhUDPukDi7YWY yaO27jvWKLLlMyBK/+WM4VDy6h5SerIvko/RzUqWWGZKhxXMOMC/YRE6m5RwZ+36ac9D 8UYw== X-Gm-Message-State: AOAM530ceSBhDso4VR/w0m/UYKeyUY5mPlweunKgUKtVOHlzegRRkKpu ryJWchv0IDcwQgq9aRttbY0= X-Google-Smtp-Source: ABdhPJzj/Gw7r3Z3riASxq9Z6aA5cw8PvHkqzN8VraY8gEvPRBKCYb3l5jMBTELrU56ZkJOyu8F1sQ== X-Received: by 2002:aa7:8801:: with SMTP id c1mr60194571pfo.105.1594357524332; Thu, 09 Jul 2020 22:05:24 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 4/7] hw/riscv: Use pre-built bios image of generic platform for virt & sifive_u Date: Thu, 9 Jul 2020 22:04:56 -0700 Message-Id: <1594357499-29068-5-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::442; envelope-from=bmeng.cn@gmail.com; helo=mail-pf1-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=ham autolearn_force=no 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 fw_dynamic 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 --- Changes in v4: - Remove old binaries in the Makefile for `make install` bisection Changes in v3: - Change to fw_dynamic.bin for virt & sifive_u Makefile | 4 +--- hw/riscv/sifive_u.c | 4 ++-- hw/riscv/virt.c | 4 ++-- pc-bios/opensbi-riscv32-generic-fw_dynamic.bin | Bin 0 -> 62144 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_dynamic.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 9 files changed, 5 insertions(+), 7 deletions(-) create mode 100644 pc-bios/opensbi-riscv32-generic-fw_dynamic.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_dynamic.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/Makefile b/Makefile index b1b8a5a..f06b3ae 100644 --- a/Makefile +++ b/Makefile @@ -840,9 +840,7 @@ palcode-clipper \ 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 +hppa-firmware.img =20 =20 DESCS=3D50-edk2-i386-secure.json 50-edk2-x86_64-secure.json \ diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index b434fd3..dc46f64 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -60,9 +60,9 @@ #include =20 #if defined(TARGET_RISCV32) -# define BIOS_FILENAME "opensbi-riscv32-sifive_u-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv32-generic-fw_dynamic.bin" #else -# define BIOS_FILENAME "opensbi-riscv64-sifive_u-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv64-generic-fw_dynamic.bin" #endif =20 static const struct MemmapEntry { diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 85e17fe..5ca49c5 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -43,9 +43,9 @@ #include "hw/pci-host/gpex.h" =20 #if defined(TARGET_RISCV32) -# define BIOS_FILENAME "opensbi-riscv32-virt-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv32-generic-fw_dynamic.bin" #else -# define BIOS_FILENAME "opensbi-riscv64-virt-fw_jump.bin" +# define BIOS_FILENAME "opensbi-riscv64-generic-fw_dynamic.bin" #endif =20 static const struct MemmapEntry { diff --git a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin b/pc-bios/opens= bi-riscv32-generic-fw_dynamic.bin new file mode 100644 index 0000000..23b4dfb Binary files /dev/null and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin= differ 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_dynamic.bin b/pc-bios/opens= bi-riscv64-generic-fw_dynamic.bin new file mode 100644 index 0000000..16c0cf4 Binary files /dev/null and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin= differ 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 Thu May 2 14:00:46 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=1594357602; cv=none; d=zohomail.com; s=zohoarc; b=UFPHw7zPD/5506HNpZkc8KIKDL0uFePVXJLCRUpsmcORjJnKS562oaAB44gF98U6nccTtdS2LGgVrnH28xBAqFfCJQbhVVvc020zMzeakcrxSwgLW3y3IecAVZFQ+Dw0HUJIBX1yT29ekbIWtyjJ9q7ouiwqRcc0aYTPfDJAMgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594357602; 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=M0wM1ATVTCyAhKblgVkTw/n2u4Z2M1VeonuoZ3M/FH4=; b=l0nHNjpOm/ZmZUZPwozbWyTVZmGbyOilMAzUx0F+FYtejt3AmfQgy7xivMz5Nhxp3gdL32EKNQ7ZmymPUaq59nNX7E3r5TM/jkRl/sYiABAb3tjK1b8yOkaWMqW6AjogDOGuhkd/9P5Y7jDhJwsK4yTmGHZxubvw9l5yns2N2qg= 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 1594357602014671.3795333379892; Thu, 9 Jul 2020 22:06:42 -0700 (PDT) Received: from localhost ([::1]:49792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlFA-0006YH-NP for importer@patchew.org; Fri, 10 Jul 2020 01:06:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlE0-0004h2-JQ; Fri, 10 Jul 2020 01:05:28 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:39811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlDy-0006Iq-SZ; Fri, 10 Jul 2020 01:05:28 -0400 Received: by mail-pg1-x543.google.com with SMTP id z5so1989145pgb.6; Thu, 09 Jul 2020 22:05:26 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.24 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:24 -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=M0wM1ATVTCyAhKblgVkTw/n2u4Z2M1VeonuoZ3M/FH4=; b=pHH2oOCWTUiLfcpCg+2n+ozlCH9eNLdPQBkuJlcwnkxtD/pjE0IswLwOLxBawXfwak RkXqk+RHuU/iSkiThqKAKH6WlqXWV53OUmeoHInJZDGdQyG1RyP8SVHxhhHbU4o2KkHl aVm1FH9OHdjNP72V+MjkNeOO5PSdvzhn/rYjotSqnArNfx/UaKmDvWU7fjoA9+yy08p8 1sWU9B+btYQX+RZKVUacal3lVp4RfCYa4ig+oJ1hrd2OoqOORFBehM4bSWs/xKJPCAzs 3Z5JnnyCJsG3ruGC3vs0+p9G4ux51cIiU2ruDsY6oj9Lf0EoG9ggLnwxI5A/5C5fcyvV c7mw== 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=M0wM1ATVTCyAhKblgVkTw/n2u4Z2M1VeonuoZ3M/FH4=; b=ayjEXHFg2B83mSOZsNRW4waKCMF5Fygd9SAwnA0vOtCCvRvkT1sCeJ91NdVu8wJod6 pKiBYtQ8xCyH6XaVAk2q9SDiwasplOnRGaYf2+MLd04+flHUAWm3vmtXR3ufjlKMPiPb cK0g8wnBsqlpCM/RKmEJ2oYAwUIcR+ft2Q/t2LI5MsGmQCs+R8d2dNoFJxCmAHAN4FCt SsT8uDv041lXjoHD2OJJ+gaAMN57aVBUClogmRDJQBv5ghcVe/dWiyLZSMMGyEmHQFzP dI4mHn/SC2ibtBlAe3xefyDGD2W0nEsqdOrp1GJXFVLSaGotncvc52bOzMuGaBtdDJ2A CEUA== X-Gm-Message-State: AOAM533PEgzh2p3C0vH1HjrECgS464cHVR11J4qPBIoCf4zymA6QbV8e OuKRO4et8sXVx+9440ulX+g= X-Google-Smtp-Source: ABdhPJxptjaIPa/0K0dhKenWIkpv133f8nE/dsK6sXHBVix9F+WYOLl2ZN30SGASislc8Y/L/CDKww== X-Received: by 2002:aa7:8e0c:: with SMTP id c12mr19780775pfr.38.1594357525346; Thu, 09 Jul 2020 22:05:25 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 5/7] hw/riscv: spike: Change the default bios to use generic platform image Date: Thu, 9 Jul 2020 22:04:57 -0700 Message-Id: <1594357499-29068-6-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::543; envelope-from=bmeng.cn@gmail.com; helo=mail-pg1-x543.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=ham autolearn_force=no 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 fw_dynamic.elf 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 v3) Changes in v3: - Change to fw_dynamic.elf for Spike hw/riscv/spike.c | 9 +++++++-- pc-bios/opensbi-riscv32-generic-fw_dynamic.elf | Bin 0 -> 558668 bytes pc-bios/opensbi-riscv64-generic-fw_dynamic.elf | Bin 0 -> 620424 bytes 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pc-bios/opensbi-riscv32-generic-fw_dynamic.elf create mode 100644 pc-bios/opensbi-riscv64-generic-fw_dynamic.elf diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index b295a43..a187aa3 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -42,10 +42,15 @@ #include "sysemu/qtest.h" #include "sysemu/sysemu.h" =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_dynamic.elf" #else -# define BIOS_FILENAME "opensbi-riscv64-spike-fw_jump.elf" +# define BIOS_FILENAME "opensbi-riscv64-generic-fw_dynamic.elf" #endif =20 static const struct MemmapEntry { diff --git a/pc-bios/opensbi-riscv32-generic-fw_dynamic.elf b/pc-bios/opens= bi-riscv32-generic-fw_dynamic.elf new file mode 100644 index 0000000..eb9ebf5 Binary files /dev/null and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.elf= differ diff --git a/pc-bios/opensbi-riscv64-generic-fw_dynamic.elf b/pc-bios/opens= bi-riscv64-generic-fw_dynamic.elf new file mode 100644 index 0000000..642a64e Binary files /dev/null and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.elf= differ --=20 2.7.4 From nobody Thu May 2 14:00:46 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=1594357820; cv=none; d=zohomail.com; s=zohoarc; b=jjPFo/zw/zniFz8N4zid7aeUcT+H2hiia9hDJrxRnw7HM6PobrFdJvg4TAxTvAnFRjpYXl9boFB1Nh1MvvoNYmSAjvW7tUeZkKaW2DiW6ORier08KLr0hzy+Q919s1qamDlYjT3kvF73CVHfj6dMTI8x8LhoOH0b7uc+eKXpxbQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594357820; 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=+sSZG773h4PJo3uNRAiPhTPWUGznrWS+cAT1wW6ou90=; b=hOsPQu+/umqpgRO6KDPU1k9iZ3w4lDE6cmS9Hs6YE+ZWGRp1HrKBRMt/GAI+D907ryF7StN/3cH9TxLlIUggTmgNL9RrqQQobQllhKBuJjMncXy81lfnpFPfLLQo6/Ua8iYIywl/BJ+tBWB0ICSOqp6amK7SurGBCx4RdutVZR8= 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 1594357820667115.49285893528315; Thu, 9 Jul 2020 22:10:20 -0700 (PDT) Received: from localhost ([::1]:41076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlIh-00063D-EC for importer@patchew.org; Fri, 10 Jul 2020 01:10:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlE1-0004jr-LH; Fri, 10 Jul 2020 01:05:29 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:44449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlDz-0006KB-UM; Fri, 10 Jul 2020 01:05:29 -0400 Received: by mail-pl1-x641.google.com with SMTP id w17so1752643ply.11; Thu, 09 Jul 2020 22:05:27 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.25 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:25 -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=+sSZG773h4PJo3uNRAiPhTPWUGznrWS+cAT1wW6ou90=; b=aqWFNJVhzz+gEhgsJD10o5vN1Gnk3SyK9W0RrS83H/i5RXHegQPA4eKL23pPACg5Ak QZzsK2WOrfKRxVK00tv03+bA5LWxxtt1g62pHPxMPbRHgMNxlsix6RFl3xe8JBVLsTzB 7xfh5JOBKZLr/y2kkZkru02qZSsR2suz07dVQIAh2c4GuNsnG0FrQIrc9730JzWeVS0H xQ7Wp0sXlE3WKLTc9tUkfQmh5B/WLHQHO8s3clqdx6nU2BPV7csOTI6xN88z81OLdQKg Ct7jMuXQZBCbWqe0HhfXKF+CWMQgDJWgewkH+Hh/7FKxJBCO4MS9dYbsQVdWGCLIKwGP 1yPw== 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=+sSZG773h4PJo3uNRAiPhTPWUGznrWS+cAT1wW6ou90=; b=MdUZNA2vJ1TkZeyXx2ZlqDA/8/i+u7tgtAKAJS1O5Iknb/LRhAdRagXlWoptfAGl1K lCmYsHfC50aa5RJHkGR3nGwTKXgIweP0h9Ha7eoqvY1gtooQXv8axUHN9PZC2pXqe0vw kic60RbhxD0YhMTtGfPKRG+m8NE3jns5QT/H36lP5CTwCDZnO2r/In+K4L9Al10e27MU pq64Y4EoTU6tM7xPvt3/QWGvT/Q56JXDXUYtZBWIl+S8vZmIZ3zM45VWNYbBMeJ8KUE/ reRLdFxKU4pZuzq2npGOw7tQn3TGddNlPQbaEWsdbFPYtCju4/yli756ci8v2IbBShex TsmQ== X-Gm-Message-State: AOAM533PiLCLMhwUrFfOGV0N70JKg7zMzZ8urA4pp1xekpEWgaF/Hcnn 1RAa+wjCDLYxRGiHwrGMozI= X-Google-Smtp-Source: ABdhPJyTtyCsrgSv23llxpLlZCH2RcWKzSlBooReQ4wjyDUpYE75FwO9oUXDk8SfrruTZEjUDseKcQ== X-Received: by 2002:a17:90a:1996:: with SMTP id 22mr3777073pji.171.1594357526406; Thu, 09 Jul 2020 22:05:26 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 6/7] gitlab-ci/opensbi: Update GitLab CI to build generic platform Date: Thu, 9 Jul 2020 22:04:58 -0700 Message-Id: <1594357499-29068-7-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::641; envelope-from=bmeng.cn@gmail.com; helo=mail-pl1-x641.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=ham autolearn_force=no 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 Reviewed-by: Alistair Francis --- (no changes since v3) Changes in v3: - Generate fw_dynamic images in the artifacts 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..fd9eed4 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_dynamic.bin + - pc-bios/opensbi-riscv32-generic-fw_dynamic.elf + - pc-bios/opensbi-riscv64-generic-fw_dynamic.bin + - pc-bios/opensbi-riscv64-generic-fw_dynamic.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 Thu May 2 14:00:46 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=1594358060; cv=none; d=zohomail.com; s=zohoarc; b=CLCyb37jWMYw4xxxUvFcza9CfPopCLJQNmGvlUaZr6JQtjrQo50pC/H+STBsWp/iSilyNT0pDjs6edAjy2cnci5WUi5rbkuV3AoNHsCjczEkq57OZbzenVGuDtJUAyPx+NRlG7perVUmWQMIZ6Ot0K5sYpNiyQd0zQjb+ZO80zU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594358060; 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=j+udS6smruZZnJUBuw/LVlrj3jLg62lb2FZOqluq88M=; b=HQ7UDJFkkPYGxM82QfYHBkDRNyshGvg0rvqygT2j6NKrNZamR2+r85nZPO+jgEvEPiJeGs6Q8qp+PztLy5fzodPrNXrAbEkgEMBg5UkzH4c+kk9ZVX1P2VkYZLxbTXtKS8yGZQSgGayYB+FqHgYy0snDoKls22tJ1bhpOpIz/Rk= 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 1594358060425319.81851749929365; Thu, 9 Jul 2020 22:14:20 -0700 (PDT) Received: from localhost ([::1]:47730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtlKI-0000PL-JT for importer@patchew.org; Fri, 10 Jul 2020 01:11:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtlE2-0004mI-Gz; Fri, 10 Jul 2020 01:05:30 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:34431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtlE1-0006KN-0v; Fri, 10 Jul 2020 01:05:30 -0400 Received: by mail-pl1-x644.google.com with SMTP id o1so1773066plk.1; Thu, 09 Jul 2020 22:05:28 -0700 (PDT) Received: from localhost.localdomain (unknown-224-80.windriver.com. [147.11.224.80]) by smtp.gmail.com with ESMTPSA id g30sm4659175pfq.189.2020.07.09.22.05.26 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jul 2020 22:05:26 -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=j+udS6smruZZnJUBuw/LVlrj3jLg62lb2FZOqluq88M=; b=EqoSyAnZ6mcdCHQEmpadgX5UrK6dfHStecNw9g/crSNJV+HmHT0j+9C6A+axxliUgh QqSfXc44Q7JuPrA9toDxWaVMksXtnADMTiA7zPWlV6dtLnkqc+E83mJBjJxrzJSZZaMH hjQaO/BFesAt1+dmZSr5KiLyz6rZr8/7XqLFOLvgqP5INbVQVpdN4uPNC4fhhE2TkU6X GBYFpbp3k6jSZzJMuPP+66UkpQIkdkC1xz2lIR2tqDIDYjI/SJ+tGzrvb5EKybsTXBt+ JyUtAkE7MYB/uSlubu2pzo9QqOyCAG6pmyaND6/MMcHj9uzhBiXPIJBS27XxFIhPQ90t 8QHg== 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=j+udS6smruZZnJUBuw/LVlrj3jLg62lb2FZOqluq88M=; b=k0+9PdXIIYEBhaVbPahytWtePI9eY3UhD81W9RdF7aKejKf1omzgGxoohj6XXpldtj XNqMWGT6jTMgrQWG6AmGU7EU90qr71Nm+KNG0od5T2YlTdsIcpjQI2g7UFAzy74Eo6ri lMj79Wresy70e+hBX8q3CjtkJG3Fc8TqSj/0J+WuqEnNsMm3KqUzidCUZQmz4op/s1wf iomAkRXWhysndtJhPk6Hg9lD/Vr/uYrnklRQdvO+WDCPLmZ09BPf4vHZ90hZa9iYr2LH y/yim4WdF6nd2GvfNWhVOnz0PGOw8S2/dxnHK7yEPumNh7e2NLx9mhvpdQy1nqPd4CEF 0uFQ== X-Gm-Message-State: AOAM533Bo+EvGfaGlZEdlbe4cVKeL2bcjrjJsdkKM0dh07G2D47d8xK4 4qprWiOo95FBZjXAatov0/Q= X-Google-Smtp-Source: ABdhPJwHyGByNx9LpPNvLGAqkEwOT/cP6mAJTEzMyHZ0Xvc6i0332B479Phmr2QdKdWjWrYwdH1Cjw== X-Received: by 2002:a17:90a:764c:: with SMTP id s12mr3715887pjl.201.1594357527303; Thu, 09 Jul 2020 22:05:27 -0700 (PDT) From: Bin Meng To: Alistair Francis , Bastian Koppelmann , Palmer Dabbelt , Sagar Karandikar , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v4 7/7] Makefile: Ship the generic platform bios images for RISC-V Date: Thu, 9 Jul 2020 22:04:59 -0700 Message-Id: <1594357499-29068-8-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1594357499-29068-1-git-send-email-bmeng.cn@gmail.com> References: <1594357499-29068-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=2607:f8b0:4864:20::644; envelope-from=bmeng.cn@gmail.com; helo=mail-pl1-x644.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=ham autolearn_force=no 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 the install blob list to include the generic platform fw_dynamic bios images. Signed-off-by: Bin Meng Reviewed-by: Alistair Francis --- (no changes since v3) Changes in v3: - change fw_jump to fw_dynamic in the Makefile Changes in v2: - new patch: Makefile: Ship the generic platform bios images for RISC-V Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f06b3ae..05e05bb 100644 --- a/Makefile +++ b/Makefile @@ -840,7 +840,9 @@ palcode-clipper \ u-boot.e500 u-boot-sam460-20100605.bin \ qemu_vga.ndrv \ edk2-licenses.txt \ -hppa-firmware.img +hppa-firmware.img \ +opensbi-riscv32-generic-fw_dynamic.bin opensbi-riscv32-generic-fw_dynamic.= elf \ +opensbi-riscv64-generic-fw_dynamic.bin opensbi-riscv64-generic-fw_dynamic.= elf =20 =20 DESCS=3D50-edk2-i386-secure.json 50-edk2-x86_64-secure.json \ --=20 2.7.4