public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Kinetis TWR-K60N512-KIT networking support‏
@ 2011-06-27 11:07 jjp jjp
  2011-07-02 10:42 ` Ilija Kocho
  0 siblings, 1 reply; 4+ messages in thread
From: jjp jjp @ 2011-06-27 11:07 UTC (permalink / raw)
  To: ecos-discuss

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


Hi list,
I am trying to add ethernet support on Kinetis TWR.
I add my enet package in ecos repository and try to add lwip support.
Code compiles but in generated elf, there is no reference to enet driver functions.
I'm using the lwip_eth template.
Configuration file is attached.
Can you point me a sample code to test my ethernet driver?
Thanks, regards.
 
Ps : Ilija SRAM code work properly for me with your latest patchs. Great job!
 		 	   		   		 	   		  

[-- Attachment #2: ecos.ecc.tar.gz --]
[-- Type: application/gzip, Size: 68285 bytes --]

[-- 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

* Re: [ECOS] Kinetis TWR-K60N512-KIT networking support‏
  2011-06-27 11:07 [ECOS] Kinetis TWR-K60N512-KIT networking support‏ jjp jjp
@ 2011-07-02 10:42 ` Ilija Kocho
  2011-07-06 13:17   ` jjp jjp
  0 siblings, 1 reply; 4+ messages in thread
From: Ilija Kocho @ 2011-07-02 10:42 UTC (permalink / raw)
  To: ecos-discuss

On 27.06.2011 13:06, jjp jjp wrote:
> Hi list,
> I am trying to add ethernet support on Kinetis TWR.
> I add my enet package in ecos repository and try to add lwip support.
> Code compiles but in generated elf, there is no reference to enet driver functions.

If they are not referenced by code they may have been ommitted by ld.
> I'm using the lwip_eth template.
> Configuration file is attached.
> Can you point me a sample code to test my ethernet driver?

There seem to be no ready made test suite dedicated to Ethernet packet
drivers in eCos tree. You can make use of use lwIP tests. Probably
simple mode would be better for start, I am happy with httpd_simple.c
> Thanks, regards.
>  
> Ps : Ilija SRAM code work properly for me with your latest patchs. Great job!
>  		 	   		   		 	   		  
Thanks. I  would appreciate if you have some remarks and/or suggestions.

Ilija

-- 
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

* RE: [ECOS] Kinetis TWR-K60N512-KIT networking support‏
  2011-07-02 10:42 ` Ilija Kocho
@ 2011-07-06 13:17   ` jjp jjp
  2011-07-07  7:54     ` Ilija Kocho
  0 siblings, 1 reply; 4+ messages in thread
From: jjp jjp @ 2011-07-06 13:17 UTC (permalink / raw)
  To: ilijak, ecos-discuss


Hi,
Do you plan to make a MII driver separately?

> Date: Sat, 2 Jul 2011 12:42:29 +0200
> From: ilijak@siva.com.mk
> To: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Kinetis TWR-K60N512-KIT networking supportأ¾
> 
> On 27.06.2011 13:06, jjp jjp wrote:
> > Hi list,
> > I am trying to add ethernet support on Kinetis TWR.
> > I add my enet package in ecos repository and try to add lwip support.
> > Code compiles but in generated elf, there is no reference to enet driver functions.
> 
> If they are not referenced by code they may have been ommitted by ld.
> > I'm using the lwip_eth template.
> > Configuration file is attached.
> > Can you point me a sample code to test my ethernet driver?
> 
> There seem to be no ready made test suite dedicated to Ethernet packet
> drivers in eCos tree. You can make use of use lwIP tests. Probably
> simple mode would be better for start, I am happy with httpd_simple.c
> > Thanks, regards.
> >  
> > Ps : Ilija SRAM code work properly for me with your latest patchs. Great job!
> >  		 	   		   		 	   		  
> Thanks. I  would appreciate if you have some remarks and/or suggestions.
> 
> Ilija
> 
> -- 
> 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

* Re: [ECOS] Kinetis TWR-K60N512-KIT networking support‏
  2011-07-06 13:17   ` jjp jjp
@ 2011-07-07  7:54     ` Ilija Kocho
  0 siblings, 0 replies; 4+ messages in thread
From: Ilija Kocho @ 2011-07-07  7:54 UTC (permalink / raw)
  To: ecos-discuss

On 06.07.2011 15:17, jjp jjp wrote:
> Hi,
> Do you plan to make a MII driver separately?

There are separate drivers for PHY and Ethernet (MAC).
eCos already has diriver for Micrel PHY.

Ethernet needs MII in order to communicate with PHY, and these functions
are part of Ethenet driver.

Hope this helps.
Ilija

>> Date: Sat, 2 Jul 2011 12:42:29 +0200
>> From: ilijak@siva.com.mk
>> To: ecos-discuss@ecos.sourceware.org
>> Subject: Re: [ECOS] Kinetis TWR-K60N512-KIT networking supportأ¾
>>
>> On 27.06.2011 13:06, jjp jjp wrote:
>>> Hi list,
>>> I am trying to add ethernet support on Kinetis TWR.
>>> I add my enet package in ecos repository and try to add lwip support.
>>> Code compiles but in generated elf, there is no reference to enet driver functions.
>> If they are not referenced by code they may have been ommitted by ld.
>>> I'm using the lwip_eth template.
>>> Configuration file is attached.
>>> Can you point me a sample code to test my ethernet driver?
>> There seem to be no ready made test suite dedicated to Ethernet packet
>> drivers in eCos tree. You can make use of use lwIP tests. Probably
>> simple mode would be better for start, I am happy with httpd_simple.c
>>> Thanks, regards.
>>>  
>>> Ps : Ilija SRAM code work properly for me with your latest patchs. Great job!
>>>  		 	   		   		 	   		  
>> Thanks. I  would appreciate if you have some remarks and/or suggestions.
>>
>> Ilija
>>
>> -- 
>> 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

end of thread, other threads:[~2011-07-07  7:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 11:07 [ECOS] Kinetis TWR-K60N512-KIT networking support‏ jjp jjp
2011-07-02 10:42 ` Ilija Kocho
2011-07-06 13:17   ` jjp jjp
2011-07-07  7:54     ` Ilija Kocho

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).