diff --git a/openocd/RaspberryPi.md b/openocd/RaspberryPi.md index 504a1358fc891ea5e634bee7a53d7b11e1f651f0..ac77594a5be65980c31aa1e3e5b972ccfda38865 100644 --- a/openocd/RaspberryPi.md +++ b/openocd/RaspberryPi.md @@ -14,3 +14,21 @@ sudo dd bs=1m if=~/Documents/2017-09-07-raspbian-stretch-lite.img of=/dev/rdiskn Wait. 2. Set up ssh. We prefer over usb: https://www.thepolyglotdeveloper.com/2016/06/connect-raspberry-pi-zero-usb-cable-ssh/ +``` +sublime /Volumes/boot/config.txt +``` +``` +dtoverlay=dwc2 +``` +``` +sublime /Volumes/boot/cmdline.txt +``` +``` +modules-load=dwc2,g_ether +``` +``` +touch /Volumes/boot/ssh +``` +``` +ssh pi@raspberrypi.local +``` \ No newline at end of file