S32G399A How to put the PFE driver into Kernel

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

S32G399A How to put the PFE driver into Kernel

792 次查看
s153022
Contributor III

We are currently utilizing NXP BSP 38 for the S32G399AEVB platform. Our development environment includes the use of the PFE master and slave driver, version BLN_PFE-DRV_S32G_A53_LNX_1.5.0.

As it stands, the pfe-master.ko and pfe-slave.ko drivers are loadable modules. Our aim is to integrate these drivers directly into the kernel to facilitate debugging with T32.

We have attempted to follow the guidelines outlined in the document "S32G Compiled PFE Driver into Kernel," which pertains to version 1.4.0 and BSP 37, but have not been successful.

Would you be able to provide any patches or documentation that could assist in integrating these PFE (version BLN_PFE-DRV_S32G_A53_LNX_1.5.0 ) modules into the kernel (version Linux s32g399aevb 5.15.119-rt65+ge18f05316cd9) for BSP 38?

Thank you.

0 项奖励
回复
4 回复数

750 次查看
s153022
Contributor III

Thanks for the quick reply.

Here is the link for above document (https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/nxp-designs%40tkb/739/3/S32G_Compiled_PF...

We are able to successfully build loadable PFE modules.

However we would like to make this driver as Inbuilt in the kernel source and not as a loadable module 

 

We use below versions:

PFE  :   BLN_PFE-DRV_S32G_A53_LNX_1.5.0 

KERNEL :  Linux s32g399aevb 5.15.119-rt65+ge18f05316cd9 from BSP 38

 

Thanks and Best Regards

0 项奖励
回复

743 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. For the provided documentation, we understand that the steps were to build the PFE-FW module manually, hence it is to be loaded manually. 

The steps we shown available under the BSP38.0 User Manual should be able to load the PFE-FW in boot time, since we understand that this was used under the pre-built images provided by NXP (*.tgz file), which load the PFE-FW while booting.

You also need to provide the PFE-FW (and utility FW if available, this is optional) under the boot partition of the SD image. If not, the PFE-FW cannot be loaded.

Please, let us know.

0 项奖励
回复

764 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We seem to be unable to find the document you are referring to, but we understand that all the information should be provided under the BSP 38.0 User Manual. The following is provided in this document:

DanielAguirre_0-1712236137298.png

As for patches, we can recommend contacting your local NXP FAE/DFAE/representative. We do apologize.

Please, let us know.

0 项奖励
回复

596 次查看
s153022
Contributor III

Thank you for your response. We have successfully created the PFE patch on our end.

0 项奖励
回复