《24.d2s4-1-aug22-RISC-V Summit China 2023 - EDK2 Reference Solution.pdf》由會員分享,可在線閱讀,更多相關《24.d2s4-1-aug22-RISC-V Summit China 2023 - EDK2 Reference Solution.pdf(8頁珍藏版)》請在三個皮匠報告上搜索。
1、RVSC2023RISC-V EDK2 Reference SolutionEvan Chai()Andrei Warkentin()Sunil V L()Intel ConfidentialDepartment or Event Name2RISC-V Summit China 20232Legal Notices and DisclaimersStatements in this document that refer to future plans or expectations are forward-looking statements.These statements are ba
2、sed on current expectations and involve many risks and uncertainties that could cause actual results to differ materially from those expressed or implied in such statements.For more information on the factors that could cause actual results to differ materially,see our most recent earnings release a
3、nd SEC filings at .All product plans and roadmaps are subject to change without notice.Any forecasts of goods and services needed for Intels operations are provided for discussion purposes only.Intel will have no liability to make any purchase in connection with forecasts published in this document.
4、Code names are often used by Intel to identify products,technologies,or services that are in development and usage may change over time.No license(express or implied,by estoppel or otherwise)to any intellectual property rights is granted by this document.Intel Corporation.Intel,the Intel logo,and ot
5、her Intel marks are trademarks of Intel Corporation or its subsidiaries.Other names and brands may be claimed as the property of others.This document contains information on products and/or processes in development.Intel ConfidentialDepartment or Event Name3RISC-V Summit China 20233(RISC(RISC-V Soft
6、ware EcosystemV Software Ecosystem)https:/riseproject.dev/Areas the RISE TSC targets to focus on over time:RISE Firmware WGhttps:/wiki.riseproject.dev/display/HOME/Firmware+WGUEFI on RISC-V Firmware Mailing Listhttps:/ dedicated to enabling a robust software ecosystem specifically for application pr
7、ocessors that includes compilers,toolchains,system libraries,kernel,virtualization,programming languages,Linux distribution integration,and tools for debug and profiling.Intel ConfidentialDepartment or Event Name4RISC-V Summit China 20234BackgroundBackgroundEDK2 is a mature firmware solution in x86/
8、ARM PC and server product,which led the vertically-integrated market in past 20+years.Based on EDK2,both upstream and downstream vendors can provide abundant reference implementations.We aim to reintroduce this proven firmware solution to the RISC-V communityIntel ConfidentialDepartment or Event Nam
9、e5RISC-V Summit China 20235The Change in EDK2 Boot FlowThe Change in EDK2 Boot Flow Traditional UEFI boot flow Using OpenSBIas a library Integrated DDR initialization code A reference UEFI boot flow in RISE project Modular OpenSBIoutside of EDK2 Modular DDR initoutside of EDK2Intel ConfidentialDepar
10、tment or Event Name6RISC-V Summit China 20236Design of EDK2 for RISCDesign of EDK2 for RISC-V QEMU Virt Machine V QEMU Virt Machine EDK2 will be payload for previous stage M-mode firmware like OpenSBI.This is similar to ARM design with TF-A.Most of the common libraries and modules are copied to edk2
11、 from edk2-platforms.SEC phase boots from XIP pflashof qemuin S-mode directly.Follows PEIlessdesignSEC phase will uncompress and copy DXE FV to memory and launches DXE core.Separate code and variable storage images similar to other architectures.Since EDK2 is OpenSBIpayload,latest OpenSBIcan be used
12、 without changing the EDK2.Easier to support latest features.Supports KVM guests.Supports testing in CI.Supports several features including ACPI,graphics etc.Intel ConfidentialDepartment or Event Name7RISC-V Summit China 20237Progress and AchievementsProgress and AchievementsQemuVirthas been thoroug
13、hly validated,and it is recommended to be used in the early stages of firmware developmentThe reference code based on QemuVirthas been uploaded to the main branch of edk2 in Feb 2023We keep a very closed cooperation with RISE and RVI communityThe solution porting work on2+HW platformsisWIPWIPThe splitting work of OpenSBIisWIPWIP