Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gvarisco
gvarisco / qemu-arm-raspbian-macOS.sh
Last active August 14, 2019 09:20
Qemu, Arm CPU and Raspbian on macOS Mojave
#!/bin/sh
# Tested on macOS Mojave 10.14.6, qemu-4.0.0
# Install qemu via homebrew
brew install qemu
export QEMU=$(which qemu-system-arm)
export TMP_DIR=~/tmp/qemu-rpi
export RPI_KERNEL=${TMP_DIR}/kernel-qemu-4.19.50-buster
### Keybase proof
I hereby claim:
* I am gvarisco on github.
* I am gianluca (https://keybase.io/gianluca) on keybase.
* I have a public key whose fingerprint is 698B 9CB3 050C 58CD EFB0 486D 8138 D99A 68C3 4976
To claim this, I am signing this object:
#!/bin/bash
# The author of the original script is unknown to me. The first entry I can
# find was posted at 2010-03-21 09:50:09 on Arch Linux Forums (doesn't mean the
# poster is the author at all):
#
# https://bbs.archlinux.org/viewtopic.php?pid=728932#p728932
#
# I, Yu-Jie Lin, made a few changes and additions:
#
# -p, -t, -R, and -C