Altera_Forum
Honored Contributor
11 years agoGetting VGA to work on Arrow SoCKit
Hello,
So I've been trying for a few weeks to make the output of the VGA to work correctly on my Arrow SoCKit but I've been encountering a few headaches. First of all, I am deriving the hardware system from the GHRD designed for Arrow SoCKit (http://www.rocketboards.org/foswiki/documentation/gsrdreleasenotescopyarrowsockitedition#releasecontents). I only added the frame reader and clocked video output similarly to how it was done in the Linaro desktop example (http://www.rocketboards.org/foswiki/projects/sockitlinarolinuxdesktop). I've attached my qsys file to this post. I am currently using the linux kernel 3.9-rel the git repo at rocketboards.org. I have applied a patch that adds the altfb.c driver that interfaces with the video output reader synthesized on the FPGA (https://github.com/altcrauer/linux/commit/553a2e04dab05b948f8e2f47535bdc83db216714). I have my own root file system based on Arch Linux (is this important?). I have hooked up the VGA connector to the screen but I am not getting any image output. The way I try to activate it is by compiling the altfb.c into a kernel module and loading it during runtime by using "insmod" after activating the fpga bridges. I have poked the registers of the frame reader and see that is correctly activated and running however no screen output is created. My question is this: Am I missing anything in terms of linux drivers to be able to output an image on the screen? Am I missing something in terms of the hardware configuration (possibly the PLL frequency for the VGA is wrong)? While I'm on the subject of IP blocks, where is it that I can get the linux drivers for all of these Altera IP blocks? Thanks, Alex