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 20:46:00 BST 2019


On 24/04/2019 18:26, John Paul Adrian Glaubitz wrote:

> Source: grub2
> Version: 2.02+dfsg1-17
> Severity: normal
> User: debian-sparc at lists.debian.org
> Usertags: sparc64
> 
> Hello!
> 
> I have started working on switching the bootloader for debian-installer from
> silo to grub-ieee1275 on sparc and sparc64.
> 
> For that, I have looked at the corresponding code in debian-installer for
> ppc64el and noticed that the configuration file build/config/ppc64el.cfg
> requires a "bootinfo.txt" configuration file which is part of the
> grub-ieee1275-bin package.
> 
> Thus, in order to switch to grub-ieee1275 on sparc and sparc64, we need
> to add the bootinfo.txt there as well. Could you install the bootinfo.txt
> file for sparc and sparc64 as well?
> 
> Plus, it might be a good idea to adjust the GRUB version number as well
> as the name of the boot script to be a generic name like debian-installer.elf
> and not powerpc.elf.
> 
> Currently, the header of bootinfo.txt looks like this:
> 
> <chrp-boot>
> <description>grub 2.02~beta3</description>
> <os-name>grub 2.02~beta3</os-name>
> <boot-script>boot &device;:\boot\grub\powerpc.elf</boot-script>
> <icon size=64,64 color-space=3,3,2>
> 
> Thanks,
> Adrian

Hi Adrian,

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?



ATB,

Mark.



More information about the Pkg-grub-devel mailing list