Re: h5400/h5550 Bluetooth troubles (possible cause: wlan driver)

From: Erik Hovland <erik_at_hovland.org>
Date: Mon, 7 Mar 2005 10:12:36 -0800

On Mon, Mar 07, 2005 at 06:48:05PM +0100, Catalin Drula wrote:
> It seems quite a shame to duplicate all this effort.

It does. But 2.6 is not ready for any iPAQ yet. The h2200 team and h3900
seem the closest. If you feel strongly start getting the 2.6 kernel
ready. That is where I have been putting most of my effort. The list of
things to do for the h5400 port is listed here:
http://handhelds.org/moin/moin.cgi/HpIpaqH5400

Having said that, it really doesn't matter what code base we use to
understand the problem. Once we understand it, we can make sure it works
in every code base.

> One of the necessary steps to enable this is to change the following line
> in include/asm-arm/arch-pxa/irqs.h from
> #define PXA_IRQ_SKIP 8
> to
> #define PXA_IRQ_SKIP 7
> (HWUART irqs are on the 7th bit of the interrupt register)
>
> This has been done in the other patches I mentioned above (e.g. for 2.6).

Do you have a file in particular that should be looked at? Is it in the
hh 2.6 kernel cvs, or the arm tree?

> However, I could not boot a 2.4.19-rmk6-pxa1-hh37.5-r4 kernel with just
> the above modification. It gets stuck right before "Calibrating delay
> loop..." (so very early in the booting). At first I wondered if that's a
> problem of some objects not getting recompiled and having the old values
> of the irqs hardcoded in, but I did a "make clean" and then rebuilt the
> kernel, to no success.
>
> What it's very strange is that I tried the same patch on Saturday (the
> full patch including the modification above) and that booted fine, I tried
> to hciattach to ttyS3 (where the HWUART is) but no bytes were received.
> Later I figured out that I had forgotten to enable the clock line for
> HWUART. I think it was a different kernel that I was working on Saturday,
> but for a bunch of strange reasons (the codebase got deleted by accident),
> I can't tell for sure which (maybe -r3 instead of -r4).
>
> Anyways, if anyone has some suggestions, they're welcome,

Do you think you could generate a patch of what you tried? I know it
doesn't work, but it would be a good place to start discussion on what
to do.

Thanks for trying things out. It really helps the port to have testers
and thinkers like you.

E

-- 
Erik Hovland
mail: erik AT hovland DOT org
web: http://hovland.org/
PGP/GPG public key available on request
Received on Mon Mar 07 2005 - 13:14:59 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT