[U-Boot-Users] Proposal for patch to configure network parameters
Wolfgang Denk
wd at denx.de
Sat Apr 21 01:14:35 CEST 2007
In message <02b301c78397$9909dfd0$01c4af0a at Glamdring> you wrote:
>
> > I don't think it makes sense to claim that the network properties are
> > somehow tied to a board. Are there boards out there that have to have
> > certain IP addresses?
>
> If you setup serverip to point at your PC for board test&manufacture then
> you can do:
>
> setenv bootcmd tftp 21000000 autoscript.myboard ; autoscr
> 21000000
>
> in your default (compile time) configuration.
>
> Connect Ethernet
> Power Up
> autoscript is downloaded and executed
> LED starts to blink when ready.
> Power Down
> Next board...
>
> The autoscript.myboard is regenerated for every new board so they get a new
> "ethaddr"
> and other custom features..
>
> I really do not see the harm in this.
But to do this, no changes to the U-Boot code are needed. Just set
your default network configuration in the board config file, and you
are all set.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Pain is a thing of the mind. The mind can be controlled.
-- Spock, "Operation -- Annihilate!" stardate 3287.2
More information about the U-Boot
mailing list