Skip to contentSkip to conversation

dhcp command not populating dnsip environment variable

U-Boot Duncan Hare 1 participant 1 message Mar 19, 2018

lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Mon, 19 Mar 2018 14:57:59 -0700
From: Duncan Hare <[email protected]>
To: Duncan Hare <[email protected]>
Subject: Re: [U-Boot] dhcp command not populating dnsip environment variable

Quoted 12 lines
Quoted 10 lines · Duncan Hare

Cause: u-boot/Kconfig DISTRO_DEFAULTS missing variables in Kconfig files

        BOOTP_BOOTPATH
        BOOTP_DNS
        BOOTP_GATEWAY
        BOOTP_HOSTNAME
        BOOTP_SUBNETMASK
BOOTP_PXE

Quoted 2 lines

It seems like we should imply them. That means we always get good defaults but can still disable them if desired.

All of the above defined in net/KConfig?

net/Kconfig adds

config BOOTP_BOOTPATH
config BOOTP_DNS
config BOOTP_GATEWAY
config BOOTP_HOSTNAME
config BOOTP_SUBNETMASK
config BOOTP_PXE

and in the distro_defaults change the select verb to imply? Or imply them all under the cmd/net.c BOOTP command?