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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

how to Port a LCD to the uClinux

Altera_Forum
Honored Contributor II
1,212 Views

dear hippo 

 

 

Now I want to port a lcd to nios2, but I meet some problem . 

First , i have not understand the frmebuffer in nios . beacuse I have write a hardeware of LCD controller .  

 

[NIOS2]--[SRAM]--[LCD Controller] 

[DDR RAM] 

that is my structs in my system . so if i want to draw any graph, I only copy the Date of ddr to SRAM . how to create a frumebuffer in NiosII , I wish you can give me a sample . thanks! 

Sencod I want to know , how to work the framebuffer. how to get the buffer , i think if I get it ,i can show it. 

 

Now I have find some file in /driver/video 

such as SC2410fb.c or .h 

but I meet some problem  

how to share the console with Uart 

I want to use the Uart and the Virtual Terminal . how to config it in menuconfig 

when I select the config  

character->[*]Virtual Terminal  

[*] Support for consile on virtual terminal 

 

I find I can't receive any information though Uart.  

 

Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
474 Views

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

I want to use the Uart and the  Virtual Terminal . how to config it in menuconfig 

when I select the config  

        character->[*]Virtual Terminal  

                [*] Support for consile on virtual terminal 

 

  I find I can&#39;t receive any information though Uart.[/b] 

--- Quote End ---  

 

maybe you should use console on uart alone during developing the framebuffer driver. 

You should check each fb drivers and choose a driver closest to your hardware. 

 

After you have the fb working, you can use microwin ported in uClinux-dist.
0 Kudos
Reply