[PATCH 0/3] arm/imx: serial number / UID support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Aug 4 06:25:45 EDT 2010


On 09:46 Wed 04 Aug     , Baruch Siach wrote:
> 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 :).
I agree about the other patch I just do not think we need to pass the CPUID to
the kernel as he can easly get it by himself IMHO

Best Regards,
J.



More information about the barebox mailing list