Re: Expose system Serial Number to userspace.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, Aug 29, 2012 at 9:50 AM, Nicolas Pitre <nico@xxxxxxxxxxx> wrote:
> On Wed, 29 Aug 2012, Brad Arnold wrote:
> > Hi,
> >
> > I'm working on an embedded board which uses u-boot + linux. At
> > manufacturing time, the device serial number will be programmed into OTP
> > memory on NAND (probably from within u-boot). We'd like the linux kernel
> > to make this serial number available to be read from userspace. Is there
> > an accepted method to do this sort of thing?
> A serial number field is available from /proc/cpuinfo already.  you just
> have to initialize it through the system_serial_high and
> system_serial_low global variables.
> Nicolas

Actually, I guess even better than initializing through the two
variables is to pass the serial directly from u-boot using the tag.

To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux