What and where is the kernel to use with iMX6 ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What and where is the kernel to use with iMX6 ?

Jump to solution
3,084 Views
aurelienbouin
Contributor IV

Hello,

I am kinda lost with all the kernel available for iMX6 ...

I don't find any note saying what is the kernel to use for iMX6...

There is so many git repository ...

->git://git.freescale.com/imx/linux-2.6-imx.git (so many branch on it ...)

->git://github.com/Freescale/linux-mainline.git (so many branch on it ...)

->git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

I am really wondering if actually the best kernel to use could be : git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

Because even the ESAI driver seems to have the best implementation on kernel.org !!!

It could be so interresting to have a note some where describing which kernel to use ... and what is the purpose of any branch and git repository ...

Thank you ...

Aurelien BOUIN

Labels (2)
Tags (3)
0 Kudos
1 Solution
1,628 Views
igorpadykov
NXP Employee
NXP Employee

Hi aurelien

I would suggest to look at latest community dizzy, wich incorporates all

latest fixes

FSL Community BSP Release Notes 1.7 documentation

and Freescale official releases:

i.MX6Q|i.MX 6Quad Processors|Quad Core|Freescale

L3.10.17_1.0.2_iMX6QDLS_BUNDLE : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo

Linux Binary Demo Files and Linux BSP Documentation.

Size (K): 717480 Format: gz Rev #: L3.10.17_1.0.2 Modified: 10/29/2014

L3.10.17_1.0.0_LINUX_DOCS Linux 3.10.17 BSP & MM Bundle

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
5 Replies
1,628 Views
sinanakman
Senior Contributor III

Hi Aurelien

My personal preference is to only work with mainline kernels that

you can track from git.kernel.org. Unless you need a specific

feature implemented only in FSL kernel, using mainline kernel

would probably save time with all the bug fixes that kernel developers

are constantly contributing to mainline kernel (kernel.org).

Now you mention ESAI, specific to this, there is at least one

custom board that I was able to have ESAI working fine with mainline

kernel (3.17).

Hope this helps.

Sinan Akman

0 Kudos
1,628 Views
aurelienbouin
Contributor IV

Thank you very much Sinan !!

I also have the impression that the mainline kernel is more stable !!

But speaking about ESAI, I do have problem supporting 2 tramsits and 2 receives pins with 32 slots of 8 bits width for each.

Did you get the Underrun and Overrun interrupts working ?

What was the configuration of your ESAI ? Because I see a chip errata(ERR008000) on ESAI... I can see that my channel are swapping ...

Thank you for your return I really appreciate it !

Aurelien BOUIN

0 Kudos
1,628 Views
sinanakman
Senior Contributor III

Hi Aurelien

I remember the Errata about underrun/overruns. On the

board I worked on I had TXD0, TXD1 and RXD1 with

I2S for various codecs and they were all in slave mode.

We got the 2 transmits and 1 receive for I2S working fine

and tested with S16_LE, S24_LE and S32_LE.

If you like to discuss particularly the ESAI, perhaps you

can start a new thread so others can locate it easily as well. We

can then discuss on a new thread further. If you are using mainline

kernel you can also post your questions on alsa-devel mailing

list. There are some FSL developer there as well (such

as Fabio).

Meanwhile, if Igor's links above were helpful, you may prefer

to mark his answer accordingly.

Regards

Sinan Akman

1,628 Views
aurelienbouin
Contributor IV

Hello Sinan,

You are definitely right !

here is the link of my new topic : iMX6 ESAI TDM with underrun and overrun support

I actually have not tested the ESAI from the mainline kernel git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git --- branch master

I thought I did ...

But I am facing problem trying to use it ...

Thank you very much for your support !!

Regards,

Aurelien BOUIN

0 Kudos
1,629 Views
igorpadykov
NXP Employee
NXP Employee

Hi aurelien

I would suggest to look at latest community dizzy, wich incorporates all

latest fixes

FSL Community BSP Release Notes 1.7 documentation

and Freescale official releases:

i.MX6Q|i.MX 6Quad Processors|Quad Core|Freescale

L3.10.17_1.0.2_iMX6QDLS_BUNDLE : i.MX 6Quad, i.MX 6Dual, i.MX 6DualLite, i.MX 6Solo

Linux Binary Demo Files and Linux BSP Documentation.

Size (K): 717480 Format: gz Rev #: L3.10.17_1.0.2 Modified: 10/29/2014

L3.10.17_1.0.0_LINUX_DOCS Linux 3.10.17 BSP & MM Bundle

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos