[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 00/10] Add basic Boot Loader Interface support
From: |
Oliver Steffen |
Subject: |
Re: [PATCH v7 00/10] Add basic Boot Loader Interface support |
Date: |
Wed, 24 May 2023 07:55:10 -0700 |
User-agent: |
alot/0.8.1 |
Quoting Daniel Kiper (2023-05-19 16:19:28)
> On Wed, May 03, 2023 at 03:50:09PM +0200, Oliver Steffen wrote:
> > This is a step towards supporting unified kernel images (UKI) in Grub.
[...]
> Sadly there are still some problems with this patch set... :-(
Sorry about that...
> First of all please do rebase on latest master because there are some
> conflicts
> due to recently merged LoongArch support.
Done.
>
> Please add more missing static keywords to the GUID assignments in the patch
> #2, e.g.:
> @@ -139,12 +139,12 @@ grub_cmd_lssal (struct grub_command *cmd
> __attribute__ ((unused)),
> const grub_efi_system_table_t *st = grub_efi_system_table;
> grub_efi_configuration_table_t *t = st->configuration_table;
> unsigned int i;
> - grub_efi_packed_guid_t guid = GRUB_EFI_SAL_TABLE_GUID;
> + grub_guid_t guid = GRUB_EFI_SAL_TABLE_GUID;
Done.
> Please do s/cannot opening/cannot open/ in the patch #8.
Done.
>
> The build for arm-linux-gnueabihf target complains:
> arm-linux-gnueabihf-gcc
> kern/misc.c: In function ‘grub_vsnprintf_real’:
> kern/misc.c:1063:28: error: cast to pointer from integer of different size
> [-Werror=int-to-pointer-cast]
> grub_guid_t *guid = (grub_guid_t *) curarg;
>
> I think s/(grub_guid_t *) curarg/(grub_guid_t *)(grub_addr_t) curarg/...
Done.
> I hope you checked "pG" format specifier prints GUIDs correctly.
Yeah. I changed it a bit. The endian conversion should stay on the
caller side, and not have it in the print function. We can't make
assumptions here.
This removes the R-B on the "grub-core: Make use of guid printf format
specifier" patch, sorry.
> And last but not least, sadly you broke documentation build...
> grub.texi:3277: warning: node next `Environment' in menu `Commands' and in
> sectioning `Modules' differ
> grub.texi:3893: warning: unreferenced node `Modules'
> grub.texi:3893: warning: node `Commands' is next for `Modules' in
> sectioning but not in menu
> grub.texi:3893: warning: node `Environment' is prev for `Modules' in
> sectioning but not in menu
> grub.texi:3893: warning: node `Top' is up for `Modules' in sectioning but
> not in menu
> grub.texi:69: node `Top' lacks menu item for `Modules' despite being its Up
> target
> grub.texi:3916: warning: node prev `Commands' in menu `Environment' and in
> sectioning `Modules' differ
>
How do you build the documentation? I don't get any warnings or errors
somehow. But it is correct, the new section was not listed in the menu.
I changed it and hope it fixes it.
> Daniel
>
Oliver
- [PATCH v7 01/10] efi: Add grub_efi_set_variable_with_attributes(), (continued)
- [PATCH v7 01/10] efi: Add grub_efi_set_variable_with_attributes(), Oliver Steffen, 2023/05/03
- [PATCH v7 03/10] kern/misc: Add a format specifier GUIDs, Oliver Steffen, 2023/05/03
- [PATCH v7 04/10] grub-core: Make use of guid printf format specifier, Oliver Steffen, 2023/05/03
- [PATCH v7 08/10] docs: Reword section headings, Oliver Steffen, 2023/05/03
- [PATCH v7 09/10] Add a module for the Boot Loader Interface, Oliver Steffen, 2023/05/03
- [PATCH v7 10/10] util/grub.d: Activate bli module on EFI, Oliver Steffen, 2023/05/03
- [PATCH v7 05/10] types.h: Add GRUB_SSIZE_MAX, Oliver Steffen, 2023/05/03
- [PATCH v7 07/10] efi: Add grub_efi_set_variable_to_string(), Oliver Steffen, 2023/05/03
- [PATCH v7 06/10] kern/misc, kern/efi: Extract UTF-8 to UTF-16 code, Oliver Steffen, 2023/05/03
- Re: [PATCH v7 00/10] Add basic Boot Loader Interface support, Daniel Kiper, 2023/05/19
- Re: [PATCH v7 00/10] Add basic Boot Loader Interface support,
Oliver Steffen <=