UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer kevin.jesse
Observer
5,665 Views
Registered: ‎02-16-2015

How to use the custom user module in root petalinux 2014.4

Jump to solution

I have precompiled my linux module like the following pdf and it is built when I build the kernel. Once I boot the kernel I am having trouble understanding how to use the .ko driver that was prebuilt in the kernel.

 

The .ko driver is no where in the root directory but was built and installed to the rootfs.

 

lsmod shows nothing but I think that is correct. 

 

 

[root@localhost mydma]# find ../../../ -name "xfifo*"
../../../build/linux/rootfs/modules/xfifo_dma
../../../build/linux/rootfs/modules/xfifo_dma/xfifo_dma.o
../../../build/linux/rootfs/modules/xfifo_dma/xfifo_dma.mod.c
../../../build/linux/rootfs/modules/xfifo_dma/xfifo_dma.c
../../../build/linux/rootfs/modules/xfifo_dma/xfifo_dma.mod.o
../../../build/linux/rootfs/modules/xfifo_dma/xfifo_dma.ko
../../../build/linux/rootfs/modules/xfifo_dma/.tmp_versions/xfifo_dma.mod
../../../build/linux/rootfs/targetroot/lib/modules/3.17.0-xilinx/extra/xfifo_dma.ko
../../../components/modules/xfifo_dma
../../../components/modules/xfifo_dma/xfifo_dma.c

 

root@Xilinx-ZC706-2014_4:/# find / -name "*xfifo*"
root@Xilinx-ZC706-2014_4:/#

 

0 Kudos
1 Solution

Accepted Solutions
Scholar sampatd
Scholar
9,688 Views
Registered: ‎09-05-2011

Re: How to use the custom user module in root petalinux 2014.4

Jump to solution
The procedure to include pre-built modules into PetaLinux root file system is mentioned on page 63 of the following guide
http://www.xilinx.com/support/documentation/sw_manuals/petalinux2014_4/ug1144-petalinux-tools-reference-guide.pdf

did you use the same method?

View solution in original post

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
5,625 Views
Registered: ‎07-01-2010

Re: How to use the custom user module in root petalinux 2014.4

Jump to solution
The below link provides details on how to add kernel modules to Petalinux root file system.
http://www.xilinx.com/support/answers/55997.html

Regards,
Achutha
---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Scholar sampatd
Scholar
9,689 Views
Registered: ‎09-05-2011

Re: How to use the custom user module in root petalinux 2014.4

Jump to solution
The procedure to include pre-built modules into PetaLinux root file system is mentioned on page 63 of the following guide
http://www.xilinx.com/support/documentation/sw_manuals/petalinux2014_4/ug1144-petalinux-tools-reference-guide.pdf

did you use the same method?

View solution in original post

0 Kudos
Observer kevin.jesse
Observer
5,526 Views
Registered: ‎02-16-2015

Re: How to use the custom user module in root petalinux 2014.4

Jump to solution

I am. I just got my modules to load on the board and I am not sure what I did. I am using the bsp with my hw description imported to the project.

 

Thanks for the response!

Kevin

0 Kudos