This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001344

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1384|0                           |1
        is obsolete|                            |

--- Comment #14 from Ilija Kocho <ilijak@siva.com.mk> 2012-05-13 11:49:36 BST ---
Created an attachment (id=1754)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1754)
Reduce stack usage of nc_test_slave (MAX_BUF set to 12KiB)

(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > (In reply to comment #8)
> > > > (In reply to comment #6)
> > > > > Thus, no comments were here anymore. I would like commit the
> > > > > patch.  Jlija, can you provide the ChangeLog's record, please.
> > > > 
> > > > Here it is Sergei, thank you. I was waiting if somebody tries on
> > > > other architecture. In meantime we tested on X86 architecture -
> > > > works.
> > > 
> > > Ilija, thank you (I've got the latest).
> > > 
> > > I would try to test the modified test on some ARM7TDMI target (if you
> > > did not try the same) and may be on Linux synthetic.
> > 
> > Bad news. The stacks are too small to run the test on Linux synthetic
> > target (I've got 'Segmentation fault' with the patched version). It
> > seems we need investigate more time to get proper values for 'synth'
> > target and use another set of the values for CYGPKG_HAL_SYNTH.
> > 
> > Sergei

Here I am again after long time. It seem that buffers were too short 8KiB and
messages can be up to 10KiB. Now I fixed this and it is stable. Unfortunately I
can't test on synthetic target since newer Linux kernel (3) doesn't seem to
support ethertap (any suggestion?).
Sergei do u have some time to test on synthetic target pse?

Note: The same bug with MAX_BUF seem to be present in BSD test too. I'm going
to open a bug for that.

Ilija

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]