From: Ayman M. El-Khashab Date: Thu, 18 Sep 2008 11:14:19 -0500 Subject: [U-Boot] canyonlands u-boot ibm-iic question Message-ID: <20080918161415.GB14795@crust.elkhashab.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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