Fwd: Getting IMEI from uboot
andy at openmoko.com
Tue Sep 30 10:24:49 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
Hi Harald -
|> Sorry, never used it, no idea. U-Boot support for anything is pretty
|> much deprecated since we plan to do stuff once in Linux only going on.
| nevertheless, there are existing customers/users and projects that
| use the existing and deployed devices that ship with u-boot.
| If it is still not resolved, I will look at this issue once I've
| the netfilter developer summit. I am confident to be able to provide
| until Sunday, October 05.
|> You can read the factory partition while in Linux, it's way easier.
| (I have to mention that I know Francesco as well as the project he's
| on). He needs to determine the IMEI in the bootloader for the
| project. Obtaining it from the GSM modem in passthrough mode was
| GTA01, and it should also work on GTA02. I would definitely prefer
| to reading files from the factory partition, since the latter could be
| corrupted in some worst-case scenario.
| Since the factory partition was introduced after I left Openmoko, and
| have any device that actually has a factory partition, I cannot
| hint on how to access it from u-boot itself.
| I'll try to get my hands on a GTA02 out of mass production and see
what we can
| do, though.
Well thanks for looking at it, the deal is it is a small ext2 filesystem
directly in a NAND partition. Recent U-Boot can parse ext2 OK, so all
it should take is the right syntax for the partition in U-Boot speak and
then the normal ext2 stuff in U-Boot should work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel