IMX6SX with Intel Wireless 9260

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

IMX6SX with Intel Wireless 9260

Jump to solution
1,391 Views
mortenrunge
Contributor I

Hi

We have a custom board based on imx6sx which originally ran with Linux imx_3.14.28_1.0.0_ga.

Recently I have updated the project to use the imx_4.9.11_1.0.0_ga which also works.

However we would very much like to use a Intel Wireless 9260 module which require a Linux 4.14+ kernel.

I have tried looking into backporting the driver to 4.9 but it did not work.

I have also tried to use the 4.14 kernel from https://github.com/Freescale/linux-fslc but it does not find the PCIE device during boot. It seems to me that the driver for "fsl,imx6sx-pcie" as stated in the device tree cannot be found in the fslc 4.14 kernel so I looked into merging files from the 4.9.11_1.0.0_ga version but there seems to be very large differences between the two kernels making it very cumbersome.

Is there a time frame for release of a newer imx Linux 4.14+ kernel with good imx6sx support which can be used with the Intel 9260 kernel? Or is there something else I could try to get it working?

 

Best regards

Morten

Labels (2)
Tags (2)
0 Kudos
1 Solution
1,035 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Morten,

I have recently added i.MX6SX PCI domain support with the following commits:

commit cfabb7921ccbede2968e5049d433ba3d0e0950af
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Fri Dec 15 00:24:57 2017 -0200

    soc: imx: gpc: Add i.MX6SX PCI power domain
    
    i.MX6SX has a PCI power domain in PGC. Add support for it.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Acked-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>

commit 1f1b7ec6714e08c9ab4243146ff8b572a25d1837
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Fri Dec 15 00:24:58 2017 -0200

    ARM: dts: imx6sx: Add support for PCI power domain
    
    Previously PCI support was working because the bootloader has previously
    powered up the PCI power domain.
    
    Represent the PCI power domain, so that PCI is functional without
    relying on the PCI support from the bootloader.
    
    Tested on a imx6sx-sdb board with no PCI support in the bootloader.
    
    Reported-by: Abel Vesa <abel.vesa@nxp.com>
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>

commit 38f17f9bbb0ead09fbb7449ea025bfb9dd893527
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Thu Dec 14 15:14:27 2017 -0200

    ARM: dts: imx6sx: Fix PCI non-prefetchable memory range
    
    The third cell of the PCI non-prefetchable memory range should be
    0x08000000, so change it accordingly.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>

They have landed in 4.16-rc1, so please give it a try with the latest 4.16-rc4 kernel and PCI should work fine for you.

Regards,

Fabio Estevam

View solution in original post

4 Replies
1,035 Views
igorpadykov
NXP Employee
NXP Employee

Hi Morten

also this may be posted on meta-fsl-arm mailing list, so that someone familiar

with Wireless 9260 module could try to assist you :
https://lists.yoctoproject.org/listinfo/meta-freescale

Best regards
igor

0 Kudos
1,036 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Morten,

I have recently added i.MX6SX PCI domain support with the following commits:

commit cfabb7921ccbede2968e5049d433ba3d0e0950af
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Fri Dec 15 00:24:57 2017 -0200

    soc: imx: gpc: Add i.MX6SX PCI power domain
    
    i.MX6SX has a PCI power domain in PGC. Add support for it.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Acked-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>

commit 1f1b7ec6714e08c9ab4243146ff8b572a25d1837
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Fri Dec 15 00:24:58 2017 -0200

    ARM: dts: imx6sx: Add support for PCI power domain
    
    Previously PCI support was working because the bootloader has previously
    powered up the PCI power domain.
    
    Represent the PCI power domain, so that PCI is functional without
    relying on the PCI support from the bootloader.
    
    Tested on a imx6sx-sdb board with no PCI support in the bootloader.
    
    Reported-by: Abel Vesa <abel.vesa@nxp.com>
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>

commit 38f17f9bbb0ead09fbb7449ea025bfb9dd893527
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Thu Dec 14 15:14:27 2017 -0200

    ARM: dts: imx6sx: Fix PCI non-prefetchable memory range
    
    The third cell of the PCI non-prefetchable memory range should be
    0x08000000, so change it accordingly.
    
    Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>

They have landed in 4.16-rc1, so please give it a try with the latest 4.16-rc4 kernel and PCI should work fine for you.

Regards,

Fabio Estevam

1,035 Views
mortenrunge
Contributor I

Hi Fabio

Thanks for the help. I can now boot with the 9260 module using the 4.16-rc4 kernel. The throughput is rather low so there is still issues I need to look into.

Best regards,

Morten

0 Kudos
1,035 Views
fabio_estevam
NXP Employee
NXP Employee

Hi Morten,

Maybe you could report the throughput issue in the Linux PCI mailing list: linux-pci@vger.kernel.org 

You can run ./scripts/get_maintainer.pl  drivers/pci/dwc/pci-imx6.c and put these folks on Cc.

Regards,

Fabio Estevam

0 Kudos