building u-boot without pxe, dhcp, etc.
andrew at internet-e-mail.com
andrew at internet-e-mail.com
Sun Nov 2 09:06:12 CET 2025
This seems to work for the latest u-boot but not the version I'm trying to build (v2023.10). I did figure it out though. "BOOT_TARGET_DEVICES" is defined in u-boot/include/configs/[board].h and I just had to remove the lines for PXE and DHCP. The comment at line 12 in config_distro_bootcmd.h explains the odd-looking error I was getting.
--
andrew at internet-e-mail.com
On Sat, Nov 1, 2025, at 2:44 PM, Fabio Estevam wrote:
> On Sat, Nov 1, 2025 at 12:15 PM <andrew at internet-e-mail.com> wrote:
>>
>> I want to build u-boot without a network stack (the target machine only needs to boot from usb, nvme and mmc devices) but disabling pxe causes a dependency problem. Does anyone know how to resolve this?
>
> Try passing CONFIG_NO_NET=y in your defconfig file.
More information about the U-Boot
mailing list