Index of /Solaris/illumos-aarch64/

NameLast ModifiedSizeType
../ -  Directory
Asahi-M1/2022-Aug-16 10:52:07-  Directory
BOOT.txt2022-Aug-08 12:16:294.7Ktext/plain; charset=utf-8
README.txt2022-Aug-07 21:33:322.0Ktext/plain; charset=utf-8
flash.bin2022-Aug-07 19:13:42328.7Kapplication/octet-stream
inetboot.bin2022-Aug-07 19:13:31573.4Kapplication/octet-stream
inetboot.out2022-Aug-07 19:12:09717.4Kapplication/octet-stream
run.sh2022-Aug-07 21:25:240.6Ktext/x-sh; charset=utf-8
 _____       _            _                            _      ____    ___ 
/  ___|     | |          (_)                          | |    / ___|  /   |
\ `--.  ___ | | __ _ _ __ _ ___    __ _  __ _ _ __ ___| |__ / /___  / /| |
 `--. \/ _ \| |/ _` | '__| / __|  / _` |/ _` | '__/ __| '_ \| ___ \/ /_| |
/\__/ / (_) | | (_| | |  | \__ \ | (_| | (_| | | | (__| | | | \_/ |\___  |
\____/ \___/|_|\__,_|_|  |_|___/  \__,_|\__,_|_|  \___|_| |_\_____/    |_/

- Source 
https://github.com/n-hys/illumos-gate/wiki

- Important to use patched qemu in order to run the illumos aarch64 !! 

Installing QEMU
Getting the source

git clone https://github.com/n-hys/qemu.git

Building and Installing
(Please note that this patched qemu does not build on the MacOS M1) 

cd qemu
./configure --target-list=aarch64-softmmu
make
sudo make install

Make sure you have the following file 

cat /usr/local/etc/qemu/bridge.conf 
allow br0

Then just use the ready made images + scripts 
You can download the ready-made images from here 

https://astr0baby.online/Solaris/illumos-aarch64/ 
 - Download disk.img.xz and uncompress (unxz disk.img.xz) 
 - Download flash.bin 
 - Download intetboot.bin 
 - Download intetboot.out            
 - Download run.sh  

My host networking script for Qemu (bridge) 
(On the Linux-aarch64 host) 

tunctl -t tap0 -u user
ifconfig tap0 up
brctl addbr br0
brctl setfd br0 0
ifconfig br0 10.0.2.2 netmask 255.255.255.0 broadcast 10.0.2.255 up
brctl addif br0 tap0 tap1 
ifconfig tap0 0.0.0.0
sysctl net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -j MASQUERADE 
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

SSHD can be started manually from the root shell console 
/usr/local/sbin/sshd   

Credentials:
user:p4ssw0rd
root:p4ssw0rd 


P.S 
---
I run the above on the M1 MacBook Air (MacOS Monterey 12.0.1) 
Qemu is compiled/running inside a Parallels VM (Debian aarch64) 
And network bridging is done via virtual network devices via Parallels 
This solution is quite usable for me since the M1 is the most powerfull CPU I currently have
and there is no KVM/HVF acceleration possible for the Solaris aarch64 qemu VM yet. 


Webserver 1.0