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

problem compiling complex prog for uClinux

Altera_Forum
Honored Contributor II
1,494 Views

Hello all .. 

 

I'm currently working on my grad project (i will post it here when i finish) 

 

i have 2c35 board 

 

i'm trying to run the mplayer program on uClinux .. 

 

i disabled all unwanted options during the " ./configure " step 

 

also i chose the compiler to be the nios-gcc .. from the buildroot guide provided by Mr. Hippo 

 

when i type : " make" .. it starts compiling.. .. generates an executable file " codec-cfg" ... then it tries to execute it .. of course it makes an error .. as the linux cant execute a nios compiled prog.. 

 

can any1 help me in this problem.. i will be very gratefull.. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif  

 

about my project.. i am doing an IDCT H/W accelerator.. to reach the realtime requirements.. (still need to write its driver) 

 

maybe MPLAyer is too complex .. does any1 have an an alternative idea .. of a simpler code for compiling?? 

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif  

 

Thanks in advance http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif  

 

Yours, 

Tarek
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
545 Views

You should post this on the uclinux forum. 

What do you want to do with your project? 

There are some audio related apps in uCLinux-dist. 

There are some interesting DSP related projects on blackfin uclinux forum. You should have a look at them. Some of them can be ported in Nios2, too. 

 

How did you do ./configure ?
0 Kudos
Altera_Forum
Honored Contributor II
545 Views

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

--- Quote Start ---  

You should post this on the uclinux forum.[/b] 

--- Quote End ---  

 

 

sorry for that ..  

 

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

--- Quote Start ---  

What do you want to do with your project?[/b] 

--- Quote End ---  

 

 

i want to make a portable video player (something like i-pod video) 

 

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

--- Quote Start ---  

There are some audio related apps in uCLinux-dist. 

There are some interesting DSP related projects on blackfin uclinux forum. You should have a look at them. Some of them can be ported in Nios2, too.[/b] 

--- Quote End ---  

 

 

thanks .. ill go c them http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif  

 

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

--- Quote Start ---  

How did you do ./configure ?[/b] 

--- Quote End ---  

 

./configure --disable-mencoder --disable-freetype --disable-fontconfig --disable-fastmemcpy --disable-tv --disable-tv-v4l --disable-tv-v4l2 --disable-edl --disable-network --disable-unrarlib --disable-sortsub --disable-ftp --disable-sighandler --disable-mmx --disable-mmx2 --disable-3dnow --disable-3dnowex --disable-sse --disable-sse2 --cc=nios2-linux-uclibc-gcc --disable-gcc-checking --disable-win32 --disable-dshow --disable-qtx --disable-xanim --disable-real 

 

... isnt that correct ? 

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif
0 Kudos
Altera_Forum
Honored Contributor II
545 Views

EDITED , removed configure option. 

 

video player, is a BIG project !! 

First, you (maybe) should develope the frame buffer device for your display , YUV or RGB?. You should try to display pictures or draw something.
0 Kudos
Altera_Forum
Honored Contributor II
545 Views

 

--- Quote Start ---  

originally posted by hippo@Jun 23 2006, 04:59 AM 

edited , removed configure option. 

 

video player, is a big project !! 

first, you (maybe) should develope the frame buffer device for your display  , yuv or rgb?. you should try to display pictures or draw something. 

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

--- quote end ---  

 

--- Quote End ---  

 

 

What is meant by your first line ?? 

 

anyway .. the VGA interface is almost done .. 

 

video buffering is on the way .. still searching for clues.. 

 

the big problem now is ::: I CANT COMPILE ! 

 

pls help .
0 Kudos
Altera_Forum
Honored Contributor II
545 Views

What happened with compile? 

Did you add the path of your cross compiler to $PATH env?
0 Kudos
Reply