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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

USB?

Altera_Forum
Honored Contributor II
1,194 Views

I've noticed that the USB drivers section doesn't appear to have any support at all, not even generic stuff like USB mass storage support (the 2.6.9 release). Does this mean that uClinux/Nios II can't use any USB devices? I'm most concerned about mass storage. 

 

Thanks, 

Chris Lansdown 

Solar Technology Inc.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
497 Views

All the generic USB support is in the kernel source tree. The reason you don't see it is because "Support for Host-side USB" depends itself on PCI and some architectures. You can just modify the file drivers/usb/Kconfig (add the text in blue): 

<div class='quotetop'>QUOTE </div> 

--- Quote Start ---  

menu "USB support" 

# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.# Altera NIOS softcore processors a non-PCI based USB host interface. 

config USB 

    tristate "Support for Host-side USB" 

    depends on PCI || SA1111 || ARCH_OMAP1510 || ARCH_OMAP1610 || ARCH_LH7A404 || NIOS2[/b] 

--- Quote End ---  

 

 

You will be able to see the class drivers after this modification. 

 

wentao 

microtronix
0 Kudos
Altera_Forum
Honored Contributor II
497 Views

Thanks!!!

0 Kudos
Altera_Forum
Honored Contributor II
497 Views

Just as a correction,  

 

|| NIOS  

 

was already in the Kconfig file. I added  

 

|| NIOS2 || NIOS2NOMMU 

 

though, and that worked.
0 Kudos
Reply