lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1187256497.16454.41.camel@localhost>
Date:	Thu, 16 Aug 2007 11:28:17 +0200
From:	Milan Plzik <milan.plzik@...il.com>
To:	Steven Newbury <s_j_newbury@...oo.co.uk>
Cc:	linux-kernel@...r.kernel.org, linux-pcmcia@...ts.infradead.org
Subject: Re: [PATCH] pxa2xx PCMCIA timing issue on iPAQ H5550

On Št, 2007-08-09 at 16:06 +0100, Steven Newbury wrote:
> --- Milan Plzik <milan.plzik@...il.com> wrote:
> 
> >   Good day,
> > 
> >   recently I've been trying to get working PCMCIA interface on H5000
> > ipaq series, using dual PCMCIA sleeve. So far things work correctly, but
> > I had to do one modification to drivers/pcmcia/pxa2xx_base.c to get the
> > interface working with orinoco gold PCMCIA card (wired pcnet_cs ethernet
> > card worked even without this modification). Patch attached.
> > 
> >   The issue has something to do with assert time on PCMCIA bus, but I'm
> > not really sure what -- I found the working value just by trial&error
> > approach. I'm not sure how is the assert value in pxa2xx_mcxx_asst
> > calculated (I know, simple formula, but the reason why is it calculated
> > that way is not obvious for me), neither that my modification is
> > correct. It just works with iPAQ. 
> > 
> I posted a patch to linux-arm-kernel which reworked the timing code.  The
> existing is/was IMHO wrong and this showed up for me with frequency scaling
> where the code would not keep the PCMCIA timings constant with changes to the
> core frequency.  Here it is:
> http://marc.info/?l=linux-arm-kernel&m=116861295404294&w=2

  I found out that drivers/pcmcia/pxa2xx_base.c from handhelds.org tree
was a bit modified. I tried both vanilla kernel tree and vanilla+this
patch -- both worked with pcnet_cs, and neither one with orinoco card.
As far as I understand, handhelds.org modification makes use of memory
clock instead of cpu clock for calculations. But even when using old
handhelds.org driver with modified formulas, orinoco card won't
initialize.

  I'm not really sure how things should be calculated, I'll try ask
folks who modified the hh.org driverto see what could cause the
problems.

> 
> 
> Steve
> 

	Milan

> 
>       ___________________________________________________________
> For email that puts you in control, choose Yahoo! Mail.
> http://uk.docs.yahoo.com/mail/addressguard2.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ