linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iram pool not available for MX27
@ 2013-09-30  5:40 Chris Ruehl
  2013-09-30  8:30 ` Philipp Zabel
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Ruehl @ 2013-09-30  5:40 UTC (permalink / raw)
  To: Philipp Zabel, linux-media

Hi Phillipp,

hope things doing OK.

I recently update to the 3.12-rc kernel and hit this problem below.

[ 3.377790] coda coda-imx27.0: iram pool not available
[ 3.383363] coda: probe of coda-imx27.0 failed with error -12

I read your comments of the patch-set using platform data rather then 
hard coded addresses to get
the ocram from a SoC.

I checked the imx27.dtsi for the iram (coda: coda@..) definition and 
compare with the former hard coded address and size it matches.

My .config also has the CONFIG_OF set.

Any Idea what's go wrong?

Chris

-- 
GTSYS -
Unit A01, 24/F Gold King Industrial Building,
35-41 Tai Lin Pai Road, Kwai Chung,
Hong Kong
新界葵涌大連排道35-41號金基工業大廈24樓A01室


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

* Re: iram pool not available for MX27
  2013-09-30  5:40 iram pool not available for MX27 Chris Ruehl
@ 2013-09-30  8:30 ` Philipp Zabel
  2013-09-30  9:08   ` Chris Ruehl
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp Zabel @ 2013-09-30  8:30 UTC (permalink / raw)
  To: Chris Ruehl; +Cc: linux-media

Hi Chris,

Am Montag, den 30.09.2013, 13:40 +0800 schrieb Chris Ruehl:
> Hi Phillipp,
> 
> hope things doing OK.
> 
> I recently update to the 3.12-rc kernel and hit this problem below.
> 
> [ 3.377790] coda coda-imx27.0: iram pool not available
> [ 3.383363] coda: probe of coda-imx27.0 failed with error -12
> 
> I read your comments of the patch-set using platform data rather then 
> hard coded addresses to get
> the ocram from a SoC.
> 
> I checked the imx27.dtsi for the iram (coda: coda@..) definition and 
> compare with the former hard coded address and size it matches.
> 
> My .config also has the CONFIG_OF set.
> 
> Any Idea what's go wrong?

do you have the mmio-sram driver enabled (CONFIG_SRAM=y)?

regards
Philipp


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

* Re: iram pool not available for MX27
  2013-09-30  8:30 ` Philipp Zabel
@ 2013-09-30  9:08   ` Chris Ruehl
  2013-09-30  9:14     ` Chris Ruehl
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Ruehl @ 2013-09-30  9:08 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: linux-media

Hi Philipp,

On Monday, September 30, 2013 04:30 PM, Philipp Zabel wrote:
> Hi Chris,
>
> Am Montag, den 30.09.2013, 13:40 +0800 schrieb Chris Ruehl:
>> Hi Phillipp,
>>
>> hope things doing OK.
>>
>> I recently update to the 3.12-rc kernel and hit this problem below.
>>
>> [ 3.377790] coda coda-imx27.0: iram pool not available
>> [ 3.383363] coda: probe of coda-imx27.0 failed with error -12
>>
>> I read your comments of the patch-set using platform data rather then
>> hard coded addresses to get
>> the ocram from a SoC.
>>
>> I checked the imx27.dtsi for the iram (coda: coda@..) definition and
>> compare with the former hard coded address and size it matches.
>>
>> My .config also has the CONFIG_OF set.
>>
>> Any Idea what's go wrong?
> do you have the mmio-sram driver enabled (CONFIG_SRAM=y)?
>
> regards
> Philipp
>

No, I didn't,  and I found out that my device is not yet ported to use 
"Device Tree Support"

for the moment I will quick add the CONFIG_SRAM  and see what happen,
but on the long term I move my code (clone of mach-mx27ads.c)
to DTS which makes absolute sense when I see how nice that code works.

Thanks for the reply!
Chris


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

* Re: iram pool not available for MX27
  2013-09-30  9:08   ` Chris Ruehl
@ 2013-09-30  9:14     ` Chris Ruehl
  2013-10-29  7:42       ` Chris Ruehl
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Ruehl @ 2013-09-30  9:14 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: linux-media

On Monday, September 30, 2013 05:08 PM, Chris Ruehl wrote:
> Hi Philipp,
>
> On Monday, September 30, 2013 04:30 PM, Philipp Zabel wrote:
>> Hi Chris,
>>
>> Am Montag, den 30.09.2013, 13:40 +0800 schrieb Chris Ruehl:
>>> Hi Phillipp,
>>>
>>> hope things doing OK.
>>>
>>> I recently update to the 3.12-rc kernel and hit this problem below.
>>>
>>> [ 3.377790] coda coda-imx27.0: iram pool not available
>>> [ 3.383363] coda: probe of coda-imx27.0 failed with error -12
>>>
>>> I read your comments of the patch-set using platform data rather then
>>> hard coded addresses to get
>>> the ocram from a SoC.
>>>
>>> I checked the imx27.dtsi for the iram (coda: coda@..) definition and
>>> compare with the former hard coded address and size it matches.
>>>
>>> My .config also has the CONFIG_OF set.
>>>
>>> Any Idea what's go wrong?
>> do you have the mmio-sram driver enabled (CONFIG_SRAM=y)?
>>
>> regards
>> Philipp
>>
>
> No, I didn't,  and I found out that my device is not yet ported to use 
> "Device Tree Support"
>
> for the moment I will quick add the CONFIG_SRAM  and see what happen,
> but on the long term I move my code (clone of mach-mx27ads.c)
> to DTS which makes absolute sense when I see how nice that code works.
>
> Thanks for the reply!
> Chris
>
CONFIG_SRAM not solve my problem, I must port the code to Device Tree 
Support and call the of_ functions to make the iram config available.

thank you.
Chris

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

* Re: iram pool not available for MX27
  2013-09-30  9:14     ` Chris Ruehl
@ 2013-10-29  7:42       ` Chris Ruehl
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Ruehl @ 2013-10-29  7:42 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: linux-media

On Monday, September 30, 2013 05:14 PM, Chris Ruehl wrote:
> On Monday, September 30, 2013 05:08 PM, Chris Ruehl wrote:
>> Hi Philipp,
>>
>> On Monday, September 30, 2013 04:30 PM, Philipp Zabel wrote:
>>> Hi Chris,
>>>
>>> Am Montag, den 30.09.2013, 13:40 +0800 schrieb Chris Ruehl:
>>>> Hi Phillipp,
>>>>
>>>> hope things doing OK.
>>>>
>>>> I recently update to the 3.12-rc kernel and hit this problem below.
>>>>
>>>> [ 3.377790] coda coda-imx27.0: iram pool not available
>>>> [ 3.383363] coda: probe of coda-imx27.0 failed with error -12
>>>>
>>>> I read your comments of the patch-set using platform data rather then
>>>> hard coded addresses to get
>>>> the ocram from a SoC.
>>>>
>>>> I checked the imx27.dtsi for the iram (coda: coda@..) definition and
>>>> compare with the former hard coded address and size it matches.
>>>>
>>>> My .config also has the CONFIG_OF set.
>>>>
>>>> Any Idea what's go wrong?
>>> do you have the mmio-sram driver enabled (CONFIG_SRAM=y)?
>>>
>>> regards
>>> Philipp
>>>
>>
>> No, I didn't,  and I found out that my device is not yet ported to 
>> use "Device Tree Support"
>>
>> for the moment I will quick add the CONFIG_SRAM  and see what happen,
>> but on the long term I move my code (clone of mach-mx27ads.c)
>> to DTS which makes absolute sense when I see how nice that code works.
>>
>> Thanks for the reply!
>> Chris
>>
> CONFIG_SRAM not solve my problem, I must port the code to Device Tree 
> Support and call the of_ functions to make the iram config available.
>
> thank you.
> Chris
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Hi,

almost done but the coda works now with my board :-) and more questions 
coming up
but 1st:
[    4.626900] udevd[717]: starting version 175
[    7.190348] coda 10023000.coda: Initialized CodaDx6.
[    7.195486] coda 10023000.coda: Firmware version: 2.2.5
[    7.313178] coda 10023000.coda: codec registered as /dev/video0
[   13.999803] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)

:-) )))

Chris




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

end of thread, other threads:[~2013-10-29  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30  5:40 iram pool not available for MX27 Chris Ruehl
2013-09-30  8:30 ` Philipp Zabel
2013-09-30  9:08   ` Chris Ruehl
2013-09-30  9:14     ` Chris Ruehl
2013-10-29  7:42       ` Chris Ruehl

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