From fb84b49aa82b219182201981d8f1fbd648d55f18 Mon Sep 17 00:00:00 2001 From: Sam Calisch <sam.calisch@cba.mit.edu> Date: Wed, 4 Oct 2017 15:44:52 -0400 Subject: [PATCH] Update RaspberryPi.md --- openocd/RaspberryPi.md | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/openocd/RaspberryPi.md b/openocd/RaspberryPi.md index b6a35be..47ddd6f 100644 --- a/openocd/RaspberryPi.md +++ b/openocd/RaspberryPi.md @@ -6,8 +6,6 @@ ``` diskutil unmountDisk diskn -``` -``` sudo dd bs=1m if=~/Documents/2017-09-07-raspbian-stretch-lite.img of=/dev/rdiskn conv=sync ``` @@ -16,23 +14,11 @@ 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 -``` -``` raspberry ``` @@ -44,6 +30,7 @@ passwd 4. Get OpenOCD with nrf52 patch. 5. Make and install. You may need to install some things, and you might need to share internet from your PC over the usb connection. ``` +sudo apt-get update sudo apt-get install autoconf automake libtool git ``` ``` -- GitLab