Skip to contentSkip to conversation

canyonlands u-boot ibm-iic question

U-Boot Ayman M. El-Khashab 2 participants 2 messages Sep 18, 2008 – Sep 19, 2008

lore
Share & tools
lore
#0 lore raw

Hopefully this is on topic for this list. I am using the canyonlands with the included u-boot. I've made a change to the kernel so that I can use the iic device (namely added the 460ex to the compatibility list) with a name matching the one in canyonland.dts

It seems to print out when it books Linux, but gives an error as shown here - I am unsure what I need to add to the device tree to get past this point.

ibm-iic 4ef600700.i2c: no index specified
ibm-iic: probe of 4ef600700.i2c failed with error -22 ibm-iic 4ef600800.i2c: no index specified
ibm-iic: probe of 4ef600800.i2c failed with error -22

SEcondly, and I know this is probably not on-topic, How do you access the I2C from userspace? Or how would I read/write the eeprom?

thank

#1 lore raw
Quoted 1 line · Ayman M. El-Khashab

Hopefully this is on topic for this list.

No, its not.

Quoted 4 lines

I am using the canyonlands
with the included u-boot. I've made a change to the kernel so that I can use the iic device (namely added the 460ex to the compatibility list) with a name matching the one in canyonland.dts

This is Linux related. And you already posted to linuxppc-dev, which is the correct list.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================