Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

usb-storage

Altera_Forum
Contributeur émérite II
1 140 Visites

I've got the sl811-hcd driver from 2.6.10 working (apparently). I've also got usb-storage compiled into the kernel. Is there anything else, besides scsi disk support, which I need to do to get usb mass storage working? Is it known to work at all? 

 

thanks.
0 Compliments
3 Réponses
Altera_Forum
Contributeur émérite II
469 Visites

nothing else is needed. Just give some DMA memory to your system.

0 Compliments
Altera_Forum
Contributeur émérite II
469 Visites

DMA memory? But the sl811-hcd doesn't use DMA. 

 

Is how to give DMA memory to the system documented somewhere that I missed? 

 

Thanks, this is really exciting if I'm just missing something obvious.
0 Compliments
Altera_Forum
Contributeur émérite II
469 Visites

The scsi driver uses DMA buffer, it is written that way (it is not used by the USB storage only). This does not mean it will actually use DMA. All you need to do is to make sure DMA buffer allocations won't fail. You can give DMA-able RAM to ZONE_DMA in file arch/nios2nommu/mm/init.c. Refer to a previous thread for more information. 

uclinux .data segment in sdram? (http://www.niosforum.com/forum/index.php?act=st&f=18&t=1339)
0 Compliments
Répondre