"dpaa_integration_ext.h: No such file or directory" when building LS1046A/LS1046ARDB IMA-EVM linux i

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

"dpaa_integration_ext.h: No such file or directory" when building LS1046A/LS1046ARDB IMA-EVM linux i

跳至解决方案
2,742 次查看
yenchao
Contributor IV

Hi
I followed "Layerscape Software Development Kit User 21.08.pdf" chapter 6.3.1 to build LS1046ARDB IMA-EVM linux image and got this error messages.

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

In file included from /media/pcp/YEN_P1/work/A518/nxp/lsdk_2108_A518/components/linux/linux/drivers/net/ethernet/freescale/sdk_dpaa/mac.h:40,
from /media/pcp/YEN_P1/work/A518/nxp/lsdk_2108_A518/components/linux/linux/drivers/staging/fsl_qbman/fsl_usdpaa.c:38:
/media/pcp/YEN_P1/work/A518/nxp/lsdk_2108_A518/components/linux/linux/drivers/net/ethernet/freescale/sdk_fman/src/inc/wrapper/lnxwrp_fsl_fman.h:46:10: fatal error: dpaa_integration_ext.h: No such file or directory
46 | #include "dpaa_integration_ext.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[6]: *** [/media/pcp/YEN_P1/work/A518/nxp/lsdk_2108_A518/components/linux/linux/scripts/Makefile.build:279: drivers/staging/fsl_qbman/fsl_usdpaa.o] Error 1
make[6]: *** Waiting for unfinished jobs....

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

Does anyone know how to solve this problem?

attached is the kernel config I used.

Thx

Yen

标记 (1)
0 项奖励
回复
1 解答
2,672 次查看
khushbur
NXP TechSupport
NXP TechSupport

Hi @yenchao 

 

Please set CONFIG_FMAN_ARM = y In your configuration file.

 

Thanks

Khushbu

在原帖中查看解决方案

0 项奖励
回复
7 回复数
2,673 次查看
khushbur
NXP TechSupport
NXP TechSupport

Hi @yenchao 

 

Please set CONFIG_FMAN_ARM = y In your configuration file.

 

Thanks

Khushbu

0 项奖励
回复
2,661 次查看
xinliwang
Contributor III

Hi @khushbur 

I don't think it works in the latest kernel version real-time-edge-linux-linux_6.1.22

0 项奖励
回复
2,730 次查看
yenchao
Contributor IV

Hi

I guess one of these kernel config should be enabled.

CONFIG_FMAN_P3040_P4080_P5020
CONFIG_FMAN_P1023
CONFIG_FMAN_V3H
CONFIG_FMAN_V3L
CONFIG_FMAN_ARM

which one is for LS1046A?

Thx

Yen

0 项奖励
回复
2,696 次查看
xinliwang
Contributor III

Hi @yenchao 

Did you figure it out?

0 项奖励
回复
2,686 次查看
yenchao
Contributor IV

Hi xinliwang,

I can build kernel successfully if I enable CONFIG_FMAN_ARM.

But I am not sure if CONFIG_FMAN_ARM is for LS1046A

Do you know which one is for LS1046A?

Thx

Yen

0 项奖励
回复
2,680 次查看
xinliwang
Contributor III

Hi @yenchao 

 

I think CONFIG_FMAN_ARM is for ls1046 since you have build the kernel successfully.

But it doesn't work for me. I still have such problem and I don't know why. Can you give me the config file and I can give a try?

Thanks

0 项奖励
回复
2,676 次查看
yenchao
Contributor IV

Hi

Please see the attachment for config file.

 

Thx

Yen

0 项奖励
回复