[PATCH] efi_loader: Add support for .wic files in URI boot path

Mark Kettenis mark.kettenis at xs4all.nl
Sat Jul 26 18:30:54 CEST 2025


> Date: Sat, 26 Jul 2025 09:45:16 -0600
> From: Tom Rini <trini at konsulko.com>
> 
> 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.

Note that other EFI implementations don't support '.wic' either.
WHich is why we switched the OpenBSD installer disk images from '.fs'
to '.img' some years ago specifically to support EFI HTTP boot.

> > 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
> 
> [2:application/pgp-signature Show Save:signature.asc (228B)]
> 


More information about the U-Boot mailing list