MultiArchUefiPkg icon indicating copy to clipboard operation
MultiArchUefiPkg copied to clipboard

Emulator.dsc: Change BaseStackCheckLib to StackCheckLibNull

Open kilaterlee opened this issue 1 year ago • 10 comments

Since EDKII PR: https://github.com/tianocore/edk2/pull/5957 has been removed the BaseStackCheckLib, and the new StackCheckLib dependency library StackCheckFailureHookLib has not yet been made public, so we can only use StackCheckLibNull.

kilaterlee avatar Dec 11 '24 09:12 kilaterlee

@andreiw Hi Andrei, this repo will not build if we update the edk2 code base to a9b38305b64ef5997d0ba5f7d2797a75edd1f9ef or newer, I have fixed it, PLS check, THX! :)

kilaterlee avatar Dec 18 '24 01:12 kilaterlee

@andreiw Hi Andrei, this repo will not build if we update the edk2 code base to a9b38305b64ef5997d0ba5f7d2797a75edd1f9ef or newer, I have fixed it, PLS check, THX! :)

Hi @andreiw , this PR has been blocked for a long time, could you review it when you have time?

kilaterlee avatar Jan 15 '25 01:01 kilaterlee

@ardbiesheuvel Hi Ard, could you please review this change?

kilaterlee avatar Jan 16 '25 01:01 kilaterlee

LGTM

ardbiesheuvel avatar Jan 17 '25 14:01 ardbiesheuvel

Gonna pull this in here -> https://github.com/andreiw/MultiArchUefiPkg/

andreiw avatar Jan 26 '25 18:01 andreiw

@kilaterlee can you also send some documentation patches for LoongArch, including building/testing with Qemu if possible?

andreiw avatar Jan 26 '25 18:01 andreiw

Gonna pull this in here -> https://github.com/andreiw/MultiArchUefiPkg/

Okey, I will fork the new repo and submit it again.

kilaterlee avatar Feb 08 '25 06:02 kilaterlee

@kilaterlee can you also send some documentation patches for LoongArch, including building/testing with Qemu if possible?

Here are LoongArch SPEC web: https://github.com/loongson/LoongArch-Documentation. I haven't yet tried running this EMU on LoongArch virtual machine, I think I will try it in the future. LoongArch edk2 VM BIOS code: https://github.com/tianocore/edk2/tree/master/OvmfPkg/LoongArchVirt.

kilaterlee avatar Feb 08 '25 06:02 kilaterlee

@kilaterlee can you also send some documentation patches for LoongArch, including building/testing with Qemu if possible?

If you want to building the MultiArchUefiPkg and unicorn-for-efi for LoongArch, it not different from ARM or RV:

  • Download the cross-compiler. The latest version are recommented.
  • Configure the corss-compiler:
    • sudo mkdir /opt/LoongArch_Toolchains -p
    • Unzip the compiler to /opt/LoongArch_Toolchains
    • export PATH=/opt/LoongArch_Toolchains/cross-tools/bin/:$PATH
  • Put edk2 into the same folder with MultiArchUefiPkg and unicron-for-efi.
  • Compile the code, here is my build script: image

kilaterlee avatar Feb 08 '25 07:02 kilaterlee

Gonna pull this in here -> https://github.com/andreiw/MultiArchUefiPkg/

Okey, I will fork the new repo and submit it again.

Another question: Will MultiArchUefiPkg and unicron-for-efi not be maintained here in the future?

kilaterlee avatar Feb 08 '25 07:02 kilaterlee