Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

how to Port a LCD to the uClinux

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!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <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.