Forum Discussion

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

Frame Buffer driver

Hello!

I'm new in uCLinux.

I'm writing a frame buffer driver, but I can't find information about writing drivers for Linux. Please help, where I can find documentation. Somebody wrote such driver?

Is it possible to run Linux and frame buffer from the same sdram?

Thanks!

4 Replies

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

    --- Quote Start ---

    originally posted by nick@Dec 18 2006, 11:31 PM

    is it possible to run linux and frame buffer from the same sdram?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=20095)

    --- quote end ---

    --- Quote End ---

    Yes. If you use Altera&#39;s VGA core, you will surely run Linux and frame buffer from the same sdram.

    You may look at the wiki page, and linux.2.6.x/Documents,

    http://nioswiki.jot.com/wikihome/operating...duleprogarmming (http://nioswiki.jot.com/wikihome/operatingsystems/moduleprogarmming)

    You may find many frame buffer drivers in linux-2.6.x/drivers/video.

    You may use vfb.c as a starting point.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo+dec 18 2006, 09:52 pm--><div class='quotetop'>quote (hippo @ dec 18 2006, 09:52 pm)</div>

    --- quote start ---

    <!--quotebegin-nick@Dec 18 2006, 11:31 PM

    is it possible to run linux and frame buffer from the same sdram?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=20095)

    --- quote end ---

    --- Quote End ---

    Yes. If you use Altera&#39;s VGA core, you will surely run Linux and frame buffer from the same sdram.

    You may look at the wiki page, and linux.2.6.x/Documents,

    http://nioswiki.jot.com/wikihome/operating...duleprogarmming (http://nioswiki.jot.com/wikihome/operatingsystems/moduleprogarmming)

    You may find many frame buffer drivers in linux-2.6.x/drivers/video.

    You may use vfb.c as a starting point.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=20102)</div>

    [/b]

    --- Quote End ---

    Thank you, hippo! What is "Altera&#39;s VGA core" ? I use in my project vga controller from "auto_graphics_referece_defign_v1.4"