Hi,
Thank you, Hippo. By selecting 'Blackfin build options --> Cull unused ELF shared libraries --> no', I was able to add the libraries 'libnss***.so' to /lib. Now 'inetd' and 'ftpd' are working well. But it seems that 'getenv()' that is used in 'ts_calibrate', will not work well yet.
I haven't found the cause out and understood whether this is generated by libraries or not.
I have another question. In 'nios2-linux/linux-2.6/arch/nios2/mm/dma-noncoherent.c', the function 'dma_alloc_coherent()' uses a macro 'UNCAC_ADDR()'. This macro transfers the input address like
# define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE)
but, UNCAC_BASE is set
# define UNCAC_BASE 0xa0000000
in 'spaces.h'. Why? This memory space has a special meaning?