From a4568b7d4bc75be70fd91d36077e37d877ed7402 Mon Sep 17 00:00:00 2001 From: MYF540 <39656519+MYF540@users.noreply.github.com> Date: Sat, 11 Jan 2025 23:55:51 +0100 Subject: [PATCH] fix for #3692 Just added 3 more CPU IDs https://github.com/home-assistant/operating-system/issues/3692 --- ...i-linux-use-legacy-loader-for-broken-Intel-.patch | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/buildroot-external/patches/grub2/0002-loader-efi-linux-use-legacy-loader-for-broken-Intel-.patch b/buildroot-external/patches/grub2/0002-loader-efi-linux-use-legacy-loader-for-broken-Intel-.patch index dcbd1a0f83d..87361d4b4c4 100644 --- a/buildroot-external/patches/grub2/0002-loader-efi-linux-use-legacy-loader-for-broken-Intel-.patch +++ b/buildroot-external/patches/grub2/0002-loader-efi-linux-use-legacy-loader-for-broken-Intel-.patch @@ -39,6 +39,13 @@ pre-2.12 GRUB anyway. [4] https://github.com/home-assistant/operating-system/issues/3305#issuecomment-2360633688 Signed-off-by: Jan Čermák + +---- + +Just added exceptions for Ryzen 5 2400GE, AMD Ryzen Embedded R1505G and AMD G-T56N as mentioned in [5]. + +[5] https://github.com/home-assistant/operating-system/issues/3692 + --- grub-core/loader/efi/linux.c | 67 +++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) @@ -107,7 +114,10 @@ index bfbd95a..98ac99c 100644 + return (processor_id == 0xbfebfbff00030661 // D2xxx/N2xxx + || processor_id == 0xbfebfbff000106ca // D525 + || processor_id == 0x00730f01178bfbff // AMD GX-212JC (HP t520) -+ || processor_id == 0xbfebfbff000206a7); // Intel i5-2xxx (Macbook Air A1370) ++ || processor_id == 0xbfebfbff000206a7) // Intel i5-2xxx (Macbook Air A1370) ++ || processor_id == 0x178bfbff00730f00 // AMD Ryzen 5 2400GE ++ || processor_id == 0x178bfbff00730f81 // AMD Ryzen Embedded R1505G ++ || processor_id == 0x500f01007ffffff); // AMD G-T56N + } + else + {