public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] ARM - out of MBUFS - allowing FIQ's in splimp
@ 2000-09-14 16:11 AshCan
  2000-09-15 10:37 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: AshCan @ 2000-09-14 16:11 UTC (permalink / raw)
  To: ecos-discuss

I brought over the latest tcpip code, but did not see any driver code.  Is this right?  

Also, I am having problems making the kernel based on the old version drivers and latest anon-cvs tcpip.  

I brought the tcpip into a new directory called current parallel with v1_0b1 and changed the correspnding line in my ecos.ecc, but the kernel build fails on file drivers/eth/edb7xxx/v1_0b1/src/if_eth7xxx.c.  All kinds of problems with include files, invalid tokens, .... My other ecos.ecc build items point to the v1_0b1 driver directories. 

I will eventually figure this out, but does anyone know what is wrong?

thanks,

Dan Ash

AshCan@aol.com wrote:
> 
> Is it possible this panic condition has been caused by my allowing DAC
FIQ's?
> 
> Are there any other possible reasons for this panic condition?

Which sources are you using? I believe the sources in the net EPK on the
web are susceptible to this, but that this has since be fixed in anonymous
CVS. So if you're not already using anon CVS, try that and see if it makes
a difference.

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

* Re: [ECOS] ARM - out of MBUFS - allowing FIQ's in splimp
  2000-09-14 16:11 [ECOS] ARM - out of MBUFS - allowing FIQ's in splimp AshCan
@ 2000-09-15 10:37 ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2000-09-15 10:37 UTC (permalink / raw)
  To: AshCan; +Cc: ecos-discuss

AshCan@aol.com wrote:
> 
> I brought over the latest tcpip code, but did not see any driver code.  Is this right?

The driver code has now moved into the main eCos sources. You can only use
the latest tcp/ip code in anonymous CVS with the other eCos code also
available from anonymous CVS.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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

* Re: [ECOS] ARM - out of MBUFS - allowing FIQ's in splimp
  2000-09-14 13:39 AshCan
@ 2000-09-14 13:45 ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2000-09-14 13:45 UTC (permalink / raw)
  To: AshCan; +Cc: ecos-discuss

AshCan@aol.com wrote:
> 
> Is it possible this panic condition has been caused by my allowing DAC FIQ's?
> 
> Are there any other possible reasons for this panic condition?

Which sources are you using? I believe the sources in the net EPK on the
web are susceptible to this, but that this has since be fixed in anonymous
CVS. So if you're not already using anon CVS, try that and see if it makes
a difference.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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

* [ECOS] ARM - out of MBUFS - allowing FIQ's in splimp
@ 2000-09-14 13:39 AshCan
  2000-09-14 13:45 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: AshCan @ 2000-09-14 13:39 UTC (permalink / raw)
  To: ecos-discuss

I am using the EDB7212 board and TCP/IP.  I am playing audio and since the EP7212 serial ports only have 8 deep FIFOs, they have to be fed often (half empty FIQ every 100us with a 44.1KHz sampling rate).

Because of this, I was missing DAC FIQ's, thus samples, when doing TCP/IP transmit.  

So I went into HAL_DISABLE_INTERRUPT and made it only disable IRQ's, still allowing FIQ's.  This corrected my DAC problem and no more samples were missing.  The effect was no more glitches in the audio playback.

Now, after hours of a single socket connection, I get "out of MBUFS" panics.  This traces back to the eth_drv_recv() function.  

Is it possible this panic condition has been caused by my allowing DAC FIQ's?

Are there any other possible reasons for this panic condition?

My DAC ISR only uses ARM registers r8-r14.

thanks for any help,

Dan Ash
SonicBox

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

end of thread, other threads:[~2000-09-15 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-14 16:11 [ECOS] ARM - out of MBUFS - allowing FIQ's in splimp AshCan
2000-09-15 10:37 ` Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2000-09-14 13:39 AshCan
2000-09-14 13:45 ` Jonathan Larmour

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