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: 
385 Views
Registered: ‎11-13-2018

ad9371 drivers for petalinux 2018.1 and ubuntu 16.04

Hii

I need ad9371 drivers for petalinux but i am not able to build the drivers i tried many way scan you help me with one good method .

1. I am able to build custom bsp but with default drivers .I tried changing the files in ADC directory in my petalinux project with that of the drivers downloaded from https://github.com/analogdevicesinc/linux (path for that folder/workspace/xilinx-zc706-2018.1/build/tmp/work-shared/zc706-zynq7/kernel-source/drivers/iio/adc) but after make menu config while running the command make i am getting some errors .

2. I tried patching the ad9371 c code https://forums.xilinx.com/t5/Embedded-Linux/how-to-add-or-modify-petalinux-2016-4-yocto-kernel-source-or/td-p/742861 but encountered some errors while configuring the kernel there is no complete procedure for installing the drivers for AD9371

3. I tried in this way also https://forums.xilinx.com/t5/Embedded-Linux/how-to-add-or-modify-petalinux-2016-4-yocto-kernel-source-or/td-p/742861

 

can anyone please help me?

 

 

Tags (1)
0 Kudos
2 Replies
Moderator
Moderator
361 Views
Registered: ‎06-27-2017

Re: ad9371 drivers for petalinux 2018.1 and ubuntu 16.04

Hi jaibalayya@123,

 

First you should know what are all your driver files and apply on top of v4.9 kernel and build. so that you can simply modify the errors.

Once you build with your drivers, simply create a patch and apply the same in Petalinux in recipe-kernel.

You should not modify the changes in build/ directory.

Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos
Highlighted
313 Views
Registered: ‎11-13-2018

Re: ad9371 drivers for petalinux 2018.1 and ubuntu 16.04

hii

https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9371  i can find the necessary files from the above link. As a fresher I am unable to do that I dint find perfect source for building a custom Kernel.

Please Help me by providing some references so that i can proceed

0 Kudos