Bug#916864: Extend grub-ofpathname to behaves like yaboot/ofpath on PowerPC system

Mathieu Malaterre malat at debian.org
Fri May 3 09:02:13 BST 2019


Frank,

On Fri, May 3, 2019 at 9:27 AM Frank Scheiner <frank.scheiner at web.de> wrote:
> On 5/3/19 08:19, Mathieu Malaterre wrote:
> > Dear grub developers,
> >
> > We are looking to extend grub-ofpathname so that it also handles
> > PowerPC system such as PowerMac with a limited OpenFirmware
> > implementation[1]. In particular the following patch has been found to
> > produce an output compatible with such system [2].
> >
> > While we understand that components of a path are in this general form:
> >
> > <name>@<address>:<arguments>
> >
> > We also do understand that name can be safely omitted as the device is
> > actually getting located by
> > its address. Therefore, these two paths refer to the same device:
> >
> > /pci at f4000000/ata-6 at d/disk at 0:b
> >
> > /@f4000000/@d/@0:b
> >
> > However for the PowerMac we tested it on, only the second form has
> > been found to be accepted.
>
> On which machine did this work? I wrote earlier today that the modified
> grub-ofpathname does not work on a 11,2 type G5, so the patch seems to
> be not generic enough.

Sorry about that. I must say there are way too many emails to read.
Could you reply to the Debian bug number so that I can get a clean
view of the issue.

Then simply please post the output of:

(1) yaboot/ofpath (the one that works)
(2) grub-ofpathname (specify if this with my patch)

from your 11,2 type G5.

Thanks



More information about the Pkg-grub-devel mailing list