QEMU on macOS
Install QEMU first (e.g. using Homebrew):
1
$ brew install qemu
Launch script based on GCW Zero’s one (removed SDL and audio set to none).
It should mount ./sdcard
folder as /media/QEMU\ VVFAT/
.
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Possible values: spice, pa, alsa, sdl, oss, none, wav
export QEMU_AUDIO_DRV=none
MACHINE="-M malta -m 256"
FIRMWARE="-kernel vmlinux -hda gcw0_system -hdb gcw0_data"
HARDWARE="-soundhw ac97 -rtc clock=vm"
NETWORK="-net nic,model=e1000 -net user"
STORAGE="-hdc fat:rw:sdcard"
qemu-system-mipsel $MACHINE $FIRMWARE $HARDWARE $NETWORK $SERIAL $STORAGE
Successful run and mount of shared folder:
1
2
3
4
5
6
7
8
9
10
11
_________________________
< Welcome to OpenDingux ! >
-------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
opendingux:/media/data/local/home # ls /media/QEMU\ VVFAT/
readme.txt
QEMU window:
Keys
Arrow keys | D-PAD |
---|---|
Left Ctrl | A |
Left Alt | B |
SPACE | Y |
Left Shift | X |
Left Ctrl | A |
TAB | Left |
Backspace | Right |
Escape | Sel |
Enter | Start |