<!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>
Wow, quick replies.<BR>
<BR>
RE: Tree.&nbsp;<BR>
Its the mainline 2.6.17.1, with<BR>
denx ppc patches from 4.0.0?&nbsp; IIRC.<BR>
I redid the patch set for the xsysace to get a known baseline.<BR>
Its a custom build system, which I developed over the years, ported to use a ppc405 crosscompiler I made from<BR>
CrossTool-0.42. Its very similar to uClinux, but with a simpler config system.<BR>
The compiler is gcc.3.4.1 with glibc 2.3.3 (yeah we use glibc).<BR>
<BR>
The XsysAce patch is in the normal place, only change I made was to define the major number.<BR>
And I moved xbasic_types.c/h to another folder onthe path since xilinx_iic drivers uses it too, and I was getting redefine errors.<BR>
One thing I just thought of was I did not run the 'normal' config stuff, any deps in there?<BR>
I can go look at the kconfigs and see.<BR>
<BR>
RE: Xilinx SysAce driver<BR>
The HW group used Xilinx env 8.2.02i, and the project shows Sysace_compactflash driver:&nbsp; sysace_v1_01_a<BR>
<BR>
The HW is a Virtex-4 with the embedded ppc405.&nbsp; The Xsysace chip is supposed tobe using irq_intr = 2.<BR>
<BR>
The system actually works fine using the Ext2 fs, but if we want to upgrade the fpga code, I need to be able to write to the dos part.<BR>
<BR>
Thanks so much.<BR>
<BR>
<BR>
Joe Robertson<BR>
Joseph.Robertson@sanmina-sci.com<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: glikely@secretlab.ca on behalf of Grant Likely<BR>
Sent: Thu 7/12/2007 1:16 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;<BR>
&gt;&nbsp; I've been workig with this for a while but have made no progress.<BR>
&gt;&nbsp; Today I got the latest XSysAce patch for kernel 2.6.17.1 and applied it to<BR>
&gt; get clean code.<BR>
&gt;&nbsp; I inherited the previous code from another developer.<BR>
<BR>
Who's tree are you using?&nbsp; Montavistas?&nbsp; Mainline?<BR>
<BR>
Which sysace driver are you using?&nbsp; The old one from Xilinx or the new one?<BR>
<BR>
&gt;<BR>
&gt;&nbsp; My problem is that mounting the DOS partition always fails in a short time<BR>
&gt; with a kernel oops.<BR>
&gt;<BR>
&gt;&nbsp; ECAU-9999:# Oops: kernel access of bad area, sig: 11 [#1]<BR>
&gt;<BR>
&gt;&nbsp; PREEMPT<BR>
---8&lt;---snip---&gt;8---<BR>
&gt;&nbsp; LR [C0070C18] drain_array+0xb8/0x124<BR>
&gt;<BR>
&gt;&nbsp; Call Trace:<BR>
<BR>
Did you trim off the call trace?&nbsp; The call trace is pretty useful for<BR>
figuring out what happened.<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>
<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>