RE: DSS2 on 36xx with 2.6.34-rc6

2010-05-10 Thread Hiremath, Vaibhav

 -Original Message-
 From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-
 ow...@vger.kernel.org] On Behalf Of Steve Sakoman
 Sent: Monday, May 10, 2010 8:54 PM
 To: linux-omap@vger.kernel.org
 Subject: DSS2 on 36xx with 2.6.34-rc6
 
 Has anyone had success with DSS2 on a 36xx platform using the current
 l-o top of tree?
 
 I've been working with a Beagle xM prototype and have applied the
 OMAP3630: DSS2: Updating MAX divider value patch from Tomi's repo as
 well as Koen's Beagle DSS2 support patch.
 
 The image works as expected on a 35xx based Beagle, but when run on
 the Beagle xM results in a HDMI: Out of Range error from my monitor.
  Sadly the monitor won't give me the erroneous timing parameters.
 
[Hiremath, Vaibhav] For me it looks like Timing related issue only. And if I 
understand correctly I have seen some mail-threads which were talking about 
successful bring-up on Beagle-XM board.

 I suspect that there are still issues in clock setup (or perhaps in
 CPU type/revision detection).
 
 Anyone else working in this area?
[Hiremath, Vaibhav] Steve,

The AM/DM3730, which is exactly same as OMAP3630 has been supported with PSP 
releases. I would suggest you to refer to the Arago repo - 


http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=summary

Please note that similar kind of testing/validation has been done on AM/DM3730 
platform.

Also please let me know if you have any issues.

Thanks,
Vaibhav

 
 Steve
 --
 To unsubscribe from this list: send the line unsubscribe linux-omap in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: DSS2 on 36xx with 2.6.34-rc6

2010-05-10 Thread Hiremath, Vaibhav

 -Original Message-
 From: Steve Sakoman [mailto:sako...@gmail.com]
 Sent: Monday, May 10, 2010 10:13 PM
 To: Hiremath, Vaibhav
 Cc: linux-omap@vger.kernel.org
 Subject: Re: DSS2 on 36xx with 2.6.34-rc6
 
 On Mon, May 10, 2010 at 9:24 AM, Hiremath, Vaibhav hvaib...@ti.com wrote:
 
  The image works as expected on a 35xx based Beagle, but when run on
  the Beagle xM results in a HDMI: Out of Range error from my monitor.
   Sadly the monitor won't give me the erroneous timing parameters.
 
  [Hiremath, Vaibhav] For me it looks like Timing related issue only. And if
 I understand correctly I have seen some mail-threads which were talking
 about successful bring-up on Beagle-XM board.
 snip
  [Hiremath, Vaibhav] Steve,
 
  The AM/DM3730, which is exactly same as OMAP3630 has been supported with
 PSP releases. I would suggest you to refer to the Arago repo -
 
  http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=summary
 
  Please note that similar kind of testing/validation has been done on
 AM/DM3730 platform.
 
 The Arago PSP kernel does indeed have functional DSS2 on the xM.  But
 it is a 2.6.32 kernel with many, many patches that have not been
 submitted to this list.  For many reasons I prefer to work with the
 linux-omap branch.
 
[Hiremath, Vaibhav] Yeah, I can understand.

 Yes, I agree that it is a timing issue.  But it may be due to issues
 in clock setup that are related to detecting the revision of the CPU.
 In particular I notice that there are sections of clock setup code
 that compare to ESX_X without checking for the CPU type.  So there are
 likely ES1_0 workarounds intended for 34XX that are being done for
 36XX ES1_0 CPU's.
 
[Hiremath, Vaibhav] yes, exactly. This could be DPLL configuration issue also 
which may be causing due to cpu_is_x() macros.


 In looking at the Arago PSP repo for 2.6.32 I see that there are
 indeed patches for this issue, this one for example:
 
 http://arago-project.org/git/projects/?p=linux-
 omap3.git;a=commitdiff;h=9b6bdff1c68a42614bb1e06315d5c4be99c5c078
 
[Hiremath, Vaibhav] Sanjeev has submitted this patch couple of times and is 
already under review. I am expecting this to get merged soon, Sanjeev is 
following up on this.

The DSS related changes are dependent on this and blocked due to this. I will 
submit them once this patch goes in.

 Obviously this patch needs to be updated for the current tree.  Does
 TI intend to re-base and submit the patches in the arago repo to this
 list?
 
[Hiremath, Vaibhav] We are submitting all the patches to the linux-omap, we do 
have list of patches and also following up regularly. 

I hope you understand the business need also here, sometime due to some high 
priority issues we could not able to follow up that aggressively.

So you can expect patches anytime in the near future.

Thanks,
Vaibhav
 
 Steve
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: DSS2 on 36xx with 2.6.34-rc6

2010-05-10 Thread Steve Sakoman
On Mon, May 10, 2010 at 10:26 AM, Hiremath, Vaibhav hvaib...@ti.com wrote:

 Obviously this patch needs to be updated for the current tree.  Does
 TI intend to re-base and submit the patches in the arago repo to this
 list?

 [Hiremath, Vaibhav] We are submitting all the patches to the linux-omap, we 
 do have list of patches and also following up regularly.

 I hope you understand the business need also here, sometime due to some high 
 priority issues we could not able to follow up that aggressively.

 So you can expect patches anytime in the near future.

I understand.

Perhaps we could prioritize the patches required to get things
functional on 36XX/37XX.  I spent some time on this today and found
that a relatively small number of patches were required to get
2.6.34-rc6 running on the xM.

My working branch contains the patches required:

http://www.sakoman.com/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=shortlog;h=refs/heads/omap3-2.6.34

I've tested the resulting kernel with a GNOME user space and was able
to browse with Firefox using the xM's ethernet port, play youtube
videos, play DVD movies, and do native compiles.

I haven't yet tried SGX and DSP functionality, but suspect that those
will require a bunch more work.  As will PM . . . :-)

Steve
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html