2013-03-02 04:10:42

by Sachin Kamat

[permalink] [raw]
Subject: Boot failure on Origen board using latest kernel

Hi Padma,

While trying to boot the latest mainline kernel (Linus tree tip at
commit b0af9cd9) on Exynos4210 based Origen board, it stops at
"Uncompressing Linux... done, booting the kernel."

Git bisect pointed to the commit 421da89aa ("DMA: PL330: Register the
DMA controller with the generic DMA helpers").
Reverting this commit helped me boot the board again.
Could you please look into this?

--
With warm regards,
Sachin


2013-03-02 04:54:26

by Sachin Kamat

[permalink] [raw]
Subject: Re: Boot failure on Origen board using latest kernel

Hi Padma,

Here is the short boot log with earlyprintk enabled. This is in the non-dt case.

EXYNOS4210 PMU Initialize
EXYNOS: Initializing architecture
s3c24xx-pwm s3c24xx-pwm.0: tin at 50000000, tdiv at 50000000, tin=divclk, base 0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
Switching to clocksource mct-frc
ROMFS MTD (C) 2007 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 dma-pl330.0: Loaded driver for PL330 DMAC-267056
dma-pl330 dma-pl330.0: DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
of_dma_controller_register: not enough information provided
dma-pl330 dma-pl330.0: unable to register DMA to the generic DT DMA helpers
dma-pl330: probe of dma-pl330.0 failed with error -22



On 2 March 2013 09:40, Sachin Kamat <[email protected]> wrote:
> Hi Padma,
>
> While trying to boot the latest mainline kernel (Linus tree tip at
> commit b0af9cd9) on Exynos4210 based Origen board, it stops at
> "Uncompressing Linux... done, booting the kernel."
>
> Git bisect pointed to the commit 421da89aa ("DMA: PL330: Register the
> DMA controller with the generic DMA helpers").
> Reverting this commit helped me boot the board again.
> Could you please look into this?
>
> --
> With warm regards,
> Sachin



--
With warm regards,
Sachin

2013-03-02 04:56:06

by Sachin Kamat

[permalink] [raw]
Subject: Re: Boot failure on Origen board using latest kernel

Hi Alim,

On 2 March 2013 10:18, Alim Akhtar <[email protected]> wrote:
> Hi Sachin,
>
> Looks like exynos4 is not yet moved to the generic dma binding recently
> merged.
>
> Could you try out below:

I forgot to mention in the previous mail that the problem was in non-dt case.
With the below entries added in exynos4 dtsi file, it boots fine in DT case.

--
With warm regards,
Sachin

2013-03-02 05:37:27

by Alim Akhtar

[permalink] [raw]
Subject: Re: Boot failure on Origen board using latest kernel

On Sat, Mar 2, 2013 at 10:26 AM, Sachin Kamat <[email protected]> wrote:
> Hi Alim,
>
> On 2 March 2013 10:18, Alim Akhtar <[email protected]> wrote:
>> Hi Sachin,
>>
>> Looks like exynos4 is not yet moved to the generic dma binding recently
>> merged.
>>
>> Could you try out below:
>
> I forgot to mention in the previous mail that the problem was in non-dt case.
> With the below entries added in exynos4 dtsi file, it boots fine in DT case.
>

Aha, I understand.
But I think the current mainline kernel is broken for __DT case__ also
for exynos4 and that is what my suggested patch fix.
Thanks for you confirmation.

> --
> With warm regards,
> Sachin

--
Regards,
Alim

2013-03-02 05:48:30

by Padma Venkat

[permalink] [raw]
Subject: Re: Boot failure on Origen board using latest kernel

Hi,

On Sat, Mar 2, 2013 at 10:26 AM, Sachin Kamat <[email protected]> wrote:
> Hi Alim,
>
> On 2 March 2013 10:18, Alim Akhtar <[email protected]> wrote:
>> Hi Sachin,
>>
>> Looks like exynos4 is not yet moved to the generic dma binding recently
>> merged.
>>
>> Could you try out below:
>
> I forgot to mention in the previous mail that the problem was in non-dt case.
> With the below entries added in exynos4 dtsi file, it boots fine in DT case.

For non-dt case I tested on 6410 board where it is using different DMA
controller. I will a send patch to fix this.

Thanks
Padma
>
> --
> With warm regards,
> Sachin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html