Hi
I'm trying to build Linux to run on Zedboard with an AD-FMCOMMS1-EBZ card.
I'm new to Linux so I'm following the Xilinx wiki:
http://www.wiki.xilinx.com/Getting+Started
My colleague has created a simple Hardware and FPGA design that uses some basic features of the FMCOMMS1.
The SDK (libgen) fails when creating the device tree (dts) file as the hardware design (xml file) includes references to devices on the FMCOMMS1 board that are not known to the Xilinx SDK:
http://www.wiki.xilinx.com/Build+Device+Tree+Blob
I'm getting this error:
http://www.xilinx.com/support/answers/43758.html
According to answer #35443 I'm supposed to add a repository with the custom drivers, but Analog Devices don't support this?
Instead AD provide info on how to modify an existing dts file:
http://wiki.analog.com/resources/tools-software/linux-drivers/iio-dds/axi-dac-dds-hdl
So I assume I need to create a dts file with just the standard Zynq peripherals used by our design, then manually add the custom (AD) drivers afterwards.
I've tried following Eli's instructions to get a 'standard' dts file, but I still get the same error from libgen as my xml file still contains info about custom devices even though the mss file now only contains the standard devices:
http://billauer.co.il/blog/2012/07/device-tree-file-xilinx-dtb-linux/
I've tried to manually edit the xml file with guesswork to remove bits that may be offending the tcl 'generate' script used by libgen but without any luck, I still keep getting the same error....
Does anybody know how to modify the xml so libgen works? Or is there another way to solve the problem?
Many thanks, Sam.