qemu-x86_64 on rockpro?
#1
Anyone have qemu working on a rockpro 64?  I've basked done an export of a ubuntu container and copied it to the rockpro.  When I attempt to execute even say bash I get an error:

#sudo qemu-x86_64-static -cpu kvm64 -L /opt/ubuntu/lib64 ./bash


/lib64/ld-linux-x86-64.so.2: No such file or directory



Any ideas?
#2
(03-18-2019, 10:14 PM)pfremm Wrote: Anyone have qemu working on a rockpro 64?  I've basked done an export of a ubuntu container and copied it to the rockpro.  When I attempt to execute even say bash I get an error:

#sudo qemu-x86_64-static -cpu kvm64 -L /opt/ubuntu/lib64 ./bash


/lib64/ld-linux-x86-64.so.2: No such file or directory



Any ideas?

not perticulay however on Gentoo , dose compile ,  should be able to fetch much easier on debian/ubuntu.. 

scaleway has arm64 hosting...    via chroot ,  etc..   
#3
Should work fine, Ive used it before and it works on other Linux dev-boards.  Try installing qemu via package manager to get all system targets installed. Keep in mind its an ARM board and KVM on ARM will only work/help with ARM based OS Android, Linux, Windows 10 for ARM. However you will need to use Aarch64 qemu target not x86_64 to utilize KVM on ARM.

With ARM you can only use TCG to accelerate i386 x86 or 64 bit x86 guests, by using more vcpus/cores. I recommend using i386 qemu as guest target on ARM in my experience using x64_x86 qemu on ARM is less stable than x86_i386 qemu in general due to memory management models being different for these targets and what an ARM host can provide. 

64 bit OS could work fine but there are memory management issues using 64 x86 bit host on ARM in general = TCG wont have proper multi core support.  This can easily be seen even in  single core 32 bit workloads, IE the game Full Throttle will crash in Win98 guest on ARM but using qemu x86_64 but this error will not occur not qemu x86_32 bit. On x86 hosts there is usually a clear benefit to using x64 bit qemu over i386 but not on ARM unless specifically needed.  IE Win98 Starcraft Diablo etc work fine but if there is a limit to what you can due to binary translation.
#4
(03-19-2019, 08:39 PM)nislaco23 Wrote: Should work fine, Ive used it before and it works on other Linux dev-boards.  Try installing qemu via package manager to get all system targets installed. Keep in mind its an ARM board and KVM on ARM will only work/help with ARM based OS Android, Linux, Windows 10 for ARM. However you will need to use Aarch64 qemu target not x86_64 to utilize KVM on ARM.

With ARM you can only use TCG to accelerate i386 x86 or 64 bit x86 guests, by using more vcpus/cores. I recommend using i386 qemu as guest target on ARM in my experience using x64_x86 qemu on ARM is less stable than x86_i386 qemu in general due to memory management models being different for these targets and what an ARM host can provide. 

64 bit OS could work fine but there are memory management issues using 64 x86 bit host on ARM in general = TCG wont have proper multi core support.  This can easily be seen even in  single core 32 bit workloads, IE the game Full Throttle will crash in Win98 guest on ARM but using qemu x86_64 but this error will not occur not qemu x86_32 bit. On x86 hosts there is usually a clear benefit to using x64 bit qemu over i386 but not on ARM unless specifically needed.  IE Win98 Starcraft Diablo etc work fine but if there is a limit to what you can due to binary translation.

Is there a ressource as to what the limits are i can read up on?

I plan to try using the PineBook Pro with QEMU as an "windows"-OBD 2 scanning tool, as the software i need is only available on windows and so "old" it runs best on XP.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux Host - QEMU Android Guest? rik-shaw 0 2,258 07-09-2020, 08:02 PM
Last Post: rik-shaw
  qemu-x86_64 fails on A72 cores, but runs nice on A53 ones :) guannais 6 8,850 11-04-2018, 01:20 PM
Last Post: tuxd3v
  RockPro Wireless+Bluetooth Issue - Linux (ayufan 0.7.8 and previous) JeffD 23 31,573 09-16-2018, 12:08 AM
Last Post: romtorwator

Forum Jump:


Users browsing this thread: 1 Guest(s)