Activity for Pete Batard

  • Pete Batard Pete Batard posted a comment on ticket #2446

    But I'm note sure what is based on. Is it Zero based? If it's the same field as the one in PVD, it should be the size of the volume, in logical sectors (i.e. in blocks of 2048 bytes). Not sure what you mean by zero based, but no, an ISO volume occupying 10 blocks would not have 9 in that field, it would have 10. So this field can be used like an LSN/RBA to tell us the virtual LSN/RBA of a subsequent El Torito image, if there was any, when expanding per the UEFI specs. And we can have many descriptors....

  • Pete Batard Pete Batard modified a comment on ticket #2446

    I don't remember iso format details. So it's difficult for me to change something in that code. Well, as far as I can see, this should be mostly around this section of the 7-zip code (sorry for using a GitHub mirror, but I couldn't find a repo here). What way we can detect that we must increase size of file to full image size? This is something I have recently added to libcdio, most specifically in this section (and while the code is GPLv3 licensed, since I am the author of these changes, I am happy...

  • Pete Batard Pete Batard posted a comment on ticket #2446

    I don't remember iso format details. So it's difficult for me to change something in that code. Well, as far as I can see, this should be mostly around this section of the 7-zip code (sorry for using a GitHub mirror, but I couldn't find a repo here). What way we can detect that we must increase size of file to full image size? This is something I have recently added to libcdio, most specifically in this section (and while the code is GPLv3 license, since I am the author of these changes, I am happy...

  • Pete Batard Pete Batard posted a comment on ticket #2446

    For completion, I'll point out that if you want to generate an ISO yourself using xorriso, you can follow these instructions.

  • Pete Batard Pete Batard created ticket #2446

    32MB+ ISO-9660/El-Torito images, as defined by the UEFI specs, are not supported

  • Pete Batard Pete Batard posted a comment on ticket #37

    Well, considering that a fix for this issue has now "magically" appeared in https://github.com/rhboot/gnu-efi/commit/9e6cb2150bee08e83ec0cdfb8d6c2f83975dd3df, which has been integrated into gnu-efi, and that none of the people responsible for the regression bothered to notify about this fix in the original bug report, I guess I'm going to entitle myself to some further snide remarks by pointing out what a nice "rolling the software forwards" this has been, when it looks like none the 3+ developers...

  • Pete Batard Pete Batard posted a comment on ticket #37

    Just going to add that on a vanilla Ubuntu 23.04 system (that was released a couple weeks ago and is recent enough to come with binutils 2.40), the default gnu-efi apps are still broken. apt install git build-essential gcc-aarch64-linux-gnu git clone https://git.code.sf.net/p/gnu-efi/code gnu-efi cd gnu-efi aarch64-linux-gnu-objcopy --version # reports: "GNU objcopy (GNU Binutils for Ubuntu) 2.40" export CROSS_COMPILE=aarch64-linux-gnu- make apps Trying to run the resulting t.efi (a simple "Hello,...

  • Pete Batard Pete Batard posted a comment on ticket #37

    Yes, my statement is imposing. First of all, you are being singled out here because you are the author of the commit that broke compatibility. And I'm also seeing two major things that one should fully expect to have seen happening from a BREAKING change (or at least one that you rightfully expected/knew would break compatibility with older platforms): Trying to detect the binutils version of support for whatever newer option you need as part of the build process, and only use the new approach in...

  • Pete Batard Pete Batard posted a comment on ticket #37

    I'm sorry, but you just broke current Debian, so I don't see how we can go with this approach. Current up to date Debian uses binutils 2.35, not 2.38, and you can't just go around breaking other up to date distros, just because OpenSUSE happens to be using a super recent binutils. Heck, even if Debian or Ubuntu had just upgraded to 2.38 I would tell you that this is a poor practice, because you'd leave plenty of people stranded (sorry but the, "don't upgrade... and don't benefit from important fixes"...

  • Pete Batard Pete Batard created ticket #37

    AARCH64 (and possibly other archs) generation is broken

  • Pete Batard Pete Batard posted a comment on ticket #36

    For the record, I submitted a patch for it in https://sourceforge.net/p/gnu-efi/patches/88/

  • Pete Batard Pete Batard created ticket #88

    riscv64: fix efibind.h missing/duplicate types

  • Pete Batard Pete Batard created ticket #82

    riscv64: finalize efibind.h

  • Pete Batard Pete Batard created ticket #81

    Fix VS2019 Code Analysis warnings

  • Pete Batard Pete Batard created ticket #80

    [PATCH] Define UnicodeSPrint/UnicodeVSPrint as our main SPrint/VSPrint calls

  • Pete Batard Pete Batard created ticket #79

    [PATCH] Use EFI_FILE_SYSTEM_VOLUME_LABEL rather than EFI_FILE_SYSTEM_VOLUME_LABEL_INFO

  • Pete Batard Pete Batard created ticket #78

    [PATCH] Define BASE_CR as a duplicate of the _CR macro

  • Pete Batard Pete Batard created ticket #77

    [PATCH] Fix CopyMem() not handling overlaps

  • Pete Batard Pete Batard posted a comment on ticket #76

    Thanks for applying this series -- Much appreciated!

  • Pete Batard Pete Batard created ticket #76

    [PATCH] Remove the need for other include paths besides <gnu-efi>/inc

  • Pete Batard Pete Batard created ticket #75

    [PATCH] Always define HAVE_USE_MS_ABI for MSVC compilers

  • Pete Batard Pete Batard created ticket #74

    [PATCH] Add AsciiPrint and AsciiVSPrint

  • Pete Batard Pete Batard created ticket #73

    [PATCH] Always prefer the external <stdarg.h> for MSVC compilation

  • Pete Batard Pete Batard posted a comment on discussion Open Discussion

    Hi Igor. Thanks a lot for the ARM builds! Attached are the ARM64, ARM and x86 test results on a Raspberry Pi 4 running at the default frequency of 1.5 GHz. Note that the default installation directory for ARM version was Program Files (x86) instead of Program Files (Arm), so this might be something you want to look at. The default installation directories for the other installers were fine. For the record, that last x86 test literally took hours to execute on that hardware, so I don't think you'll...

  • Pete Batard Pete Batard posted a comment on discussion Open Discussion

    But it's not simple now, while I can't test all things in real arm64 system. I'm just going to point out that if you have a Raspberry Pi 4 (preferably the 4 or 8 GB model) then you can install and run Windows 10 ARM64 on it, which makes it a great inexpensive platform to test Windows ARM64 applications... As the developer of Rufus, this is how I test the ARM64 version of it on real hardware. Btw, since I needed 7-zip on that platform to run some of my testing, I can confirm that the ARM64 version...

  • Pete Batard Pete Batard posted a comment on ticket #72

    Since I have it, and in case this can be useful, I am also adding a sample function, for reference, to illustrate how the new SMBIOS 3.0 support can be used in a UEFI application to report the BIOS and hardware information: EFI_STATUS PrintSmbiosInfo(VOID) { EFI_STATUS Status; SMBIOS_STRUCTURE_POINTER Smbios; SMBIOS_STRUCTURE_TABLE* SmbiosTable; SMBIOS3_STRUCTURE_TABLE* Smbios3Table; // Try SMBIOS v3.x first and fall back to v1.x if not available Status = LibGetSystemConfigurationTable(&SMBIOS3TableGuid,...

  • Pete Batard Pete Batard created ticket #72

    Add SMBIOS 3.0 support

  • Pete Batard Pete Batard created ticket #69

    Fix conversion from 'UINTN' to 'UINT8' warnings

  • Pete Batard Pete Batard created ticket #64

    Move memcpy/memset definition to global init.c

  • Pete Batard Pete Batard created ticket #63

    Add EFI_DRIVER_ENTRY_POINT support for MSVC/ARM64

  • Pete Batard Pete Batard posted a comment on ticket #62

    Updating this patch to v2, since it turns out MSVC will also emit memset and memcpy intrinsics that we can use an implementation for. This is true for both ARM and ARM64. To make this work, I'm defining __SIZE_TYPE__ to UINTN if not already defined.

  • Pete Batard Pete Batard created ticket #62

    Fix ARM64 support for Visual Studio 2017

  • Pete Batard Pete Batard created ticket #60

    remove double typedef of EFI_UNICODE_COLLATION_PROTOCOL

  • Pete Batard Pete Batard created ticket #59

    move ARM's DivU64x32() into math.c

  • Pete Batard Pete Batard posted a comment on ticket #6

    Personally, my vote would be for Option 1, especially as I think the compiler switch...

  • Pete Batard Pete Batard created ticket #6

    Align ReallocatePool() parameters with EDK2?

  • Pete Batard Pete Batard created ticket #52

    fix a GNU ar warning about deterministic mode

  • Pete Batard Pete Batard created ticket #51

    fix an AARCH64 gcc error with 'const' qualifers

  • Pete Batard Pete Batard posted a comment on ticket #50

    Thanks Nigel. In case you're curious, the whole point of this last series of patches...

  • Pete Batard Pete Batard posted a comment on ticket #48

    Sorry about that. Here's v3

  • Pete Batard Pete Batard posted a comment on ticket #50

    Actually, EFI_DEBUGGER_CONFIGURATION_PROTOCOL should not have been part of the previous...

  • Pete Batard Pete Batard created ticket #50

    add Debugger protocol support

  • Pete Batard Pete Batard created ticket #49

    add EBC (EFI Byte Code) protocol support

  • Pete Batard Pete Batard posted a comment on ticket #48

    OK, here's a better version that adds the required definition in efipciio.h. Note...

  • Pete Batard Pete Batard posted a comment on ticket #48

    Scratch that - there already exists an efipciio.h with most of these definitions....

  • Pete Batard Pete Batard created ticket #48

    Add support for PCI Root Bridge I/O protocol

  • Pete Batard Pete Batard created ticket #47

    Bridge more gaps between EDK and gnu-efi

  • Pete Batard Pete Batard created ticket #46

    Update global protocol GUIDs definitions to match EDK2

  • Pete Batard Pete Batard posted a comment on ticket #45

    Oops - forgot the 'extern EFI_GUID DevicePathFromTextProtocol;' in efilib.h. This...

  • Pete Batard Pete Batard created ticket #45

    Add support for some UEFI 2.0 protocols

  • Pete Batard Pete Batard posted a comment on ticket #44

    Thanks Nigel -- much appreciated!

  • Pete Batard Pete Batard created ticket #44

    Complete protocol struct/type/define renaming to match specs

  • Pete Batard Pete Batard created ticket #43

    fix an MSVC warning

  • Pete Batard Pete Batard created ticket #36

    add DivU64x32 assembly definition for MinGW on ia32

  • Pete Batard Pete Batard created ticket #35

    Make ARM's EFI_DRIVER_ENTRY_POINT compatible with MSVC

  • Pete Batard Pete Batard created ticket #34

    Avoid an implicit memcpy() in event.c

  • Pete Batard Pete Batard created ticket #33

    Fix an MSVC external reference to __allmul

  • Pete Batard Pete Batard created ticket #32

    Only enable -fpic for non MinGW compilers

  • Pete Batard Pete Batard created ticket #31

    MSVC/ARM compilation fixes

  • Pete Batard Pete Batard posted a comment on ticket #29

    Much appreciated. Thanks!

  • Pete Batard Pete Batard created ticket #30

    Fix MinGW breakage in setjmp.S

  • Pete Batard Pete Batard created ticket #29

    Fix MSVC compilation

  • Pete Batard Pete Batard posted a comment on ticket #6

    I will not be able to maintain these files if/when new functionality is added to...

  • Pete Batard Pete Batard created ticket #6

    French localization

  • Pete Batard Pete Batard posted a comment on ticket #5

    Sounds good. I went ahead and applied the latest from ms-sys onto my internal version,...

  • Pete Batard Pete Batard posted a comment on ticket #5

    you can call (is_zero_mbr_with_other_windows_disk_signature() || is_zero_mbr()) That's...

  • Pete Batard Pete Batard posted a comment on ticket #5

    Hi Henrik, Thanks for applying the patches. I've fetched the latest from CVS and...

  • Pete Batard Pete Batard posted a comment on ticket #5

    Here are the new patches rebased on latest CVS. The new branch is at https://github.com/pbatard/ms-sys/commits/rufus2...

  • Pete Batard Pete Batard posted a comment on ticket #5

    1a) I was talking about the splitting of these various similar calls in fat32##.h/.c....

  • Pete Batard Pete Batard posted a comment on ticket #5

    Hi Henrik, Thanks for reviewing the patches. Here are my comments on your points:...

  • Pete Batard Pete Batard created ticket #5

    4 patches for ms-sys

  • Pete Batard Pete Batard created ticket #22

    Fix MSVC breakage due to GNU align extensions in setjmp

  • Pete Batard Pete Batard created ticket #21

    Fixes needed to silence VS2015 compilation warnings

  • Pete Batard Pete Batard posted a comment on ticket #20

    Thanks. Since I have moved to using gnu-efi + Visual Studio to build EFI drivers...

  • Pete Batard Pete Batard created ticket #20

    fixes needed for MSVC (VS2013) compilation

  • Pete Batard Pete Batard modified a comment on discussion General Discussion

    I have now added binaries for exFAT and XFS drivers, along with an updated version...

  • Pete Batard Pete Batard posted a comment on discussion General Discussion

    I have now added binaries for exFAT and XFS drivers, along with an updated version...

  • Pete Batard Pete Batard posted a comment on discussion General Discussion

    Or, if you don't want to build it yourself, you can also download the binary version...

1