openSUSE:AArch64

Jump to: navigation, search

AArch64 (also known as ARMv8) is the name for the new 64-bit ARM architecture.

Testing openSUSE images

On real hardware

If you have AArch64 hardware, you can try openSUSE on it. If your platform is EFI enabled, just use one of the available EFI image from:

Susemini.png
Version:
Tumbleweed (Factory)
http://download.opensuse.org/ports/aarch64/factory/images/
Susemini.png
Version:
Leap 15.0
http://download.opensuse.org/ports/aarch64/distribution/leap/15.0/appliances/
Susemini.png
Version:
Leap 42.3
http://download.opensuse.org/ports/aarch64/distribution/leap/42.3/appliances/

ISOs are also available if your platform has an optical drive or accessible USB port:

Susemini.png
Version:
Tumbleweed (Factory)
http://download.opensuse.org/ports/aarch64/factory/iso/
Susemini.png
Version:
Leap 15.0
http://download.opensuse.org/ports/aarch64/distribution/leap/15.0/iso/
Susemini.png
Version:
Leap 42.3
http://download.opensuse.org/ports/aarch64/distribution/leap/42.3/iso/

And follow the steps on HCL:AArch64_EFI page. Otherwise, go to Portal:ARM page where are listed supported platforms with instructions for each one.

Using an emulator

You can use QEMU. Foundation v8 emulator provided by ARM is deprecated.

QEMU

QEMU installation

Install qemu-arm using zypper or YaST:

 zypper install qemu-arm

Your qemu must support AArch64 systems. To check it, try to run:

 qemu-system-aarch64

If your qemu is too old, you can use the qemu version from Virtualization project on OBS (open Build Service): http://software.opensuse.org/package/qemu-arm

Running openSUSE

Running openSUSE from raw image

Download the wanted image from:

Susemini.png
Version:
Tumbleweed

JeOS-efi E20-efi XFCE-efi LXQT-efi KDE-efi X11-efi

Extract compressed image:

 tar xJf  openSUSE-Tumbleweed-ARM-*-efi.aarch64-*.raw.xz

and run it (here, with 2 cpu cores, 2048M for RAM, net enabled):

 qemu-system-aarch64 -m 2048 -cpu cortex-a57 -smp 2 -M virt -bios /usr/share/qemu/qemu-uefi-aarch64.bin \
 -serial stdio -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 -net user,vlan=0,name=hostnet0 \
 -drive if=none,file=openSUSE-Tumbleweed-ARM-*-efi.aarch64-*.raw,id=hd0  -device virtio-blk-device,drive=hd0
Installing openSUSE using ISO image

Create an empty disk (e.g. 32G):

 qemu-img create hdd_aarch64.img 32G

Download the wanted ISO image:

Susemini.png
Version:
Tumbleweed

DVD or NET install

Start the system on ISO image, with empty disk created previously (here, with 2 cpu cores, 2048M for RAM, net enabled, one ISO drive and one HDD):

 qemu-system-aarch64 -m 2048 -cpu cortex-a57 -smp 2 -M virt -bios /usr/share/qemu/qemu-uefi-aarch64.bin \
 -serial stdio -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 -net user,vlan=0,name=hostnet0 \
 -drive if=none,file=openSUSE-Tumbleweed-*-aarch64-*-Media.iso,id=hd0 -device virtio-blk-device,drive=hd0 \
 -drive if=none,file=hdd_aarch64.img,id=hd1  -device virtio-blk-device,drive=hd1

Your system will boot on ISO install image. Just follow instructions to install it on the empty virtual disk.

Foundation V8 emulator (deprecated)

Tools installation

If not installed, please download Foundation_v8 (FM000-KT-00035-r0p8-44rel23.tgz) from http://www.arm.com/fvp (need registration to be able to download it) and extract it.

 tar xzf FM000-KT-00035-r0p8-44rel23.tgz

Download AXF image (kernel + DTB + kernel cmdline) from http://releases.linaro.org/12.12/openembedded/aarch64/img-foundation.axf


Running openSUSE

Download the JeOS-efi, or E17-efi, or XFCE-efi, or LXQT-efi image from:

Susemini.png
Version:
Tumbleweed
http://download.opensuse.org/ports/aarch64/factory/images/

Extract compressed image:

 tar xJf  openSUSE-Tumbleweed-ARM-*-efi.aarch64-*.raw.xz

and run it:

 ./Foundation_v8 --image img-foundation.axf --block-device  openSUSE-Tumbleweed-ARM-*-efi.aarch64-*.raw --network=nat
An xterm should appear after a few seconds. Please note that Foundation v8 emulator is very slow.

See also