[oe] [Angstrom-distro-users] PXA/8250 serial clash strikes back

SDG Systems sdgvulpes at gmail.com
Thu Jan 17 22:12:52 UTC 2008


On Jan 17, 2008 1:00 PM, Paul Sokolovsky <pmiscml at gmail.com> wrote:
> Hello Dmitry,
>
>       Great analysis. Let's see what we can do.
>
>
> Thursday, January 17, 2008, 7:16:54 PM, you wrote:
>
> > After making gpsdrive-ipaq compile for Angstrom[1] , I tried to test in
> > a real life on my iPAQ h2200 and suddenly found, that I can't.
> > Needed kernel module for my CompactFash GPS card, serial_cs wasn't in
> > the feeds. Oops.
>
> > I filed a bug[2], then changed OE's defconfig to include
> > CONFIG_SERIAL_8250_CS=m , rebuild kernel and installed missing modules
> > on PDA. Still no luck. On modprobe serial_cs I got this:
> []
>
> > Well, what choices do we have:
> > 1) Downgrade kernel to -hh17 (may cause some regressions)
>
> Nak.
>
> > 2) Reapply old hack to hh.org kernel locally in OE and then upgrade to it.
>
> We can reapply it to the tree too.
>
> > 3) Switch hh.org kernel to scheme suggested by RMK (renaming PXA serial
> >    ports from ttyS* to ttySA*) [4] and then fix (a lot of?)  broken
> >    userspace programs.
>
>      Well, if RMK himself "suggests" such fix, then it would be
> apparently the way to go (because it the most clean and consistent
> solution too). The best course of action would be to feed this patch
> back into LAKML and make sure Eric Miao saw it - he did many changes
> to PXA code RMK couldn't make before.

For what it's worth, we (SDG Systems) have been patching the hh.org
kernels to use the ttySA namespace for serial/pxa.c. We also make the
related changes in OE. We just always felt like it was an uphill
battle with getting mainline to do the same (ttySA).

However, the ttySA approach has worked well, and our users are happy with it.
--
Todd Blumer
SDG Systems




More information about the Openembedded-devel mailing list