Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To configure USB Gadget as a mass storage device the following command can be used on the target board:

    Code Block
    / # usb_gadget.sh -m -p 0
    Mass Storage Function, version: 2009/09/11
    LUN: removable file: (no medium)
    USB Gadet config done
    / #
  • To configure USB Gadget as a network device the following command can be used on the target board:

    Code Block
    / # usb_gadget.sh -r -p 0
    using random self ethernet address
    using random host ethernet address
    usb0: HOST MAC 5a:32:a9:e7:72:85
    usb0: MAC 22:ff:72:5f:e5:64
    USB Gadet config done
    / #
  • To configure USB Gadget as a mass storage and a network devices the following command can be used on the target board:

    Code Block
    / # usb_gadget.sh -m -r -p 0
    Mass Storage Function, version: 2009/09/11
    LUN: removable file: (no medium)
    using random self ethernet address
    using random host ethernet address
    usb0: HOST MAC 06:b2:3f:33:72:e8
    usb0: MAC a6:b2:16:ae:fa:e1
    USB Gadet config done
    / #
  • To deactivate configured USB composite gadget the following command can be used on the target board:

    Code Block
    / # usb_gadget.sh -d
    USB gadgets deactivated
    / #

Note: For configuring USB port 2 as USB gadget use the <-p 1> option.