Home Setup QEMU on macOS
Post
Cancel

Setup QEMU on macOS

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 keysD-PAD
Left CtrlA
Left AltB
SPACEY
Left ShiftX
Left CtrlA
TABLeft
BackspaceRight
EscapeSel
EnterStart
This post is licensed under CC BY 4.0 by the author.