[edk2-devel] [PATCH 1/1] EmbeddedPkg: Add LoadFile2 for linux initrd

2021-08-31 Thread Jeff Brasen via groups.io
Add support under a pcd feature for using the new interface to pass initrd to the linux kernel. Signed-off-by: Jeff Brasen --- EmbeddedPkg/EmbeddedPkg.dec | 1 + .../AndroidBootImgLib/AndroidBootImgLib.inf | 3 + .../AndroidBootImgLib/AndroidBootImgLib.c | 147 +++

[edk2-devel] [edk2-test][PATCH 1/1] SctPkg: Fix runtime access to boot services functions

2021-08-12 Thread Jeff Brasen via groups.io
SctAPrint uses boot services functions but is called after ExitBootServices. Replace with call to Printf which is safe for use in runtime. Signed-off-by: Jeff Brasen --- .../SctPkg/SCRT/SCRTDriver/Aarch64/Dump.c | 52 +-- uefi-sct/SctPkg/SCRT/SCRTDriver/Arm/Dump.c| 52 +++

[edk2-devel] [PATCH v3 2/2] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-08-04 Thread Jeff Brasen via groups.io
Add LINUX_EFI_INITRD_MEDIA_GUID to our collection of GUID definitions, it can be used in a media device path to specify a Linux style initrd that can be loaded by the OS using the LoadFile2 protocol. Move these defines to MdePkg from OvmfPkg as these are relevant to non-OVMF targets as well. Ref:

[edk2-devel] [PATCH v3 1/2] OvmfPkg: Remove Initrd LINUX_EFI_INITRD_MEDIA_GUID

2021-08-04 Thread Jeff Brasen via groups.io
Moving LINUX_EFI_INITRD_MEDIA_GUID to MdePkg, remove it from OvmfPkg. Signed-off-by: Jeff Brasen Reviewed-by: Michael D Kinney Acked-by: Ard Biesheuvel --- OvmfPkg/OvmfPkg.dec| 1 - OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h | 17 ---

[edk2-devel] [PATCH v3 0/2] Relocate LINUX_EFI_INITRD_MEDIA_GUID to MdePkg

2021-08-04 Thread Jeff Brasen via groups.io
Relocate LINUX_EFI_INITRD_MEDIA_GUID from OvmfPkg to MdePkg as it has use outside of Ovmf applications Jeff Brasen (2): OvmfPkg: Remove Initrd LINUX_EFI_INITRD_MEDIA_GUID MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID MdePkg/MdePkg.dec | 5 OvmfPkg/OvmfP

Re: [edk2-devel] [PATCH v2 1/1] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-08-03 Thread Jeff Brasen via groups.io
Mike, do the comments in this patch work for you? Would be nice to get this in prior to the 8/9 freeze if possible. Thanks, Jeff From: Ard Biesheuvel Sent: Tuesday, July 27, 2021 10:48 AM To: Jeff Brasen Cc: edk2-devel-groups-io ; Ard Biesheuvel ; Michael Ki

[edk2-devel] [PATCH v2 1/1] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-07-27 Thread Jeff Brasen via groups.io
Add LINUX_EFI_INITRD_MEDIA_GUID to our collection of GUID definitions, it can be used in a media device path to specify a Linux style initrd that can be loaded by the OS using the LoadFile2 protocol. Move these defines to MdePkg from OvmfPkg as these are relevant to non-OVMF targets as well. Ref:

Re: [edk2-devel] [PATCH 1/1] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-07-21 Thread Jeff Brasen via groups.io
Does this look good for text to add "Linux distro boot generally relies on an initial ramdisk (initrd) which is provided by the loader, and which contains additional kernel modules (for storage and network, for instance), and the initial user space startup code, i.e., the code which brings up the

Re: [edk2-devel] [PATCH 1/1] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-07-20 Thread Jeff Brasen via groups.io
In my opinion MdePkg is where this should be as it is meant to be used by multiple software entities (linux kernel, grub, edk2, coreboot w/ uefi binding) and probably should be documented in some spec (Although, I am not sure which one would make sense) I am fine with MdeModulePkg as well thoug

Re: [edk2-devel] [PATCH 1/1] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-07-15 Thread Jeff Brasen via groups.io
EDK II extensions. Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of Jeff Brasen > via groups.io > Sent: Thursday, July 15, 2021 11:08 AM > To: devel@edk2.groups.io > Cc: ardb+tianoc...@kernel.org; Kinney, Michael D > ; Justen, Jordan L > ; g

[edk2-devel] [PATCH 1/1] MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID

2021-07-15 Thread Jeff Brasen via groups.io
Add LINUX_EFI_INITRD_MEDIA_GUID to our collection of GUID definitions, it can be used in a media device path to specify a Linux style initrd that can be loaded by the OS using the LoadFile2 protocol. Move these defines to MdePkg from OvmfPkg as these are relevant to non-OVMF targets as well. Ref:

<    1   2   3