device driver

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

device driver

1,680件の閲覧回数
niklasmolin
Senior Contributor I

Hi.

I wonder if there is a "quick" way to compile a device driver in Yocto (creating a .ko file) or do I have to include or do I have to create a recipe?

Thanks,

Niklas

ラベル(2)
0 件の賞賛
返信
5 返答(返信)

1,467件の閲覧回数
nishad_kamdar
Contributor IV
0 件の賞賛
返信

1,467件の閲覧回数
LeonardoSandova
Specialist I

At the development phase, I would have the driver built-in on the kernel and indicate u-boot to tftp it. Once your driver is working correctly, then build it as module.

1,467件の閲覧回数
nishad_kamdar
Contributor IV

Hi ,

I just saw your discussion , and i thought i would ask you a related question, I have a a custom iMX6q board, It has is uboot and kernel in Weim NOR and rootfs in eMMC, it is booting just fine, however,  i have an FPGA connected on the EIM bus.

Following are the connecions,

CS1

26 bit address lines

lower order data bus

Now want to access the FPGA as an SRAM. I have the resources to write a block ram into the FPGA.

But i am new to writing drivers in Linux.

Can you point me to a right direction or documentation or a reference driver, so that i can find out the procedure to add a new device to the kernel.

help would be appreciated,

nishad

0 件の賞賛
返信

1,467件の閲覧回数
LeonardoSandova
Specialist I

Nishad, first search for a device driver already implemented or one similar to the one you need. If it does not exist, you may need to create a new one from scratch. Writing a driver is not trivial. BTW can you post your question on a new thread?

0 件の賞賛
返信

1,467件の閲覧回数
nishad_kamdar
Contributor IV

Hi Leonardo,

Yes i can do that.

Thanks for the tip.

regards, nishad

0 件の賞賛
返信