No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Readme.md
initrd.gz
initrd.img-4.9.0-8-4kc-malta
install.sh
preseed.txt
start.sh
vmlinux-4.9.0-8-4kc-malta

Readme.md

Test your favourite software on a big-endian machine

Using the MIPS architecture from QEMU we can test software on a big-endian architecture without hassle. This guide fully automates the required steps for producing a debian stretch OS running on a virtualized MIPS Malta processor.

Create disc image with enough space

qemu-img create -f qcow2 hda.img 50G

Install debian stretch into that image using preseeding (takes a while!). Requires a DHCP server and network access. If you are lazy grab the resulting image from here and skip that step.

./install.sh

Startup your new OS

./start.sh

Connect via ssh from your terminal (user: debian, password: debian)

ssh -p 2222 debian@127.0.0.1

and start hacking on your big-endian machine

debian@debian:~$ lscpu
Architecture:          mips
Byte Order:            Big Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
BogoMIPS:              995.32

That's it!

Resources: