On Wed, 8 Apr 2015, [email protected] wrote:
> 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.
ah, very nice, thanks.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================