Hi,

On Apple Xserve G5, the device tree looks like this with Linux v3.12:

        /proc/device-tree/ht@0,f2000000/pci@3/mac-io@7/escc@13000/ch-b@13000
        /proc/device-tree/ht@0,f2000000/pci@3/mac-io@7/escc@13000/ch-a@13020

Linux picks the ch-a as the first serial port:

        [    2.288585] 0.00013020:ch-a: ttyS0 at MMIO 0x80013020 [...]

Also in Open Firmware the primary serial port seems to be ch-a (there
is only one port in the box anyway). However, that won't work in GRUB
and I need to say "serial escc-ch-b --speed=57600" to get the serial
console working.

It would seem that GRUB 2.00 has ch-a and ch-b the other way round:

        add_device (macio_addr[2] + escc_addr[0] + 32, 1);
        add_device (macio_addr[2] + escc_addr[0], 0);

[...]

        add_device (grub_addr_t addr, int channel)

[...]

        port->name = grub_xasprintf ("escc-ch-%c", channel + 'a');

Is this a bug or maybe I have missed something?

A.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to