Forum Discussion
Altera_Forum
Honored Contributor
21 years agodoes uclinux1.3 support usb?
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif does uclinux1.3 support usb??? if can ,how to choice settings when configuring ??
Altera_Forum
Honored Contributor
21 years agoJust to be more explicit about what wentao said earlier (in a different thread), if you want to get usb mass storage support working (usb-storage), you'll need to create a DMA zone in your memory setup. Modify arch/nios2nommu/mm/init.c, toward the bottom of the paging_init() function. I changed the zone creations to look like:
zones_size = (4*1024*1024) >> PAGE_SHIFT;
zones_size = ((end_mem - PAGE_OFFSET) >> PAGE_SHIFT) - zones_size; usb mass storage support started actually creating the SCSI devices once I did that.