Bug#927892: grub-ieee1275-bin: Please add bootinfo.txt for sparc and sparc64

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Wed Apr 24 21:43:55 BST 2019


On 24/04/2019 21:30, Frank Scheiner wrote:

> On 4/24/19 22:07, John Paul Adrian Glaubitz wrote:
>> On 4/24/19 9:46 PM, Mark Cave-Ayland wrote:
>>> For reference the CHRP bootinfo.txt isn't a configuration file, but is actually
>>> parsed by CHRP-compliant open firmwares directly - SPARC firmwares, including
>>> OpenBIOS don't support them. Can you explain why grub on SPARC is trying to access
>>> this file?
>>
>> Good point, I didn't notice that there is a CHRP header and assumed that we need
>> this file on sparc and sparc64 as well.
>>
>> I haven't actually done any runtime tests yet, I replaced the configuration files
>> from ppc64el for grub-ieee1275 and adapted them for sparc64. debian-installer
>> builds fine with those changes, but as I said, I haven't tested anything yet.
>>
>> I am very welcome for any pointers though for what else is needed to use GRUB
>> for CD boot on sparc64.
> 
> `grub-mkimage` has a (target) format named "sparc64-ieee1275-cdcore".
> But I'm unsure if this is of any use for us, or needed at all, because
> if GRUB can load kernel and initramfs from disc, it should also be able
> to load its modules from disc, so a small GRUB image and separate
> modules (like for on-disk or diskless installations) could also work.
> 
> OTOH: if a "sparc64-ieee1275-cdcore" image and a corresponding grub.cfg
> works for disc booting, we could just exchange the SILO image and config
> for these.

Is it possible to see the source for sparc64-ieee1275-cdcore anywhere? A quick search
doesn't return anything obvious. And from memory grub is working when installed onto
the disk? If so, where is the source of the disk image for comparison?


ATB,

Mark.



More information about the Pkg-grub-devel mailing list