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
Honored Contributor II
1,047 Views

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 Kudos
3 Replies
Altera_Forum
Honored Contributor II
376 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
376 Views

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 Kudos
Altera_Forum
Honored Contributor II
376 Views

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