Advertisement
metalx1000

Flashing CHIP $9 computer from chrome

Jun 14th, 2016
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.89 KB | None | 0 0
  1. #Instructions at
  2. http://docs.getchip.com/chip.html#flash-chip-with-an-os
  3.  
  4. #Web Flasher
  5. http://flash.getchip.com/
  6.  
  7. #You'll need to run this the first time on the system for permission to access device
  8. sudo usermod -a -G dialout $(logname)
  9. sudo usermod -a -G plugdev $(logname)
  10.  
  11. # Create udev rules
  12. echo -e 'SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip"
  13. SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
  14. SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
  15. SUBSYSTEM=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP="plugdev", MODE="0660" SYMLINK+="usb-serial-adapter"
  16. ' | sudo tee /etc/udev/rules.d/99-allwinner.rules
  17. sudo udevadm control --reload-rules
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement