[PATCH v3] Allow colon in PXE bootfile URLs

Tom Rini trini at konsulko.com
Sat Apr 23 14:09:06 CEST 2022


On Sat, Apr 16, 2022 at 11:36:43AM -0400, Lyle Franklin wrote:

> - U-boot's PXE flow supports prefixing your bootfile name with an
>   IP address to fetch from a server other than the DHCP server,
>   e.g. `hostIPaddr:bootfilename`:
>   https://github.com/u-boot/u-boot/commit/a93907c43f847f076dd0e34ee3b69b5e8e6d0d29
> - However, this breaks bootfile paths which contain a colon, e.g.
>   `f0:ad:4e:10:1b:87/7/pxelinux.cfg/default`
> - This patch checks whether the `hostIPaddr` prefix is a valid
>   IP address before overriding the serverIP otherwise the whole
>   bootfile path is preserved
> 
> Signed-off-by: Lyle Franklin <lylejfranklin at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220423/36f9588e/attachment.sig>


More information about the U-Boot mailing list