<div>Hi rob,</div>
<div> </div>
<div>Openmoko&#39;s version of AR6k driver is for cards with 2.x firmware.<br>You seem to have a 1.x version ( BMI Get Target Info: Exit (ver: 0x1302270f type: 0x1) ), which is not compatible with 2.x.</div>
<div> </div>
<div>I faced the same problem as you before, except I was playing with the OMAP processor ( TI ).</div>
<div> </div>
<div>I can give you the job I did, but it only works in some conditions :</div>
<div>- your MMC/SD/SDIO driver must NOT use DMA transfers. The 32bit ARM core only supports transfers of data multiple of 4 bytes, but the AR6k driver sometimes sends data of 1, 2 or 3 bytes, resulting in DMA misaligned errors. I&#39;ve not been able to solve this problem, it could be nice to investigate.</div>

<div>- the driver works with a real MMC/SD/SDIO driver ( not SPI )... nevertheless, it maybe in SPI, but didn&#39;t tested.</div>
<div> </div>
<div>Regards,</div>
<div>Vincent.<br></div>
<div class="gmail_quote">2009/8/18 Robert Emanuele <span dir="ltr">&lt;<a href="mailto:rob@emanuele.us">rob@emanuele.us</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Greetings,<br><br>I&#39;ve been toying with your port of the ar6000 driver with my atmel<br>at91 processor.<br>
<br>It tries to initialize the card but fails....<br><br>ar6000_available<br>BMI Get Target Info: Exit (ver: 0x1302270f type: 0x1)<br>Block Size Set: 128 (target address:0x8000066C)<br>ar6000_init() Got WMI @ 0xc3a37d60.<br>
 Timeout waiting for recv message<br> Target Not Available!!<br>ar6000_avail: register_netdev failed<br>+ar6000_destroy<br>ar6000_cleanup(): WMI not ready 0xc3a322c0 0xc3a37d60<br>ar6000_cleanup(): Shut down WMI<br>eth0: link up (100/Full)<br>
 Attempting to reset target on instance destroy....<br>-ar6000_destroy<br><br>In an earlier post I saw that this firmware version may be too old.<br>I&#39;ve tried cards from 3 different vendors and the newest version I can<br>
come up with is 0x17 (which is on the way).  Does anyone know the<br>differences between 1.3 and the version that works with this driver?<br>How do the CE guys get this to work?  Or, does anyone know of a vendor<br>that sells an ar6000 with the latest firmware in an SD Card package?<br>
<br>Thanks,<br><br>Rob<br><br></blockquote></div><br>