linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC8245/1 UARTs and linux-2.6.13-rc5
@ 2005-08-02 13:44 Kumar Gala
  2005-08-03  1:15 ` Daniel Ann
  0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2005-08-02 13:44 UTC (permalink / raw)
  To: linuxppc-embedded Linux list

For all people have issues with the UARTs on MPC8245/1.  In the  
2.6.13 kernel we reworked the support for UARTs to be platform  
devices.  If you look at the 2.6.13-rc5 release you will see the  
changes that went in.  Additionally, the sandpoint reference platform  
code was updated to take advantage of the changes.

Hopefully, these changes will make some of the issues you might be  
facing less of a problem.

- kumar 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MPC8245/1 UARTs and linux-2.6.13-rc5
  2005-08-02 13:44 MPC8245/1 UARTs and linux-2.6.13-rc5 Kumar Gala
@ 2005-08-03  1:15 ` Daniel Ann
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Ann @ 2005-08-03  1:15 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-embedded Linux list

Kumar,

Just on the subject, I'm finding that I have to define STD_COM_FLAGS
with ASYNC_SKIP_TEST to get my 8245 uart to display on console.
Purpose of ASYNC_SKIP_TEST is to skip below section of code found in
8250.c
[snip]
static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
[snip]
    if (!(up->port.flags & UPF_SKIP_TEST)) {
        serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A);
        status1 =3D serial_inp(up, UART_MSR) & 0xF0;
        serial_outp(up, UART_MCR, save_mcr);
        if (status1 !=3D 0x90) {
            DEBUG_AUTOCONF("LOOP test failed (%02x) ",
                       status1);
            goto out;
        }
    }
[end]
If I dont skip, then kernel boots up fine, with all the kernel printk,
but from /sbin/init onwards, I get no display and looking at the uart
interrupt using debugger, I see that interrupt hasnt been enabled. But
if I skip, all works like a charm.

Any idea why ?


On 8/2/05, Kumar Gala <kumar.gala@freescale.com> wrote:
> For all people have issues with the UARTs on MPC8245/1.  In the
> 2.6.13 kernel we reworked the support for UARTs to be platform
> devices.  If you look at the 2.6.13-rc5 release you will see the
> changes that went in.  Additionally, the sandpoint reference platform
> code was updated to take advantage of the changes.
>=20
> Hopefully, these changes will make some of the issues you might be
> facing less of a problem.
>=20
> - kumar
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20


--=20
Daniel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-03  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 13:44 MPC8245/1 UARTs and linux-2.6.13-rc5 Kumar Gala
2005-08-03  1:15 ` Daniel Ann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).