Guest User

Untitled

a guest
Mar 19th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Create new filesystem:
  2.  
  3. ```
  4. sudo dd if=/dev/zero of=/usb.bin bs=512 count=51200
  5. sudo mkdosfs /usb.bin
  6. ```
  7.  
  8. * Add `dwc2` to `/etc/modules-load.d/modules.conf`
  9. * Add `dtoverlay=dwc2` to `/boot/config.txt`
  10. * reboot
  11. * `sudo modprobe g_mass_storage file=/usb.bin stall=0`
Add Comment
Please, Sign In to add comment