Hello to everyone.
I've enabled KVM on a more recent kernel version,to be precise on the 5.4.244,on the old ARM Chromebook model xe303c12,following mainly this tutorial :
http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/
I have achieved the goal following the procedure explained by the v.o.s website :
This erased all data and created 4 partitions in the sd-card, along with copying the u-boot binary to the first partition:
https://github.com/quarkscript/linux-armv7-xe303c12-only/files/11615040/5.4.244-kvm.zip
I have decompressed it and I've got the zImage file that was stored inside the deb file.
Since I want to use u-boot,I have converted zImage into uImage using the following command :
4. EXT4 partition for userspace files. Here I have copied the Devuan 4 userland files that I've got here :
https://drive.google.com/u/0/uc?id=1KSgE-3G2GEBzcYhk_JleVYWl6m061GdI&export=download
but I haven't used btrfs fs,but ext4. And I have extended the space on the partition from 1882M to 200 GB.
I wrote a little bash script that executes the command line :
as soon as the desktop environment started. This is the content of the log file :
https://pastebin.ubuntu.com/p/GQ59sqt72v/
I read "kvm: Hyp mode initialized successfully". So I'm sure that kvm is working on the kernel version that I've used (5.4.244).
Now let's talk about how to virtualize FreeBSD as a GUEST os. I've created this script :
what happened when I run it ? You can give a look at the log that I have attached below :
https://pastebin.ubuntu.com/p/RfKvCqyTrD/
The error that prevents FreeBSD from reaching the installation part seems to be :
I have no idea about how to fix it.
I've enabled KVM on a more recent kernel version,to be precise on the 5.4.244,on the old ARM Chromebook model xe303c12,following mainly this tutorial :
http://www.virtualopensystems.com/en/solutions/guides/kvm-on-chromebook/
I have achieved the goal following the procedure explained by the v.o.s website :
Code:
$ sudo ./scripts/sdcard.sh /dev/sdX
This erased all data and created 4 partitions in the sd-card, along with copying the u-boot binary to the first partition:
- ChromeOS signed binary (vos chained u-boot)
- Partition 2 not used
- EXT2 partition for u-boot files (here I have copied your zImage (converted in uImage and your exynos5250-snow.dtb files). I've got the zip file that you created for me one month ago,here :
https://github.com/quarkscript/linux-armv7-xe303c12-only/files/11615040/5.4.244-kvm.zip
I have decompressed it and I've got the zImage file that was stored inside the deb file.
Since I want to use u-boot,I have converted zImage into uImage using the following command :
Code:
mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Linux kernel" -d zImage uImage
4. EXT4 partition for userspace files. Here I have copied the Devuan 4 userland files that I've got here :
https://drive.google.com/u/0/uc?id=1KSgE-3G2GEBzcYhk_JleVYWl6m061GdI&export=download
but I haven't used btrfs fs,but ext4. And I have extended the space on the partition from 1882M to 200 GB.
Code:
sudo dd if=nv_uboot-snow.kpart of=/dev/sdX1 (nv_uboot-snow.kpart taken from the vos website)
I wrote a little bash script that executes the command line :
Code:
dmesg > /root/Desktop/log
as soon as the desktop environment started. This is the content of the log file :
https://pastebin.ubuntu.com/p/GQ59sqt72v/
I read "kvm: Hyp mode initialized successfully". So I'm sure that kvm is working on the kernel version that I've used (5.4.244).
Now let's talk about how to virtualize FreeBSD as a GUEST os. I've created this script :
Code:
UEFICODE=/home/marietto/Dati/Si/AAVMF32_CODE.fd
UEFIVARS=/home/marietto/Dati/Si/AAVMF32_VARS.fd
CD=/home/marietto/Dati/Si/FreeBSD-13.2-RELEASE-arm-armv7-GENERICSD.img
DISK=/home/marietto/Dati/Si/FreeBSD.img
qemu-system-arm \
-enable-kvm -serial stdio \
-m 512 -M virt -cpu cortex-a15 \
-drive if=pflash,format=raw,unit=0,file=$UEFICODE \
-drive if=pflash,format=raw,unit=1,file=$UEFIVARS \
-drive file=$CD,media=disk,format=raw \
-drive file=$DISK,format=raw \
-device virtio-net,netdev=net0,mac="52:54:00:12:34:55" \
-netdev type=user,id=net0 \
-device virtio-gpu-pci \
-usb -device nec-usb-xhci \
-device usb-kbd -device usb-mouse \
-device vmware-svga,id=video0,vgamem_mb=16
what happened when I run it ? You can give a look at the log that I have attached below :
https://pastebin.ubuntu.com/p/RfKvCqyTrD/
The error that prevents FreeBSD from reaching the installation part seems to be :
eval: cannot open /dev/ttyv0: No such file or directory
eval: cannot open /dev/ttyv0: No such file or directory
eval: cannot open /dev/ttyv*: No such file or directory
Fatal kernel mode data abort: 'Alignment Fault' on read
I have no idea about how to fix it.