FPGA access in Linux 4.4

Using Zynq Programmable Logic and Xilinx tools to create custom board configurations

Re: FPGA access in Linux 4.4

Postby sebraa » Fri May 13, 2016 1:52 pm

This is great.

Could you please add
Code: Select all
CONFIG_UIO=y
CONFIG_UIO_PDRV=y
CONFIG_UIO_PDRV_GENIRQ=y
CONFIG_UIO_DMEM_GENIRQ=y
to the parallella_defconfig, too?

Otherwise, one still needs to build a custom kernel to do FPGA development.

Also, I personally like CONFIG_IKCONFIG=y and CONFIG_IKCONFIG_PROC=y, so that the current kernel configuration appears in /proc/config.gz.

On the Parallella, this is especially useful, since the kernel is not booted from the root device, thus /boot/config-$(uname -r) does not exist.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

Re: FPGA access in Linux 4.4

Postby kirill » Sat May 14, 2016 10:08 am

Thanks Ola, having xdevcfg included in the official kernel is very helpful. I see you also fixed device tree to enable fpga clocks, I was going to ask/investigate why they din't work for me, now I don't have to.

@sebraa one can build extra modules without recompiling the kernel, although it is often a bit tricky to get right. So yeah it would be nice if UIO divers were included in the next release, possibly as modules. And I also agree with sebraa with regard to including access to kernel config from /proc.
kirill
 
Posts: 38
Joined: Mon Sep 28, 2015 7:24 am

Previous

Return to FPGA Design

Who is online

Users browsing this forum: No registered users and 3 guests