We are using 'nvmem' interface in v4.1+
On Sep 19, 2015 10:13 PM, "Rick Mann" <[email protected]> wrote:
> Everything I see online tells me to cat a node like
> /sys/bus/i2c/devices/1-0057/eeprom, but that doesn't seem to exist. This is
> for my custom cape. I just installed the EEPROM IC at address 0x57, and I
> think the OS is finding it:
>
> [ 3.718888] bone_capemgr bone_capemgr: Baseboard:
> 'A335BNLT,00C0,3214BBBK4221'
> [ 3.718924] bone_capemgr bone_capemgr:
> compatible-baseboard=ti,beaglebone-black - #slots=4
> [ 3.778342] bone_capemgr bone_capemgr: slot #0: No cape found
> [ 3.838333] bone_capemgr bone_capemgr: slot #1: No cape found
> [ 3.898333] bone_capemgr bone_capemgr: slot #2: No cape found
> [ 3.928169] bone_capemgr bone_capemgr: Invalid signature 'ffffffff' at
> slot 3
> [ 3.935464] bone_capemgr bone_capemgr: slot #3: No cape found
> [ 3.941370] bone_capemgr bone_capemgr: initialized OK.
>
> But I can't figure out how to read (or write) the contents, since the OS
> driver has it ("Error: Could not set address to 0x57: Device or resource
> busy").
>
> So, I'm trying to read and write via sysfs, but I don't see the node. I'm
> on kernel 4.1.6-ti-r15.
>
> TIA,
>
> --
> Rick Mann
> [email protected]
>
>
> --
> 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.
>
--
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.