Add CAN Support

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

Add CAN Support

跳至解决方案
1,284 次查看
vinothkumars
Senior Contributor IV

Dear NXP,

 

I am working on IMX8QM with Android 9. Currently, I am using imx-p9.0.0_2.1.1-auto-ga source. I needs to add CONFIG_CAN_FLEXCAN. But, I am unable to enable.

by using make menuconfig,

 

I got depends on  (ARM || ARM64 || PPC) - I don't how to add this dependency,

   Depends on: NET [=y] && CAN [=y] && CAN_DEV [=y] && (ARM || ARM64 || PPC) 

If I check ARM64,

   CONFIG_ARCH_MXC_ARM64 - CLKSRC_MMIO -etc,

 

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励
1 解答
1,081 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

As my understanding, you do not need to enable any module. Just is saying that the module could work for architectures ARM, ARM64, and Power PC. This is similar when you are initializing the toolchain, you write the macro ARCH=arm, or ARCH=arm64. 

 Best regards,

Diego.

在原帖中查看解决方案

0 项奖励
5 回复数
1,081 次查看
vinothkumars
Senior Contributor IV

Will you please, provide the sample dotconfig files (included flex can dependency).

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励
1,081 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

The (ARM || ARM64 || PPC) is saying that it is supported by the architecture ARM, ARM64 or Power PC. In this case, it is the Architecture ARM64.

Best regards,

Diego.

0 项奖励
1,081 次查看
vinothkumars
Senior Contributor IV

Thank you Diego,

If it possible, Will you please guide me, how to enable ARM64 in Kernel config.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励
1,082 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

As my understanding, you do not need to enable any module. Just is saying that the module could work for architectures ARM, ARM64, and Power PC. This is similar when you are initializing the toolchain, you write the macro ARCH=arm, or ARCH=arm64. 

 Best regards,

Diego.

0 项奖励
1,081 次查看
vinothkumars
Senior Contributor IV

Thank you Diego for your reply.

Thanks @ Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励