[ECOS] tftp server stack problems

Jürgen Lambrecht Jurgen.Lambrecht@tiscali.be
Thu May 25 10:00:00 GMT 2006


Hello,

I use the freeBSD networking stack, but the default stack size for the 
tftp server is wrong:

         cdl_option CYGPKG_NET_TFTPD_THREAD_STACK_SIZE {
             display "Stack size for TFTP threads."
             flavor  data
             default_value (CYGNUM_HAL_STACK_SIZE_TYPICAL+(3*(SEGSIZE+4)))

When I use the configtool, or idem with ecosconfig with scripts, 
CYGNUM_HAL_STACK_SIZE_TYPICAL is always 0!
You can easily try it by taking e.g. the target integrator_arm7 with the 
net package. You will see that CYGPKG_NET_TFTPD_THREAD_STACK_SIZE is 12!!
Or do I do something wrong?

Solution is to set CYGPKG_NET_TFTPD_THREAD_STACK_SIZE manually, 4096 is OK.


Regards,
-- 
Jürgen Lambrecht
Diksmuidse Heerweg 338
8200 Sint-Andries
Tel: +32 (0)50 842901
GSM: +32 (0)476 313389

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