[ECOS] web simple monitor (httpd) compiling error

beacon88 ashralf_6@yahoo.com
Mon Mar 5 12:55:00 GMT 2012




Sergei Gavrikov-4 wrote:
> 
> On Sun, 4 Mar 2012, beacon88 wrote:
> 
>> i tested using the gdb and here ae the output.
>> 
>> (gdb) load
>> Loading section .rom_vectors, size 0x40 lma 0x81010000
>> Loading section .text, size 0x41664 lma 0x81010040
>> Loading section .rodata, size 0x318c lma 0x810516a4
>> Loading section .data, size 0x1a14 lma 0x81054830
>> Start address 0x81010040, load size 287300
>> Transfer rate: 922 bytes/sec, 764 bytes/write.
>> (gdb) run
>> The "remote" target does not support "run".  Try "help target" or
>> "continue".
>> (gdb) continue
>> Continuing.
>> [cyg_net_init] Init: mbinit(0x00000000)
>> [cyg_net_init] Init: cyg_net_init_devs(0x00000000)
>> Init device 'dm9000_eth0'
>> [cyg_net_init] Init: loopattach(0x00000000)
>> [cyg_net_init] Init: ifinit(0x00000000)
>> [cyg_net_init] Init: domaininit(0x00000000)
>> [cyg_net_init] Init: cyg_net_add_domain(0x81055e90)
>> New domain internet at 0x00000000
>> [cyg_net_init] Init: cyg_net_add_domain(0x810556ac)
>> New domain route at 0x00000000
>> [cyg_net_init] Init: call_route_init(0x00000000)
>> [cyg_net_init] Done
>> PASS:<httpd test finished>
>> EXIT:<done>
>> 
>> i'm a beginner into this field. but i can't open the webpage at
>> 192.168.2.30/monitor/index/html. i'm not quite understand. can you
>> explain it to me? your help is really appreciated and thank you very
>> much. 
> 
> Test life (= server life) is approx 1 minute, refer to httpd1.c source,
> but the above looks like your network is not configured properly.
> 
> As your target has 1 NIC you have to set a static IP address for RedBoot
> and setup  BOOTP/DHCP server on your test network (it is recommended way
> to run eCos tests on "1-NIC" hardware). But first you have to pass a
> couple of tests with RedBoot (you have to be able ping to/from the
> target, telnet to the target, etc.)
> 
> About network setup refer to these sections (clue only)
> 
>  
> http://ecos.sourceware.org/docs-latest/ref/net-common-configuring-ip-addresses.html
>  
> http://ecos.sourceware.org/docs-latest/redboot/configuring-the-redboot-environment.html
> 
> But before I would suggest you to begin from this scratch
> 
>   http://ecos.sourceware.org/docs.html
> 
> Sergei
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 

I have configure the setting for eth0 manually and disable BOOTP and DHCP
my board and host are connected to router.

here are my settings:

ip board:192.168.2.30
ip gateway: 192.168.2.1
subnet: 255.255.255.0
ip server: 192.168.2.3
ip broadcast: 192.168.2.255

ip host: 192.168.2.3
gateway: 255.255.255.0
subnet: 255.255.255.0

I set these settings on redboot as well in the configuration file (ecc)
before buidling the tree. 
I tried ping from board to host using redboot and vice versa using terminal
and all is working. 

I tried to load the httpd1 output file using tftp via telnet. but nothing
happens after the go command. 
-- 
View this message in context: http://old.nabble.com/web-simple-monitor-%28httpd%29-compiling-error-tp33429784p33443249.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list