public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: NZG <ngustavson@emacinc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] bootloader MAC
Date: Thu, 8 Jun 2006 18:16:11 -0500	[thread overview]
Message-ID: <200606081816.11291.ngustavson@emacinc.com> (raw)
In-Reply-To: <DCEAAC0833DD314AB0B58112AD99B93B0189DE20@ismail.innsys.innovsys.com>

On Thursday 08 June 2006 5:58 pm, Rune Torgersen wrote:
> On PPC we have the MAC proframmed in FLASH as a u-boot evironment variable.
> THis is in turn passed to the kernel on th ebd_T struct, and the *Linux*
> driver initializes the MAC on the ethernety interface when the ethernet
> driver is initialized.
>
> Do the same. Pass the MAC to the kernel and let the driver init set the MAC
> to the hardware
Why is this a superior approach?

The method you've outlined assumes that the OS will make a special provision 
to grab the MAC from the bootloader, you can modify Linux for this certainly, 
but what if the board isn't running Linux?
Also note, that it's still the bootloader that's setting the flash, just in a 
much more complex way.

Since typically it's loaded directly by the hardware, most OS's expect it to 
be there.
Why not just have the bootloader put it there directly? 

thx,
NZG

  reply	other threads:[~2006-06-08 23:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 16:34 [U-Boot-Users] Help U-Boot NFS filesystem muqiyong
     [not found] ` <008501c68b19$639091e0$8ed3fea9@first>
2006-06-08 16:57   ` Wolfgang Denk
2006-06-08 17:57     ` Marco Cavallini
2006-06-08 19:49       ` Wolfgang Denk
2006-06-08 20:22         ` Marco Cavallini
2006-06-08 20:59           ` Wolfgang Denk
2006-06-08 20:40         ` [U-Boot-Users] Help U-Boot NFS filesystem->bootloader MAC NZG
2006-06-08 21:40           ` Wolfgang Denk
2006-06-08 22:31             ` [U-Boot-Users] bootloader MAC NZG
2006-06-08 22:58               ` Rune Torgersen
2006-06-08 23:16                 ` NZG [this message]
2006-06-08 23:24                   ` Rune Torgersen
2006-06-09  0:49                     ` Wolfgang Denk
2006-06-09  0:44               ` Wolfgang Denk
2006-06-09  4:06                 ` NZG
2006-06-09  7:44                   ` Wolfgang Denk
2006-06-09 14:23                     ` NZG
2006-06-09 16:56                       ` Wolfgang Denk
2006-06-09 17:14                         ` NZG
2006-06-09 17:58                         ` NZG
2006-06-09  8:48 ` [U-Boot-Users] Help U-Boot NFS filesystem Alex Zeffertt
2006-06-09 12:22   ` muqiyong
     [not found]     ` <002401c68bbf$6f7dfd20$8ed3fea9@first>
2006-06-09 13:08       ` Wolfgang Denk
2006-06-10  3:18         ` [U-Boot-Users] Help U-Boot NFS filesystem. (Flash error! maybe I need wait my next board) muqiyong

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=200606081816.11291.ngustavson@emacinc.com \
    --to=ngustavson@emacinc.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