-
Notifications
You must be signed in to change notification settings - Fork 173
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
Initial aarch64 support, cross arch stateless images with qemu-user-static, grub2 for x86 #7257
Conversation
Add hooks to do a draft implementation of aarch64 using grub
Arm and ppc64 do not have linuxefi and initrdefi.
9947c3c
to
0d2c970
Compare
Works fine with el9, too. |
Note: you might have to manually edit generated grub configs because ARM servers might use serial port |
b4a6bf9
to
c4edbdd
Compare
@ocfmatt please take a look at it. Especially the documentation I have written. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. I like the use of qemu for cross architecture compiling.
Hello:
How can this need be resolved? |
Did you check firewall etc.? |
Thanks, |
Do you have a x86 client node? |
Thank you for your response. I am currently testing the x86 client to see if it is a configuration issue. |
I tested using the x86_64 client and successfully deployed the system, but ARM still encountered errors |
Can you please post the output of:
|
`/etc/dhcp/dhcpd.conf- filename "xcat/xnba.kpxe";
|
Hmm looks good. |
Yes, I have tried the default one, which is/tftpboot/boot/grub2/grub2-arm01 link to grub2.aarch64 |
The following PR adds three features:
It's not 100% ready yet and at the moment I've only tested EL8, but it should be good enough for some PoC tests :)
Status
Emulate aarch64 on x86_64 with QEMU for testing
Note: tested with Fedora 36
Refs:
xCAT RPMs for aarch64
Build goconserver for aarch64
grub2 boot preparation
/tftpboot/boot/grub2/grub2.aarch64
and/tftpboot/boot/grub2/grub2.x86_64
qemu-user-static for cross arch stateless images
/usr/bin/qemu-aarch64-static
with 755 permissions/etc/binfmt.d/qemu-aarch64-static.conf
accordingly:systemctl restart systemd-binfmt
Misc