From: Mats Iderup <mats.iderup@comhem.se>
To: buildroot@busybox.net
Subject: [Buildroot] how can I change IP numbers when using 'defenv'?
Date: Fri, 16 May 2008 20:55:04 +0200 [thread overview]
Message-ID: <1210964105.6356.11.camel@bchome> (raw)
In-Reply-To: <1210961478.6164.22.camel@bchome>
Ok,
I find some hints.
?U-Boot> defenv
U-Boot> run config
U-Boot> run get
U-Boot> bootm 21000000
New environment settings is fetched from
host /tftpboot/autoscript.at91sam9260dfc
when invoking the 'run config'.
Still bootargs holds old variables.
Perhaps also updated when I also build rootfiles......
thanks
Mats
On Fri, 2008-05-16 at 20:11 +0200, Mats Iderup wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
prev parent reply other threads:[~2008-05-16 18:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 18:11 [Buildroot] how can I change IP numbers when using 'defenv'? Mats Iderup
2008-05-16 18:55 ` Mats Iderup [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1210964105.6356.11.camel@bchome \
--to=mats.iderup@comhem.se \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox