Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for arm64 #75

Open
agustinhenze opened this issue Jul 31, 2019 · 4 comments
Open

Add support for arm64 #75

agustinhenze opened this issue Jul 31, 2019 · 4 comments

Comments

@agustinhenze
Copy link

Hello we are trying to run docker-machine-kvm on arm64 and we are getting the following error

 Unexpected enum value 0 for virDomainDeviceAddressType

we found something similar here kubevirt/kubevirt#2470. It seems to be related to having hardcoded the architecture somewhere but honestly no idea 🤷‍♂️, just doing my best guess.

@rmohr
Copy link

rmohr commented Aug 5, 2019

Sorry about my comment here before. Was just following links and looking on the issue description and did not notice that I was no longer on my project.

@agustinhenze
Copy link
Author

I have used an xml created by virtinst and then I discovered it's trying to use boot2docker.iso. This project has hardcoded x86 everywhere :'(. One of the components is Tiny Core Linux which only supports x86_64 :/. Do I have to build my own .iso and pass it as parameter? Do you think it could work?

@afbjorklund
Copy link

There is a version of Tiny Core Linux now that supports arm32 (armv6/armv7/armv7l), it is called "piCore".
So it is possible to make version that supports arm64 too, but it would require a substantial effort first...
Another approach is using another distribution (like ubuntu), and make it follow the same contract (user, etc).

@Marietto2008
Copy link

Hello.

it's more of a challenge,to be able to emulate the raspberry pi 3 on my Jetson nano (aarch64) using virt-install. I'm learning how to do that by reading heavily here :

https://github.com/dhruvvyas90/qemu-rpi-kernel

I tried to do something like this :

virt-install
--name pi
--machine raspi3
--cpu arm1176
--memory 1024
--import \ --disk /root/Desktop/zi/Work/Android/Raspy/Debian/2019-09-26-raspbian-buster-lite.img,format=raw,bus=virtio
--network user,model=virtio
--video vga
--graphics spice
--rng device=/dev/urandom,model=virtio
--boot 'uefi=RPI_EFI.fd,dtb=bcm2710-rpi-3-b-plus.dtb,kernel=kernel8.img,kernel_args=root=/dev/vda2 rootwait panic=1 dwc_otg.fiq_fsm_enable=0'
--events on_reboot=destroy

But I get this error :

ERROR internal error: Unexpected enum value 0 for virDomainDeviceAddressType

I've got the UEFI BIOS file from here :

https://github.com/andreiw/RaspberryPiPkg/blob/master/Binary/prebuilt/2019Jan16-GCC5/RELEASE/RPI_EFI.fd

I'm not sure if it isn't the right efi file to use in this specific configuration or if it is,but I'm passing the parameter badly. What do you suggest me to do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants