AnsweredAssumed Answered

Current FMCOMMS1 kern image and devicetree builds not working

Question asked by jay_d on Apr 2, 2013
Latest reply on Apr 12, 2013 by jay_d

Michael,

   This is to start a new forum posting in regards to my comments in the severe clock noise on FMCOMMS1 posting started by Douzzer about the newer Image and devicetree builds not bring up my FMCOMMS1 board.

 

Per my feedback in the original posting started by Douzzer the April 02 zip build you sent ran first time but I did not have terminal window running on Boot up. The oscope app spectrum looked stable. After which on new power on tries I seem this get or the USB Mouse does not come up.

 

cf_axi_adc 79020000.cf-ad9643-core-lpc: Device Tree Probing 'cf-ad9643-core-lpc'

platform 79020000.cf-ad9643-core-lpc: Driver cf_axi_adc requests probe deferral

cf_axi_dds 74200000.cf-ad9122-core-lpc: Device Tree Probing 'cf-ad9122-core-lpc'

EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended

EXT4-fs (mmcblk0p2): recovery complete

EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

VFS: Mounted root (ext4 filesystem) on device 179:2.

Freeing init memory: 152K

cf_axi_dds: probe of 74200000.cf-ad9122-core-lpc failed with error -1

cf_axi_adc 79020000.cf-ad9643-core-lpc: Device Tree Probing 'cf-ad9643-core-lpc'

|----------------------------------------------------------------- DCO 0x0 CLK 245760000 Hz

cf_axi_adc 79020000.cf-ad9643-core-lpc: ADI AIM (0x10063) at 0x79020000 mapped to 0xf0100000, DMA-0 probed ADC AD9643 as MASTER

 

Welcome to Linaro 12.10 (GNU/Linux 3.6.0-02517-g6b9baa9 armv7l)

 

* Documentation: https://wiki.linaro.org/

 

264 packages can be updated.

108 updates are security updates.

 

root@linaro-ubuntu-desktop:~# cf_axi_adc 79020000.cf-ad9643-core-lpc: timeout: DMA_STAT 0x2, ADC_STAT 0xF

 

also get this at times.....

 

[drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0

cf_axi_adc 79020000.cf-ad9643-core-lpc: Device Tree Probing 'cf-ad9643-core-lpc'

platform 79020000.cf-ad9643-core-lpc: Driver cf_axi_adc requests probe deferral

cf_axi_dds 74200000.cf-ad9122-core-lpc: Device Tree Probing 'cf-ad9122-core-lpc'

input: Generic USB+PS2 Keyboard as /devices/amba.1/e0002000.usb/xusbps-ehci.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input1

hid-generic 0003:0D62:001C.0002: input,hidraw1: USB HID v1.10 Keyboard [Generic USB+PS2 Keyboard] on usb-xusbps-ehci.0-1.1/input0

input: Generic USB+PS2 Keyboard as /devices/amba.1/e0002000.usb/xusbps-ehci.0/usb1/1-1/1-1.1/1-1.1:1.1/input/input2

hid-generic 0003:0D62:001C.0003: input,hidraw2: USB HID v1.10 Device [Generic USB+PS2 Keyboard] on usb-xusbps-ehci.0-1.1/input1

EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended

cf_axi_dds: probe of 74200000.cf-ad9122-core-lpc failed with error -1

cf_axi_adc 79020000.cf-ad9643-core-lpc: Device Tree Probing 'cf-ad9643-core-lpc'

cf_axi_adc 79020000.cf-ad9643-core-lpc: Unrecognized CHIP_ID 0x0

EXT4-fs (mmcblk0p2): recovery complete

EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

VFS: Mounted root (ext4 filesystem) on device 179:2.

Freeing init memory: 152K

init: ureadahead main process (757) terminated with status 5

chmod: cannot access `/sys/bus/iio/devices/iio:device*/buffer/*': No such file or directory

Welcome to Linaro 12.10 (GNU/Linux 3.6.0-02517-g6b9baa9 armv7l)

 

  I get about the same output with the build I did based on the current xcomm_zynq branch in the Analog Devices Linux GIT.

  Putting in a SD card with older OCT 24/31 build it always runs but the amp and spur levels looks less stable with oscope app spectrum plot.  Note this OCT build software also runs well with a BOOT.BIN build using the newer 3/20 system.bit build from the Analog Devices hardware GIT.

   I can also do a build from older saved kern and devicetree versions I have and things seem to always run.

 

Thoughts,

  Is there some funny problem with the interrupt level settings in the current devicetree causing issues?

  At some point in the default fmcomms zc702 devicetree DTS file many of the peripheral interrupts such as Ether, Timers, Uart, I2C, and SD card had interrupts settings of 0 xx 4 whereas at some point in time they got changed to be 0 xx 0 values. Also the recently added pl310 entry does not have any interrupt entry whereas the old default xynq-xc702 devicetree had a interrupt 0 34 4 entry.

  Also to note the recent change to the USB devicetree for current zynq—addv7511-xcomms DTS that the interrupt got change back to 0 21 4. The DMA engines have always pointed to a interrupt setting of 0 xx 4.

  Noting I am running with the terminal Uart and Ethr connected.  That with a non FMCOMMS build or OCT24 build boot into Linaro I never had any issues with the USB Hub Mouse and Keyboard not being present.

 

   Is there some issue with the SPI interface to the parts?  Are there issues with the PIC I2C to SPI interface in terms of speed on the FMCOMMS1?

  It certainly seems the base problem is seen in the terminal output during power on probe of the ad9122-core.

 

 

Thanks,

James

Outcomes