Hi,
I am using am335x interfaced with 24c256 eeprom. It was created the node under i2c bus. When i try to read and write the resource is busy it seems.
Please let us know, i want to write some 10 bytes data to eeprom and the same results i want to read back from memory location
root@am335x-evm:~# ls -al /sys/bus/i2c/devices/1-005*
lrwxrwxrwx 1 root root 0 Jan 1 2000 /sys/bus/i2c/devices/1-0050 -> ../../../devices/platform/omap/omap_i2c.1/i2c-1/1-0050
lrwxrwxrwx 1 root root 0 Jan 1 2000 /sys/bus/i2c/devices/1-0051 -> ../../../devices/platform/omap/omap_i2c.1/i2c-1/1-0051
root@am335x-evm:~# ls -al /sys/bus/i2c/devices/1-0050/
drwxr-xr-x 3 root root 0 Jan 1 2000 .
drwxr-xr-x 10 root root 0 Jan 1 2000 ..
lrwxrwxrwx 1 root root 0 Mar 21 15:51 driver -> ../../../../../../bus/i2c/drivers/at24
-rw------- 1 root root 32768 Mar 21 15:51 eeprom
-r--r--r-- 1 root root 4096 Mar 21 15:51 modalias
-r--r--r-- 1 root root 4096 Mar 21 15:51 name
drwxr-xr-x 2 root root 0 Mar 21 15:51 power
lrwxrwxrwx 1 root root 0 Jan 1 2000 subsystem -> ../../../../../../bus/i2c
-rw-r--r-- 1 root root 4096 Jan 1 2000 uevent
Thanks,