- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working to bringup altera i2c linux driver on our custom fpga board based on agilex.
Following are my bsp details
linux 5.15.50
uboot v2022.04
Yocto : Kirkstone
I am able to program the fpga bitstream (with i2c ip) and able to access the slaves address through lw hps to fpga bridge from hps from userspace.
I followed the below reference and enabled I2C_ALTERA in the defconfig.
I am neither seeing i2c-altera driver loaded nor fpga_bridge sysfs entries are populated.
Kindly provide your support.
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you please share the below-
u-boot.dtsi
boot log
device-tree.dtsi
Regards
Tiwari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please update on my previous reply.
Regards
Tiwari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tiwari,
Please find the requested device tree files and boot logs attached.
I took different approach and I was able to get the driver loaded with the device trees attached.
But, the altera i2c linux driver complains with the following error
[008674] altera-i2c f9000080.i2c: Altera SoftIP I2C Probe Complete
[ 6.469673] altera-i2c f9000080.i2c: Core Status not IDLE...
[ 6.757649] altera-i2c f9000080.i2c: Core Status not IDLE...
I am unable to probe the hardware at the moment and hence unable to check the SDA & SCL line status.
Also, register address probed in linux-socfpga-lts/drivers/i2c/busses/i2c-altera.c are not aligned with the one mentioned in Embedded Peripherals IP user guide.
What am I missing here?
Thanks
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you manage to resolve the issue in the end?
I am currently encountering the same problem as you:
"altera-i2c ff2002c0.i2c: Core Status not IDLE..."

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page