On Wednesday, November 10, 2021, <[email protected]> wrote:
Hi Andrew, Very interesting, I was thinking about the same, for testing arm64 versions. I have some experience with qemu, although I mostly use VirtualBox. It is quite possible to use UEFI boot with qemu. I presume the emulated arm64 machine is good enough for compilations, for actually testing CinGG you probably need more??
more memory, (-m 2047) more -smp :) there is link for opensuse install, you can use pre-installed os image https://en.opensuse.org/openSUSE:AArch64#Using_an_emulator or debian arm64 image (also pre-installed, so no need for multihour long install) https://wiki.debian.org/Arm64Qemu https://cdimage.debian.org/cdimage/openstack/current-10/ you can prepare specific source image with pre-downloaded/unpacked/patched source and add this as second hdd...
A problem might be missing build utilities, I know a programmer who (for fun) wanted to build a CinGG for macOS had problems there.
MatN
On Wed, 10 Nov 2021 13:07:13 +0300 Andrew Randrianasulu via Cin <[email protected]> wrote:
because my patch series tend to fail on x86 while working on arm, I hope those links will help in creating virtual arm debian install for testing
official qemu wiki
https://wiki.qemu.org/Documentation/Platforms/ARM
link from this wiki to older (2017) guide, you probably want to change debian distro name in d/l links
https://translatedcode.wordpress.com/2017/07/24/ installing-debian-on-qemus-64-bit-arm-virt-board/
also, for faster performance try https://wiki.qemu.org/Features/tcg-multithread (do not forgot -smp 4 (or 8) argument)