* [PATCH] efi: devicepath: add support for mbr partition.
@ 2025-08-22 19:20 chalianis1
2025-08-27 11:12 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: chalianis1 @ 2025-08-22 19:20 UTC (permalink / raw)
To: s.hauer; +Cc: barebox, Chali Anis
From: Chali Anis <chalianis1@gmail.com>
Add support for mbr partition for loading barebox from usb key
or even from qemu fat partition as an efi payload.
Signed-off-by: Chali Anis <chalianis1@gmail.com>
---
efi/devicepath.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/efi/devicepath.c b/efi/devicepath.c
index 342422ea1a11..b80d5639afbf 100644
--- a/efi/devicepath.c
+++ b/efi/devicepath.c
@@ -802,7 +802,8 @@ char *device_path_to_partuuid(const struct efi_device_path *dev_path)
struct efi_device_path_hard_drive_path *hd =
(struct efi_device_path_hard_drive_path *)dev_path;
- if (hd->signature_type != SIGNATURE_TYPE_GUID)
+ if (hd->signature_type != SIGNATURE_TYPE_GUID &&
+ hd->signature_type != SIGNATURE_TYPE_MBR)
continue;
return xasprintf("%pUl", (efi_guid_t *)&(hd->signature[0]));
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] efi: devicepath: add support for mbr partition.
2025-08-22 19:20 [PATCH] efi: devicepath: add support for mbr partition chalianis1
@ 2025-08-27 11:12 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-08-27 11:12 UTC (permalink / raw)
To: chalianis1; +Cc: barebox
On Fri, 22 Aug 2025 15:20:14 -0400, chalianis1@gmail.com wrote:
> Add support for mbr partition for loading barebox from usb key
> or even from qemu fat partition as an efi payload.
>
>
Applied, thanks!
[1/1] efi: devicepath: add support for mbr partition.
https://git.pengutronix.de/cgit/barebox/commit/?id=b8428217d22e (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-27 15:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-22 19:20 [PATCH] efi: devicepath: add support for mbr partition chalianis1
2025-08-27 11:12 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox