Last active
August 19, 2018 09:00
-
-
Save jforge/8130d11d6ff52303df0fae5f28ff6e88 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - serial console with adafruit cp2104: | |
| https://learn.adafruit.com/adafruit-piuart-usb-console-and-power-add-on-for-raspberry-pi/enabling-serial-console | |
| https://thepihut.com/products/adafruit-piuart-usb-console-and-power-add-on-for-raspberry-pi | |
| https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers | |
| http://www.silabs.com/Support%20Documents/Software/Mac_OSX_VCP_Driver.zip | |
| https://www.silabs.com/community/interface/forum.topic.15.15.html/cp120x_vcp_driverno-G1Bu | |
| https://pqrs.org/osx/karabiner/ | |
| /dev/cu.SLAB_USBtoUART | |
| screen /dev/cu.SLAB_USBtoUART 115200 | |
| - headless setup | |
| https://learn.adafruit.com/raspberry-pi-zero-creation/install-os-on-to-sd-card | |
| http://www.aymerick.com/2013/09/17/headless_raspberrypi_setup.html | |
| Get some image: | |
| https://www.raspberrypi.org/downloads/raspbian/ | |
| $ df -h | |
| $ diskutil list | |
| $ sudo diskutil unmount /dev/disk2s1 | |
| $ sudo dd bs=1m if=~/Downloads/2015-11-21-raspbian-jessie-lite.img of=/dev/rdisk2 | |
| $ sudo diskutil eject /dev/rdisk2 | |
| # e.g. | |
| $ sudo dd bs=1m if=~/Downloads/2018-06-27-raspbian-stretch-lite.img of=/dev/rdisk2 | |
| Password: | |
| 1776+0 records in | |
| 1776+0 records out | |
| 1862270976 bytes transferred in 185.178047 secs (10056651 bytes/sec) | |
| $ sudo dd bs=1m if=~/Downloads/2018-06-27-raspbian-stretch.img of=/dev/rdisk2 | |
| 4597+1 records in | |
| 4597+1 records out | |
| 4820393984 bytes transferred in 180.294348 secs (26736246 bytes/sec) | |
| # mount second partition on macos | |
| brew cask install osxfuse | |
| brew install ext4fuse | |
| sudo mkdir /Volumes/rpi | |
| sudo ext4fuse /dev/disk2s2 /Volumes/rpi -o allow_other | |
| # work on /Volumes/rpi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment