[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] changing ip with bootargs unpossible ?
>Hi Gillaume,
>
>ggastebois@xxxxxxxxxx wrote:
>
>>
>> I try to change ip address at boot time with u-boot parameter
>> bootargs=$bootargs ip=target_ip:server_ip:gw_ip:netmask:hostname:eth0:off
>>
>> but it doesn't change anything. Did I forget any parameter in
kernel
>> configuration to allow ip in bootargs ?
>>
>
>You may have figured this out already - but you
need to enable
>CONFIG_IP_PNP in the kernel -> network settings.
>
>Regards,
>
>John
Hello, thank you for answer, but it doesn't work !
in my .config :
CONFIG_IP_PNP=y
#CONFIG_IP_PNP_DHCP
is not set
CONFIG_IP_PNP_BOOTP=y
#CONFIG_IP_PNP_RARP
is not set
my bootargs=mtdparts=physmap-flash.0:1M(bitstream),256K(boot),256K(bootenv),256K(config),5M(image),9M(filesystem)
macaddr=00.0a.35.00.22.01 ip=192.168.0.11:192.168.0.3:0.0.0.0:255.255.240.0:toto:eth0:off
and ip remains at 192.168.0.10 as in
image generation !
any other idea ?
thank you
Guillaume