All of lore.kernel.org
 help / color / mirror / Atom feed
* IMX53 read Mac Address from IIM
@ 2013-11-21  9:59 Simone
  2013-11-21 10:36 ` Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: Simone @ 2013-11-21  9:59 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Hello,

Actually we have a problem with the MAC address of the network on our IMX53
board.

The MAC id is actually stored on the SD card, instead of the IIM (inside
CPU).

This cause that if we change the SD card, without writing the correct MACid
in the bootloader env. variables,  the DHCP server give me a different IP
address.

 

There is a way to load the Mac from IIM fuses?

How to do this?

 

I am able to write in the IIM but I don't know how to tell bootloader to
load from IIM instead of boot variable.

 

Many Thanks

Simone


[-- Attachment #2: Type: text/html, Size: 2921 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IMX53 read Mac Address from IIM
  2013-11-21  9:59 IMX53 read Mac Address from IIM Simone
@ 2013-11-21 10:36 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2013-11-21 10:36 UTC (permalink / raw)
  To: Simone; +Cc: meta-freescale@yoctoproject.org

On Thu, Nov 21, 2013 at 7:59 AM, Simone <cjb.sw.nospam@gmail.com> wrote:
> Hello,
>
> Actually we have a problem with the MAC address of the network on our IMX53
> board.
>
> The MAC id is actually stored on the SD card, instead of the IIM (inside
> CPU).
>
> This cause that if we change the SD card, without writing the correct MACid
> in the bootloader env. variables,  the DHCP server give me a different IP
> address.
>
>
>
> There is a way to load the Mac from IIM fuses?
>
> How to do this?
>
>
>
> I am able to write in the IIM but I don’t know how to tell bootloader to
> load from IIM instead of boot variable…

This is not related to meta-fsl-arm, so it would be better to post
U-boot related questions into the U-boot list.

By default the MAC address is read from the fuses in mainline U-boot.

If you delete the ethaddr manually, ie: 'setenv ethaddr', then you
will notice that during the next boot the ethaddr will be read from
the fuses and then stored into the SD card.

Regards,

Fabio Estevam


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-21 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21  9:59 IMX53 read Mac Address from IIM Simone
2013-11-21 10:36 ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.