SILO is the only documented bootloader in the SPARC handbook, but it only supports 32-bit userland (but can boot 64-bit kernels). SPARC support has been upstreamed in GRUB for some years now. We support it already via GRUB_TARGETS=sparc64-ieee1275. This is the only way to build a bootloader when using a 64-bit profile, because we do not have multilib profiles for SPARC. I've drafted up a suggested page here: https://wiki.gentoo.org/wiki/User:Matoro/SPARCbootloader This is based on the incredibly helpful documentation that was written while GRUB was still working on upstreaming support: https://github.com/esnowberg/grub2-sparc/wiki Reproducible: Always
Here's the draft of the rewrite of the disks section: https://wiki.gentoo.org/wiki/User:Matoro/SPARCdisks I'd appreciate if someone with handbook write access could review it.
Changes have been merged (with a slight tweaking from the original): https://wiki.gentoo.org/index.php?title=Handbook:SPARC/Blocks/Disks&curid=70524&diff=1163267&oldid=237812 Thank you for your patience. I believe this bug can be closed now?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=134690a94582cf844b321ee858e2f76686202fac commit 134690a94582cf844b321ee858e2f76686202fac Author: Matoro Mahri <matoro@users.noreply.github.com> AuthorDate: 2022-11-07 15:32:17 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-11-22 19:50:05 +0000 profiles/arch/sparc/64ul: mask sys-boot/silo SILO is designed for the old 64-bit kernel/32-bit userland combo before there was a 64-bit userland available. It requires a 32-bit userland to build, so mask it on 64ul. sys-boot/grub:2 support for sparc was added in ~2018 and is documented in the handbook per #854954 See: https://github.com/esnowberg/grub2-sparc/wiki See: https://wiki.gentoo.org/wiki/Handbook:SPARC/Blocks/Disks See: https://wiki.gentoo.org/wiki/Handbook:SPARC/Blocks/Bootloader Bug: https://bugs.gentoo.org/854954 Closes: https://bugs.gentoo.org/828000 Closes: https://bugs.gentoo.org/702136 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/28168 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> profiles/arch/sparc/64ul/package.mask | 10 ++++++++++ 1 file changed, 10 insertions(+)