Index of /AXP/Gentoo/
Name | Last Modified | Size | Type |
../ | | - | Directory |
README.txt | 2020-Apr-13 23:07:26 | 3.5K | text/plain; charset=utf-8 |
boot-current.sh | 2020-Apr-13 22:13:56 | 0.3K | text/x-sh; charset=utf-8 |
qemu-ifup | 2020-Apr-13 22:21:28 | 1.0K | application/octet-stream |
vmlinux-current | 2020-Apr-13 22:12:40 | 12.3M | application/octet-stream |
Gentoo Alpha image
______ _____ _____ ___ _ _ _____ _
| _ \ ___/ __ \ / _ \| | | | | __ \ | |
| | | | |__ | / \/ / /_\ \ |_ __ | |__ __ _ ______ | | \/ ___ _ __ | |_ ___ ___
| | | | __|| | | _ | | '_ \| '_ \ / _` | |______| | | __ / _ \ '_ \| __/ _ \ / _ \
| |/ /| |___| \__/\ | | | | | |_) | | | | (_| | | |_\ \ __/ | | | || (_) | (_) |
|___/ \____/ \____/ \_| |_/_| .__/|_| |_|\__,_| \____/\___|_| |_|\__\___/ \___/
| |
|_|
Original image was based on https://gmplib.org/~tege/qemu.html
And since I have already did this exercise with alpha-emulator back in early 2018
https://astr0baby.wordpress.com/2017/06/10/installing-gentoo-linux-on-alphavm/
https://astr0baby.wordpress.com/2017/07/09/simulated-alpha-gentoo-acrobatics-show/
https://astr0baby.wordpress.com/2018/11/02/gentoo-on-alpha-flying-circus-2/
I have decided to reuse the ready made Gentoo image from tege (since mine was based on Alphavm)
and I liked his ext4 filesystem image better than the whole raw Alpha SCSI dics
Also there is no need for any SRM (Alpha specific firmware) while using qemu
and qemu is MUCH FASTER !!!!
There are tons of advantages on running qemu and Alpha Linux over other Alpha simulators
namely the Virtio support for SCSI and Network
You will need a fresh qemu-system-alpha compiled on your system to run this (I have used recent git sources)
To run this fully networked you can use my scripts
-> networking.sh (can be anywhere, but you need root privs for networking)
-> /etc/qemu-ifup (place the attached script here)
networking.sh (Adjust accordingly - Im using wlan0 as my internet connected network device)
-------------
#Setup tap and bridge
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
ifconfig tap0 0.0.0.0
sysctl net.ipv4.ip_forward=1
iptables --table nat -A POSTROUTING --out-interface wlan0 -j MASQUERADE
---------------
Boot Gentoo Alpha via boot-current.sh script (make sure you get the above netwokring scripts loaded correctly first)
And copy over the Alpha kernel (vmlinux-current) Linux 4.19.113 built from sources
Login details for Gentoo Alpha
root: p4ssw0rd
user: p4ssw0rd
Internal networking script is residing in /root/network.sh and in /home/user/network.sh (to get network up inside Alpha)
Most software packages were compiled using GCC 9.3.0
packages are based on the Q4-2019 pkgsrc source tree
stuff resides in /usr/pkg
If you wonder where the hell /usr/pkgrc is - well its on my NFS server .. get your own ..
You have all the packages built already anyway ..
What is working ?
- Sound and Alsa ;)
- Mplayer and ffmpeg4 (although mplayer is very laggy over VNC)
- Network
- X11 (currently via tigervnc server )
- Games ( go check out some games in /usr/pkg )
DOSBox, Open Transport Tycoon ... and some others ;)
- Simh-VAX (yes you have a fully blown VAX machine there .. go figure )
https://youtu.be/P3YylcYDxPU
- Linux kernel sources are in /src for further tuning
- Cirrus Framebuffer works .. but native X11 does not under qemu-system-alpha (still experimenting there)
- pkgsrc - the best package source manager ever :)
- tons of other things ...
All the pkgsrc Alpha packages are uploaded here http://45.76.81.249/pkgsrc/alpha-gentoo/All/