On Wed, Apr 8, 2015 at 10:53 AM, Robert Nelson <[email protected]> wrote:
> On Wed, Apr 8, 2015 at 10:44 AM, Robert P. J. Day <[email protected]> 
> wrote:
>> On Wed, 8 Apr 2015, Robert Nelson wrote:
>>
>>> U-Boot# i2c md 0x50 0x0c.2
>>> 000c: 30 30 30 43 32 34 31 34 42 42 42 4b 30 31 30 33    000C2414BBBK0103
>>
>>   and just to clarify an earlier curiosity of mine, is it true that
>> u-boot's "eeprom" command has no relevance here? i've never used that
>> command but it seems that BBB EEPROM access must be done exclusively
>> via i2c, correct?
>
> Well, it is wired up:
>
> 204 #define CONFIG_CMD_EEPROM
> 205 #define CONFIG_ENV_EEPROM_IS_ON_I2C
> 206 #define CONFIG_SYS_I2C_EEPROM_ADDR      0x50    /* Main EEPROM */
> 207 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN  2
> 208 #define CONFIG_SYS_I2C_MULTI_EEPROMS
>
> and looking at:
>
> http://lists.denx.de/pipermail/u-boot/2007-September/025043.html
>
> The i2c md command is just more useful....

Great way to reset the board. ;)

U-Boot# eeprom read 0x50 0 0 10

EEPROM @0x50 read: addr 00000000  off 0000  count 16 ... I2C read:
NULL pointer passed
done
U-Boot# md 0
00000000:data abort
pc : [<9ff8ac3c>]   lr : [<9ff8ac10>]
reloc pc : [<8083ec3c>]   lr : [<8083ec10>]
sp : 9ef2bce0  ip : 00000000 fp : 00000000
r10: 00000000  r9 : 9ef2bed8 r8 : 00000000
r7 : 00000004  r6 : 00000004 r5 : 00000004  r4 : 00000040
r3 : 44e09000  r2 : 44e09000 r1 : 9ef2bcf4  r0 : 00000009
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2015.04-rc5-00002-g252073b (Apr 07 2015 - 10:00:16)

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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