Forum Discussion

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

USB?

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.

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

    Just as a correction,

    || NIOS

    was already in the Kconfig file. I added

    || NIOS2 || NIOS2NOMMU

    though, and that worked.