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

Some problem when using the boa

Altera_Forum
Honored Contributor II
945 Views

Hi: 

I have build uClinux system on the board (stratix 1s10), and wanna complete some remote-control via CGI function on boa. For example, control the LED from webbrowser. 

First I create linux appliction project 'ledcontrol',compile ledcontrol.c to ledcontrol.exe with no problem. 

Copy ledcontrol.exe to the httpd/cgi-bin/ folder.Then build this filesystem and upload. 

And create a new index.html 

When i call this address: http://target_board_ip/cgi-bin/ledcontrol.cgi (http://target_board_ip/cgi-bin/ledcontrol.cgi

there are no show page, no response to LED. 

When i test from nios2-terminal,show info below: 

# cd httpd/cgi-bin# ls helloworld  led_test    ledcontrol# ./ledcontrol HTTP/1.0 200 OK Content-type: text/html <html><title> NIOS II CGI testings </title> No Content-Length was sent with the POST request. </html> 

I have searching the concern topic about boa and cgi in this board,like "How to use boa?" by sunclever. 

I have done the same way, but can&#39;t let the cgi working right, no response to LED neither. 

Can anyone give me some help~Thank you! 

 

Best Regards! 

Justin
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
255 Views

Hi~! 

 

Anyone here..? I need your help, this problem hasn&#39;t been fixed.http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif  

 

Thank you very much~! 

 

Best Regards! 

Justin
0 Kudos
Altera_Forum
Honored Contributor II
255 Views

I&#39;ll give it a try today and see what happens. I&#39;ll let you know by today or tommorow.

0 Kudos
Altera_Forum
Honored Contributor II
255 Views

Try taking a look at the following thread: 

 

boa cgi support (http://www.niosforum.com/forum/index.php?act=st&f=18&t=1505&hl=cgi)
0 Kudos
Reply