linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux on a Motorola MPC5200 ?
@ 2004-01-27 17:28 Sylvain Munaut
  2004-01-27 18:28 ` Dale Farnsworth
  2004-01-27 19:14 ` Wolfgang Denk
  0 siblings, 2 replies; 12+ messages in thread
From: Sylvain Munaut @ 2004-01-27 17:28 UTC (permalink / raw)
  To: linuxppc-embedded


Hello

I'd like to run linux on a future custom board based on a motorola
MPC5200 and I have a few questions :

 - What is the current support for it ? Stable ... I'd need the DMA (
well, their 'special DMA fancy stuff' ;) ), ATA, DDR, I2S, AC97 mainly.
 - I'd really like to run a 2.6 kernel on it. If it's not yet ported to
the 2.6 what is the current ppc support for 2.6 ? Would I "only" need to
port MPC specifics ?
 - Where can I find the current stuff ? I've taken what is in
ppc.bkbits.net/linux-2.4-mpc5xxx, is there other things I should consider ?

Thanks for any informations

    Munaut Sylvain

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux on a Motorola MPC5200 ?
  2004-01-27 17:28 Linux on a Motorola MPC5200 ? Sylvain Munaut
@ 2004-01-27 18:28 ` Dale Farnsworth
  2004-01-27 19:14 ` Wolfgang Denk
  1 sibling, 0 replies; 12+ messages in thread
From: Dale Farnsworth @ 2004-01-27 18:28 UTC (permalink / raw)
  To: Sylvain Munaut, linuxppc-embedded


On Tue, Jan 27, 2004 at 05:28:38PM +0000, Sylvain Munaut wrote:
> Hello
>
> I'd like to run linux on a future custom board based on a motorola
> MPC5200 and I have a few questions :
>
> - What is the current support for it ? Stable ... I'd need the DMA (
> well, their 'special DMA fancy stuff' ;) ), ATA, DDR, I2S, AC97 mainly.
> - I'd really like to run a 2.6 kernel on it. If it's not yet ported to
> the 2.6 what is the current ppc support for 2.6 ? Would I "only" need to
> port MPC specifics ?
> - Where can I find the current stuff ? I've taken what is in
> ppc.bkbits.net/linux-2.4-mpc5xxx, is there other things I should consider ?
>
> Thanks for any informations
>
>    Munaut Sylvain

I think you've found pretty much what's available.  I haven't
seen a 2.6 port for the 5200 yet.

-Dale Farnsworth

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux on a Motorola MPC5200 ?
  2004-01-27 17:28 Linux on a Motorola MPC5200 ? Sylvain Munaut
  2004-01-27 18:28 ` Dale Farnsworth
@ 2004-01-27 19:14 ` Wolfgang Denk
  2004-01-27 23:37   ` Sylvain Munaut
  2004-02-02 20:20   ` MPC5200 LOWBOOT problem Tord Andersson
  1 sibling, 2 replies; 12+ messages in thread
From: Wolfgang Denk @ 2004-01-27 19:14 UTC (permalink / raw)
  To: Sylvain Munaut; +Cc: linuxppc-embedded


In message <40169FC6.1040805@246tNt.com> you wrote:
>
> I'd like to run linux on a future custom board based on a motorola
> MPC5200 and I have a few questions :
>
>  - What is the current support for it ? Stable ... I'd need the DMA (

Yes, it is stable, with a couple of well-known problems.

> well, their 'special DMA fancy stuff' ;) ), ATA, DDR, I2S, AC97 mainly.

ATA: OK as long as you don't enable DMA writes (*)

DDR: OK (use icecube_5200_DDR configuration in U-Boot); the LOWBOOT
     option is not working yet (we are working on this)

I2S: simultaneous reading and writing is impossible (*)
AC97: ditto

(*) to fix these issues we're waiting for a  bugfix  release  of  the
    BestComm CAPI which might become availabe by mid February.

>  - I'd really like to run a 2.6 kernel on it. If it's not yet ported to

Forget it. Why would you want to  do  that?  Which  features  do  you
expect from 2.6 which are not available in 2.4?

> the 2.6 what is the current ppc support for 2.6 ? Would I "only" need to
> port MPC specifics ?

No comment.

>  - Where can I find the current stuff ? I've taken what is in
> ppc.bkbits.net/linux-2.4-mpc5xxx, is there other things I should consider ?

Our current stuff is on our CVS  server,  in  the  linuxppc_2_4_devel
tree.  As  far  as the 5200 is concerned this includes stuff that was
submitted but not yet added to the linux-2.4-mpc5xxx  tree  (but  Tom
promised to add our patches).


Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Machines take me by surprise with great frequency.      - Alan Turing

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux on a Motorola MPC5200 ?
  2004-01-27 19:14 ` Wolfgang Denk
@ 2004-01-27 23:37   ` Sylvain Munaut
  2004-02-02 20:20   ` MPC5200 LOWBOOT problem Tord Andersson
  1 sibling, 0 replies; 12+ messages in thread
From: Sylvain Munaut @ 2004-01-27 23:37 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded


Hi

>>well, their 'special DMA fancy stuff' ;) ), ATA, DDR, I2S, AC97 mainly.
>>
>>
>
>ATA: OK as long as you don't enable DMA writes (*)
>
>
>
Are DMA Read supported ? ( I mean possible to just use DMA for the reads
? My application is about 95 % reads ;)
What's the performance impact ?

>DDR: OK (use icecube_5200_DDR configuration in U-Boot); the LOWBOOT
>     option is not working yet (we are working on this)
>
>I2S: simultaneous reading and writing is impossible (*)
>AC97: ditto
>
>
>
Ok, not a problem for me I only do audio out.
But just in case, if I do In and Out on different PSC, does this works ?

>(*) to fix these issues we're waiting for a  bugfix  release  of  the
>    BestComm CAPI which might become availabe by mid February.
>
>
Cool !

>> - I'd really like to run a 2.6 kernel on it. If it's not yet ported to
>>
>>
>
>Forget it. Why would you want to  do  that?  Which  features  do  you
>expect from 2.6 which are not available in 2.4?
>
>
>
>
Well things like *:
 -  Pluggable I/O Scheduler
 -  Kernel preemption
 -  Better IPSec / Encryption support
 -  udev stuff ( in fact userspace but may depend on some kernel
interface, have to check. Primarly done for the 2.6 AFAIK )
 -  Native ALSA

And also because when I start a new project I like to use "new" stuff ;)
That's were a majority of new nifty features are ...



(*) I'm not sure they are all only and 2.6 and not backported/already in
2.4, I have to check.

>Our current stuff is on our CVS  server,  in  the  linuxppc_2_4_devel
>tree.  As  far  as the 5200 is concerned this includes stuff that was
>submitted but not yet added to the linux-2.4-mpc5xxx  tree  (but  Tom
>promised to add our patches).
>
>
>
I've just downloaded it but ran into a problem when compiling the kernel
with the icecube default config.

In arch/ppc/boot/common/misc-simple.c :
 - the decompress_kernel routine is used before being defined/declared
 - the decompress_kernel defined there takes 3 args, the one used in
load_kernel func ( same file ), gives 4 args to it ...


Sylvain Munaut

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* MPC5200 LOWBOOT problem
  2004-01-27 19:14 ` Wolfgang Denk
  2004-01-27 23:37   ` Sylvain Munaut
@ 2004-02-02 20:20   ` Tord Andersson
  2004-02-03  1:36     ` Wolfgang Denk
  1 sibling, 1 reply; 12+ messages in thread
From: Tord Andersson @ 2004-02-02 20:20 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded


Wolfgang,

I have seen a remark on problems with the MPC5200 LOWBOOT configuaration in the linuxppc-embedded list:

>DDR: OK (use icecube_5200_DDR configuration in U-Boot); the LOWBOOT
>     option is not working yet (we are working on this)

I have serached the PPC and U-Boot lists but have not been able to find more info.
What effect does the LOWBOOT problem have? Page allocation error during kernel startup or something else?
Any additional information would be very helpful.

Kind regards,

Tord Andersson


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: MPC5200 LOWBOOT problem
  2004-02-02 20:20   ` MPC5200 LOWBOOT problem Tord Andersson
@ 2004-02-03  1:36     ` Wolfgang Denk
  2004-02-03  2:24       ` Does anybody know which function can read clock counter of Linux kernel? John Zhou
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Denk @ 2004-02-03  1:36 UTC (permalink / raw)
  To: Tord Andersson; +Cc: linuxppc-embedded


Dear Tord,

in message <07b501c3e9ca$0f1c89e0$f62d7f3e@emil> you wrote:
>
> >DDR: OK (use icecube_5200_DDR configuration in U-Boot); the LOWBOOT
> >     option is not working yet (we are working on this)
>
> I have serached the PPC and U-Boot lists but have not been able to find more info.

I guess there are not many DDR based MPC5200 boards out  there;  most
people seem to be using the LITE5200, or follow this design closely.

> What effect does the LOWBOOT problem have? Page allocation error during kernel startup or something else?

U-Boot does not boot, i. e. nothing goes.

> Any additional information would be very helpful.

Actually nothing happened yet. We had  some  other,  higher  priority
issues  to solve. I'll check in the fix to the U-Boot tree as soon as
it becomes available.

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Hindsight is an exact science.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Does anybody know which function can read clock counter of Linux kernel?
  2004-02-03  1:36     ` Wolfgang Denk
@ 2004-02-03  2:24       ` John Zhou
  0 siblings, 0 replies; 12+ messages in thread
From: John Zhou @ 2004-02-03  2:24 UTC (permalink / raw)
  To: linuxppc-embedded


Hi!

Does anybody know which function can read clock counter of Linux kernel?
I konw "tickGet()" of vxworks can read OS clock counter.

Thanks any commemts!
John

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Linux on a Motorola MPC5200 ?
@ 2004-02-12 10:58 marko.virkki
  2004-02-14  0:18 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: marko.virkki @ 2004-02-12 10:58 UTC (permalink / raw)
  To: wd; +Cc: linuxppc-embedded


Hello

I'm very interested in usable DMA engine for AC97.
Will new BC uCode provide any help for this?
Do you know what new CAPI will contain or is there any documentation
available?
Is there any attempt to develop an audio device driver for AC97 in MPC5200?

As far as I've understood there are several problems regarding AC97 audio in
MPC5200:
- Variable sample rate mode is impossible (applications level data
conversion required)?
- PSC FIFO's are not "frame aware" (underrun will totally mess things)
- it's hard to syncronize mixer commands with ongoing audio stream
- FIFO can contain data only for ~180uS (BC interrupt latency and data
handling time shall be less than this)
- PCM data payload is less than 10% (huge kernel space buffers required)
- XL-bus overhead (new BC API will definetly not decrease this, but seems
pretty much like waste to me)
- ...

TIA, Marko


> -----Original Message-----
> From:	Wolfgang Denk [SMTP:wd@denx.de]
> Sent:	27. tammikuuta 2004 21:15
> To:	Sylvain Munaut
> Cc:	linuxppc-embedded@lists.linuxppc.org
> Subject:	Re: Linux on a Motorola MPC5200 ?
>
>
> In message <40169FC6.1040805@246tNt.com> you wrote:
> >
> > I'd like to run linux on a future custom board based on a motorola
> > MPC5200 and I have a few questions :
> >
> >  - What is the current support for it ? Stable ... I'd need the DMA (
>
> Yes, it is stable, with a couple of well-known problems.
>
> > well, their 'special DMA fancy stuff' ;) ), ATA, DDR, I2S, AC97 mainly.
>
> ATA: OK as long as you don't enable DMA writes (*)
>
> DDR: OK (use icecube_5200_DDR configuration in U-Boot); the LOWBOOT
>      option is not working yet (we are working on this)
>
> I2S: simultaneous reading and writing is impossible (*)
> AC97: ditto
>
> (*) to fix these issues we're waiting for a  bugfix  release  of  the
>     BestComm CAPI which might become availabe by mid February.
>
> >  - I'd really like to run a 2.6 kernel on it. If it's not yet ported to
>
> Forget it. Why would you want to  do  that?  Which  features  do  you
> expect from 2.6 which are not available in 2.4?
>
> > the 2.6 what is the current ppc support for 2.6 ? Would I "only" need to
> > port MPC specifics ?
>
> No comment.
>
> >  - Where can I find the current stuff ? I've taken what is in
> > ppc.bkbits.net/linux-2.4-mpc5xxx, is there other things I should
> consider ?
>
> Our current stuff is on our CVS  server,  in  the  linuxppc_2_4_devel
> tree.  As  far  as the 5200 is concerned this includes stuff that was
> submitted but not yet added to the linux-2.4-mpc5xxx  tree  (but  Tom
> promised to add our patches).
>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
> Machines take me by surprise with great frequency.      - Alan Turing
>
;==================================================

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux on a Motorola MPC5200 ?
  2004-02-12 10:58 Linux on a Motorola MPC5200 ? marko.virkki
@ 2004-02-14  0:18 ` Wolfgang Denk
  2004-02-14 12:06   ` Sylvain Munaut
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Denk @ 2004-02-14  0:18 UTC (permalink / raw)
  To: marko.virkki; +Cc: linuxppc-embedded


In message <17D9D7DF3CD5A94A9B4E82778D24391910A119@MITRON> you wrote:
>
> I'm very interested in usable DMA engine for AC97.
> Will new BC uCode provide any help for this?

I don;t know yet. I'm still waiting for the new release from Moto.

> Is there any attempt to develop an audio device driver for AC97 in MPC5200?

We're working on some (simple) I2S stuff.


Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Some people march to the beat of a different drummer. And some people
tango!

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux on a Motorola MPC5200 ?
  2004-02-14  0:18 ` Wolfgang Denk
@ 2004-02-14 12:06   ` Sylvain Munaut
  0 siblings, 0 replies; 12+ messages in thread
From: Sylvain Munaut @ 2004-02-14 12:06 UTC (permalink / raw)
  To: linuxppc-embedded


Wolfgang Denk wrote:

>In message <17D9D7DF3CD5A94A9B4E82778D24391910A119@MITRON> you wrote:
>
>
>>I'm very interested in usable DMA engine for AC97.
>>Will new BC uCode provide any help for this?
>>
>>
>
>I don;t know yet. I'm still waiting for the new release from Moto.
>
>

>
>
>>Is there any attempt to develop an audio device driver for AC97 in MPC5200?
>>
>>
>
>We're working on some (simple) I2S stuff.
>
>
>
>
>
I'm also gonna need to drive a AD1985 AC97 codec with the MPC5200, and
if none exists, we'll be forced to do it ourself. I think many people
are waiting for motorola uCode upgrade.



Sylvain Munaut


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Linux on a Motorola MPC5200 ?
@ 2004-02-16 11:22 marko.virkki
  2004-02-16 11:43 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: marko.virkki @ 2004-02-16 11:22 UTC (permalink / raw)
  To: wd; +Cc: linuxppc-embedded


> We're working on some (simple) I2S stuff.
>
	What means simple in this context? No ADC, ... What codec you're
planning to use?

	Has this "project" released any stuff yet? As far as I've been
searching in latest linuxppc_2_4_devel, I've not been able to find anything
regarding i2s issue.

	br, Marko


;==================================================

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Linux on a Motorola MPC5200 ?
  2004-02-16 11:22 marko.virkki
@ 2004-02-16 11:43 ` Wolfgang Denk
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Denk @ 2004-02-16 11:43 UTC (permalink / raw)
  To: marko.virkki; +Cc: linuxppc-embedded


In message <17D9D7DF3CD5A94A9B4E82778D24391910A121@MITRON> you wrote:
>
> 	What means simple in this context? No ADC, ... What codec you're
> planning to use?

"simple" means just being able to record an audio stream and store it
in a file while simultaneously playing another file from disk.

> 	Has this "project" released any stuff yet? As far as I've been
> searching in latest linuxppc_2_4_devel, I've not been able to find anything
> regarding i2s issue.

It makes little sense to put what we have on the server; not with the
current BestComm code.

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Q:  How many IBM CPU's does it take to execute a job?
A:  Four; three to hold it down, and one to rip its head off.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-02-16 11:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-27 17:28 Linux on a Motorola MPC5200 ? Sylvain Munaut
2004-01-27 18:28 ` Dale Farnsworth
2004-01-27 19:14 ` Wolfgang Denk
2004-01-27 23:37   ` Sylvain Munaut
2004-02-02 20:20   ` MPC5200 LOWBOOT problem Tord Andersson
2004-02-03  1:36     ` Wolfgang Denk
2004-02-03  2:24       ` Does anybody know which function can read clock counter of Linux kernel? John Zhou
  -- strict thread matches above, loose matches on Subject: below --
2004-02-12 10:58 Linux on a Motorola MPC5200 ? marko.virkki
2004-02-14  0:18 ` Wolfgang Denk
2004-02-14 12:06   ` Sylvain Munaut
2004-02-16 11:22 marko.virkki
2004-02-16 11:43 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).