Home Wiki > HCL:AArch64 EFI
Sign up | Login

HCL:AArch64 EFI

tagline: From openSUSE

This page applies to any AArch64 (armv8) platform with a standard UEFI boot environment.

Installing the openSUSE Tumbleweed Image (direct disk access)

  • Choose a Tumbleweed image (xz compressed tar archive) between JeOS, E20, XFCE, or LXQT and download it:
Susemini.png
Version:
Tumbleweed

JeOS image E20 image XFCE image LXQT image

  • Extract the tar archive you just downloaded
  • Extract the openSUSE-*raw.xz file from the tar archive onto the disk attached to your system WARNING all previous data on the hard disk will be lost.
     xzcat [image].raw.xz | dd bs=4M of=/dev/[sdX] oflag=sync
  • Replace [sdX] above with the actual hard disk you intend to write over
  • Connect to the serial port (if any)
  • Connect a monitor and a keyboard (if any)
  • Power on the system.
  • Walk through the first boot steps.
  • Default root password is "linux".
  • Have a lot of fun...

Installing openSUSE Tumbleweed with an installer

Susemini.png
Version:
Tumbleweed
openSUSE Tumbleweed AArch64 DVD

This method does not work on all systems. It works successfully on QEMU with OVMF. Real hardware may or may not implement all bits necessary for iso boot. If in doubt, use the image based approach.

  • Burn the iso image on a DVD or dd it on a USB stick.
  • Plug the DVD or the USB stick into your system.
  • Connect to the serial port (if any)
  • Connect a monitor and a keyboard (if any)
  • Power on the system.
  • Walk through the installation.
  • Have a lot of fun...


Installing the openSUSE Tumbleweed Image (PXE deployment)

On your server

  • Choose a Tumbleweed image (xz compressed tar archive) between JeOS, E20, XFCE, or LXQT and download it:
Susemini.png
Version:
Tumbleweed
JeOS image E20 image XFCE image LXQT image
  • Extract the tar archive you just downloaded
  • Copy initrd*gz to /srv/tftpboot/aarch64/boot/initrd
  • Copy initrd*kernel* to /srv/tftpboot/aarch64/boot/linux
  • Copy openSUSE*.xz and openSUSE*.md5 to /srv/ftp/image/
  • Write the following section into /srv/tftpboot/aarch64/configs/""your board's mac address""
  menuentry 'openSUSE-Tumbleweed-AArch64' {
    echo 'Setting append...'
    set append='plymouth.enable=0 console=ttyAMA0,115200n8 loader=grub2 pxe=1 kiwiserver=<your servers ip address> kiwiservertype=ftp'
    echo 'Done!'
    echo 'Loading kernel...'
    linux aarch64/boot/linux $append
    echo 'Done!'
    echo 'Loading initrd...'
    initrd aarch64/boot/initrd
    echo 'Done!'
  }
  • Write the following section into /srv/tftpboot/aarch64/boot/grub2/grub.cfg
mac="aarch64/configs/$net_default_mac"
default="aarch64/configs/default"

configfile $mac

#is the configfile loading? when not load default!
if [ default_config_found -ne 1 ];then
	configfile $default
fi
  • Create a working grub2 EFI binary and copy it into /srv/tftpboot/aarch64/grub.efi
  $ grub2-mkimage -O arm64-efi -o grub.efi -p /aarch64/boot/grub2 `ls /usr/lib/grub2/arm64-efi/*.mod | cut -d . -f 1`
  • Change your DHCP configuration to point its "filename" property to the grub.efi binary
    filename "aarch64/grub.efi";

On your machine

  1. Power it up
  2. Configure the system to boot from PXE
  3. Walk through the installation steps.
  4. Have a lot of fun...


Installing the openSUSE Tumbleweed Image with the latest unstable mainline kernel

This image is based on the very latest unstable kernel. Try it if you suspect kernel problems.

  1. Download the image you want (Leap is stable, Tumbleweed is rolling) from here:
    Susemini.png
    Version:
    Tumbleweed
    JeOS image
    If the direct links above do not work for you (as we are constantly building new images), please check the general download directory for the images.
  2. As root extract the image onto your SD card (replace sdX with the device name of your SD card).
    WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!
     xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct; sync
  3. Insert the SD card with the openSUSE image into your system.
  4. Connect the system to your PC via serial port (optional, but helpful for debugging; USB-TTL serial cable needed).
  5. Connect the system to your monitor (via DVI/HDMI, optional).
  6. Power on the system.
  7. Ethernet is configured to request an IP via DHCP, check your DHCP server for the system IP if used.
  8. Have a lot of fun...

Default login is root:linux, works on serial console, via ssh, GUI.


Installing openSUSE Leap 42.2 with an installer

Susemini.png
Version:
Leap42.2
openSUSE Leap 42.2 AArch64 DVD

This method does not work on all systems. It works successfully on QEMU with OVMF. Real hardware may or may not implement all bits necessary for iso boot. If in doubt, use the image based approach.

  • Burn the iso image on a DVD or dd it on a USB stick.
  • Plug the DVD or the USB stick into your system.
  • Connect to the serial port (if any)
  • Connect a monitor and a keyboard (if any)
  • Power on the system.
  • Walk through the installation.
  • Have a lot of fun...

Installing the openSUSE Leap 42.2 Image

  1. Download the image you want (Leap is stable, Tumbleweed is rolling) from here:
    Susemini.png
    Version:
    Leap42.2
    JeOS image
    If the direct links above do not work for you (as we are constantly building new images), please check the general download directory for the images.
  2. As root extract the image onto your SD card (replace sdX with the device name of your SD card).
    WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!
     xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct; sync
  3. Insert the SD card with the openSUSE image into your system.
  4. Connect the system to your PC via serial port (optional, but helpful for debugging; USB-TTL serial cable needed).
  5. Connect the system to your monitor (via DVI/HDMI, optional).
  6. Power on the system.
  7. Walk through the first boot steps.
  8. Ethernet is configured to request an IP via DHCP, check your DHCP server for the system IP if used.
  9. Have a lot of fun...

Default login is root:linux, works on serial console, via ssh, GUI.