Linux on a Motorola MPC5200 ?

2004-02-16 Thread [EMAIL PROTECTED]

 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/





Linux on a Motorola MPC5200 ?

2004-02-16 Thread Wolfgang Denk

In message 17D9D7DF3CD5A94A9B4E82778D24391910A121 at 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 at 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/





Linux on a Motorola MPC5200 ?

2004-02-14 Thread Wolfgang Denk

In message 17D9D7DF3CD5A94A9B4E82778D24391910A119 at 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 at 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/





Linux on a Motorola MPC5200 ?

2004-02-14 Thread Sylvain Munaut

Wolfgang Denk wrote:

In message 17D9D7DF3CD5A94A9B4E82778D24391910A119 at 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/





Linux on a Motorola MPC5200 ?

2004-02-12 Thread [EMAIL PROTECTED]

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 at denx.de]
 Sent: 27. tammikuuta 2004 21:15
 To:   Sylvain Munaut
 Cc:   linuxppc-embedded at lists.linuxppc.org
 Subject:  Re: Linux on a Motorola MPC5200 ?


 In message 40169FC6.1040805 at 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 at denx.de
 Machines take me by surprise with great frequency.  - Alan Turing

;==

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





Linux on a Motorola MPC5200 ?

2004-01-28 Thread Sylvain Munaut

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/





Linux on a Motorola MPC5200 ?

2004-01-27 Thread Sylvain Munaut

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/





Linux on a Motorola MPC5200 ?

2004-01-27 Thread Dale Farnsworth

On Tue, Jan 27, 2004 at 05:28:38PM +, 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/