Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

adding Irix (and, to a lesser extend, Solaris) userland emulation to QEMU

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
Unknown
COPYING.PYTHON
NotificationsYou must be signed in to change notification settings

camthesaxman/qemu-irix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This QEMU patch introduces irix/solaris userland emulation. It currently runsonly under linux (though BSD support would probably be feasable).

Configure QEMU for irix/solaris userland emulation and compile:

configure --target-list=irix-linux-user,irixn32-linux-user,irix64-linux-user,solaris-linux-usermake && make install

using

I recommend using binfmt. Prepare some wrapper scripts for each of the qemubinaries for irix/solaris using this template:

#! /bin/shex=$1; shifta0=$1; shiftexport QEMU_RESERVED_VA=1Gexport QEMU_LD_PREFIX=<target rootfs>export QEMU_SET_ENV=LANG=Cexec <qemu binary> -0 $a0 $ex "$@"

Install the binfmt (replace the QEMU* environment variables by the location ofthe wrapper scripts):

echo :irix:M::'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00':'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xef':${QEMUIRIX32}:P > /proc/sys/fs/binfmt_misc/registerecho :irixn32:M::'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x20':'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xef':${QEMUIRIXN32}:P > /proc/sys/fs/binfmt_misc/registerecho :irix64:M::'\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08':'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff':${QEMUIRIX64}:P > /proc/sys/fs/binfmt_misc/registerecho :solaris:M::'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02':'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff':${QEMUSOLARIS32}:P > /proc/sys/fs/binfmt_misc/register

Now you should be able to directly execute irix/solaris binaries from the shell.As a rather simple test, try:

<target rootfs>/bin/ls

send bug reports, fixes etc to Kai-Uwe Bloem (derkub@gmail.com)

About

adding Irix (and, to a lesser extend, Solaris) userland emulation to QEMU

Resources

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
Unknown
COPYING.PYTHON

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C91.5%
  • C++2.8%
  • Python2.7%
  • Shell1.3%
  • Haxe0.5%
  • Assembly0.5%
  • Other0.7%

[8]ページ先頭

©2009-2025 Movatter.jp