From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by ozlabs.org (Postfix) with ESMTP id 4F857681D2 for ; Thu, 1 Sep 2005 11:17:52 +1000 (EST) Received: by wproxy.gmail.com with SMTP id i36so61770wra for ; Wed, 31 Aug 2005 18:17:51 -0700 (PDT) Message-ID: <470b639705083118114bcd2070@mail.gmail.com> Date: Wed, 31 Aug 2005 18:11:06 -0700 From: Tony Lee To: Peter Ryser In-Reply-To: <4313FA43.1040206@xilinx.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7469_18531567.1125537066659" References: <4313FA43.1040206@xilinx.com> Cc: linuxppc-embedded@ozlabs.org Subject: Re: linuxppc-2.4.30-pre1 crashes with root fs on Xilinx SystemACE List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_7469_18531567.1125537066659 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Keith,=20 Some suggestions, before you verify your hw board/FPGA works fine with=20 SYSACE,=20 * don't use sysace as root fs. * use a ram fs as root fs.=20 * Next, load sysace driver a loadable driver module. It works, I tried it. * check mount read only and see if it works. * Next, mount it writable. We have some issues with sysace driver initially, everything works out fine= =20 later. There were small errors in our HW layout. I had to hack the sysace driver left and right to id the problem. But at th= e=20 end, after I fixed the layout problem from the fpga's ucf file, the origina= l=20 driver run perfectly without any modification. In my experiences, the ppc linux distribution and its linux sysace driver= =20 are good if everything is setup correctly. One minor issues: The sysace driver's write performance sucks. I have to=20 explain to others why the upgrade 10 MBytes files with usb flash writer takes tens= =20 of=20 seconds. When we do it from linux (nfs or ftp), it tooks minutes to sync. Peter, maybe you can push the xilinx a bit on sysace write performance? :-) -Tony On 8/29/05, Peter Ryser wrote: >=20 > Hi Keith, >=20 > I sent you a private email but for other interested people: > Downloading the latest linuxppc-2.4 kernel I could boot from and access > System ACE CF without problems on a ML403 (Virtex-4, 4VFX12) and a ML310 > (Virtex-II Pro, 2VP30) using EDK 7.1.2. In both cases I started with > config_xilinx_ml300. >=20 > - Peter >=20 >=20 >=20 > Keith J Outwater wrote: >=20 > >Hello - > >Per a previous suggestion from this list, I rsynced the linuxppc-2.4 > >kernel sources from MontaVista and modified the kernel to run on my=20 > custom > >ppc405/VirtexII Pro based system with U-Boot as the bootloader. > >When I try to use the SystemACE device as the root filesystem, the kerne= l > >crashes with a sig 11. Looking at the 'oops' output it appears the > >SystemACE driver may be to blame. The crash is random - sometimes I get > >all the way to login as root and then things crash on a file copy or a > >file read. > >Before I start digging deeper, is anyone running a VirtexIIPro based > >system with the root filesystem in the CF card attached to a SystemACE? > >I'm wondering if I really have the best kernel and SystemACE driver. > >BTW, I'm developing the hardware design using Xilinx EDK 7.02i. > >Thanks, > >Keith > >_______________________________________________ > >Linuxppc-embedded mailing list > >Linuxppc-embedded@ozlabs.org > >https://ozlabs.org/mailman/listinfo/linuxppc-embedded > > > > > > > > >=20 >=20 >=20 > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded >=20 --=20 -Tony Having fun with FPGA HW + ppc + Linux ------=_Part_7469_18531567.1125537066659 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Keith, 

Some suggestions, before you verify your hw board/FPGA works fine with SYSA= CE,
    * don't use sysace as root fs.
    * use a ram fs as root fs.  
    * Next, load sysace driver a loadable driver module.&nbs= p; It works, I tried it.
    * check mount read only and see if it works.
    * Next, mount it writable.

We have some issues with sysace driver initially, everything works out fine= later.
There were small errors in our HW layout.

I had to hack the sysace driver left and right to id the problem.  But= at the
end, after I fixed the layout problem from the fpga's ucf file, the origina= l driver
run perfectly without any modification.

In my experiences, the ppc linux distribution and its linux sysace driver a= re good
if everything is setup correctly.

One minor issues:  The sysace driver's write performance sucks.  = I have to explain
to others why the upgrade 10 MBytes files with usb flash writer takes tens = of
seconds.  When we do it from linux (nfs or ftp), it tooks minutes to s= ync.

Peter, maybe you can push the xilinx a bit on sysace write performance? :-)=

-Tony

On 8/29/05, Peter Ryser <= peter.ryser@xilinx.com> wrote:
Hi Keith,

I sent you a private email but for other interested people= :
Downloading the latest linuxppc-2.4 kernel I could boot from and acces= s
System ACE CF without problems on a ML403 (Virtex-4, 4VFX12) and a ML3= 10
(Virtex-II Pro, 2VP30) using EDK 7.1.2. In both cases I started withconfig_xilinx_ml300.

- Peter



Keith J Outwater wrote:=

>Hello -
>Per a previous suggestion from this list, I rsyn= ced the=20 linuxppc-2.4
>kernel sources from MontaVista and modified the kernel = to run on my custom
>ppc405/VirtexII Pro based system with U-Boot as = the bootloader.
>When I try to use the SystemACE device as the root f= ilesystem, the kernel
>crashes with a sig 11.  Looking at the 'oops' output it a= ppears  the
>SystemACE driver may be to blame.  T= he crash is random - sometimes I get
>all the way to login as root an= d then things crash on a file copy or a
>file read.
>Before I start digging deeper, is anyone running = a VirtexIIPro based
>system with the root filesystem in the CF card a= ttached to a SystemACE?
>I'm wondering if I really have the best kern= el and SystemACE driver.
>BTW, I'm developing the hardware design using Xilinx EDK 7.02i.
= >Thanks,
>Keith
>___________________________________________= ____
>Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc= -embedded
>
>
>
>



______________= _________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/l= inuxppc-embedded



--
-Tony
Having= fun with FPGA HW + ppc + Linux
------=_Part_7469_18531567.1125537066659--