I have two good news:
1) New images, this time both for OpenRC and for Runit. Here are the following notes about them:
-installed packages: base, base-devel, dkms, haveged, wpa_supplicant, openssh, nfs-utils, init scripts for dhcpcd, haveged, wpa_supplicant and openssh (they are installed but not started)
-root password, user name and user password are 'artixarm'
-user has full sudo access (you will possibly need to run 'chmod +s /bin/sudo')
2) I have found a way to run these images in qemu like on real hardware. The recipe is following:
-download u-boot source and build it as following:
CROSS_COMPILE=aarch64-linux-gnu- make qemu_arm64_defconfig
CROSS_COMPILE=aarch64-linux-gnu- make
In order to use it you need to append '-bios u-boot.bin' to qemu command line
-create disk image, partition it and write image on it. You need to have partition which u-boot can read from (vfat and ext4 will work).
-tty1 will not work, so you need to run agetty on ttyAMA0 in order to log in and work with system
-u-boot requires boot.scr binary to boot system (if you don't want to type all boot commands manually each time). The binary should be located on partition u-boot can read from. The disk with this partition should be added to VM with command line options as following:
-drive id=disk,file=root.img,format=raw,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0
Then it will be detected as scsi device by u-boot. The binary itself should be build from the following script:
setenv bootargs root=<your root partition> rw rootwait
load scsi 0:1 ${kernel_addr_r} /Image
load scsi 0:1 ${ramdisk_addr_r} /initramfs-linux.img
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr}
This script implies that you have /boot partition on /dev/sda1. To build it use the following command from uboot-tools package:
mkimage -C none -A arm64 -T script -d <scriptname> boot.scr
-finally, your qemu command line should look like following:
qemu-system-aarch64 -machine virt -cpu cortex-a53 -drive id=disk,file=root.img,format=raw,if=none -device ahci,id=ahci -device ide-drive,drive=disk,bus=ahci.0 -bios u-boot.bin
I hope i didn't forget anything important