Hi Mathieu! On 5/3/19 8:19 AM, Mathieu Malaterre wrote: > 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@f4000000/ata-6@d/disk@0:b > > /@f4000000/@d/@0:b > > However for the PowerMac we tested it on, only the second form has > been found to be accepted.
Thanks for the detailed explanation and for investigating this! Much appreciated. > How best should we provide you with a patch (the current one is kind > of a hack)? Should we extend grub-ofpathname to take a new parameter > (eg. `--omit-names`) and decide to print or not the name, would that > be acceptable ? This sounds like a very reasonable approach. Let's use either that or maybe query OpenFirmware whether we're running on a PowerMac, if that's somehow possible. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel