- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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, AlexLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi alexlesuper,
In term of VGA, you have to check your pixel clock given to the clocked video output. It have to be link with your screen. Give me your screen resolution and specification and i will return to you the correct settings. I can't help you in Linux term because i'm a hardware designer. I am working with SoCkit too. Have you seen the Vip reference design ? Vip IP are using and multi frame readers are controlled by Lightweight bus.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi alexlesuper, In term of VGA, you have to check your pixel clock given to the clocked video output. It have to be link with your screen. Give me your screen resolution and specification and i will return to you the correct settings. I can't help you in Linux term because i'm a hardware designer. I am working with SoCkit too. Have you seen the Vip reference design ? Vip IP are using and multi frame readers are controlled by Lightweight bus. --- Quote End --- Hi,SOCRY_IN May i ask why after i success run the Vip reference design (SoCKit_VipDemo), my VGA monitor show the "video mode was not supported"? how to fixed this problem? And the board I using is cyclone v soc (SoCkit GO INTEGRATE). thanks for reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re Pang,
In fact, if your monitor show that the video mode is not supported, it's can be explained by three different ways: -> in the clocked video output (Qsys IP) video presets have changed -> the pixel clock given by the PLL have changed; this clock feeds the clocked video output (Qsys IP) -> the command program in the HPS is not running.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Re Pang, In fact, if your monitor show that the video mode is not supported, it's can be explained by three different ways: -> in the clocked video output (Qsys IP) video presets have changed -> the pixel clock given by the PLL have changed; this clock feeds the clocked video output (Qsys IP) -> the command program in the HPS is not running. --- Quote End --- Re SOCRY_IN , Thanks for your reply... Due to i am newbie to those setting things in quartus, i m not able to modify the setting and still fail to display the thing on my vga. After check the description online, just notice that source provided should run at full hd resolution of monitor..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,my friends.where can I get the SoCKit_VipDemo,can you give a URL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The correct URL is on the terasic web site. Search SoCkit and demo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi SOCRY, I'm newbie
I am trying to create Test Pattern Gen -> CVO, then display to VGA port on sockit board. I connected vga_clocked_video_vid_clk(clk_25), // vga_clocked_video.vid_clk vga_clocked_video_vid_data(rgb_data), // .vid_data vga_clocked_video_underflow(), // .underflow vga_clocked_video_vid_datavalid(vid_datavalid), // .vid_datavalid vga_clocked_video_vid_v_sync(v_sync), // .vid_v_sync vga_clocked_video_vid_h_sync(h_sync), // .vid_h_sync vga_clocked_video_vid_f(), // .vid_f vga_clocked_video_vid_h(), // .vid_h vga_clocked_video_vid_v() Then assigned it to VGA pins assign VGA_SYNC_n = 1'b1; assign VGA_R = rgb_data[23:16]; assign VGA_G = rgb_data[15:8]; assign VGA_B = rgb_data[7:0]; assign VGA_BLANK_n = vid_datavalid; assign VGA_CLK = !clk_25; assign VGA_HS = !h_sync; assign VGA_VS = !v_sync; But it still didnt work. Can you tell me where I should reconnect? I would appreciate your help!!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page