[maemo-developers] Obtaining flash memory serial numbers on Nokia N800

From: Igor Stoppa igor.stoppa at nokia.com
Date: Fri Aug 10 22:52:07 EEST 2007
Hi,
On Fri, 2007-08-10 at 20:40 +0100, ext David Hazel wrote:
> I've been trying, without success, to find some documentation that will
> tell me how to go about reading, from within an application, the serial
> number for any of the storage memory in an N800.
> 
> What I need to do is, given a directory path:
> - Determine which storage memory this corresponds with (whether it be
> the built-in memory, or an SD card in either of the memory slots that
> are available)
> - Obtain the serial number of that memory device, if it has one (or
> determine that it hasn't got a serial number, if this is the case).

I don't know about MMC/SD (isn't that something that is not public
available?)
but for the OneNAND specs you should check the Samsung website. Iirc
they have public datamanual for the memory used in the OMAP POP we are
using for n800

in case you want to use it for identifying a device for
security/protection reasons, i would advice aginist it, unless your code
is running in secure mode.
it's too easy to patch the kernel so that it will return whatever
counterfeit info.

And even if you were running in secure mode, it should be done from a
secure rom.

-- 
Cheers, Igor

Igor Stoppa <igor.stoppa at nokia.com>
(Nokia Multimedia - CP - OSSO / Helsinki, Finland)

More information about the maemo-developers mailing list