On Friday 04 April 2014 06:35 AM, Peter Howard wrote:
> Problem tracked down - see at bottom.
> 
> On Fri, 2014-04-04 at 10:21 +1100, Peter Howard wrote:
>> On Fri, 2014-04-04 at 09:57 +1100, Peter Howard wrote:
>>> Dear All:
>>>
>>> I'm trying to build a kernel from the current head of the git repository
>>> for an OMAP-L138 board.  This boots fine with a kernel built from the
>>> last Ti release*.  However when I substitute in a kernel built from the
>>> repo, the kernel gets a SIGSEGV when it tries to start init (given you
>>> see nothing from init itself I'm guessing the segfault occurs during the
>>> loading of init).
>>>
>>> I'm building using da8xx_omapl_defconfig and the arago 2011.09
>>> toolchain. 
>>
>> Minor extra details:
>>
>> That defconfig doesn't enable MMC/SD support; I enabled it.  No other
>> changes.
>>
>> I also got the same behavior using  da850_omapl138_defconfig from the
>> last Ti release.
>>
> 
> I discovered the problem is not specific to the Ti git repo.  So I went
> bisecting and ended up at this commit:
> 
> [c2dde5f8f2095d7c623ff3565c1462e190272273] dmaengine: add TI EDMA DMA engine 
> driver
> 
> da8xx_omapl_defconfig does not enable the DMA driver by default.  Once I
> enabled it, the problem went away.  I'd say this is a bug.  Either:
>      A. You should be able to use the MMC/SD slot without enabling the
>         DMA driver, or
>      B. You shouldn't be able to create a configuration for the DaVinci
>         where MMC/SD is enabled and the DMA driver isn't.
> 
> So, which should it be?

'A' is the preferred solution. This problem however should be fixed in
latest linux-next where da8xx_omapl_defconfig is removed and
davinci_all_defconfig enables CONFIG_TI_EDMA

Thanks,
Sekhar
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to