Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

usb-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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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)