linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux kernel for MPC834X platform
@ 2006-04-11 10:30 Stefan Meyer
  2006-04-11 13:03 ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Meyer @ 2006-04-11 10:30 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]

Hi All
Pardon the intrusion if this is not the correct way to get the relevant information, but I am relatively new to kernel hacking.
Anyway here goes my question:
I am getting a Freescale MPC8343 based board up and running and have been using the BSP (with patched 2.6.11 kernel) release by Freescale with great success.
However when I tried to use the USB ISO transactions it seems to be non functional. I have connected a known good working codec (tested on my PC's usb) and tried to access it via the low level sound driver (/dev/dsp) but it only creates garbled noise. 
In the meanwhile, I have noticed that the official kernel release 2.6.17 also start supporting the MPC834X platform and would rather like to persue that avenue to get my problems addressed (hopefully). 
I have downloaded the latest 2.6.17 kernel and got it going  with the configuration for MPC834x_sys, with relation to booting and ethernet comms. 
However there are clearly no provision in the USB driver for setting up the usb clocks and ports (which is of course MPC834x specific). 
I have tried to hack it by inserting approriate code form the 2.6.11 freescale kernel but with very little success. 
On inspection of the 2.6.11 kernel from Freescale I have also noticed that the USB core drivers were heavily modified around DMA buffer management, although the 2.6.17 had no such hacks in place.    
My question simply relates to the status of the MPC834x implementation on the 2.6.17 kernel in so far that it is operational and being tested on hardware platforms. Could you please direct me to the persons(s) who have experience with this platform ?

Regards
Stefan


[-- Attachment #2: Type: text/html, Size: 2730 bytes --]

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

* Re: Linux kernel for MPC834X platform
  2006-04-11 10:30 Linux kernel for MPC834X platform Stefan Meyer
@ 2006-04-11 13:03 ` Kumar Gala
  2006-04-11 15:15   ` Stefan Meyer
  0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2006-04-11 13:03 UTC (permalink / raw)
  To: Stefan Meyer; +Cc: linuxppc-embedded


On Apr 11, 2006, at 5:30 AM, Stefan Meyer wrote:

> Hi All
> Pardon the intrusion if this is not the correct way to get the  
> relevant information, but I am relatively new to kernel hacking.
> Anyway here goes my question:
> I am getting a Freescale MPC8343 based board up and running and  
> have been using the BSP (with patched 2.6.11 kernel) release by  
> Freescale with great success.
> However when I tried to use the USB ISO transactions it seems to be  
> non functional. I have connected a known good working codec (tested  
> on my PC's usb) and tried to access it via the low level sound  
> driver (/dev/dsp) but it only creates garbled noise.
> In the meanwhile, I have noticed that the official kernel release  
> 2.6.17 also start supporting the MPC834X platform and would rather  
> like to persue that avenue to get my problems addressed (hopefully).
> I have downloaded the latest 2.6.17 kernel and got it going  with  
> the configuration for MPC834x_sys, with relation to booting and  
> ethernet comms.
> However there are clearly no provision in the USB driver for  
> setting up the usb clocks and ports (which is of course MPC834x  
> specific).
> I have tried to hack it by inserting approriate code form the  
> 2.6.11 freescale kernel but with very little success.
> On inspection of the 2.6.11 kernel from Freescale I have also  
> noticed that the USB core drivers were heavily modified around DMA  
> buffer management, although the 2.6.17 had no such hacks in place.
> My question simply relates to the status of the MPC834x  
> implementation on the 2.6.17 kernel in so far that it is  
> operational and being tested on hardware platforms. Could you  
> please direct me to the persons(s) who have experience with this  
> platform ?

The USB support for MPC834x only exists if you build it for  
ARCH=powerpc.  There is a patch on the list archives for adding  
support to ARCH=ppc.  I don't know if there is any issue with ISO  
transactions in those version, but they been shown to work with USB  
ethernet and USB HD devices.

- kumar

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

* Re: Linux kernel for MPC834X platform
  2006-04-11 15:15   ` Stefan Meyer
@ 2006-04-11 15:14     ` Kumar Gala
  2006-04-11 15:24       ` Stefan Meyer
  0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2006-04-11 15:14 UTC (permalink / raw)
  To: Stefan Meyer; +Cc: linuxppc-embedded

On Tue, 11 Apr 2006, Stefan Meyer wrote:

> Hi Kumar
> Thanks for the advice. I will rebuild for powerpc and report back.
> B.t.w. what is the story behind the ppc and powerpc branches anyway ?

The powerpc tree is a merge of the ppc32/64 trees into one arch.  It 
requires a flat device tree to boot.  You will need a new u-boot for this 
that produces a flat device tree.

- kumar

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

* Re: Linux kernel for MPC834X platform
  2006-04-11 13:03 ` Kumar Gala
@ 2006-04-11 15:15   ` Stefan Meyer
  2006-04-11 15:14     ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Meyer @ 2006-04-11 15:15 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-embedded

Hi Kumar
Thanks for the advice. I will rebuild for powerpc and report back.
B.t.w. what is the story behind the ppc and powerpc branches anyway ?

Regards
Stefan

----- Original Message ----- 
From: "Kumar Gala" <galak@kernel.crashing.org>
To: "Stefan Meyer" <reyems@telkomsa.net>
Cc: <linuxppc-embedded@ozlabs.org>
Sent: Tuesday, April 11, 2006 3:03 PM
Subject: Re: Linux kernel for MPC834X platform


> 
> On Apr 11, 2006, at 5:30 AM, Stefan Meyer wrote:
> 
>> Hi All
>> Pardon the intrusion if this is not the correct way to get the  
>> relevant information, but I am relatively new to kernel hacking.
>> Anyway here goes my question:
>> I am getting a Freescale MPC8343 based board up and running and  
>> have been using the BSP (with patched 2.6.11 kernel) release by  
>> Freescale with great success.
>> However when I tried to use the USB ISO transactions it seems to be  
>> non functional. I have connected a known good working codec (tested  
>> on my PC's usb) and tried to access it via the low level sound  
>> driver (/dev/dsp) but it only creates garbled noise.
>> In the meanwhile, I have noticed that the official kernel release  
>> 2.6.17 also start supporting the MPC834X platform and would rather  
>> like to persue that avenue to get my problems addressed (hopefully).
>> I have downloaded the latest 2.6.17 kernel and got it going  with  
>> the configuration for MPC834x_sys, with relation to booting and  
>> ethernet comms.
>> However there are clearly no provision in the USB driver for  
>> setting up the usb clocks and ports (which is of course MPC834x  
>> specific).
>> I have tried to hack it by inserting approriate code form the  
>> 2.6.11 freescale kernel but with very little success.
>> On inspection of the 2.6.11 kernel from Freescale I have also  
>> noticed that the USB core drivers were heavily modified around DMA  
>> buffer management, although the 2.6.17 had no such hacks in place.
>> My question simply relates to the status of the MPC834x  
>> implementation on the 2.6.17 kernel in so far that it is  
>> operational and being tested on hardware platforms. Could you  
>> please direct me to the persons(s) who have experience with this  
>> platform ?
> 
> The USB support for MPC834x only exists if you build it for  
> ARCH=powerpc.  There is a patch on the list archives for adding  
> support to ARCH=ppc.  I don't know if there is any issue with ISO  
> transactions in those version, but they been shown to work with USB  
> ethernet and USB HD devices.
> 
> - kumar
>

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

* Re: Linux kernel for MPC834X platform
  2006-04-11 15:24       ` Stefan Meyer
@ 2006-04-11 15:23         ` Kumar Gala
  0 siblings, 0 replies; 6+ messages in thread
From: Kumar Gala @ 2006-04-11 15:23 UTC (permalink / raw)
  To: Stefan Meyer; +Cc: linuxppc-embedded

On Tue, 11 Apr 2006, Stefan Meyer wrote:

> Hi Kumar
> Pardon my ignorance, but  I am not with you on the flat device tree and the 
> new u-boot ??
> Regards
> Stefan

Look at Documentation/powerpc/booting-without-of.txt in the kernel tree.  
I have a u-boot tree @ git.kernel.org/pub/scm/boot/u-boot/u-boot.git which 
has support for booting the MPC834x ADS/MDS/SYS board from Freescale with 
a flat device tree for use with the arch/powerpc port.

- kumar

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

* Re: Linux kernel for MPC834X platform
  2006-04-11 15:14     ` Kumar Gala
@ 2006-04-11 15:24       ` Stefan Meyer
  2006-04-11 15:23         ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Meyer @ 2006-04-11 15:24 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-embedded

Hi Kumar
Pardon my ignorance, but  I am not with you on the flat device tree and the 
new u-boot ??
Regards
Stefan


----- Original Message ----- 
From: "Kumar Gala" <galak@kernel.crashing.org>
To: "Stefan Meyer" <reyems@telkomsa.net>
Cc: <linuxppc-embedded@ozlabs.org>
Sent: Tuesday, April 11, 2006 5:14 PM
Subject: Re: Linux kernel for MPC834X platform


> On Tue, 11 Apr 2006, Stefan Meyer wrote:
>
>> Hi Kumar
>> Thanks for the advice. I will rebuild for powerpc and report back.
>> B.t.w. what is the story behind the ppc and powerpc branches anyway ?
>
> The powerpc tree is a merge of the ppc32/64 trees into one arch.  It
> requires a flat device tree to boot.  You will need a new u-boot for this
> that produces a flat device tree.
>
> - kumar
>
> 

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

end of thread, other threads:[~2006-04-11 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 10:30 Linux kernel for MPC834X platform Stefan Meyer
2006-04-11 13:03 ` Kumar Gala
2006-04-11 15:15   ` Stefan Meyer
2006-04-11 15:14     ` Kumar Gala
2006-04-11 15:24       ` Stefan Meyer
2006-04-11 15:23         ` Kumar Gala

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).