- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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't let the cgi working right, no response to LED neither. Can anyone give me some help~Thank you! Best Regards! Justin
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi~!
Anyone here..? I need your help, this problem hasn't been fixed.http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Thank you very much~! Best Regards! Justin- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll give it a try today and see what happens. I'll let you know by today or tommorow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page