DE1-SoC/Linux - Access to GPIO, I2C, ADC, etc


Greetings forum,

Somewhat of a noob when it comes to Linux/FPGA.

I have a DE1-SoC running the Ubuntu installation found at the Terasic website. The goal for my project is to interface a DAC (LTC2607) with the 2x7 LTC header port, as well as interface with the onboard ADC.

It is my understanding that the installation of Ubuntu found at the Terasic website has all the pre-loaded drivers to access the FPGA hardware, so I compiled the increment_led.c example (, but when I ran the program, the only thing that happened was my screen went black and I had to restart my computer.

Do I need some additional kernel configurations, like the altera-opensource linux-socfpga from Github ( If I do, what additional packages to I have to install in order to interface with the GPIO, I2c and SPI/ADC controllers?

It is my understanding that the above (altera-opensource/linux-socfpga) makes it so that you don’t need to hard code any kernel drivers to activate/access the FPGA peripherals.

Thank you for your help.