cpm_dpalloc

Li Yang-r58472 LeoLi at freescale.com
Tue Aug 1 13:20:48 EST 2006


I'm not very familiar with SPI.  See if someone on the list can help.

Best Regards,
Leo
> -----Original Message-----
> From: Keinen Namen [mailto:GSM909 at gmx.de]
> Sent: Monday, July 31, 2006 9:39 PM
> To: Li Yang-r58472
> Subject: Re: RE: RE: cpm_dpalloc
> 
> Thx, now it´s working fine.
> 
> But my Problem didn´t solved :(
> But I have an other Question about SPI.
> 
> How can I see that the init of RX and TX Parameter are succsesful ?
> I just looking till the CPM_CR_FLG till is cleard but I did not see if the init
> is ok?
> 
> I try to look at the RX internal byte count in the Parameter ram, but there is nothing
> chance.
> 
> Regards
> Fred
> 
> -------- Original-Nachricht --------
> Datum: Mon, 31 Jul 2006 17:24:30 +0800
> Von: "Li Yang-r58472" <LeoLi at freescale.com>
> An: "Keinen Namen" <GSM909 at gmx.de>
> Betreff: RE: RE: cpm_dpalloc
> 
> > Yes, but that patch is for powerpc arch.  You can use this patch for ppc.
> > http://patchwork.ozlabs.org/linuxppc/patch?id=4317
> >
> > Best Regards,
> > Leo
> > > -----Original Message-----
> > > From: Keinen Namen [mailto:GSM909 at gmx.de]
> > > Sent: Monday, July 31, 2006 5:21 PM
> > > To: Li Yang-r58472
> > > Subject: Re: RE: cpm_dpalloc
> > >
> > > Thanks for your fast Help.
> > >
> > > I´m not firm in patches. Is this the patch ?
> > > http://lkml.org/lkml/2006/6/30/108
> > >
> > > Regards
> > > Fred
> > > -------- Original-Nachricht --------
> > > Datum: Mon, 31 Jul 2006 16:56:54 +0800
> > > Von: "Li Yang-r58472" <LeoLi at freescale.com>
> > > An: GSM909 at gmx.de, linuxppc-embedded at ozlabs.org
> > > Betreff: RE: cpm_dpalloc
> > >
> > > > There is a bug in rheap for alignment.  The patch is still hanging
> > around.
> > > >
> > > > Search rheap and alignment on the linuxppc-dev list for patch
> > previously
> > > > posted.
> > > >
> > > > Best Regards,
> > > > Leo
> > > > > -----Original Message-----
> > > > > From: linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org
> > > > > [mailto:linuxppc-embedded-bounces+leoli=freescale.com at ozlabs.org] On
> > > > Behalf Of
> > > > > GSM909 at gmx.de
> > > > > Sent: Monday, July 31, 2006 4:50 PM
> > > > > To: linuxppc-embedded at ozlabs.org
> > > > > Subject: cpm_dpalloc
> > > > >
> > > > > Hi All
> > > > >
> > > > > I have a MPC82xx Processor from Freescale with Linux 2.6.14 ( Can´t
> > > > chance to an
> > > > > new version).
> > > > >
> > > > > My Problem is that I want to allocate a 64byte of memory in the dual
> > > > ported ram
> > > > > with an alignment of 64bytes. (Needed for SPI Parameter Ram)
> > > > >
> > > > > the funktion cpm_dpalloc(64,64) returned 0x220 but that are not in a
> > 64
> > > > byte
> > > > > alignment.
> > > > >
> > > > > Regards
> > > > > Fred
> > > > > --
> > > > >
> > > > >
> > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > > > > _______________________________________________
> > > > > Linuxppc-embedded mailing list
> > > > > Linuxppc-embedded at ozlabs.org
> > > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> > > > _______________________________________________
> > > > Linuxppc-embedded mailing list
> > > > Linuxppc-embedded at ozlabs.org
> > > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> > >
> > > --
> > >
> > >
> > > Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
> > > "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
> 
> --
> 
> 
> Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
> "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl



More information about the Linuxppc-embedded mailing list