Call to grub_file_read fails in grub_multiboot_load_elf64

2020-05-03 Thread Chris Plant via Grub-devel
Hello, I'm fairly new to grub coding, and I'm trying to get multiboot2 working on the arm64-efi target for an OS project. However, I'm running up against an issue with a call to grub_file_read from grub_multiboot_load_elf64 around line 170 in multiboot_elf.c. This causes a synchronous error (esr

Re: Call to grub_file_read fails in grub_multiboot_load_elf64

2020-05-11 Thread Chris Plant via Grub-devel
cpu_relocator code that is required. With regards to the Multiboot2 specification for ARM64, I'll document this within the patch, but it's very similar to the MIPS registers at the moment. Chris On Mon, 2020-05-11 at 16:39 +0200, Daniel Kiper wrote: > Adding Leif and Ard, > > On

Multiboot2 on aarch64: Alignment of ELF Headers

2020-05-22 Thread Chris Plant via Grub-devel
Hi, I'm continuing to work on Multiboot2 support on aarch64, and I'm looking at the alignment of the ELF headers which are passed through MB2. The alignment of the MB2 header's isn't the problem, the problem is in the ELF headers which are linked through. Some of the 8 byte wide fields (specific

Re: Multiboot2 on aarch64: Alignment of ELF Headers

2020-05-23 Thread Chris Plant via Grub-devel
On Sat, 2020-05-23 at 12:43 +0200, Hans Ulrich Niedermann wrote: > On Fri, 22 May 2020 17:23:35 +0100 > Chris Plant via Grub-devel wrote: > > > I'm continuing to work on Multiboot2 support on aarch64, and I'm > > looking at the alignment of the ELF headers which