I am brand new to embedded development, and my goal is to do some kernel development with a Zedboard and an attached AD-FMCOMMS2-EBZ/AD9361 transceiver. Although I'd like to learn, I want to get a running system up ASAP, however, I am not sure if my current approach is over-complicating things. So to be clear - I need a a Linux kernel development environment with drivers for the AD9361 and access to the FMCOMMS2 board configured.
So far my approach has been to build a petalinux BSP using an Analog Devices supplied kernel. I was able to successfully build and boot the kernel, and it looks like the driver is compiled into the kernel correctly, however, I am not seeing the device listed under /sys/bus/iio/devices as descibed on the ADI Wiki:
https://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9361
I have very little knowledge of hardware designs and device trees, so I am not sure where my problem lies, and unfortunately I cannot find a guide specific enough to get me up and running.
So, I have two questions:
1. Would using a petalinux BSP and ADI linux kernel w/ AD9361 drivers be a good way to go? If so, is there more detailed guides available for making the kernel aware of the FMCOMMS2 FMC card?
2. Is there a simpler approach? For example, a Linux distribution designed for Zedboard where I can recompile the kernel with AD9361 drivers?
I understand this is a really broad topic, but I was hoping someone could help point me in the right direction.
Thanks for looking!