I am trying to get the I2C 0 Peripheral to work on the ZedBoard. I have set up I2C 0 to connect the MIO10 and MIO11 pins to the PMOD header. I then built the linux kernel using the linux-xlnx git source. When in linux any command that is used on the i2c times out.
The following are console outputs:
zynq> i2cdetect -l 0
i2c-0 i2c XILINX I2C at e0004000 I2C adapter
zynq> i2cdetect 0
Error: Can't use SMBus Quick Write command on this bus
zynq> i2cdetect -r 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0 using read byte commands.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
-- xi2cps e0004000.ps7-i2c: timeout waiting on completion
...there is more but i cut it off