Le jeudi 27 août 2015 à 04:12 -0700, Valy Cozma a écrit : > Dear all, > > Sorry if it was asked before, Hope you can help .. > > Is there an unique device id on a20 platform and how can I read it ?
If you're using a recent U-Boot, a serial number is exported to /proc/cpuinfo Support for reading the serial number was added with this commit: http://git.denx.de/?p=u-boot.git;a=commit;h=8c8165739baebbcd5fbf3db9030a3f180e4ef580 And it's passed either to ATAGs or device-tree, with these commits: http://git.denx.de/?p=u-boot.git;a=commit;h=9f85221135745f7f20c9b00a241a8331a7f5b190 http://git.denx.de/?p=u-boot.git;a=commit;h=10be5b5d3a8d8dd1aa8be95d339c0fdf498c3687 -- Paul Kocialkowski, Replicant developer Replicant is a fully free Android distribution running on several devices, a free software mobile operating system putting the emphasis on freedom and privacy/security. Website: http://www.replicant.us/ Blog: http://blog.replicant.us/ Wiki/tracker/forums: http://redmine.replicant.us/ -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: This is a digitally signed message part
