<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: XSysAce driver cant mount DOS part</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
I will try the new code you suggest.&nbsp; We are not supporting CF changes at all (factory only).<BR>
<BR>
<BR>
RE: 2.6.17.1 being old.<BR>
Well, old is relative.&nbsp; Once this works, and its 99% there, we won't change it.<BR>
We'll probably be using this kernel for 3-5 years.<BR>
In fact, at this point we've got 2.5 years invested, and about 4 months of testing already, so changing now is bad.<BR>
That would mean I have to retest a whole bunch of stuff.<BR>
<BR>
Thanks,<BR>
Joe Robertson<BR>
Joseph.Robertson@sanmina-sci.com<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: glikely@secretlab.ca on behalf of Grant Likely<BR>
Sent: Thu 7/12/2007 2:06 PM<BR>
To: Robertson, Joseph M.<BR>
Cc: linuxppc-embedded@ozlabs.org<BR>
Subject: Re: XSysAce driver cant mount DOS part<BR>
<BR>
On 7/12/07, Robertson, Joseph M. &lt;joseph.robertson@sanmina-sci.com&gt; wrote:<BR>
&gt;&nbsp; RE: Tree.<BR>
&gt;&nbsp; Its the mainline 2.6.17.1, with<BR>
&gt;&nbsp; denx ppc patches from 4.0.0?&nbsp; IIRC.<BR>
&gt;&nbsp; I redid the patch set for the xsysace to get a known baseline.<BR>
&gt;&nbsp; Its a custom build system, which I developed over the years, ported to use<BR>
&gt; a ppc405 crosscompiler I made from<BR>
&gt;&nbsp; CrossTool-0.42. Its very similar to uClinux, but with a simpler config<BR>
&gt; system.<BR>
&gt;&nbsp; The compiler is gcc.3.4.1 with glibc 2.3.3 (yeah we use glibc).<BR>
<BR>
Heh, so do I.&nbsp; So do a lot of people.&nbsp; glibc *is* for embedded<BR>
systems, regardless of what some may say.&nbsp; :-)<BR>
<BR>
&gt;&nbsp; The XsysAce patch is in the normal place, only change I made was to define<BR>
&gt; the major number.<BR>
&gt;&nbsp; And I moved xbasic_types.c/h to another folder onthe path since xilinx_iic<BR>
&gt; drivers uses it too, and I was getting redefine errors.<BR>
&gt;&nbsp; One thing I just thought of was I did not run the 'normal' config stuff,<BR>
&gt; any deps in there?<BR>
&gt;&nbsp; I can go look at the kconfigs and see.<BR>
&gt;<BR>
&gt;&nbsp; RE: Xilinx SysAce driver<BR>
&gt;&nbsp; The HW group used Xilinx env 8.2.02i, and the project shows<BR>
&gt; Sysace_compactflash driver:&nbsp; sysace_v1_01_a<BR>
<BR>
Okay, so that's the old driver.&nbsp; There is a new driver that has<BR>
considerably better performance which you might want to try; but it<BR>
doesn't support insertion/removal yet.&nbsp; It is about to be pulled into<BR>
mainline, but you can get it here too:<BR>
<BR>
<A HREF="http://article.gmane.org/gmane.linux.kernel/526293/match=xsysace+c">http://article.gmane.org/gmane.linux.kernel/526293/match=xsysace+c</A><BR>
<BR>
&gt;<BR>
&gt;&nbsp; The HW is a Virtex-4 with the embedded ppc405.&nbsp; The Xsysace chip is<BR>
&gt; supposed tobe using irq_intr = 2.<BR>
&gt;<BR>
&gt;&nbsp; The system actually works fine using the Ext2 fs, but if we want to upgrade<BR>
&gt; the fpga code, I need to be able to write to the dos part.<BR>
<BR>
2.6.17 is rather old.&nbsp; You might be hitting an old bug.&nbsp; Virtex<BR>
support in the newer kernels is significantly better.&nbsp; Have you<BR>
considered upgrading?&nbsp; I've got a bunch of patches in my git tree that<BR>
add the TEMAC and other drivers to a more recent kernel.&nbsp; My internal<BR>
tree is based on 2.6.22; I'll try to update my external tree to match<BR>
in the next day or so:<BR>
<BR>
<A HREF="http://git.secretlab.ca/cgi-bin/gitweb.cgi?h=virtex-dev;p=linux-2.6.git;a=shortlog">http://git.secretlab.ca/cgi-bin/gitweb.cgi?h=virtex-dev;p=linux-2.6.git;a=shortlog</A><BR>
<BR>
Cheers,<BR>
g.<BR>
<BR>
--<BR>
Grant Likely, B.Sc., P.Eng.<BR>
Secret Lab Technologies Ltd.<BR>
grant.likely@secretlab.ca<BR>
(403) 399-0195<BR>
<BR>
</FONT>
</P>


<BR>
CONFIDENTIALITY<BR>
This e-mail message and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail message, you are hereby notified that any dissemination, distribution or copying of this e-mail message, and any attachments thereto, is strictly prohibited.  If you have received this e-mail message in error, please immediately notify the sender and permanently delete the original and any copies of this email and any prints thereof.<BR>
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic Transactions Act or the applicability of any other law of similar substance and effect, absent an express statement to the contrary hereinabove, this e-mail message its contents, and any attachments hereto are not intended to represent an offer or acceptance to enter into a contract and are not otherwise intended to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or any other person or entity.<BR>
</BODY>
</HTML>