This is the mail archive of the ecos-discuss@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]

tftp server stack problems


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


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