common/Kconfig:
config BOOTCOMMAND
string "bootcmd value"
depends on USE_BOOTCOMMAND
default "tftp c2000000 uImage;tftp c4000000 stm32mp157d-atk.dtb;bootm c2000000 - c4000000" if DISTRO_DEFAULTS
help
This is the string of commands that will be used as bootcmd and if
AUTOBOOT is set, automatically run.
config NET_IPADDR
string "ipaddr value"
depends on USE_BOOTCOMMAND
default "192.168.100.150" if DISTRO_DEFAULTS
help
This is the string of commands that will be used as ipaddr and if
AUTOBOOT is set, automatically run.
config NET_ETHADDR
string "ethaddr value"
depends on USE_BOOTCOMMAND
default "b8:ae:1d:01:01:00" if DISTRO_DEFAULTS
help
This is the string of commands that will be used as ethaddr and if
AUTOBOOT is set, automatically run.
config NET_GATEWAYIP
string "gateway ip value"
depends on USE_BOOTCOMMAND
default "192.168.100.1" if DISTRO_DEFAULTS
help
This is the string of commands that will be used as gateway ip and if
AUTOBOOT is set, automatically run.
config NET_MASK
string "gateway ip value"
depends on USE_BOOTCOMMAND
default "255.255.255.0" if DISTRO_DEFAULTS
help
This is the string of commands that will be used as gateway ip and if
AUTOBOOT is set, automatically run.
config NET_SERVERIP
string "server ip value"
depends on USE_BOOTCOMMAND
default "192.168.100.122" if DISTRO_DEFAULTS
help
This is the string of commands that will be used as gateway ip and if
AUTOBOOT is set, automatically run.
include/env_default.h:
#ifdef CONFIG_NET_IPADDR //CONFIG_IPADDR
"ipaddr=" CONFIG_NET_IPADDR "\0" /* __stringify(CONFIG_IPADDR) "\0"*/
#endif
#ifdef CONFIG_NET_ETHADDR
"ethaddr=" CONFIG_NET_ETHADDR "\0"
#endif
#ifdef CONFIG_NET_GATEWAYIP
"gatewayip=" CONFIG_NET_GATEWAYIP "\0"
#endif
#ifdef CONFIG_NET_MASK
"netmask=" CONFIG_NET_MASK "\0"
#endif
#ifdef CONFIG_NET_SERVERIP //CONFIG_SERVERIP
"serverip=" CONFIG_NET_SERVERIP "\0" //__stringify(CONFIG_SERVERIP) "\0"
#endif
397,23-30 37%