[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992073: shim-signed: restore arm64 support

On Wed, Apr 27, 2022 at 01:33:47PM +0100, Wookey wrote:
>Binutils 2.38 now has proper PE/COFF output support for arm64.
>(And is in unstable and testing.)
>I think this is the relevant bit:
>"Support for efi-app-aarch64, efi-rtdrv-aarch64 and
> efi-bsdrv-aarch64 has been added to objcopy in order to enable
> UEFI development using binutils."
>So we should now be able to build shim-signed on arm64 without the
>hackery that was previously used to simulate this format (and then had
>to be disabled because it broke things (AIUI)).
>I'm not sure how much work this is or if anyone else is already
>working on it?  I presume it should be a simplification by removing
>the previous workarounds and bulding just as we do on x86 now?
>Happy to have a look if someone gives me some pointers. (A look round
>the package for an hour was not sufficient for me to work out how shim
>itself or the various other bits is all put together (shim-signed,
>shim-helpers-<arch>-signed etc) and where it needs poking).

I'm hacking on shim right now, setting up local CI etc. to help me
with testing. As soon as I can validate that arm64 stuff is working
correctly now, I'll take out the hacks I added. Give me a few days...

Steve McIntyre, Cambridge, UK.                                steve@einval.com
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll

Reply to: