sdk_dpaa missing from mainline kernel?

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

sdk_dpaa missing from mainline kernel?

1,165 Views
francoisgervais
Contributor I

It seems that freescale/sdk_dpaa is missing from the mainline kernel.

There seem to be a freescale/dpaa but that doesn't seem to work with the ethernet interfaces of the ls1043ardb board as it fails with:

[ 2.775370] fsl_dpaa_mac 1ae0000.ethernet: dpaa_fq_alloc() failed
[ 2.781463] fsl_dpaa_mac 1ae0000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.788524] fsl_dpa: probe of dpaa-ethernet.0 failed with error -12
[ 2.795077] fsl_dpaa_mac 1ae2000.ethernet: dpaa_fq_alloc() failed
[ 2.801168] fsl_dpaa_mac 1ae2000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.808214] fsl_dpa: probe of dpaa-ethernet.1 failed with error -12
[ 2.814754] fsl_dpaa_mac 1ae4000.ethernet: dpaa_fq_alloc() failed
[ 2.820844] fsl_dpaa_mac 1ae4000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.827882] fsl_dpa: probe of dpaa-ethernet.2 failed with error -12
[ 2.834421] fsl_dpaa_mac 1ae6000.ethernet: dpaa_fq_alloc() failed
[ 2.838293] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.840515] fsl_dpaa_mac 1ae6000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.852942] fsl_dpa: probe of dpaa-ethernet.3 failed with error -12
[ 2.859481] fsl_dpaa_mac 1ae8000.ethernet: dpaa_fq_alloc() failed
[ 2.865574] fsl_dpaa_mac 1ae8000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.872609] fsl_dpa: probe of dpaa-ethernet.4 failed with error -12
[ 2.879149] fsl_dpaa_mac 1aea000.ethernet: dpaa_fq_alloc() failed
[ 2.885239] fsl_dpaa_mac 1aea000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.892288] fsl_dpa: probe of dpaa-ethernet.5 failed with error -12
[ 2.898826] fsl_dpaa_mac 1af0000.ethernet: dpaa_fq_alloc() failed
[ 2.904916] fsl_dpaa_mac 1af0000.ethernet: dpaa_alloc_all_fqs() failed
[ 2.911953] fsl_dpa: probe of dpaa-ethernet.6 failed with error -12

What would be the correct mainline driver to use?

Labels (1)
0 Kudos
4 Replies

1,013 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Francois Gervais,

The followings are kernel options of upstream dpaa driver.

Repo:  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Dtb: fsl-ls1043a-rdb.dtb

 

FSL_FMAN=y

FSL_DPAA=y

FSL_DPAA_ETH=y

The mainline Kernel doesn't include freescale/sdk_dpaa, if you need it, you need to do the porting from LSDK.

Thanks,

Yiping

0 Kudos

1,013 Views
francoisgervais
Contributor I

I do have those configs but it fails with the error shown in the first post.

Any idea why?

0 Kudos

1,013 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please use the attached Kernel configuration to build Kernel image, which is provided by the testing team.

0 Kudos

855 Views
masafumiohta
Contributor I

Hello,

I met the same issue on kernel-default-5.3.18-24.49.2... and cannot build with the option you mention...any additional idea for that?

0 Kudos