The production testing is quite simple, since each board has been completely characterized and we know the layout is good, we can just look for gross errors. First the noise floor is checked when no input is supplied to make sure it is within a certain threshold, then a couple tones are input and the response is checked to be within certain bounds.
First, write the latest available SD card image found at https://wiki.analog.com/resources/tools-software/linux-software/zynq_images to a spare card and prepare the card to boot into Linux as detailed on that page for the target FMCOMMS and carrier boards. In this case copy the BOOT.BIN and devicetree.dtb files from the zynq-zc706-adv7511-ad9361-fmcomms2-3 folder into the base directory of the SD card's boot partition).
Then the card needs to be modified to run the tests automatically on boot. Test scripts are provided in https://github.com/analogdevicesinc/linux_image_ADI-scripts that automate initializing osc with the correct profile and environment.
See the following example diff for required changes to the launcher to run the tests on boot:
--- ./.config/autostart/config_autostart_osc.desktop 2013-12-09 15:55:41.774730469 -0500 +++ ./.config/autostart/config_autostart_osc.desktop 2012-12-31 19:20:18.000000000 -0500 @@ -1,11 +1,11 @@ [Desktop Entry] Type=Application -Exec=/usr/local/bin/osc +Exec=sudo /usr/local/bin/test_freqcvt1.sh Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true
The FREQCVT1 testing should be done using the following steps: