0. install QEMU (http://www.milkymist.org/wiki/index.php?title=Using_QEMU)
1. create a /usr/bin/mmqemu.sh file with:
#!/bin/sh
exec qemu-system-lm32 -M milkymist -kernel $1
2. chmod 755 /usr/bin/mmqemu.sh
3. (on one line)
echo ':lm32:M::
\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x8a:
\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/mmqemu.sh:'
 
> /proc/sys/fs/binfmt_misc/register
4. you can now run MM binaries directly from the shell, i.e. "./flickernoise" 
will automatically run it in a QEMU window.
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkym...@freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to