All of lore.kernel.org
 help / color / mirror / Atom feed
* 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]
@ 2013-10-22 14:17 Otavio Salvador
  2013-10-22 16:09 ` Gonzalez, Alex
  2013-10-29 10:49 ` Gonzalez, Alex
  0 siblings, 2 replies; 22+ messages in thread
From: Otavio Salvador @ 2013-10-22 14:17 UTC (permalink / raw)
  To: Gonzalez, Alex; +Cc: meta-freescale, Post Lauren-RAA013

Hello Alex,

Please don't mix thread. I am changing subject of this one...

On Tue, Oct 22, 2013 at 11:09 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> After reading this I decided to make a sanity check on the 3.10.9 kernel from the fsl-linux-2.6-imx/imx_3.10.9_1.0.0_alpha branch [1]. I am using a Sabre SD board.
>
> With the default kernel configuration (imx_v6_v7_defconfig) and the sabre SD device tree (imx6q-sabresd.dts) I am seeing a crash on gpu_init. If I compile without GPU support it boots fine. Some debug shows the first register write in gckHARDWARE_Construct() is causing the crash:
>
>     gcmkONERROR(gckOS_WriteRegisterEx(Os,
>                                       Core,
>                                       0x00000,
>                                       0x00000900));
>
> This code hasn't changed much from 3.5 and it worked there.
>
> Is anyone seeing this or is it only me?

I pushed current 'Work in Progress' 3.10.9 patches into master-next
and it'd be very helpful if you could give it a try.

I am finishing testing those and will send to the mailing list for
review. So your test would be more than welcome.

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


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

* Re: 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]
  2013-10-22 14:17 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] Otavio Salvador
@ 2013-10-22 16:09 ` Gonzalez, Alex
  2013-10-22 16:16   ` Otavio Salvador
  2013-10-22 17:05   ` Post Lauren-RAA013
  2013-10-29 10:49 ` Gonzalez, Alex
  1 sibling, 2 replies; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-22 16:09 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

Hi Otavio,

I could build core-image-minimal using master-next for the imx6qsabresd machine, forcing the 3.10.9 kernel.

Linux version 3.10.9-1.0.0_alpha+gdbf364b (alex@log-linux-hp-agonzal) (gcc version 4.8.1 (GCC) ) #1 SMP Tue Oct 22 17:16:38 CEST 2013

However, I hit the same GPU issue as I described before. Not surprising as the recipe is using the same sha1 as I was.

Also, I had to boot from a 2013.04 uboot. The 2013.10 uboot in master-next had problems booting the kernel. It got stuck in the " Starting kernel ...". I checked my environment and didn't find anything obvious, but I wouldn't rule out a misconfigured environment for that one.

Alex


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

Hello Alex,

Please don't mix thread. I am changing subject of this one...

On Tue, Oct 22, 2013 at 11:09 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> After reading this I decided to make a sanity check on the 3.10.9 kernel from the fsl-linux-2.6-imx/imx_3.10.9_1.0.0_alpha branch [1]. I am using a Sabre SD board.
>
> With the default kernel configuration (imx_v6_v7_defconfig) and the sabre SD device tree (imx6q-sabresd.dts) I am seeing a crash on gpu_init. If I compile without GPU support it boots fine. Some debug shows the first register write in gckHARDWARE_Construct() is causing the crash:
>
>     gcmkONERROR(gckOS_WriteRegisterEx(Os,
>                                       Core,
>                                       0x00000,
>                                       0x00000900));
>
> This code hasn't changed much from 3.5 and it worked there.
>
> Is anyone seeing this or is it only me?

I pushed current 'Work in Progress' 3.10.9 patches into master-next
and it'd be very helpful if you could give it a try.

I am finishing testing those and will send to the mailing list for
review. So your test would be more than welcome.

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


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

* Re: 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]
  2013-10-22 16:09 ` Gonzalez, Alex
@ 2013-10-22 16:16   ` Otavio Salvador
  2013-10-22 17:05   ` Post Lauren-RAA013
  1 sibling, 0 replies; 22+ messages in thread
From: Otavio Salvador @ 2013-10-22 16:16 UTC (permalink / raw)
  To: Gonzalez, Alex; +Cc: meta-freescale, Post Lauren-RAA013

Hello Alex,

On Tue, Oct 22, 2013 at 2:09 PM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> I could build core-image-minimal using master-next for the imx6qsabresd machine, forcing the 3.10.9 kernel.
>
> Linux version 3.10.9-1.0.0_alpha+gdbf364b (alex@log-linux-hp-agonzal) (gcc version 4.8.1 (GCC) ) #1 SMP Tue Oct 22 17:16:38 CEST 2013
>
> However, I hit the same GPU issue as I described before. Not surprising as the recipe is using the same sha1 as I was.
>
> Also, I had to boot from a 2013.04 uboot. The 2013.10 uboot in master-next had problems booting the kernel. It got stuck in the " Starting kernel ...". I checked my environment and didn't find anything obvious, but I wouldn't rule out a misconfigured environment for that one.

I've been using this, with 3.0.35-4.1.0 kernel without any problem.

I didn't focus in testing 3.10-kernel yet as my main goal now is to
make it work well with current GA kernel.

Can you please give it a try?

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


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

* Re: 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]
  2013-10-22 16:09 ` Gonzalez, Alex
  2013-10-22 16:16   ` Otavio Salvador
@ 2013-10-22 17:05   ` Post Lauren-RAA013
  2013-10-22 17:09     ` Otavio Salvador
  1 sibling, 1 reply; 22+ messages in thread
From: Post Lauren-RAA013 @ 2013-10-22 17:05 UTC (permalink / raw)
  To: Gonzalez, Alex, Otavio Salvador; +Cc: meta-freescale

One of the differences in the 2013.04 imx uboot and community 2013.10 uboot is the configuration of device trees which is not in the community kernel.  I am not sure how we will resolve that when we upstream our 2013.04 changes into latest uboot release.

Lauren


-----Original Message-----
From: Gonzalez, Alex [mailto:Alex.Gonzalez@digi.com] 
Sent: Tuesday, October 22, 2013 11:10 AM
To: Otavio Salvador
Cc: Post Lauren-RAA013; meta-freescale@yoctoproject.org
Subject: RE: Error testing 3.10.9-1.0.0-alpha kernel [was Re: [meta-freescale] Request to integrate freescale i.mx 3.10.9-1.0.0 alpha release into dora branch of meta-fsl-arm]

Hi Otavio,

I could build core-image-minimal using master-next for the imx6qsabresd machine, forcing the 3.10.9 kernel.

Linux version 3.10.9-1.0.0_alpha+gdbf364b (alex@log-linux-hp-agonzal) (gcc version 4.8.1 (GCC) ) #1 SMP Tue Oct 22 17:16:38 CEST 2013

However, I hit the same GPU issue as I described before. Not surprising as the recipe is using the same sha1 as I was.

Also, I had to boot from a 2013.04 uboot. The 2013.10 uboot in master-next had problems booting the kernel. It got stuck in the " Starting kernel ...". I checked my environment and didn't find anything obvious, but I wouldn't rule out a misconfigured environment for that one.

Alex


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

Hello Alex,

Please don't mix thread. I am changing subject of this one...

On Tue, Oct 22, 2013 at 11:09 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> After reading this I decided to make a sanity check on the 3.10.9 kernel from the fsl-linux-2.6-imx/imx_3.10.9_1.0.0_alpha branch [1]. I am using a Sabre SD board.
>
> With the default kernel configuration (imx_v6_v7_defconfig) and the sabre SD device tree (imx6q-sabresd.dts) I am seeing a crash on gpu_init. If I compile without GPU support it boots fine. Some debug shows the first register write in gckHARDWARE_Construct() is causing the crash:
>
>     gcmkONERROR(gckOS_WriteRegisterEx(Os,
>                                       Core,
>                                       0x00000,
>                                       0x00000900));
>
> This code hasn't changed much from 3.5 and it worked there.
>
> Is anyone seeing this or is it only me?

I pushed current 'Work in Progress' 3.10.9 patches into master-next and it'd be very helpful if you could give it a try.

I am finishing testing those and will send to the mailing list for review. So your test would be more than welcome.

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




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

* Re: 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]
  2013-10-22 17:05   ` Post Lauren-RAA013
@ 2013-10-22 17:09     ` Otavio Salvador
  0 siblings, 0 replies; 22+ messages in thread
From: Otavio Salvador @ 2013-10-22 17:09 UTC (permalink / raw)
  To: Post Lauren-RAA013; +Cc: meta-freescale

Hello,

On Tue, Oct 22, 2013 at 3:05 PM, Post Lauren-RAA013
<RAA013@freescale.com> wrote:
> One of the differences in the 2013.04 imx uboot and community 2013.10 uboot is the configuration of device trees which is not in the community kernel.  I am not sure how we will resolve that when we upstream our 2013.04 changes into latest uboot release.

Personally I didn't test 2013.10 with 3.10.9 yet so I cannot say
anything. Do you know what changes would be need?

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


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

* Re: 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]
  2013-10-22 14:17 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] Otavio Salvador
  2013-10-22 16:09 ` Gonzalez, Alex
@ 2013-10-29 10:49 ` Gonzalez, Alex
  2013-10-29 11:08   ` Otavio Salvador
  1 sibling, 1 reply; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-29 10:49 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

Hi,

Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board with the 3.10 kernel default configuration and device tree?

I am assuming no answer means no, but just in case.

Thanks,
Alex

-----Original Message-----
From: Gonzalez, Alex 
Sent: martes, 22 de octubre de 2013 18:10
To: 'Otavio Salvador'
Cc: Post Lauren-RAA013; meta-freescale@yoctoproject.org
Subject: RE: Error testing 3.10.9-1.0.0-alpha kernel [was Re: [meta-freescale] Request to integrate freescale i.mx 3.10.9-1.0.0 alpha release into dora branch of meta-fsl-arm]

Hi Otavio,

I could build core-image-minimal using master-next for the imx6qsabresd machine, forcing the 3.10.9 kernel.

Linux version 3.10.9-1.0.0_alpha+gdbf364b (alex@log-linux-hp-agonzal) (gcc version 4.8.1 (GCC) ) #1 SMP Tue Oct 22 17:16:38 CEST 2013

However, I hit the same GPU issue as I described before. Not surprising as the recipe is using the same sha1 as I was.

Also, I had to boot from a 2013.04 uboot. The 2013.10 uboot in master-next had problems booting the kernel. It got stuck in the " Starting kernel ...". I checked my environment and didn't find anything obvious, but I wouldn't rule out a misconfigured environment for that one.

Alex


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

Hello Alex,

Please don't mix thread. I am changing subject of this one...

On Tue, Oct 22, 2013 at 11:09 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> After reading this I decided to make a sanity check on the 3.10.9 kernel from the fsl-linux-2.6-imx/imx_3.10.9_1.0.0_alpha branch [1]. I am using a Sabre SD board.
>
> With the default kernel configuration (imx_v6_v7_defconfig) and the sabre SD device tree (imx6q-sabresd.dts) I am seeing a crash on gpu_init. If I compile without GPU support it boots fine. Some debug shows the first register write in gckHARDWARE_Construct() is causing the crash:
>
>     gcmkONERROR(gckOS_WriteRegisterEx(Os,
>                                       Core,
>                                       0x00000,
>                                       0x00000900));
>
> This code hasn't changed much from 3.5 and it worked there.
>
> Is anyone seeing this or is it only me?

I pushed current 'Work in Progress' 3.10.9 patches into master-next
and it'd be very helpful if you could give it a try.

I am finishing testing those and will send to the mailing list for
review. So your test would be more than welcome.

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


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

* Re: 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]
  2013-10-29 10:49 ` Gonzalez, Alex
@ 2013-10-29 11:08   ` Otavio Salvador
  2013-10-29 11:29     ` Gonzalez, Alex
  0 siblings, 1 reply; 22+ messages in thread
From: Otavio Salvador @ 2013-10-29 11:08 UTC (permalink / raw)
  To: Gonzalez, Alex; +Cc: meta-freescale, Post Lauren-RAA013

On Tue, Oct 29, 2013 at 8:49 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board with the 3.10 kernel default configuration and device tree?
>
> I am assuming no answer means no, but just in case.

I can't, my SabreSD board is bad (too unstable due hardware issues)
and I cannot use for testing.

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


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

* Re: 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]
  2013-10-29 11:08   ` Otavio Salvador
@ 2013-10-29 11:29     ` Gonzalez, Alex
  2013-10-29 11:34       ` Otavio Salvador
  2013-10-29 12:13       ` Daiane Angolini
  0 siblings, 2 replies; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-29 11:29 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

Thanks Otavio.

It also does not boot for me on a Sabre platform.

Does it boot on any i.MX6 board at all?

Thanks,
Alex

-----Original Message-----
From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: martes, 29 de octubre de 2013 12:08
To: Gonzalez, Alex
Cc: meta-freescale@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 8:49 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board with the 3.10 kernel default configuration and device tree?
>
> I am assuming no answer means no, but just in case.

I can't, my SabreSD board is bad (too unstable due hardware issues)
and I cannot use for testing.

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


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

* Re: 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]
  2013-10-29 11:29     ` Gonzalez, Alex
@ 2013-10-29 11:34       ` Otavio Salvador
  2013-10-29 12:13       ` Daiane Angolini
  1 sibling, 0 replies; 22+ messages in thread
From: Otavio Salvador @ 2013-10-29 11:34 UTC (permalink / raw)
  To: Gonzalez, Alex; +Cc: meta-freescale, Post Lauren-RAA013

On Tue, Oct 29, 2013 at 9:29 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
> Thanks Otavio.
>
> It also does not boot for me on a Sabre platform.
>
> Does it boot on any i.MX6 board at all?

Yes; Freescale has tested it so I assume it does.

I will port it, starting on Friday, to a customer board so I can give
you more feedback afterwards.

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


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

* Re: 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]
  2013-10-29 11:29     ` Gonzalez, Alex
  2013-10-29 11:34       ` Otavio Salvador
@ 2013-10-29 12:13       ` Daiane Angolini
  2013-10-29 15:15         ` Daiane Angolini
  1 sibling, 1 reply; 22+ messages in thread
From: Daiane Angolini @ 2013-10-29 12:13 UTC (permalink / raw)
  To: Gonzalez, Alex, Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

On 10/29/2013 09:29 AM, Gonzalez, Alex wrote:
> Thanks Otavio.
>
> It also does not boot for me on a Sabre platform.
>
> Does it boot on any i.MX6 board at all?

Give me time and I will test it.

I'm sorry, I completely forgot about this issue :(



>
> Thanks,
> Alex
>
> -----Original Message-----
> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
> Sent: martes, 29 de octubre de 2013 12:08
> To: Gonzalez, Alex
> Cc: meta-freescale@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 8:49 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
>> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board with the 3.10 kernel default configuration and device tree?
>>
>> I am assuming no answer means no, but just in case.
>
> I can't, my SabreSD board is bad (too unstable due hardware issues)
> and I cannot use for testing.
>


-- 
Daiane



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

* Re: 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]
  2013-10-29 12:13       ` Daiane Angolini
@ 2013-10-29 15:15         ` Daiane Angolini
  2013-10-29 15:33           ` Gonzalez, Alex
  0 siblings, 1 reply; 22+ messages in thread
From: Daiane Angolini @ 2013-10-29 15:15 UTC (permalink / raw)
  To: Gonzalez, Alex, Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

On 10/29/2013 10:13 AM, Daiane Angolini wrote:
> On 10/29/2013 09:29 AM, Gonzalez, Alex wrote:
>> Thanks Otavio.
>>
>> It also does not boot for me on a Sabre platform.
>>
>> Does it boot on any i.MX6 board at all?
>
> Give me time and I will test it.
>
> I'm sorry, I completely forgot about this issue :(

I was not able to load kernel using the default environment, please, see 
log at the end.

Give me sometime that I'm going to debug it....


U-Boot 2013.10 (Oct 29 2013 - 10:59:08)

CPU:   Freescale i.MX6Q rev1.1 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

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
mmc1 is current device
reading boot.scr
** Unable to read file boot.scr **
reading uImage
5092272 bytes read in 382 ms (12.7 MiB/s)
Booting from mmc ...
reading imx6q-sabresd.dtb
45295 bytes read in 22 ms (2 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
    Image Name:   Linux-3.10.9-1.0.0_alpha+gdbf364
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    5092208 Bytes = 4.9 MiB
    Load Address: 10008000
    Entry Point:  10008000
    Verifying Checksum ... OK
## Flattened Device Tree blob at 11000000
    Booting using the fdt blob at 0x11000000
    Loading Kernel Image ... OK
    Using Device Tree in place at 11000000, end 1100e0ee

Starting kernel ...


>
>
>
>>
>> Thanks,
>> Alex
>>
>> -----Original Message-----
>> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On
>> Behalf Of Otavio Salvador
>> Sent: martes, 29 de octubre de 2013 12:08
>> To: Gonzalez, Alex
>> Cc: meta-freescale@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 8:49 AM, Gonzalez, Alex
>> <Alex.Gonzalez@digi.com> wrote:
>>> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board
>>> with the 3.10 kernel default configuration and device tree?
>>>
>>> I am assuming no answer means no, but just in case.
>>
>> I can't, my SabreSD board is bad (too unstable due hardware issues)
>> and I cannot use for testing.
>>
>
>


-- 
Daiane



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

* Re: 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]
  2013-10-29 15:15         ` Daiane Angolini
@ 2013-10-29 15:33           ` Gonzalez, Alex
  2013-10-29 15:35             ` Gonzalez, Alex
  0 siblings, 1 reply; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-29 15:33 UTC (permalink / raw)
  To: Daiane Angolini, Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

Thanks Daiane,

The crash is in gckHARDWARE_Construct(), on the first register write to the VG core.

     gcmkONERROR(gckOS_WriteRegisterEx(Os,
                                       Core,
                                       0x00000,
                                       0x00000900));

I don't have the GPU register documentation, so I got stuck.

There are working sha1s in the tree so I was going to bisect it. However, something else came up so I might not find the time for it until later in the week.

Alex

-----Original Message-----
From: Daiane Angolini [mailto:daiane.angolini@freescale.com] 
Sent: martes, 29 de octubre de 2013 16:16
To: Gonzalez, Alex; Otavio Salvador
Cc: meta-freescale@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 10/29/2013 10:13 AM, Daiane Angolini wrote:
> On 10/29/2013 09:29 AM, Gonzalez, Alex wrote:
>> Thanks Otavio.
>>
>> It also does not boot for me on a Sabre platform.
>>
>> Does it boot on any i.MX6 board at all?
>
> Give me time and I will test it.
>
> I'm sorry, I completely forgot about this issue :(

I was not able to load kernel using the default environment, please, see 
log at the end.

Give me sometime that I'm going to debug it....


U-Boot 2013.10 (Oct 29 2013 - 10:59:08)

CPU:   Freescale i.MX6Q rev1.1 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

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
mmc1 is current device
reading boot.scr
** Unable to read file boot.scr **
reading uImage
5092272 bytes read in 382 ms (12.7 MiB/s)
Booting from mmc ...
reading imx6q-sabresd.dtb
45295 bytes read in 22 ms (2 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
    Image Name:   Linux-3.10.9-1.0.0_alpha+gdbf364
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    5092208 Bytes = 4.9 MiB
    Load Address: 10008000
    Entry Point:  10008000
    Verifying Checksum ... OK
## Flattened Device Tree blob at 11000000
    Booting using the fdt blob at 0x11000000
    Loading Kernel Image ... OK
    Using Device Tree in place at 11000000, end 1100e0ee

Starting kernel ...


>
>
>
>>
>> Thanks,
>> Alex
>>
>> -----Original Message-----
>> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On
>> Behalf Of Otavio Salvador
>> Sent: martes, 29 de octubre de 2013 12:08
>> To: Gonzalez, Alex
>> Cc: meta-freescale@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 8:49 AM, Gonzalez, Alex
>> <Alex.Gonzalez@digi.com> wrote:
>>> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board
>>> with the 3.10 kernel default configuration and device tree?
>>>
>>> I am assuming no answer means no, but just in case.
>>
>> I can't, my SabreSD board is bad (too unstable due hardware issues)
>> and I cannot use for testing.
>>
>
>


-- 
Daiane



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

* Re: 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]
  2013-10-29 15:33           ` Gonzalez, Alex
@ 2013-10-29 15:35             ` Gonzalez, Alex
  2013-10-29 18:22               ` Daiane Angolini
  0 siblings, 1 reply; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-29 15:35 UTC (permalink / raw)
  To: Gonzalez, Alex, Daiane Angolini, Otavio Salvador
  Cc: meta-freescale, Post Lauren-RAA013

Actually, your crash is earlier still. Try using the 2013.04 u-boot. I couldn't make it boot either with 2013.10.

-----Original Message-----
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Gonzalez, Alex
Sent: martes, 29 de octubre de 2013 16:33
To: Daiane Angolini; Otavio Salvador
Cc: meta-freescale@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]

Thanks Daiane,

The crash is in gckHARDWARE_Construct(), on the first register write to the VG core.

     gcmkONERROR(gckOS_WriteRegisterEx(Os,
                                       Core,
                                       0x00000,
                                       0x00000900));

I don't have the GPU register documentation, so I got stuck.

There are working sha1s in the tree so I was going to bisect it. However, something else came up so I might not find the time for it until later in the week.

Alex

-----Original Message-----
From: Daiane Angolini [mailto:daiane.angolini@freescale.com] 
Sent: martes, 29 de octubre de 2013 16:16
To: Gonzalez, Alex; Otavio Salvador
Cc: meta-freescale@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 10/29/2013 10:13 AM, Daiane Angolini wrote:
> On 10/29/2013 09:29 AM, Gonzalez, Alex wrote:
>> Thanks Otavio.
>>
>> It also does not boot for me on a Sabre platform.
>>
>> Does it boot on any i.MX6 board at all?
>
> Give me time and I will test it.
>
> I'm sorry, I completely forgot about this issue :(

I was not able to load kernel using the default environment, please, see 
log at the end.

Give me sometime that I'm going to debug it....


U-Boot 2013.10 (Oct 29 2013 - 10:59:08)

CPU:   Freescale i.MX6Q rev1.1 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

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
mmc1 is current device
reading boot.scr
** Unable to read file boot.scr **
reading uImage
5092272 bytes read in 382 ms (12.7 MiB/s)
Booting from mmc ...
reading imx6q-sabresd.dtb
45295 bytes read in 22 ms (2 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
    Image Name:   Linux-3.10.9-1.0.0_alpha+gdbf364
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    5092208 Bytes = 4.9 MiB
    Load Address: 10008000
    Entry Point:  10008000
    Verifying Checksum ... OK
## Flattened Device Tree blob at 11000000
    Booting using the fdt blob at 0x11000000
    Loading Kernel Image ... OK
    Using Device Tree in place at 11000000, end 1100e0ee

Starting kernel ...


>
>
>
>>
>> Thanks,
>> Alex
>>
>> -----Original Message-----
>> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On
>> Behalf Of Otavio Salvador
>> Sent: martes, 29 de octubre de 2013 12:08
>> To: Gonzalez, Alex
>> Cc: meta-freescale@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 8:49 AM, Gonzalez, Alex
>> <Alex.Gonzalez@digi.com> wrote:
>>> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board
>>> with the 3.10 kernel default configuration and device tree?
>>>
>>> I am assuming no answer means no, but just in case.
>>
>> I can't, my SabreSD board is bad (too unstable due hardware issues)
>> and I cannot use for testing.
>>
>
>


-- 
Daiane

_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

* Re: 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]
  2013-10-29 15:35             ` Gonzalez, Alex
@ 2013-10-29 18:22               ` Daiane Angolini
  2013-10-29 18:34                 ` Otavio Salvador
  0 siblings, 1 reply; 22+ messages in thread
From: Daiane Angolini @ 2013-10-29 18:22 UTC (permalink / raw)
  To: Gonzalez, Alex, Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

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@imx6qsabresd:~# ls
root@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@imx6qsabresd:~#





Alex, how can I reproduce your error?

Daiane

>
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Gonzalez, Alex
> Sent: martes, 29 de octubre de 2013 16:33
> To: Daiane Angolini; Otavio Salvador
> Cc: meta-freescale@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]
>
> Thanks Daiane,
>
> The crash is in gckHARDWARE_Construct(), on the first register write to the VG core.
>
>       gcmkONERROR(gckOS_WriteRegisterEx(Os,
>                                         Core,
>                                         0x00000,
>                                         0x00000900));
>
> I don't have the GPU register documentation, so I got stuck.
>
> There are working sha1s in the tree so I was going to bisect it. However, something else came up so I might not find the time for it until later in the week.
>
> Alex
>
> -----Original Message-----
> From: Daiane Angolini [mailto:daiane.angolini@freescale.com]
> Sent: martes, 29 de octubre de 2013 16:16
> To: Gonzalez, Alex; Otavio Salvador
> Cc: meta-freescale@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 10/29/2013 10:13 AM, Daiane Angolini wrote:
>> On 10/29/2013 09:29 AM, Gonzalez, Alex wrote:
>>> Thanks Otavio.
>>>
>>> It also does not boot for me on a Sabre platform.
>>>
>>> Does it boot on any i.MX6 board at all?
>>
>> Give me time and I will test it.
>>
>> I'm sorry, I completely forgot about this issue :(
>
> I was not able to load kernel using the default environment, please, see
> log at the end.
>
> Give me sometime that I'm going to debug it....
>
>
> U-Boot 2013.10 (Oct 29 2013 - 10:59:08)
>
> CPU:   Freescale i.MX6Q rev1.1 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
>
> No panel detected: default to HDMI
> Display: HDMI (1024x768)
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FEC [PRIME]
> Hit any key to stop autoboot:  0
> mmc1 is current device
> reading boot.scr
> ** Unable to read file boot.scr **
> reading uImage
> 5092272 bytes read in 382 ms (12.7 MiB/s)
> Booting from mmc ...
> reading imx6q-sabresd.dtb
> 45295 bytes read in 22 ms (2 MiB/s)
> ## Booting kernel from Legacy Image at 12000000 ...
>      Image Name:   Linux-3.10.9-1.0.0_alpha+gdbf364
>      Image Type:   ARM Linux Kernel Image (uncompressed)
>      Data Size:    5092208 Bytes = 4.9 MiB
>      Load Address: 10008000
>      Entry Point:  10008000
>      Verifying Checksum ... OK
> ## Flattened Device Tree blob at 11000000
>      Booting using the fdt blob at 0x11000000
>      Loading Kernel Image ... OK
>      Using Device Tree in place at 11000000, end 1100e0ee
>
> Starting kernel ...
>
>
>>
>>
>>
>>>
>>> Thanks,
>>> Alex
>>>
>>> -----Original Message-----
>>> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On
>>> Behalf Of Otavio Salvador
>>> Sent: martes, 29 de octubre de 2013 12:08
>>> To: Gonzalez, Alex
>>> Cc: meta-freescale@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 8:49 AM, Gonzalez, Alex
>>> <Alex.Gonzalez@digi.com> wrote:
>>>> Sorry to ask again, did anyone manage to boot an i.MX6 Sabre board
>>>> with the 3.10 kernel default configuration and device tree?
>>>>
>>>> I am assuming no answer means no, but just in case.
>>>
>>> I can't, my SabreSD board is bad (too unstable due hardware issues)
>>> and I cannot use for testing.
>>>
>>
>>
>
>


-- 
Daiane



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

* Re: 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]
  2013-10-29 18:22               ` Daiane Angolini
@ 2013-10-29 18:34                 ` Otavio Salvador
  2013-10-29 18:36                   ` Daiane Angolini
  0 siblings, 1 reply; 22+ messages in thread
From: Otavio Salvador @ 2013-10-29 18:34 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale, Post Lauren-RAA013

On Tue, Oct 29, 2013 at 4:22 PM, Daiane Angolini
<daiane.angolini@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@imx6qsabresd:~# ls
> root@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@imx6qsabresd:~#
>
>
>
>
>
> Alex, how can I reproduce your error?

Can you try the patch?

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


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

* Re: 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]
  2013-10-29 18:34                 ` Otavio Salvador
@ 2013-10-29 18:36                   ` Daiane Angolini
  2013-10-29 18:46                     ` Otavio Salvador
  0 siblings, 1 reply; 22+ messages in thread
From: Daiane Angolini @ 2013-10-29 18:36 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

On 10/29/2013 04:34 PM, Otavio Salvador wrote:
> On Tue, Oct 29, 2013 at 4:22 PM, Daiane Angolini
> <daiane.angolini@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@imx6qsabresd:~# ls
>> root@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@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.

-- 
Daiane



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

* Re: 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]
  2013-10-29 18:36                   ` Daiane Angolini
@ 2013-10-29 18:46                     ` Otavio Salvador
  2013-10-30  8:21                       ` Gonzalez, Alex
  0 siblings, 1 reply; 22+ messages in thread
From: Otavio Salvador @ 2013-10-29 18:46 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale, Post Lauren-RAA013

On Tue, Oct 29, 2013 at 4:36 PM, Daiane Angolini
<daiane.angolini@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@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@imx6qsabresd:~# ls
>>> root@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@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


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

* Re: 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]
  2013-10-29 18:46                     ` Otavio Salvador
@ 2013-10-30  8:21                       ` Gonzalez, Alex
  2013-10-30 11:46                         ` Gonzalez, Alex
  2013-10-30 11:58                         ` Daiane Angolini
  0 siblings, 2 replies; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-30  8:21 UTC (permalink / raw)
  To: Otavio Salvador, Daiane Angolini; +Cc: meta-freescale, Post Lauren-RAA013

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@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: martes, 29 de octubre de 2013 19:47
To: Daiane Angolini
Cc: Gonzalez, Alex; meta-freescale@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@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@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@imx6qsabresd:~# ls
>>> root@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@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


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

* Re: 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]
  2013-10-30  8:21                       ` Gonzalez, Alex
@ 2013-10-30 11:46                         ` Gonzalez, Alex
  2013-10-30 12:10                           ` Otavio Salvador
  2013-10-30 11:58                         ` Daiane Angolini
  1 sibling, 1 reply; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-30 11:46 UTC (permalink / raw)
  To: Gonzalez, Alex, Otavio Salvador, Daiane Angolini
  Cc: meta-freescale, Post Lauren-RAA013

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@yoctoproject.org [mailto:meta-freescale-bounces@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@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@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: martes, 29 de octubre de 2013 19:47
To: Daiane Angolini
Cc: Gonzalez, Alex; meta-freescale@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@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@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@imx6qsabresd:~# ls
>>> root@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@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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

* Re: 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]
  2013-10-30  8:21                       ` Gonzalez, Alex
  2013-10-30 11:46                         ` Gonzalez, Alex
@ 2013-10-30 11:58                         ` Daiane Angolini
  2013-10-30 12:06                           ` Gonzalez, Alex
  1 sibling, 1 reply; 22+ messages in thread
From: Daiane Angolini @ 2013-10-30 11:58 UTC (permalink / raw)
  To: Gonzalez, Alex, Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

On 10/30/2013 06:21 AM, Gonzalez, Alex wrote:
> 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

from dmesg


mmcblk1rpmb: mmc2:0001 SEM08G partition 3 128 KiB
  mmcblk1: unknown partition table
  mmcblk1boot1: unknown partition table
  mmcblk1boot0: unknown partition table
Galcore version 4.6.9.6622
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered.
mxc_vpu 2040000.vpu: VPU initialized


I don't see any error. Is that enough?


Daiane

>
> I just want to make sure the driver was loaded. On my boards the driver always crashes.
>
> Alex
>
> -----Original Message-----
> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
> Sent: martes, 29 de octubre de 2013 19:47
> To: Daiane Angolini
> Cc: Gonzalez, Alex; meta-freescale@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@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@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@imx6qsabresd:~# ls
>>>> root@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@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?
>


-- 
Daiane



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

* Re: 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]
  2013-10-30 11:58                         ` Daiane Angolini
@ 2013-10-30 12:06                           ` Gonzalez, Alex
  0 siblings, 0 replies; 22+ messages in thread
From: Gonzalez, Alex @ 2013-10-30 12:06 UTC (permalink / raw)
  To: Daiane Angolini, Otavio Salvador; +Cc: meta-freescale, Post Lauren-RAA013

Yes, thanks Daiane. I kind of understood what the problem was, see my previous email.

Alex

-----Original Message-----
From: Daiane Angolini [mailto:daiane.angolini@freescale.com] 
Sent: miércoles, 30 de octubre de 2013 12:58
To: Gonzalez, Alex; Otavio Salvador
Cc: meta-freescale@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 10/30/2013 06:21 AM, Gonzalez, Alex wrote:
> 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

from dmesg


mmcblk1rpmb: mmc2:0001 SEM08G partition 3 128 KiB
  mmcblk1: unknown partition table
  mmcblk1boot1: unknown partition table
  mmcblk1boot0: unknown partition table
Galcore version 4.6.9.6622
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_asrc 2034000.asrc: mxc_asrc registered.
mxc_vpu 2040000.vpu: VPU initialized


I don't see any error. Is that enough?


Daiane

>
> I just want to make sure the driver was loaded. On my boards the driver always crashes.
>
> Alex
>
> -----Original Message-----
> From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
> Sent: martes, 29 de octubre de 2013 19:47
> To: Daiane Angolini
> Cc: Gonzalez, Alex; meta-freescale@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@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@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@imx6qsabresd:~# ls
>>>> root@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@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?
>


-- 
Daiane



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

* Re: 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]
  2013-10-30 11:46                         ` Gonzalez, Alex
@ 2013-10-30 12:10                           ` Otavio Salvador
  0 siblings, 0 replies; 22+ messages in thread
From: Otavio Salvador @ 2013-10-30 12:10 UTC (permalink / raw)
  To: Gonzalez, Alex; +Cc: meta-freescale, Post Lauren-RAA013

Hello Alex,

On Wed, Oct 30, 2013 at 9:46 AM, Gonzalez, Alex <Alex.Gonzalez@digi.com> wrote:
>  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.

Great; I will push this change to master and dora. Thanks for letting
us know about the problem and test it.

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


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

end of thread, other threads:[~2013-10-30 12:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-22 14:17 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] Otavio Salvador
2013-10-22 16:09 ` Gonzalez, Alex
2013-10-22 16:16   ` Otavio Salvador
2013-10-22 17:05   ` Post Lauren-RAA013
2013-10-22 17:09     ` Otavio Salvador
2013-10-29 10:49 ` Gonzalez, Alex
2013-10-29 11:08   ` Otavio Salvador
2013-10-29 11:29     ` Gonzalez, Alex
2013-10-29 11:34       ` Otavio Salvador
2013-10-29 12:13       ` Daiane Angolini
2013-10-29 15:15         ` Daiane Angolini
2013-10-29 15:33           ` Gonzalez, Alex
2013-10-29 15:35             ` Gonzalez, Alex
2013-10-29 18:22               ` Daiane Angolini
2013-10-29 18:34                 ` Otavio Salvador
2013-10-29 18:36                   ` Daiane Angolini
2013-10-29 18:46                     ` Otavio Salvador
2013-10-30  8:21                       ` Gonzalez, Alex
2013-10-30 11:46                         ` Gonzalez, Alex
2013-10-30 12:10                           ` Otavio Salvador
2013-10-30 11:58                         ` Daiane Angolini
2013-10-30 12:06                           ` Gonzalez, Alex

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.