Forum Discussion
Altera_Forum
Honored Contributor
21 years agousb-storage
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.3 Replies
- Altera_Forum
Honored Contributor
nothing else is needed. Just give some DMA memory to your system.
- Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
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)