mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "DEMIRDJIAN, Antoine" <antoine.demirdjian@airliquide.com>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: MAC address set in OCOTP but not visible from ETH0 - i.MX6
Date: Tue, 26 Jan 2021 19:06:48 +0100	[thread overview]
Message-ID: <CAEuS4-0yFUOwkfkMbuwc=VSdEux94y8CVv6V7Gv-tzOt6hX3bA@mail.gmail.com> (raw)
In-Reply-To: <8fd72cdd-9d34-f6e3-6e80-46b00d11cb5d@pengutronix.de>

Hi,

Le mar. 26 janv. 2021 à 18:25, Ahmad Fatoum <a.fatoum@pengutronix.de> a écrit :
>
> Hi,
>
> On 26.01.21 18:06, DEMIRDJIAN, Antoine wrote:
> > Dear all,
> >
> > I'm working on a custom board based on an i.MX6 Dual Lite.
> > I've set a MAC address on OCOTP, and I can see it :
> >
> > barebox@Main Board:/ devinfo ocotp0
> > Parameters:
> >   mac_addr: 70:82:0e:12:73:6f (type: MAC)
> >   mac_addr0: 70:82:0e:12:73:6f (type: MAC)
> >   permanent_write_enable: 0 (type: bool)
> >   sense_enable: 0 (type: bool)
> >
> > The issue is that I can't get it from eth0 :
> >
> > barebox@Chrysalis Main Board:/ devinfo eth0
> > Parameters:
> >   ethaddr: 00:00:00:00:00:00 (type: MAC)
> >   gateway: 192.1.1.100 (type: ipv4)
> >   ipaddr: 0.0.0.0 (type: ipv4)
> >   linux.bootargs: ip=0.0.0.0:192.1.1.46:192.1.1.100:255.255.255.0:::
> > (type: string)
> >   linux.devname:  (type: string)
> >   mode: static (type: enum) (values: "dhcp", "static", "disabled")
> >   netmask: 255.255.255.0 (type: ipv4)
> >   serverip: 192.1.1.46 (type: string)
> >
> > My operating system's driver does not see it neither ...
> >
> > Am I missing something?
>
> Yes: https://barebox.org/doc/latest/devicetree/bindings/misc/fsl,imx-ocotp.html
>
> Check the other i.MX board in arch/arm/dts for an example.

Many thanks !

Sorry for the noise...

Best regards,
Antoine

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2021-01-26 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-26 17:06 DEMIRDJIAN, Antoine
2021-01-26 17:24 ` Ahmad Fatoum
2021-01-26 18:06   ` DEMIRDJIAN, Antoine [this message]

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='CAEuS4-0yFUOwkfkMbuwc=VSdEux94y8CVv6V7Gv-tzOt6hX3bA@mail.gmail.com' \
    --to=antoine.demirdjian@airliquide.com \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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