[PATCH v3 1/4] bootflow: bootmeth_efi: Set bootp_arch as hex
Simon Glass
sjg at chromium.org
Sun Nov 19 01:43:06 CET 2023
Hi Shantur,
On Sat, 18 Nov 2023 at 15:04, Shantur Rathore <i at shantur.com> wrote:
>
> bootmeth_efi sets up bootp_arch which is read later in bootp.c
> Currently bootp_arch is being set as integer string and being
> read in bootp.c as hex, this sends incorrect arch value to dhcp server
> which in return sends wrong file for network boot.
>
> For ARM64 UEFI Arch value is 0xb (11), here we set environment as 11
> and later is read as 0x11 and 17 is sent to dhcp server.
>
> Setting it as hex string fixes the problem.
>
> Signed-off-by: Shantur Rathore <i at shantur.com>
> ---
> boot/bootmeth_efi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I think you dropped my review tag on this version.
You can use 'patman status' to collect review tags automatically.
Regards,
Simon
More information about the U-Boot
mailing list