在 2024-06-12 02:35,Thomas Schmitt via Grub-devel 写道:
Hi,

Mingcong Bai wrote:
While FAT < 32 filesystems are not case sensitive (which grub-mkrescue
creates
as a FAT12 image via mformat with a size of 2.88MiB), it seems that
some of Loongson's LoongArch-based firmware (namely those found on their
latest XA61200 boards) seems to treat this file system as
case-sensitive.
[...]
        if (source_dirs[GRUB_INSTALL_PLATFORM_I386_EFI]
          || source_dirs[GRUB_INSTALL_PLATFORM_X86_64_EFI])
- img_mac = grub_util_path_concat (2, core_services, "boot.efi"); + img_mac = grub_util_path_concat (2, core_services, "BOOT.EFI");

        if (source_dirs[GRUB_INSTALL_PLATFORM_I386_EFI]
          && source_dirs[GRUB_INSTALL_PLATFORM_X86_64_EFI])

I think that this name does not end up in a FAT filesystem but rather
in HFS+, where it gets blessed. (It also ends up in ISO 9660.)

707: core_services = grub_util_path_concat (4, iso9660_dir, "System", "Library", "CoreServices");

753:              xorriso_push ("-hfs-bless-by");
754:              xorriso_push ("i");
755: xorriso_push ("/System/Library/CoreServices/boot.efi");

This xorrisofs option would not reach a file in the EFI boot image.


Have a nice day :)

Thomas


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Hi Thomas!

Thanks for your review. I will now submit v2.

Best Regards,
Mingcong Bai

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to