Get Involved/development/ARM: Difference between revisions
Appearance
Start page |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Fedora Asahi Remix Linux operating system == | |||
An alternative is to use QEMU on a fast x86_64 CPU with many cores. | Your best bet is to use an Apple computer that is supported by Asahi Linux, e.g. the M1 Mac Mini. See https://asahilinux.org | ||
== QEMU on x86_64 == | |||
An alternative is to use QEMU on a fast x86_64 CPU with many cores. E.g. | |||
<pre> | |||
# As per https://en.opensuse.org/openSUSE:AArch64 | |||
qemu-img create hdd_aarch64.img 200G | |||
# wget http://download.opensuse.org/ports/aarch64/tumbleweed/appliances/openSUSE-Tumbleweed-ARM-KDE-efi.aarch64.raw.xz | |||
# wget https://download.opensuse.org/repositories/Virtualization/openSUSE_Tumbleweed/noarch/qemu-uefi-aarch64-202211-Virt.1599.237.1.noarch.rpm # Extract the contents of the rpm file to the directory "/home/username/d/". | |||
qemu-system-aarch64 -m 12240 -cpu max -smp 32 -M virt -machine gic-version=3 -bios /home/username/d/usr/share/qemu/qemu-uefi-aarch64.bin \ | |||
-serial stdio \ | |||
-drive if=none,file=openSUSE-Tumbleweed-ARM-KDE-efi.aarch64.raw,id=hd0 -device virtio-blk-device,drive=hd0 \ | |||
-device virtio-gpu-pci -device nec-usb-xhci -device usb-tablet -device usb-kbd \ | |||
-soundhw hda \ | |||
-device virtio-net,netdev=hostnet0,mac=52:54:00:09:a4:37 -netdev user,id=hostnet0,hostfwd=tcp::2222-:22 \ | |||
-drive if=none,file=hdd_aarch64.img,id=hd1 -device virtio-blk-device,drive=hd1 | |||
# KDE Plasma is preinstalled. User name is root, password is "linux". Add another user using yast. sudo asks for the password of user root. You might want to make the new user a sudoer. | |||
zypper in emacs-nox mc | |||
# The virtual disk is only 6 GB, increase it. | |||
# In another terminal. | |||
ssh -p 2222 username@localhost | |||
# Do most of the things in the SSH client. The VM GUI is slow. | |||
# Format the 200 GB SSD and mount it as ~/kde. Set up kdesrc-build as usual. | |||
</pre> |
Latest revision as of 18:57, 28 January 2024
Fedora Asahi Remix Linux operating system
Your best bet is to use an Apple computer that is supported by Asahi Linux, e.g. the M1 Mac Mini. See https://asahilinux.org
QEMU on x86_64
An alternative is to use QEMU on a fast x86_64 CPU with many cores. E.g.
# As per https://en.opensuse.org/openSUSE:AArch64 qemu-img create hdd_aarch64.img 200G # wget http://download.opensuse.org/ports/aarch64/tumbleweed/appliances/openSUSE-Tumbleweed-ARM-KDE-efi.aarch64.raw.xz # wget https://download.opensuse.org/repositories/Virtualization/openSUSE_Tumbleweed/noarch/qemu-uefi-aarch64-202211-Virt.1599.237.1.noarch.rpm # Extract the contents of the rpm file to the directory "/home/username/d/". qemu-system-aarch64 -m 12240 -cpu max -smp 32 -M virt -machine gic-version=3 -bios /home/username/d/usr/share/qemu/qemu-uefi-aarch64.bin \ -serial stdio \ -drive if=none,file=openSUSE-Tumbleweed-ARM-KDE-efi.aarch64.raw,id=hd0 -device virtio-blk-device,drive=hd0 \ -device virtio-gpu-pci -device nec-usb-xhci -device usb-tablet -device usb-kbd \ -soundhw hda \ -device virtio-net,netdev=hostnet0,mac=52:54:00:09:a4:37 -netdev user,id=hostnet0,hostfwd=tcp::2222-:22 \ -drive if=none,file=hdd_aarch64.img,id=hd1 -device virtio-blk-device,drive=hd1 # KDE Plasma is preinstalled. User name is root, password is "linux". Add another user using yast. sudo asks for the password of user root. You might want to make the new user a sudoer. zypper in emacs-nox mc # The virtual disk is only 6 GB, increase it. # In another terminal. ssh -p 2222 username@localhost # Do most of the things in the SSH client. The VM GUI is slow. # Format the 200 GB SSD and mount it as ~/kde. Set up kdesrc-build as usual.