[PATCH] efi_loader: Add support for .wic files in URI boot path
Tom Rini
trini at konsulko.com
Sat Jul 26 17:45:16 CEST 2025
On Fri, Jul 25, 2025 at 07:56:39PM +0200, Heinrich Schuchardt wrote:
> Am 25. Juli 2025 19:35:33 MESZ schrieb Javier Tia <javier.tia at linaro.org>:
> >Together with current '.iso' and '.img', the try_load_from_uri_path
> >function now allows files with the '.wic' extension as viable bootable
> >images.
>
> Why wouldn't you simply name your files *.img?
The answer has been lost to time at this point, since output has been
".wic" for over a decade now.
> Shouldn't we get away from the DOS age routine of relying on filename extensions?
>
> Just check if the fileheader is a PE header or if it is a known partitoning scheme.
Looking in to a cleaner more general solution is worthwhile, I agree.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250726/730c2d17/attachment.sig>
More information about the U-Boot
mailing list