[Buildroot] how can I change IP numbers when using 'defenv'?
Mats Iderup
mats.iderup at comhem.se
Fri May 16 11:11:18 PDT 2008
Hi,
I am trying to change the default IP settings before using the 'defenv'
command in U-Boot on an at91sam9260ek board.
I have changed ip, serverip, gatewayip and ethaddr in
"at91sam9260dfc_defconfig" and then configured a minimal system without
fs and any extra target packages.
Also searched hole buildroot tree and changed every existing ip,
serverip, gatewayip and ethaddr in files like Config.in and cmd_defenv.c
to my wanted ip numbers.
Then using 'make' to generate only bootstrap and u-boot binaries.
NOW to the problem:
After downloading, booting the board and invoking the 'defenv' command
I still get the original settings:
len=149: root=/dev/ram rw initrd=0x2118C000,6000000 ramdisk_size=15360
ip=10.175.196.18:10.175.196.221:10.175.196.1:255.255.255.0
console=ttyS0,115200,mem=64M
Would appriciate any hint on how/when/where these IP settings can be
changed.
regards
Mats
More information about the buildroot
mailing list