mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/3] arm/imx: serial number / UID support
Date: Wed, 4 Aug 2010 09:46:41 +0300	[thread overview]
Message-ID: <20100804064641.GB17208@jasper.tkos.co.il> (raw)
In-Reply-To: <20100802120213.GC13044@game.jcrosoft.org>

Hi Jean-Christophe,

On Mon, Aug 02, 2010 at 02:02:13PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 	serial number is more for board ref than CPU ref
> 	as you can easly read it from the register.
> 
> 	So why pass it via the ATAG?

The point of the serial number ATAG is to uniquely identify the system.  
Getting this unique ID from the CPU is as good as any other IMO. I'm not aware 
of any other UID source on the mx25 3DS system. Besides, having the serial 
number nicely listed in /proc/cpuinfo is far easier than reading registers.

Anyway, patches 1 and 2 in this series are useful on their own, I think. I 
intend to use this functionality for our own board. I've added the mx25 3ds 
two lines patch to justify the bloat :).

baruch

> Best Regards,
> J.
> On 14:58 Mon 02 Aug     , Baruch Siach wrote:
> > This patch series adds support for the serial ATAG, and uses this functionality 
> > to pass the i.MX25 chip UID as a serial number to the Linux kernel.
> > 
> > Baruch Siach (3):
> >   arm: add support for the serial ATAG
> >   imx25: add support for UID read from eFuse
> >   mx25 3ds: set CPU UID
> > 
> >  arch/arm/boards/freescale-mx25-3-stack/3stack.c |    2 ++
> >  arch/arm/include/asm/armlinux.h                 |    4 ++++
> >  arch/arm/lib/armlinux.c                         |   19 +++++++++++++++++++
> >  arch/arm/mach-imx/imx25.c                       |   12 ++++++++++++
> >  arch/arm/mach-imx/include/mach/generic.h        |    1 +
> >  arch/arm/mach-imx/include/mach/imx25-regs.h     |    3 +++
> >  6 files changed, 41 insertions(+), 0 deletions(-)

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

  reply	other threads:[~2010-08-04  6:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-02 11:58 Baruch Siach
2010-08-02 11:58 ` [PATCH 1/3] arm: add support for the serial ATAG Baruch Siach
2010-08-02 12:13   ` Uwe Kleine-König
2010-08-02 11:58 ` [PATCH 2/3] imx25: add support for UID read from eFuse Baruch Siach
2010-08-02 11:58 ` [PATCH 3/3] mx25 3ds: set CPU UID Baruch Siach
2010-08-02 12:02 ` [PATCH 0/3] arm/imx: serial number / UID support Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  6:46   ` Baruch Siach [this message]
2010-08-04 10:25     ` Jean-Christophe PLAGNIOL-VILLARD

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=20100804064641.GB17208@jasper.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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