Skip to contentSkip to conversation

cpm_dpalloc

DISCUSSION Li Yang-r58472 1 participant 1 message Aug 1, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

Best Regards,
Leo

Quoted 5 lines

-----Original Message-----
From: Keinen Namen [mailto:[email protected]]
Sent: Monday, July 31, 2006 9:39 PM
To: Li Yang-r58472
Subject: Re: RE: RE: cpm_dpalloc

Quoted 8 lines

=20
Thx, now it=B4s working fine.
=20
But my Problem didn=B4t solved :(
But I have an other Question about SPI.
=20
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

Quoted 3 lines

is ok?
=20
I try to look at the RX internal byte count in the Parameter ram, but =

there is nothing

Quoted 12 lines

chance.
=20
Regards
Fred
=20
-------- Original-Nachricht --------
Datum: Mon, 31 Jul 2006 17:24:30 +0800
Von: "Li Yang-r58472" <[email protected]>
An: "Keinen Namen" <[email protected]>
Betreff: RE: RE: cpm_dpalloc
=20

Quoted 1 line

Yes, but that patch is for powerpc arch. You can use this patch for =

ppc.

Quoted 23 lines
Quoted 23 lines

http://patchwork.ozlabs.org/linuxppc/patch?id=3D4317

Best Regards,
Leo

Quoted 19 lines

-----Original Message-----
From: Keinen Namen [mailto:[email protected]]
Sent: Monday, July 31, 2006 5:21 PM
To: Li Yang-r58472
Subject: Re: RE: cpm_dpalloc

Thanks for your fast Help.

I=B4m 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" <[email protected]>
An: [email protected], [email protected]
Betreff: RE: cpm_dpalloc

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

There is a bug in rheap for alignment. The patch is still =

hanging

Quoted 10 lines
Quoted 10 lines

around.

Quoted 2 lines
Quoted 2 lines

Search rheap and alignment on the linuxppc-dev list for patch

previously

Quoted 6 lines
Quoted 6 lines

posted.

Best Regards,
Leo

Quoted 2 lines

-----Original Message-----
From: =

[email protected]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

=

[mailto:[email protected]] On

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Behalf Of

Quoted 8 lines

[email protected]
Sent: Monday, July 31, 2006 4:50 PM
To: [email protected]
Subject: cpm_dpalloc

Hi All

I have a MPC82xx Processor from Freescale with Linux 2.6.14 ( =

Can=B4t

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

chance to an

Quoted 3 lines

new version).

My Problem is that I want to allocate a 64byte of memory in =

the dual

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

ported ram

Quoted 3 lines

with an alignment of 64bytes. (Needed for SPI Parameter Ram)

the funktion cpm_dpalloc(64,64) returned 0x220 but that are =

not in a

Quoted 10 lines
Quoted 10 lines

64

Quoted 9 lines
Quoted 9 lines

byte

Quoted 8 lines

alignment.

Regards
Fred
--

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu =

sparen!

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Ideal f=FCr Modem und ISDN: =

http://www.gmx.net/de/go/smartsurfer

Quoted 20 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 4 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 5 lines
Quoted 5 lines

--

Echte DSL-Flatrate dauerhaft f=FCr 0,- Euro*. Nur noch kurze Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl

=20
--
=20
=20
Echte DSL-Flatrate dauerhaft f=FCr 0,- Euro*. Nur noch kurze Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl