public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Enable Network Support for Hitachi Sh-7729
@ 2004-04-21 11:05 Aniket S Joshi
  0 siblings, 0 replies; 4+ messages in thread
From: Aniket S Joshi @ 2004-04-21 11:05 UTC (permalink / raw)
  To: klawson; +Cc: ecos-discuss

[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]

Hi Kelvin,

Thanks for the valuable inforamation. Now we are able to enable "eth0" option in  configuration tool & able to set static IP address for application.
But still not able to ping the h/w from PC
pls find attached gdb o/p file.

We observed following things today.
If we power on the system,  before starting serial application for download we can ping the H/W from PC
but after establising the serial communication for application download ping stops......

what changes / initialisation parameters I have to set in my application program OR configuration settings to start ethernet support?
Pls guide us

Thanks in Advance


Aniket Joshi




>>> Kelvin Lawson <klawson@ad-holdings.co.uk> 04/19/04 07:38PM >>>
> Thanks for the information. Now I am able to compile project succesfully. But netowrk  (ping command) is still not working.
> 
> Condition is as follows:
> I want to enable the network mannually. I do not have DHCP/BOOTP server. I have fixed Static IP address.
> using Sh7729 H/W & Pachage = net i am able to build configuration succesfully. But in configration application "eth0", "eth1" settings are gray (Disabled). I want to enable network for eth0
> Which option should I change to enable these settings?

Follow the eth0 sections in your .ecc file. As I understand it, the 
"Requires" or "ActiveIf" sections will tell you what you have to do to 
make the eth0 option available.

Kelvin.



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



[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 2761 bytes --]

ADMIN@JOSHI /ecos-c/ecos-work/MDM
$ sh-elf-gdb -nw a.out
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=sh-elf"...
(gdb) set remotebaud 38400
(gdb) target remote com1
Remote debugging using com1
0x8000a13e in ?? ()
(gdb) load
Loading section .vectors, size 0x890 lma 0x8c020000
Loading section .text, size 0x586b0 lma 0x8c020890
Loading section .rodata, size 0x8354 lma 0x8c078f40
Loading section .data, size 0x3b7c lma 0x8c081298
Start address 0x8c020000, load size 413200
Transfer rate: 28496 bits/sec, 449 bytes/write.
(gdb) continue
Continuing.
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'dp83902a_eth0'
DP83902A - static ESA: 08:88:12:34:56:78
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x8c083cb4, next: 0x8c0cdca4
IFP: 0x8c0cdca4, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x8c084744)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x8c084180)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Entering twothreads' cyg_user_start() function
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x0
        secs: 0
       flags: 0x0
       hw_addr: 08:88:12:34:56:78
     client IP: 192.168.174.106
         my IP: 192.168.174.106
     server IP: 192.168.172.55
    gateway IP: 192.168.174.47
  options:
        subnet mask: 255.255.255.0
       IP broadcast: 192.168.174.255
            gateway: 192.168.174.47
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
[eth_drv_ioctl] Warning: Driver can't set multi-cast mode
Initiligation done
Delay com

Get data of Screen no = 4
Print text of Screen no = 4
Screen:19202122 Printed
No data has to print in Screen  no:4

Get data of Screen no = 2
Print text of Screen no = 2
Screen:2 Printed
Screen no :2 Data Printed

Get data of Screen no = 92
Print text of Screen no = 92
Screen:2 Printed
Screen no :92 Data Printed

Get data of Screen no = 93
Print text of Screen no = 93
Screen:2 Printed
Screen no :93 Data Printed

Get data of Screen no = 94
Print text of Screen no = 94
Screen:2 Printed
Screen no :94 Data Printed

Get data of Screen no = 2
Print text of Screen no = 2
Screen:2 Printed
Screen no :2 Data Printed



[-- Attachment #3: Type: text/plain, Size: 148 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Re: Enable Network Support for Hitachi Sh-7729
  2004-04-19 15:38 Aniket S Joshi
@ 2004-04-19 15:42 ` Kelvin Lawson
  0 siblings, 0 replies; 4+ messages in thread
From: Kelvin Lawson @ 2004-04-19 15:42 UTC (permalink / raw)
  To: ecos-discuss

> Thanks for the information. Now I am able to compile project succesfully. But netowrk  (ping command) is still not working.
> 
> Condition is as follows:
> I want to enable the network mannually. I do not have DHCP/BOOTP server. I have fixed Static IP address.
> using Sh7729 H/W & Pachage = net i am able to build configuration succesfully. But in configration application "eth0", "eth1" settings are gray (Disabled). I want to enable network for eth0
> Which option should I change to enable these settings?

Follow the eth0 sections in your .ecc file. As I understand it, the 
"Requires" or "ActiveIf" sections will tell you what you have to do to 
make the eth0 option available.

Kelvin.



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Re: Enable Network Support for Hitachi Sh-7729
@ 2004-04-19 15:38 Aniket S Joshi
  2004-04-19 15:42 ` Kelvin Lawson
  0 siblings, 1 reply; 4+ messages in thread
From: Aniket S Joshi @ 2004-04-19 15:38 UTC (permalink / raw)
  To: klawson; +Cc: ecos-discuss

Hi Kelvin,

Thanks for the information. Now I am able to compile project succesfully. But netowrk  (ping command) is still not working.

Condition is as follows:
I want to enable the network mannually. I do not have DHCP/BOOTP server. I have fixed Static IP address.
using Sh7729 H/W & Pachage = net i am able to build configuration succesfully. But in configration application "eth0", "eth1" settings are gray (Disabled). I want to enable network for eth0
Which option should I change to enable these settings?

Thanks in advance

Aniket

>>> Kelvin Lawson <klawson@ad-holdings.co.uk> 04/19/04 01:51PM >>>
> i am tring to enable network support for my system (ecos 2.0 & H/W SH7729) for that i developed a configuration filr with Hardware Sh77x9 & Package = net. 
> I am able to build the configuration with above h/w & package type.
> I am tring to build the simple printf project with above mentioned configuration , but it is giving error as follows:
> 
> /ecos-c/ecos-work/net_install/lib/libtarget.a<net_bsd_tcpip_ip_icmp.o><bss.cyg_icmpstat+0x0>: in function 'ip_next_mtu': 
> ........129: multiple defination of ' _cyg_icmpstst'
> 
> pls guide me to solve this problem

This is because you have upgraded to a newer version of GCC. Please see 
the following:

http://sources.redhat.com/ml/ecos-discuss/2004-02/msg00383.html 

Basically you have to move icmpstat to a source file, rather than 
declare it (without extern) in a header file. This has been fixed 
already - you can see the solution in CVS.

Kelvin.



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



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ECOS] Re: Enable Network Support for Hitachi Sh-7729
  2004-04-16 15:27 [ECOS] " Aniket S Joshi
@ 2004-04-19 11:48 ` Kelvin Lawson
  0 siblings, 0 replies; 4+ messages in thread
From: Kelvin Lawson @ 2004-04-19 11:48 UTC (permalink / raw)
  To: ecos-discuss

> i am tring to enable network support for my system (ecos 2.0 & H/W SH7729) for that i developed a configuration filr with Hardware Sh77x9 & Package = net. 
> I am able to build the configuration with above h/w & package type.
> I am tring to build the simple printf project with above mentioned configuration , but it is giving error as follows:
> 
> /ecos-c/ecos-work/net_install/lib/libtarget.a<net_bsd_tcpip_ip_icmp.o><bss.cyg_icmpstat+0x0>: in function 'ip_next_mtu': 
> ........129: multiple defination of ' _cyg_icmpstst'
> 
> pls guide me to solve this problem

This is because you have upgraded to a newer version of GCC. Please see 
the following:

http://sources.redhat.com/ml/ecos-discuss/2004-02/msg00383.html

Basically you have to move icmpstat to a source file, rather than 
declare it (without extern) in a header file. This has been fixed 
already - you can see the solution in CVS.

Kelvin.



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-21  5:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 11:05 [ECOS] Re: Enable Network Support for Hitachi Sh-7729 Aniket S Joshi
  -- strict thread matches above, loose matches on Subject: below --
2004-04-19 15:38 Aniket S Joshi
2004-04-19 15:42 ` Kelvin Lawson
2004-04-16 15:27 [ECOS] " Aniket S Joshi
2004-04-19 11:48 ` [ECOS] " Kelvin Lawson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).