Forum Discussion
Altera_Forum
Honored Contributor
21 years agoi2c bus not work i think ?
I have add the I2C opencores component in SOPC builder, add the logic in quartus and assigned the pins. copiled the kernell en filesystem. i have started the i2cset I get this on my consol...
Altera_Forum
Honored Contributor
21 years agosorry, it is me who do not understand. The driver assumes there are 2 i2c controllers, (this is bad). Can you go to delete one from the source? It is in file drivers/i2c/busses/i2c-oc.c. Just remove all occurences of oc_xxxx_1 (oc_data_1, oc_ops_1, oc_hw_1, etc) and code accessing them.