Quantcast
Viewing all articles
Browse latest Browse all 36216

Re: FMCOMMS2 - external reference clock

Hi Ovidiu,

 

You can't change the REF CLK frequency from the GUI.

You have to edit the device tree:

 

https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/arch/arm/boot/dts/adi-fmcomms2.dtsi

 

If you have updated you boot partition recently - you should find this file also in your SD-Cards' FAT partition.

You can edit it there using your favorite editor.

 

         clocks {

                 ad9361_clkin: clock@0 {

                          #clock-cells = <0>;

                          compatible = "fixed-clock";

                          clock-frequency = <30720000>;

                          clock-output-names = "ad9361_ext_refclk";

                 };

         };

 

 

Once done - reboot your board and run the adi_rebuild_devicetrees.sh script.

 

root@linaro-ubuntu-desktop:/usr/local/src/linux_image_ADI-scripts# adi_rebuild_devicetrees.sh

CURRENT BOARD CONFIG: /media/boot/fmcomms5

Updating /media/boot/fmcomms5/devicetree.dtb -> /media/boot/devicetree.dtb

DONE

 

After that type: reboot

 

root@linaro-ubuntu-desktop:/usr/local/src/linux_image_ADI-scripts# reboot

 

Broadcast message from root@linaro-ubuntu-desktop

(/dev/ttyPS0) at 7:43 ...

 

The system is going down for reboot NOW!

[ OK ]inaro-ubuntu-desktop:/usr/local/src/linux_image_ADI-scripts#  * Stopping IIO Server Daemon iiod       

Checking for running unattended-upgrades:

modprobe: FATAL: Could not load /lib/modules/3.14.0-83063-g9913493-dirty/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/3.14.0-83063-g9913493-dirty/modules.dep: No such file or directory

speech-dispatcher disabled; edit /etc/default/speech-dispatcher

[ OK ]ing all remaining processes to terminate...

 

-Michael


Viewing all articles
Browse latest Browse all 36216

Trending Articles