[edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload

Cheng-Chieh Huang via groups.io posted 4 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
UefiPayloadPkg/UefiPayloadPkg.dsc             |  24 ++-
UefiPayloadPkg/UefiPayloadPkg.fdf             |   5 +
.../Library/LbParseLib/LbParseLib.inf         |  39 ++++
UefiPayloadPkg/Library/LbParseLib/Linuxboot.h |  47 +++++
.../Library/LbParseLib/LbParseLib.c           | 187 ++++++++++++++++++
.../PciHostBridgeLib/PciHostBridgeSupport.c   |   6 +-
.../UefiPayloadEntry/UefiPayloadEntry.c       |   4 +
7 files changed, 304 insertions(+), 8 deletions(-)
create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.inf
create mode 100644 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h
create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.c
[edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload
Posted by Cheng-Chieh Huang via groups.io 2 years, 7 months ago
These are necessary patches to Support LinuxBoot in UefiPayload.
With these paches, we can boot to ESXi and Windows from a linux in QEMU.

Third parse: address formating comments.

LinuxBoot README:
https://github.com/linuxboot/edk2/blob/uefipayload/UefiPayloadPkg/README.md

v3 PR to tianocore:
https://github.com/tianocore/edk2/pull/1873

Cheng-Chieh Huang (4):
  UefiPayloadPkg: Add LINUXBOOT payload target
  UefiPayloadPkg: Use legacy timer in Linuxboot payload
  UefiPayloadPkg: Update maximum logic processor to 256
  UefiPayloadPkg: Reserve Payload config in runtime services data

 UefiPayloadPkg/UefiPayloadPkg.dsc             |  24 ++-
 UefiPayloadPkg/UefiPayloadPkg.fdf             |   5 +
 .../Library/LbParseLib/LbParseLib.inf         |  39 ++++
 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h |  47 +++++
 .../Library/LbParseLib/LbParseLib.c           | 187 ++++++++++++++++++
 .../PciHostBridgeLib/PciHostBridgeSupport.c   |   6 +-
 .../UefiPayloadEntry/UefiPayloadEntry.c       |   4 +
 7 files changed, 304 insertions(+), 8 deletions(-)
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.inf
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.c

-- 
2.33.0.rc2.250.ged5fa647cd-goog



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79721): https://edk2.groups.io/g/devel/message/79721
Mute This Topic: https://groups.io/mt/85086923/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload
Posted by Guo Dong 2 years, 6 months ago
Hi ChengChieh,

Here is the update to this patch series:

1.  UefiPayloadPkg: Add LINUXBOOT payload target
      a) Ray asked to update commit message
      b) There are still some coding style issues
     I know it is a little difficult to fully follow EDKII coding style. I will help update this patch and send it out for review.
     It would be great if you could have a test to double check with the new patch.

2.  UefiPayloadPkg: Use legacy timer in Linuxboot payload
      I had approved this patch. We could merged this one after the first patch got merged.

3.  UefiPayloadPkg: Update maximum logic processor to 256
     It was merged.

4. UefiPayloadPkg: Reserve Payload config in runtime services data
    This patch should be not required when patch https://github.com/tianocore/edk2/pull/2028 (under code review) is merged.

Thanks,
Guo

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Cheng-Chieh Huang via groups.io
Sent: Sunday, August 22, 2021 11:33 PM
To: devel@edk2.groups.io
Cc: Cheng-Chieh Huang <chengchieh@google.com>
Subject: [edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload

These are necessary patches to Support LinuxBoot in UefiPayload.
With these paches, we can boot to ESXi and Windows from a linux in QEMU.

Third parse: address formating comments.

LinuxBoot README:
https://github.com/linuxboot/edk2/blob/uefipayload/UefiPayloadPkg/README.md

v3 PR to tianocore:
https://github.com/tianocore/edk2/pull/1873

Cheng-Chieh Huang (4):
  UefiPayloadPkg: Add LINUXBOOT payload target
  UefiPayloadPkg: Use legacy timer in Linuxboot payload
  UefiPayloadPkg: Update maximum logic processor to 256
  UefiPayloadPkg: Reserve Payload config in runtime services data

 UefiPayloadPkg/UefiPayloadPkg.dsc             |  24 ++-
 UefiPayloadPkg/UefiPayloadPkg.fdf             |   5 +
 .../Library/LbParseLib/LbParseLib.inf         |  39 ++++
 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h |  47 +++++
 .../Library/LbParseLib/LbParseLib.c           | 187 ++++++++++++++++++
 .../PciHostBridgeLib/PciHostBridgeSupport.c   |   6 +-
 .../UefiPayloadEntry/UefiPayloadEntry.c       |   4 +
 7 files changed, 304 insertions(+), 8 deletions(-)  create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.inf
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.c

--
2.33.0.rc2.250.ged5fa647cd-goog








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#81289): https://edk2.groups.io/g/devel/message/81289
Mute This Topic: https://groups.io/mt/85086923/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload
Posted by Guo Dong 2 years, 6 months ago
Hi ChengChieh,

You could directly build from this branch for the test.
https://github.com/gdong1/edk2/pull/new/for_linux_bootloader_test

Thanks,
Guo

-----Original Message-----
From: Dong, Guo 
Sent: Wednesday, September 29, 2021 12:02 PM
To: devel@edk2.groups.io; chengchieh@google.com
Cc: Ni, Ray <ray.ni@intel.com>; Ma, Maurice <maurice.ma@intel.com>; You, Benjamin <benjamin.you@intel.com>
Subject: RE: [edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload


Hi ChengChieh,

Here is the update to this patch series:

1.  UefiPayloadPkg: Add LINUXBOOT payload target
      a) Ray asked to update commit message
      b) There are still some coding style issues
     I know it is a little difficult to fully follow EDKII coding style. I will help update this patch and send it out for review.
     It would be great if you could have a test to double check with the new patch.

2.  UefiPayloadPkg: Use legacy timer in Linuxboot payload
      I had approved this patch. We could merged this one after the first patch got merged.

3.  UefiPayloadPkg: Update maximum logic processor to 256
     It was merged.

4. UefiPayloadPkg: Reserve Payload config in runtime services data
    This patch should be not required when patch https://github.com/tianocore/edk2/pull/2028 (under code review) is merged.

Thanks,
Guo

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Cheng-Chieh Huang via groups.io
Sent: Sunday, August 22, 2021 11:33 PM
To: devel@edk2.groups.io
Cc: Cheng-Chieh Huang <chengchieh@google.com>
Subject: [edk2-devel] [PATCH v3 0/4] UefiPayloadPkg: LinuxBoot Support in UefiPayload

These are necessary patches to Support LinuxBoot in UefiPayload.
With these paches, we can boot to ESXi and Windows from a linux in QEMU.

Third parse: address formating comments.

LinuxBoot README:
https://github.com/linuxboot/edk2/blob/uefipayload/UefiPayloadPkg/README.md

v3 PR to tianocore:
https://github.com/tianocore/edk2/pull/1873

Cheng-Chieh Huang (4):
  UefiPayloadPkg: Add LINUXBOOT payload target
  UefiPayloadPkg: Use legacy timer in Linuxboot payload
  UefiPayloadPkg: Update maximum logic processor to 256
  UefiPayloadPkg: Reserve Payload config in runtime services data

 UefiPayloadPkg/UefiPayloadPkg.dsc             |  24 ++-
 UefiPayloadPkg/UefiPayloadPkg.fdf             |   5 +
 .../Library/LbParseLib/LbParseLib.inf         |  39 ++++
 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h |  47 +++++
 .../Library/LbParseLib/LbParseLib.c           | 187 ++++++++++++++++++
 .../PciHostBridgeLib/PciHostBridgeSupport.c   |   6 +-
 .../UefiPayloadEntry/UefiPayloadEntry.c       |   4 +
 7 files changed, 304 insertions(+), 8 deletions(-)  create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.inf
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/Linuxboot.h
 create mode 100644 UefiPayloadPkg/Library/LbParseLib/LbParseLib.c

--
2.33.0.rc2.250.ged5fa647cd-goog








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#81293): https://edk2.groups.io/g/devel/message/81293
Mute This Topic: https://groups.io/mt/85086923/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-