Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854954 - SPARC handbook bootloader section should document GRUB for 64-bit
Summary: SPARC handbook bootloader section should document GRUB for 64-bit
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: Sparc Linux
: Normal normal
Assignee: Gentoo Handbook Project
URL: https://wiki.gentoo.org/wiki/User:Mat...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 843998 702136 828000
  Show dependency tree
 
Reported: 2022-06-28 19:13 UTC by matoro
Modified: 2022-11-22 19:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2022-06-28 19:13:02 UTC
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
Comment 1 matoro archtester 2022-08-01 04:47:31 UTC
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.
Comment 2 Matthew Marchese Gentoo Infrastructure gentoo-dev 2022-11-07 09:59:25 UTC
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?
Comment 3 Larry the Git Cow gentoo-dev 2022-11-22 19:50:10 UTC
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(+)