-
Notifications
You must be signed in to change notification settings - Fork 158
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
Better support when target arch is non-native #785
Comments
|
I can't enable UEFI automatically, you may want to build a bios image from a uefi system or visa versa. Thanks for looking at this, it certainly needs a bunch of work. |
It's probably more complicated than the different steps I listed, and not being a maintainer of that code, it's pretty hard to know how the changes should be made, but at the very minimum, there needs to be a piece of code that handles the target arch not being the same as the native one. One which native platforms has the livemedia-creator already been successfully tested, and for which non-native targets does it already work? Adding "armhfp" support might be a good first pass, as it doesn't require UEFI, and would require disabling virt on x86_64 but not on aarch64. When that works, and if we figure out how qemu aarch64 is supposed to start, then add support for that. |
I'm trying to use livemedia-creator to create an aarch64 UEFI raw image for my Pinephone Pro from my x86-64 laptop. It seems I am running into this issue:
Can you suggest any workaround? Do I need to dig into the code to fix this myself? |
Take a look at PR #1108 which may help. I just haven't had any time to work on cross-arch support, sorry. |
When forcing the aarch64 architecture (for example) on a non-aarch64, lorax could do a number of things better:
-machine
qemu argument (-machine virt-3.1
for example)Disable virtio usage for the serial port, or use something equivalent--with-rng none
)Edit: virtio works fine, it didn't with another
-machine
I had originally selectedThe text was updated successfully, but these errors were encountered: