public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Proposal for patch to configure network parameters
Date: Sun, 22 Apr 2007 15:11:53 -0500	[thread overview]
Message-ID: <462BC189.2040502@freescale.com> (raw)
In-Reply-To: <20070420232905.A8BD2352650@atlas.denx.de>

Wolfgang Denk wrote:

> Just use common sense. Anything that is board-specific  should  never
> be  set  in  the  board  config file because that would mean that all
> boards would share this property in the default configuration.

> An absolute no-no is CONFIG_ETH*ADDR.

$ grep CONFIG_ETH.*ADD include/configs/MPC8349ITX.h
#define CONFIG_ETHADDR          00:E0:0C:00:8C:01
#define CONFIG_ETH1ADDR         00:E0:0C:00:8C:02

Oops.

Although, to be honest, this is very handy for me because these are the 
MAC addresses that have been assigned to the MPC8349E-mITX board in our 
lab.  This way, every time I build an image, it's guaranteed to have the 
right MAC addresses.  I don't need to run some kind of script to set up 
my variables.

Is there some easy way for me to specify personalized config options at 
build time?

> Note that you *can* do all these things, if you know exactly what you
> are doing - that's whey the feature is there. But shipping boards  to
> customer  with  all  set  to  the  same  MAC  address is a felony and
> deserves serious punishment (hello Andrea!).

I agree, but if every board has the same flash image, how do we specify 
a different MAC address for each one?

> Ulf was (originally) asking for a customization feature; of course it
> makes sense to customize boards during production, for example to set
> board-specific values for MAC address, serial number, etc.  But  this
> can, and should, be done without creating different U-Boot images.

I don't see how.  Not every company has a manufacturing process that 
allows that.  This is especially true for reference boards, which aren't 
supposed to be used in a public environment anyway.

  parent reply	other threads:[~2007-04-22 20:11 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20 19:22 [U-Boot-Users] Proposal for patch to configure network parameters Ulf Samuelsson
2007-04-20 20:40 ` Timur Tabi
2007-04-20 20:49   ` Wolfgang Denk
2007-04-20 20:55   ` Ben Warren
2007-04-20 21:51     ` [U-Boot-Users] Proposal for patch to configurenetwork parameters Ulf Samuelsson
2007-04-20 23:12       ` Wolfgang Denk
2007-04-20 23:39         ` Ulf Samuelsson
2007-04-21  0:31           ` Wolfgang Denk
2007-04-21  6:07             ` Ulf Samuelsson
2007-04-21  6:17             ` Ulf Samuelsson
2007-04-22 19:56           ` Timur Tabi
2007-04-22 20:25             ` Wolfgang Denk
2007-04-22 20:30               ` Timur Tabi
2007-04-22 21:27             ` Ulf Samuelsson
2007-04-20 21:59   ` [U-Boot-Users] Proposal for patch to configure network parameters Ulf Samuelsson
2007-04-20 23:14     ` Wolfgang Denk
2007-04-20 23:46       ` [U-Boot-Users] Proposal for patch to configure networkparameters Ulf Samuelsson
2007-04-20 20:47 ` [U-Boot-Users] Proposal for patch to configure network parameters Wolfgang Denk
2007-04-20 21:35   ` [U-Boot-Users] Proposal for patch to configure networkparameters Ulf Samuelsson
2007-04-20 22:59     ` Wolfgang Denk
2007-04-20 23:29       ` Ulf Samuelsson
2007-04-21  0:25         ` Wolfgang Denk
2007-04-21  6:05           ` Ulf Samuelsson
2007-04-21 10:37             ` Robert Schwebel
2007-04-22  5:30               ` Ulf Samuelsson
2007-04-22  7:27                 ` Robert Schwebel
2007-04-22  8:45                   ` Ulf Samuelsson
2007-04-22 11:05                     ` Wolfgang Denk
2007-04-22 13:16                       ` Ulf Samuelsson
2007-04-22 13:58                         ` Wolfgang Denk
2007-04-22 14:28                           ` Ulf Samuelsson
2007-04-22 18:48                             ` Wolfgang Denk
2007-04-22 10:30                 ` Wolfgang Denk
2007-04-20 23:03   ` [U-Boot-Users] Proposal for patch to configure network parameters Timur Tabi
2007-04-20 23:29     ` Wolfgang Denk
2007-04-20 23:58       ` [U-Boot-Users] Proposal for patch to configure networkparameters Ulf Samuelsson
2007-04-21 12:41       ` [U-Boot-Users] Proposal for patch to configure network parameters Andreas Schweigstill
2007-04-22 20:11       ` Timur Tabi [this message]
2007-04-22 20:31         ` Wolfgang Denk
2007-04-22 21:50           ` [U-Boot-Users] Proposal for patch to configure networkparameters Ulf Samuelsson
2007-04-22 23:57             ` Wolfgang Denk
2007-04-23  5:43               ` Ulf Samuelsson
2007-04-23  6:46                 ` [U-Boot-Users] MPC8343 I2C problem Monstr at seznam.cz
2007-04-23 14:46                   ` Timur Tabi
2007-04-23  7:00                 ` [U-Boot-Users] MPC8343 NET without PHY Monstr at seznam.cz
2007-04-23 14:51                   ` Timur Tabi
2007-04-23  8:59                 ` [U-Boot-Users] Proposal for patch to configure networkparameters Wolfgang Denk
2007-04-23  9:24                   ` Ulf Samuelsson
2007-04-23 10:50                     ` Wolfgang Denk
2007-04-23  9:01                 ` Ulf Samuelsson
2007-04-22 21:38         ` Ulf Samuelsson

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=462BC189.2040502@freescale.com \
    --to=timur@freescale.com \
    --cc=u-boot@lists.denx.de \
    /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