grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PowerMac serial console confusion


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: PowerMac serial console confusion
Date: Sun, 10 Nov 2013 17:54:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 09.11.2013 18:04, Aaro Koskinen wrote:
> Hi,
> 
> On Apple Xserve G5, the device tree looks like this with Linux v3.12:
> 
>       
> /proc/device-tree/address@hidden,f2000000/address@hidden/address@hidden/address@hidden/address@hidden
>       
> /proc/device-tree/address@hidden,f2000000/address@hidden/address@hidden/address@hidden/address@hidden
> 
> 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?
> 
It is a bug: I must have exchanged add_device's in order to make order
right but it didn't work since I forgot to change the argument.
Fixed, thanks.
On another note: your message was stuck in spambox, I've seen it only
because I was looking for another message in spambox. Apparently iki.fi
is on some blacklist.
> A.
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]