Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Driver VIP Frame reader

Altera_Forum
Honored Contributor II
1,189 Views

Hello, 

 

First of all I want to say thanks to all the help I got on this forum. Now it's time I can make a contribution myself. 

Today I succesfully modified the altfb.c driver for use with the VIP frame reader. This driver is a combination of the old altfb.c driver and the one that can be found on the NIOS Wiki. The features are: 

 

- supports 8-bit per color plane 

- The Frame Reader must be connected to the DDR SDRAM (not to SSRAM like the version of the neek_linux_ref_des_mmc_spi design) This way bigger framebuffers are possible 

 

- In the future support for the VIP alpha blender will also be written. This way the user can combine the visualization of input video and a framebuffer from uClinux. 

 

I want to add a few questions because I'm not a real specialist in uClinux (yet) :rolleyes: 

 

- I want to ask hippo or someone to chek the current version before I combine it with the old altfb.c. May be some things that can be left out... 

- Is it necessairy to write a tutorial on the nios wiki on how to use it (I have a login for the wiki as well)? I had already the intention to write a tutorial on the PS2 sopc module (university program) on how to implement it because it took me some time before it worked properly 

- Another real stupid question, I want to safe my current .config file, but it only seems to contain the options of the first menu (not the specific kernel and app settings). Do I need to safe other files as well? (I must confess I didn't had the time yet to really investigate in this problem, so just a link or a hint is welcome) 

 

 

The design was tested on a NEEK board and for the enthousiasts I will add the sof and kernel as an attachment and of course also my altfb.c 

 

 

I hope some can use it...  

 

Best, 

 

 

Hans
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
321 Views

Hi, i'm trying to implement it on my DE2-115. 

 

Do you still have your sopc file? 

 

Thanks in advance, Miago
0 Kudos
Altera_Forum
Honored Contributor II
321 Views

Dear Miago, 

 

I have some good and some bad news for you. Let's start with the bad news to end it as quickly as possible:  

- It's been more than a year since I've used the neek. I don't have the software installed anymore. I'm working with ARM11 at the moment, because of the faster CPU speeds... 

- Although I never throw away older projects, so I still have the project somewhere around here and I think I found it, but I'm not sure... It's available in the attachment. 

 

I hope this is the one you need because otherwise it could be one of the dozens of projects still on my computer. I must also confess that's been a long time ago and that some in detail feedback will be impossible :oops:. But I think the project contains everything you need. 

 

Let me know if any problems appear. 

 

Best 

 

Hans
0 Kudos
Altera_Forum
Honored Contributor II
321 Views

Hey, thank you very much!  

 

after 2 weeks fighting with my LCD I eventually found a way to integrate it in my uClinux. 

 

Your versoin of altfb.c (altfb_modified.txt) helped very much and gave me hope :) 

 

Grüsse, Miago
0 Kudos
Altera_Forum
Honored Contributor II
321 Views

Miago 

 

Glad to hear someone can use my contribution. Concerning the adaptation for use with the alpha blender, I fear that the idea is postponed into 'the very far' ;-).  

 

Regards, 

 

Hans
0 Kudos
Reply