From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by mx.groups.io with SMTP id smtpd.web12.14812.1581293469692343871 for ; Sun, 09 Feb 2020 16:11:09 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: bsdio.com, ip: 166.70.13.231, mailfrom: rebecca@bsdio.com) Received: from in01.mta.xmission.com ([166.70.13.51]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1j0wfM-0001QU-Mx; Sun, 09 Feb 2020 17:11:08 -0700 Received: from mta3.zcs.xmission.com ([166.70.13.67]) by in01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1j0wfL-0005ud-SO; Sun, 09 Feb 2020 17:11:08 -0700 Received: from localhost (localhost [127.0.0.1]) by mta3.zcs.xmission.com (Postfix) with ESMTP id 7C5CD1617DE; Sun, 9 Feb 2020 17:11:07 -0700 (MST) X-Amavis-Modified: Mail body modified (using disclaimer) - mta3.zcs.xmission.com Received: from mta3.zcs.xmission.com ([127.0.0.1]) by localhost (mta3.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id K8jaXHW_Ugmc; Sun, 9 Feb 2020 17:11:07 -0700 (MST) Received: from photon.int.bluestop.org (muon.bluestop.org [65.103.231.193]) (Authenticated sender: rebecca@bsdio.com) by mta3.zcs.xmission.com (Postfix) with ESMTPSA id 3D0B7161351; Sun, 9 Feb 2020 17:11:07 -0700 (MST) From: "Rebecca Cran" To: "devel@edk2.groups.io" , Abner Chang , Gilbert Chen References: <28f9f325-3106-1f3a-096d-d3aebc6fcc85@bsdio.com> Message-ID: Date: Sun, 9 Feb 2020 17:11:06 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <28f9f325-3106-1f3a-096d-d3aebc6fcc85@bsdio.com> X-XM-SPF: eid=1j0wfL-0005ud-SO;;;mid=;;;hst=in01.mta.xmission.com;;;ip=166.70.13.67;;;frm=rebecca@bsdio.com;;;spf=none X-SA-Exim-Connect-IP: 166.70.13.67 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa02.xmission.com X-Spam-Level: * X-Spam-Status: No, score=1.9 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01, T_TooManySym_02,T_TooManySym_03,TooManyTo_001,TooManyTo_002, TooManyTo_003,XMSubLong,XM_B_Unicode autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 0.7 XMSubLong Long Subject * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.6 TooManyTo_003 Multiple "To" Header Recipients 4x (uncommon) * 0.5 TooManyTo_002 Multiple "To" Header Recipients 3x (uncommon) * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.0 XM_B_Unicode BODY: Testing for specific types of unicode * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa02 1397; IP=ok Body=1 Fuz1=1] [Fuz2=1] * 0.0 T_TooManySym_03 6+ unique symbols in subject * 0.0 T_TooManySym_01 4+ unique symbols in subject * 0.0 T_TooManySym_02 5+ unique symbols in subject X-Spam-DCC: XMission; sa02 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: *;"devel@edk2.groups.io" , Abner Chang , Gilbert Chen X-Spam-Relay-Country: X-Spam-Timing: total 421 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.9 (0.7%), b_tie_ro: 2.0 (0.5%), parse: 1.27 (0.3%), extract_message_metadata: 6 (1.4%), get_uri_detail_list: 1.75 (0.4%), tests_pri_-1000: 2.1 (0.5%), tests_pri_-950: 1.13 (0.3%), tests_pri_-900: 0.87 (0.2%), tests_pri_-90: 18 (4.3%), check_bayes: 17 (4.0%), b_tokenize: 6 (1.5%), b_tok_get_all: 5 (1.2%), b_comp_prob: 1.29 (0.3%), b_tok_touch_all: 2.4 (0.6%), b_finish: 0.60 (0.1%), tests_pri_0: 380 (90.1%), check_dkim_signature: 0.42 (0.1%), check_dkim_adsp: 178 (42.2%), poll_dns_idle: 172 (40.9%), tests_pri_10: 1.78 (0.4%), tests_pri_500: 5 (1.3%), rewrite_mail: 0.00 (0.0%) Subject: Re: [staging/RISC-V-V2]: Need to bump opensbi submodule to get sbi_hfence.S etc. X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US On 2020-02-09 12:07, Rebecca Cran wrote: > I recently got a HiFive Unleashed board, and am interested in trying out > RISCV EDK2 firmware either on it or in Qemu. > > It looks like the opensbi submodule in > edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi needs updated > though: the commit currently used - > be92da280d87c38a2e0adc5d3f43bab7b5468f09 - is missing files such as > sbi_hfence.S mentioned in > RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf . After updating the opensbi submodule to master, I now get a compile error: /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c: In function 'sbi_ecall_find_extension': /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:32:11: error: implicit declaration of function 'container_of' [-Werror=implicit-function-declaration]   sbi_list_for_each_entry(t, &ecall_exts_list, head) {            ^~~~~~~~~~~~ /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:32:50: error: expected expression before 'typeof'   sbi_list_for_each_entry(t, &ecall_exts_list, head) {                                                   ^~~~ /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:32:132: error: expected expression before 'typeof'   sbi_list_for_each_entry(t, &ecall_exts_list, head) {                                                                                                                                     ^ /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c: In function 'sbi_ecall_unregister_extension': /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:64:50: error: expected expression before 'typeof'   sbi_list_for_each_entry(t, &ecall_exts_list, head) {                                                   ^~~~ /home/bcran/workspace/edk2-staging/RiscVPkg/Library/RiscVOpensbiLib/opensbi/lib/sbi/sbi_ecall.c:64:132: error: expected expression before 'typeof'   sbi_list_for_each_entry(t, &ecall_exts_list, head) {                                                                                                                                     ^ cc1: all warnings being treated as errors -- Rebecca Cran