Try PCI linux driver in T2080rdb. Howto?

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

Try PCI linux driver in T2080rdb. Howto?

跳至解决方案
1,617 次查看
manolo_
Contributor I

Hi guys,

I want to do a PCI driver that runs in T2080RDB in order to learn how to do a proper driver. I want to try the device which is in the board (Crypto Coprocessor c293 ). I am having some questions:

Are there any driver for this coprocessor in Linux? I am using the platform Yocto that is given by freescale in order to create my Linux.

If there is not, how can I try this device? Any idea how to start? I just want to access to any memory space or register to check if my driver is right.

Best regards.

标签 (1)
0 项奖励
回复
1 解答
1,417 次查看
bpe
NXP Employee
NXP Employee

You should follow the instructions from the document I mentioned above to

enable the crypto processor support on your board.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,417 次查看
bpe
NXP Employee
NXP Employee

Well, the crypto processor driver is probably not the simplest PCI device driver. It is built

off-kernel and is part of a separate package. To review it's source code, unpack pkc-host SDK package,

top-level routines are defined in fsl-c2x0_driver.c Additional details can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK_1.9/GUID-EF081117-F5D7-4FB8-AA...

Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,417 次查看
manolo_
Contributor I

Thanks very much. does that mean that when I build a operative system with yocto, the coprocessor is not working? do I need to implement a driver in order to use this processor?

0 项奖励
回复
1,418 次查看
bpe
NXP Employee
NXP Employee

You should follow the instructions from the document I mentioned above to

enable the crypto processor support on your board.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复