Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-18 Thread Abner Chang
Cc: kra...@redhat.com; Yao, Jiewen ; gaoliming > ; 'Ard Biesheuvel' ; > Kinney, Michael D ; Schaefer, Daniel > ; 'Sunil V L' ; 'Ard > Biesheuvel' > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Hi all, below is the plan to move

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-17 Thread Abner Chang
gt; ; 'Sunil V L' ; 'Ard > Biesheuvel' > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > > > > -Original Message- > > From: Ni, Ray [mailto:ray...@intel.com] > > Sent: Friday, September 10, 2021 6:07 PM > > To:

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Abner Chang
vel' ; > Kinney, Michael D ; Schaefer, Daniel > ; 'Sunil V L' ; 'Ard > Biesheuvel' > Subject: RE: [edk2-devel] [RFC] RISC-V QEMU virtual package > > I asked similar question to Mike who initially set up the CI. > The answer was: it's ok to pull a

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Ni, Ray
1 5:55 PM > To: Chang, Abner > Cc: devel@edk2.groups.io; kra...@redhat.com; Yao, Jiewen > ; gaoliming ; > 'Ard Biesheuvel' ; Kinney, Michael D > ; Ni, Ray ; > Schaefer, Daniel ; 'Sunil V L' > ; 'Ard Biesheuvel' > > Subject: Re: [edk2-devel]

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Leif Lindholm
On Fri, Sep 10, 2021 at 00:08:12 +, Chang, Abner (HPS SW/FW Technologist) wrote: > > Move it to OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMMIO.{c,inf} ? > The naming sounds good to me. > > Another question, > Can CI build the package with dependency of edk2-platform? Currently > RiscVPkg in u

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-09 Thread Abner Chang
g ; 'Ard > Biesheuvel' ; Kinney, Michael D > ; Ni, Ray ; Schaefer, Daniel > ; 'Sunil V L' ; 'Ard > Biesheuvel' > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Hi, > > > One more question, there is already a > >

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-08 Thread Gerd Hoffmann
Hi, > One more question, there is already a > QemuFwCfgLib library for ia32/x64. The naming of QemuFwCfgCommonLib > under Library seems confusing. How about we put this library under > /FDT and also name it as QemuFwCfgLib? Because ARM/RISC-V fw_cfg also > depends on FDT. Move it to OvmfPkg/Li

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-08 Thread Leif Lindholm
On Wed, Sep 08, 2021 at 15:33:34 +, Abner Chang wrote: > > > I prefer to have RISC-V instance because I > > > am not sure if any fw_cfg interface changes would be made on RISC-V > > > QEMU. > > > > The fw_cfg interface should not diverge. ia32/x64 works a bit different > > because there is a

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-08 Thread Abner Chang
vel' ; Kinney, Michael D > ; Ni, Ray ; Schaefer, Daniel > ; 'Sunil V L' ; 'Ard > Biesheuvel' > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Hi, > > > > Are you expecting to need different functionality from the ArmVirtP

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-08 Thread Gerd Hoffmann
Hi, > > Are you expecting to need different functionality from the ArmVirtPkg > > one? If not, you could move that one to > > OvmfPkg/Library/QemuFwCfgCommonLib > > or something. > The interfaces provided by ARM QemuFwLib seems works fine with RISC-V > OVMF, however the build fail with the re

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-08 Thread Abner Chang
; Ni, Ray > ; Schaefer, Daniel ; 'Sunil V L' > ; 'Ard Biesheuvel' > ; 'Gerd Hoffmann' > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Hi Abner, > > Happy to see this happening. > > I think the capitalisation should be

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-07 Thread Leif Lindholm
iainc.com>>; > ray...@intel.com<mailto:ray...@intel.com>; Liming Gao > mailto:gaolim...@byosoft.com.cn>>; Schaefer, Daniel > mailto:daniel.schae...@hpe.com>>; Sunil V L > mailto:suni...@ventanamicro.com>> > 主题: [edk2-devel] [RFC] RISC-V QEMU virtual

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-07 Thread Gerd Hoffmann
On Mon, Sep 06, 2021 at 01:04:56PM +, Chang, Abner (HPS SW/FW Technologist) wrote: > Ok thanks, do we need the two steps to migrate FDT modules under OvmfPkg/? > 1. One patch set to clone those modules under OvmfPkg/ > 2. One patch set of ArmVirtPkg change to use those modules and deletes the

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread Abner Chang
wen' ; 'Ard Biesheuvel' > ; 'Kinney, Michael D' > ; 'Leif Lindholm' ; 'Ni, Ray' > ; Schaefer, Daniel ; 'Sunil V L' > ; 'Ard Biesheuvel' > Subject: 回复: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Abner:

回复: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread gaoliming
Biesheuvel > 主题: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Ok thanks, do we need the two steps to migrate FDT modules under > OvmfPkg/? > 1. One patch set to clone those modules under OvmfPkg/ > 2. One patch set of ArmVirtPkg change to use those modules and deletes t

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread Abner Chang
; Chang, Abner (HPS SW/FW > Technologist) ; devel@edk2.groups.io; gaoliming > ; Ard Biesheuvel ; > Kinney, Michael D ; Leif Lindholm > ; Ni, Ray ; Schaefer, Daniel > ; Sunil V L ; Ard > Biesheuvel > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > Hi, >

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread Gerd Hoffmann
Hi, On Mon, Sep 06, 2021 at 02:04:48PM +0200, Ard Biesheuvel wrote: > On Mon, 6 Sept 2021 at 13:44, Yao, Jiewen wrote: > > > > I think it makes sense to put Fdt to OvmfPkg. I suggest an Fdt folder and > > put all things there. > > > > I also think we define Fdt feature in > > https://github.c

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread Ard Biesheuvel
chael D > ; 'Leif Lindholm' ; Ni, Ray > ; Schaefer, Daniel ; 'Sunil V L' > ; 'Ard Biesheuvel' ; > 'Gerd Hoffmann' > Subject: RE: [edk2-devel] [RFC] RISC-V QEMU virtual package > > > > Hi Jiewen, > > We currently only use be

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread Yao, Jiewen
t;>; Schaefer, Daniel mailto:daniel.schae...@hpe.com>>; 'Sunil V L' mailto:suni...@ventanamicro.com>>; 'Ard Biesheuvel' mailto:ardb+tianoc...@kernel.org>>; 'Gerd Hoffmann' mailto:kra...@redhat.com>> Subject: RE: [edk2-devel] [RFC] RISC-V

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-06 Thread Abner Chang
'Sunil V L' ; 'Ard Biesheuvel' ; 'Gerd Hoffmann' Subject: RE: [edk2-devel] [RFC] RISC-V QEMU virtual package Do you have a list of which module you want to move to Ovmf? I think we can discuss case by case. From: devel@edk2.groups.io<mailto:devel@edk2.groups.io>

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-05 Thread Yao, Jiewen
Lindholm' ; Ni, Ray ; Schaefer, Daniel ; 'Sunil V L' ; Yao, Jiewen ; 'Ard Biesheuvel' ; 'Gerd Hoffmann' Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package Thanks Liming. To have those modules under OvmfPkg also makes sense to me. See how others thi

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-05 Thread Abner Chang
euvel' ; 'Michael D Kinney' ; 'Leif Lindholm' ; ray...@intel.com; Schaefer, Daniel ; 'Sunil V L' ; jiewen@intel.com; 'Ard Biesheuvel' ; 'Gerd Hoffmann' Subject: 回复: [edk2-devel] [RFC] RISC-V QEMU virtual package Abner: If these modules a

回复: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-05 Thread gaoliming
.groups.io 代表 Abner Chang 发送时间: 2021年9月5日 11:15 收件人: devel@edk2.groups.io 抄送: Ard Biesheuvel ; Michael D Kinney ; Leif Lindholm ; ray...@intel.com; Liming Gao ; Schaefer, Daniel ; Sunil V L 主题: [edk2-devel] [RFC] RISC-V QEMU virtual package Hi all, We currently have RISC-V edk2 OVMF package that

[edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-04 Thread Abner Chang
Hi all, We currently have RISC-V edk2 OVMF package that can boot to Linux kernel on QEMU RISC-V virt platform. First at all, we would like to create a folder RiscvVirtPkg under edk2 repo and integrated in the Platform CI build. Second, RISC-V edk2 OVMF package leverages some edk2 libraries and d