How to add a new driver in Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to add a new driver in Yocto

18,463件の閲覧回数
franciscojavie9
Contributor II

Good Morning,

Firstly, I must say that I am new in Yocto Project. I am working on PowerPC QorIQ  P1022DS. I got the evaluation board from freescale and I installed the SDK 1.9 for this product.

The problem I have is that I need to install a MIL-STD-1553 driver and here I got the software for Linux:

BU-69092: AceXtreme® C Software Development Kit (SDK) 

I suppose that I have to add some new recipes and scripts to get this driver installed into my kernel, but I do not know how to start .

Could somebody help me?

Thanks in advance.

0 件の賞賛
返信
1 返信

8,869件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Francisco Javier Munoz ,

You need to add a Yocto recipe to build MIL-STD-1553 driver package as a Linux Kernel module, then build this package into rootfs filesystem and insert the module after Linux sets up on the target board.

You could refer to "asf" module recipe in meta-freescale/recipes-kernel/asf/asf_git.bb as an example.

Please refer to the section "2.5.2. Incorporating Out-of-Tree Modules" in Yocto user manual Yocto Project Linux Kernel Development Manual .


Have a great day,
Yiping

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

0 件の賞賛
返信