[Debootloaders-yaboot] Bug#833751: ofpath: support for pata_macio on oldworld

Frederic Bonnard frediz at linux.vnet.ibm.com
Mon Aug 8 12:58:14 UTC 2016


Package: yaboot
Version: 1.3.17-4
Tags: patch

--

Hi,
here is a patch that should add support for pata_macio driver in ofpath on oldworld.
I have bug #695945 on qemu too and it seems that pata_macio driver is used and
by default qemu-system-ppc emulates an oldworld AAPL,PowerMac G3.
quik-installer uses ofpath and it fails to translate the linux device path to
OpenFirmware path, because this combination pata_macio/oldworld/PowerMac G3 is
not dealt with.
As it said in the bug above, not sure "nvsetenv boot-device \"${ofpath}0\" in
quik-installer post-install is needed. I tested quik-installer without those
lines and the installer worked. But this was on qemu and I don't have real
hardware to check more.
So I added support to the ofpath script.
ofpath wouldn't fail and will provide an OF path and I could finish the
installation properly. I checked the generated path was ok from the OF prompt
of the qemu machine.
Let me know what you think of this.
Thanks!


F.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pata_macio-support-on-old-world-yaboot_1.3.17-4.debdiff
Type: text/x-diff
Size: 1886 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debootloaders-yaboot/attachments/20160808/746f4504/attachment.diff>


More information about the Debootloaders-yaboot mailing list