11-30-2018 09:37 PM
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
can anyone please help me?
11-30-2018 11:42 PM
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.
Don't forget to reply, kudo, and accept as solution.
12-02-2018 07:41 PM
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