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

FrameBuffer problem

Altera_Forum
Honored Contributor II
1,174 Views

hi hippo: 

 

I try to test the FrameBuffer example as your setp,but,the system cann't be  

generated.Could you give me the succuess project which can run the framebuffer! 

 

Thanks!! My EMAIL:li8126@sin.com
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
439 Views

 

--- Quote Start ---  

originally posted by liuxiaoping@Mar 30 2007, 04:12 AM 

hi hippo: 

         

        i try to test the framebuffer example as your setp,but,the system cann't be  

generated.could you give me the succuess project which can run the framebuffer! 

 

thanks!!  my email:li8126@sin.com 

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

--- quote end ---  

 

--- Quote End ---  

 

to hippo 

I try out to test the FrameBuffer example for days,but,there are always some problems,Could you give me your project which can run the framebuffer!So i can find my problem! Thank you very much!!My EMAIL:li8126@sin.com
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

There may be some problem about the ps2 component when i generate the system_0.ptf.and i use the Quartus II 5.0.below is the error: 

 

 

# 2007.04.02 09:42:00 (*) Running Generator Program for VGA_0 

# 2007.04.02 09:42:03 (*) Running Generator Program for ps2_0 

 

 

 

ERROR: 

 

In object &#39;&#39; of class e_port: can&#39;t access `vhdl_record_type&#39; field 

 

known fields are:  

 

_AUTOLOAD_ACCEPT_ALL 

 

__is_inout 

 

_creation_history 

 

_direction 

 

_export 

 

_negated 

 

_never_export 

 

_object_list 

 

_parent_set 

 

_project_set 

 

_ptf_written 

 

_signal_list 

 

comment 

 

copied 

 

declare_one_bit_as_std_logic_vector 

 

default_value 

 

depth 

 

indent 

 

isa_dummy 

 

name 

 

paragraph 

 

trimmed 

 

type 

 

vhdl_declare_only_type 

 

vhdl_default 

 

width 

 

known pointers are:  

 

_parent 

 

_project 

 

keys:  

 

_AUTOLOAD_ACCEPT_ALL 

 

_permitted 

 

_pointers 

 

by the way, this object is a dummy 

 

 

 

Error: Generator program  

 

for module &#39;ps2_0&#39; did NOT run successfully.
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

Where you guys getting this error: 

 

I tried following the instructions from the wiki http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operating...ems/framebuffer

but I ran into this error when trying to run make in the uClinux-dist/ 

 

arch/nios2nommu/drivers/altfb.c: In function `altfb_probe&#39;: 

arch/nios2nommu/drivers/altfb.c:161: error: `na_vga_controller_0&#39; 

undeclared (first use in this function) 

arch/nios2nommu/drivers/altfb.c:161: error: (Each undeclared 

identifier is reported only once 

arch/nios2nommu/drivers/altfb.c:161: error: for each function it 

appears in.) 

make[2]: *** [arch/nios2nommu/drivers/altfb.o] Error 1 

make[1]: *** [arch/nios2nommu/drivers] Error 2
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

Do you have the vga_controller_0 hardware in your SoPC Builder system? The software# def&#39;s are telling you that you need it. The Wiki should tell you where you can find it. If not, a quick search through the forum should yield results. 

 

 

Cheers, and Good luck! 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

Where you guys getting this error: 

 

I tried following the instructions from the wiki http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operating...ems/framebuffer

but I ran into this error when trying to run make in the uClinux-dist/ 

 

fs/buffer.c: In function `__find_get_block_slow&#39;: 

fs/buffer.c:292: warning: long unsigned int format, size_t arg (arg 3) 

LD fs/built-in.o 

CC drivers/char/tty_io.o 

In file included from include/linux/selection.h:11, 

from drivers/char/tty_io.c:103: 

include/linux/vt_buffer.h:18:21: asm/vga.h: No such file or directory 

make[3]: *** [drivers/char/tty_io.o] &#38169;&#35823; 1 

make[2]: *** [drivers/char] &#38169;&#35823; 2 

make[1]: *** [drivers] &#38169;&#35823; 2 

make[1]: Leaving directory `/home/nios/download/uClinux-dist/linux-2.6.x&#39; 

make: *** [linux] &#38169;&#35823; 1
0 Kudos
Altera_Forum
Honored Contributor II
439 Views

 

--- Quote Start ---  

originally posted by feng8126@Apr 2 2007, 07:53 PM 

where you guys getting this error: 

 

i tried following the instructions from the wiki http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operating...ems/framebuffer

but i ran into this error when trying to run make in the uclinux-dist/ 

 

fs/buffer.c: in function `__find_get_block_slow&#39;: 

fs/buffer.c:292: warning: long unsigned int format, size_t arg (arg 3) 

  ld      fs/built-in.o 

  cc      drivers/char/tty_io.o 

in file included from include/linux/selection.h:11, 

                from drivers/char/tty_io.c:103: 

include/linux/vt_buffer.h:18:21: asm/vga.h: no such file or directory 

make[3]: *** [drivers/char/tty_io.o] &#38169;&#35823; 1 

make[2]: *** [drivers/char] &#38169;&#35823; 2 

make[1]: *** [drivers] &#38169;&#35823; 2 

make[1]: leaving directory `/home/nios/download/uclinux-dist/linux-2.6.x&#39; 

make: *** [linux] &#38169;&#35823; 1 

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

--- quote end ---  

 

--- Quote End ---  

 

You must disable these two console, 

 

Device Drivers --> Graphics support ---> 

Console display driver support ---> 

[ ] VGA text console 

< > Framebuffer Console support
0 Kudos
Reply