[meta-freescale] Error testing 3.10.9-1.0.0-alpha kernel [was Re: Request to integrate freescale i.mx 3.10.9-1.0.0 alpha release into dora branch of meta-fsl-arm]

Gonzalez, Alex Alex.Gonzalez at digi.com
Wed Oct 30 04:46:42 PDT 2013


Hi,

 I tried the patch and it works fine on my SDB hardware. U-boot 2013.10 is able to boot the 3.10 kernel. And what's more, I don't see the GPU crash.

I am using the following setup:

Build Configuration:
BB_VERSION        = "1.21.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5+snapshot-20131030"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "master:d69931da48b9cc5082feb46c654b9861f30244d9"
meta-oe           = "master:176db0f7e1dc60faea2fa78202c02552a5af8fed"
meta-fsl-arm      = "master-next:70f9ebe849f58d25d1e935d2e646595a10804284"
meta-fsl-arm-extra = "master-next:054e9945f4916dcd41c989900fb18d04110aa6a6"
meta-fsl-demos    = "master-next:393b0119d513f9abf7b0570ab0d32b81583dedca"

Going back to 2013.04 I still see the GPU crash.

I was curious, so I bisected and found out the problems came from the ENGR00276023 patch series which introduce LDO bypass support. Reverting the 3 patches from that series I was once again able to load the GPU driver without the crash.

It seems U-Boot needs to configure the LDO for bypass or something, and 2013.10 does it while 2013.04 does not.

Once I knew this, I tried the 2013.04 u-boot to boot the 3.10 kernel with the LDO enable dts file (imx6q-sabresd-ldo.dtb), and this works as expected.

Not sure why the kernel can't configure the LDO bypass and lose that dependency on the bootloader which does not seem like good practice to me. 

Nevertheless mystery solved, thanks again for your help.

Alex 

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Gonzalez, Alex
Sent: miércoles, 30 de octubre de 2013 9:21
To: Otavio Salvador; Daiane Angolini
Cc: meta-freescale at yoctoproject.org; Post Lauren-RAA013
Subject: Re: [meta-freescale] Error testing 3.10.9-1.0.0-alpha kernel [was Re: Request to integrate freescale i.mx 3.10.9-1.0.0 alpha release into dora branch of meta-fsl-arm]

Sure, I will give the patch a try and report back.

Daiane, could you check your kernel log for the GPU driver probe message?

Galcore version 4.6.9.6622

I just want to make sure the driver was loaded. On my boards the driver always crashes.

Alex

-----Original Message-----
From: otavio.salvador at gmail.com [mailto:otavio.salvador at gmail.com] On Behalf Of Otavio Salvador
Sent: martes, 29 de octubre de 2013 19:47
To: Daiane Angolini
Cc: Gonzalez, Alex; meta-freescale at yoctoproject.org; Post Lauren-RAA013
Subject: Re: [meta-freescale] Error testing 3.10.9-1.0.0-alpha kernel [was Re: Request to integrate freescale i.mx 3.10.9-1.0.0 alpha release into dora branch of meta-fsl-arm]

On Tue, Oct 29, 2013 at 4:36 PM, Daiane Angolini
<daiane.angolini at freescale.com> wrote:
> On 10/29/2013 04:34 PM, Otavio Salvador wrote:
>>
>> On Tue, Oct 29, 2013 at 4:22 PM, Daiane Angolini
>> <daiane.angolini at freescale.com> wrote:
>>>
>>> On 10/29/2013 01:35 PM, Gonzalez, Alex wrote:
>>>>
>>>>
>>>> Actually, your crash is earlier still. Try using the 2013.04 u-boot. I
>>>> couldn't make it boot either with 2013.10.
>>>
>>>
>>>
>>> And now it's fixed. Otavio will send the patch!
>>>
>>>
>>> U-Boot 2013.10-00005-g4b2e99f-dirty (Oct 29 2013 - 14:56:40)
>>>
>>> CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
>>>
>>> Reset cause: POR
>>> Board: MX6-SabreSD
>>> DRAM:  1 GiB
>>> MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
>>> *** Warning - bad CRC, using default environment
>>>
>>>
>>> Stopping Bootlog daemon: bootlogd.
>>>
>>> Poky (Yocto Project Reference Distro) 1.5+snapshot-20131029 imx6qsabresd
>>> /dev/ttymxc0
>>>
>>> imx6qsabresd login: root
>>> root at imx6qsabresd:~# ls
>>> root at imx6qsabresd:~# uname -a
>>> Linux imx6qsabresd 3.10.9-1.0.0_alpha+gdbf364b #1 SMP Tue Oct 29 12:38:48
>>> BRST 2013 armv7l GNU/Linux
>>> root at imx6qsabresd:~#
>>>
>>>
>>>
>>>
>>>
>>> Alex, how can I reproduce your error?
>>
>>
>> Can you try the patch?
>>
>
> Sure, but maybe I don't have time to send you a reply today.

My goal was that Alex could try it :-) Alex?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale



More information about the meta-freescale mailing list