On Wednesday, April 8, 2015 at 10:14:23 AM UTC-4, Robert P. J. Day wrote:

>
>   seeing differing opinions online ... if you read this: 
>
> https://e2e.ti.com/support/arm/sitara_arm/f/791/t/233139 
>
> i should be able to display the first few bytes of the BBB's EEPROM 
> from u-boot using: 
>
>  i2c md 0x50 0 16 
>
> but, for me, that just displays "ff" throughout, which is what *other* 
> people claim to see when they try it. 
>
>   should this command work? do i need to initialize something first? 
> am i (theoretically) using the correct arguments? 
>
>
I wrote this C utility a while ago to read the BBB eeprom for the model & 
serial #s:

http://pastebin.com/p7XwKUGZ

It works on both Debian (Jessie) and FreeBSD!  It uses ioctl()'s to read 28 
bytes from slave addr 0x50 on i2c-0.


-W


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" 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.

Reply via email to