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

boa web server display disorder!

Altera_Forum
Honored Contributor II
1,825 Views

Hi, hippo and everyone! 

I follow the hippo's uclinuxdist guild to running boa web server on my DE2, when kernel is boot, I can get my index.html through IE, but it displays disordered. Ihave try to solve this question by myself, but after two weeks, it's also display disordered. 

Now I don't know where is the problem? 

1. Maybe the boa have some problems or bugs itself? 

2. my kernel have some problems ,maybe less some choices? 

Could anybody can help me, or give me some advise to solve it! Thanks! 

 

More, if my zImage is bigger, many apps will not work, and the NIOS SDK shell will stop or out of control, and console show oom-killer and out of memory. So I think nois2 like DE2 with small memory is not suit for embeded system. Bynow, I didn't search any perfect solvtion for this problem. If anybody have some good idea ,please share! very thanks!  

 

thees are my boot information and the IE information. 

uClinux/Nios II 

Altera Nios II support © 2004 Microtronix Datacom Ltd. 

 

setup_arch: No persistant network settings signature at 008F0000 

Built 1 zonelists 

Kernel command line: 

PID hash table entries: 64 (order: 6, 1024 bytes) 

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) 

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) 

Memory available: 6140k/8192k RAM, 0k/0k ROM (1240k kernel code, 718k data) 

Mount-cache hash table entries: 512 

NET: Registered protocol family 16 

io scheduler noop registered 

io scheduler deadline registered (default) 

Serial: JTAG UART driver $Revision: 1.4 $ 

ttyJ0 at MMIO 0x81004000 (irq = 1) is a jtag_uart 

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize 

dmfe_probe:eth0, 50000 Khz Nios 

<DM9000> eth0 I/O: 80900090, VID: 90000a46 

ADDR: 00:07:ed:00:00:00 

dmfe_probe:eth1, 50000 Khz Nios 

NET: Registered protocol family 2 

IP route cache hash table entries: 128 (order: -3, 512 bytes) 

TCP established hash table entries: 512 (order: -1, 2048 bytes) 

TCP bind hash table entries: 512 (order: -1, 2048 bytes) 

TCP: Hash tables configured (established 512 bind 512) 

TCP reno registered 

TCP bic registered 

NET: Registered protocol family 1 

NET: Registered protocol family 17 

Freeing unused kernel memory: 484k freed (0x164000 - 0x1dc000) 

init started: BusyBox v1.2.0-pre0 (2006.04.26-14:48+0000) multi-call binary 

 

 

BusyBox v1.2.0-pre0 (2006.04.26-14:48+0000) Built-in shell (msh) 

Enter &#39;help&#39; for a list of built-in commands. 

# boa -c /home/& 

30#  

 

http://192.168.0.131/ (http://192.168.0.131/

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif 4@D€:`:&#33869;?4??h?@B€;:&#33869;?:?4€€&€?4€€?? ;@€?4@#@:h4$`@554$`@55&#40403;?€&#23593;?@hD€&#58408;?@&#36501;D€€?@H??€&#36668;@4@&#30135;:?:???o!:?€?&#32907;&#33470;2€?8:??p€??€?%:??p€D€€@&#32907;?&#25794;:(&#57991;B:? A??&#58154;9€?:?H:?@:?8:h;:?&#21222;:&#33786;.@?€&#25933;?http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif ????&#32907;@?€?&#20769;8@?:??pD€€?&#38253;:??p?&#57966;€Bk&#32569;j€Dj $€&#20468;=p]k:??p??&#21245;€&#36271;?@.&€&#21245;? &#34292; ?€ ?:0TB:p@@&#20371;.!&#21178;} .€?€&#27213;.!E&#32430;:?:?8:??p?&@?€"?:??p@:0:?@L€&??0?&#26473;&#21157;6?€€?€0?€€??&#37226;A+&#25289;€?D?€&#23593;?(.!@:??€&#34416;.:?&#32408;[:?&#32408;[?" ?6?? ?,.!??/.!??2.!??5.!??7.!O @&#20268;} ??!&#32413; ?€&#32518;d??@&#20371;D.!&#32413; ??@&#20371;Q.!&#32413; ??X.!&#32413; ???&#20769;:? @??????(?@dn)"&#32907; @?!?€??€&#21129;:???:?€&#34416;:??€:?:???&#24705;&#33091;:?:?&#22401;&#36583;&€&#21184;€???&#32350;?€& €:?"&#32907;!? @?€?&#20769;?@?€?#&#25794;:(??&#29387;@in)€?&#34174;@&#26864;&6?:??@?€&#65281;&#38253;:?4€&#25597;1:p?:? ?http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif ??€:&#30281;:&#33406; ?8:???????&#20324;@kn)&#21129;:???:?€&#34416;:???:?:???&#27070;&#33091;:?:?&#22401;&#36583;?&????€?€&#37327;0:??@&#65281;:?€???:&#22295;????€?@??:&#30332;:??&#32753; 4€??http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif &#21145;?????p@:? ?p.!@? €?&#32907; &#20769;€&#58591;?
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
956 Views

the same problem to me,may be some bugs in boa ,could anyone help us! thanks

0 Kudos
Altera_Forum
Honored Contributor II
956 Views

Today, we have analyse the boa-new source code, and found that the number of data from index.html is corect, but the data is disordered. So maybe the fopen function in boa-new have some bugs.

0 Kudos
Altera_Forum
Honored Contributor II
956 Views

dear all, 

could you help us!!!!thanks
0 Kudos
Altera_Forum
Honored Contributor II
956 Views

you can use goahead websever .

0 Kudos
Altera_Forum
Honored Contributor II
956 Views

i tried boa using the Binarytoolchain + UClinuxDist guide and got the same problem as urs. i den tried boa using the BuildrootGuide n it works. now i&#39;m juz stuck with the cgi. 

 

as for goahead, i tried but oom-killer took place.
0 Kudos
Altera_Forum
Honored Contributor II
956 Views

 

--- Quote Start ---  

originally posted by jwlam@Aug 10 2006, 08:08 AM 

i tried boa using the binarytoolchain + uclinuxdist guide and got the same problem as urs. i den tried boa using the buildrootguide n it works. now i&#39;m juz stuck with the cgi. 

 

as for goahead, i tried but oom-killer took place. 

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

--- quote end ---  

 

--- Quote End ---  

 

 

 

you can reduce the kernel size ,and use u-boot to boot your kernel from  

 

CFI,EPCS,or SD-card.
0 Kudos
Altera_Forum
Honored Contributor II
956 Views

 

--- Quote Start ---  

originally posted by lastmandream+aug 9 2006, 10:02 pm--><div class='quotetop'>quote (lastmandream @ aug 9 2006, 10:02 pm)</div> 

--- quote start ---  

<!--quotebegin-jwlam@Aug 10 2006, 08:08 AM 

i tried boa using the binarytoolchain + uclinuxdist guide and got the same problem as urs. i den tried boa using the buildrootguide n it works. now i&#39;m juz stuck with the cgi. 

 

as for goahead, i tried but oom-killer took place. 

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

--- quote end ---  

 

--- Quote End ---  

 

 

 

you can reduce the kernel size ,and use u-boot to boot your kernel from  

 

CFI,EPCS,or SD-card. 

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

[/b] 

--- Quote End ---  

 

 

 

DEAR lastmandream, 

 

could you tell me how to use the goahead websever? thank you very much!!!
0 Kudos
Altera_Forum
Honored Contributor II
956 Views

 

--- Quote Start ---  

originally posted by lastmandream+aug 10 2006, 11:02 am--><div class='quotetop'>quote (lastmandream @ aug 10 2006, 11:02 am)</div> 

--- quote start ---  

<!--quotebegin-jwlam@Aug 10 2006, 08:08 AM 

i tried boa using the binarytoolchain + uclinuxdist guide and got the same problem as urs. i den tried boa using the buildrootguide n it works. now i&#39;m juz stuck with the cgi. 

 

as for goahead, i tried but oom-killer took place. 

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

--- quote end ---  

 

--- Quote End ---  

 

 

 

you can reduce the kernel size ,and use u-boot to boot your kernel from  

 

CFI,EPCS,or SD-card. 

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

[/b] 

--- Quote End ---  

 

 

lastmandream, i was thinking of similar idea... putting my zImage on usb pendrive n boot from there. but i dunno how. do u have any reference or guide on tat? thx.
0 Kudos
Reply