Skip to content

img flash macos

brian crabtree edited this page Mar 6, 2019 · 3 revisions

open a terminal!

copy-paste the commands below.

setup

cd ~

install homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

get libusb and git

brew install libusb git

get rpi boot util

git clone --depth=1 https://github.com/raspberrypi/usbboot.git

build rpi boot util

cd usbboot
make

this might throw some warnings but that's ok. errors are not ok.

ok let's update

get newest norns image

replace url with newest image

wget https://monome.nyc3.digitaloceanspaces.com/norns181008.img.zip

run rpiboot

cd ~/usbboot
sudo ./rpiboot

flip norns switch from RUN to DISK

take the bottom off

see img

plug norns in to mac

rpi boot should report:

Waiting for BCM2835/6/7
Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7
Second stage boot server
File read: start.elf
Second stage boot server done

identify disk

diskutil list

look for something resembling:

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *3.9 GB     disk2
   1:             Windows_FAT_32 boot                    45.2 MB    disk2s1
   2:                      Linux                         3.9 GB     disk2s2

THIS IS IMPORTANT. /dev/disk2 is what we need to know. this may be a different number for you.

unmount disk

IMPORTANT: below, replace disk2 with the disk # you found above

sudo diskutil unmountDisk /dev/disk2

copy img to disk

IMPORTANT, AGAIN. MOST IMPORTANT. make sure disk2 is replaced with your proper disk #.

replace norns181008.img with the proper update file.

sudo dd if=norns181008.img of=/dev/disk2 bs=32m conv=sparse

this will take awhile (15 minutes even) and no progress will be shown. just be patient.

ok

flip the norns switch back to RUN.

try booting.

You can’t perform that action at this time.