[U-Boot] [PATCH 5/9] apf9328: add default board configuration file

Wolfgang Denk
2011-08-24T05:49:14Z

Dear Eric Jarrige,

In message <D25738A8-8A7A-475A-95F5-8408C6463F4D@armadeus.org> you wrote:
>
> > Stefano is right. "filesize" and "fileaddr" are dynamic variables,
> > thet get created and updated on the fly. It makes no sense to
> > pre-define them to any specific value. [Actually I have some changes
> > in mind that avoid to save such variables with the environment at
> > all.]
>
> I understand - It make sense for me to wait for the new interface.

Which new interface do you mean? And why would waiting for it help
you?

> > What do you mean by "push U-Boot through the serial port"? Any of the
> > respective commands in U-Boot ("loads", "loadb", "loady") will
> > automatically update the respective variables.
>
> I meant to boot using the iMX internal bootstrap loader as U-Boot is
> not
> yet running. Alternatively I can download U-Boot a second time to have
> the environment variables initialized.
> It is just a longer process than the original one.

Are you aware of things like "env import" etc.?

> > And what makes you think that 192.168.0.10 might be a free IP address
> > in my network? Or assume that 255.255.255.0 is the right netmask in
> > this network?
>
> http://tools.ietf.org/html/rfc1918#page-4

This page lists "192.168/16 prefix", i. e. a 255.255.0.0 netmask.
I know many development environments, and 192.168.x.x is used very,
very often there. often with a /24 netmask, sometimes differently (at
DENX we're using it with a /16 netmast, for example).

And there is absolutely NO guarantee that 192.168.0.10 is free, or
that multiple users of your boards will boot simultaneously, or ...

The _concept_ of such a default address is broken.

> > These addresses may work for you, but they will not work for others,
> > and thus it makes no sense to use them as defaults.
>
> The armadeus BSP provide a user interface to customize the network
> parameters according to end user network environment.

Do you know the amount of efforts needed in any bigger organization
to set up additional or to change existing network configurations?

> > Use DHCP?
>
> Sure, DHCP is the best *technical* solution.
> I meant for static IP address?

Why does anybody need static IP addresses for the default case, i. e.
for system bring up?

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Prof: So the American government went to IBM to come up with a
data encryption standard and they came up with ...
Student: EBCDIC!