AnsweredAssumed Answered

Is this the reason of "osc" crash ??

Question asked by opticslee on Dec 11, 2014
Latest reply on Dec 12, 2014 by AdrianC

HI All,

 

Recently, we fabricated a ZYNQ board according to the ZedBoard with a little modification such as UART port selection for our RF signal research. Like the design of AVNET, we purchased the AD9361 RF Hardware evaluation Board and use a FMC socket to connect this evaluation board and my board. We also downloaded the HDL source package (https://github.com/analogdevicesinc/fpgahdl_xilinx/archive/ad_fmcomms2_ebz_edk_14_4_2013_10_22.tar.gz) from ADI website (http://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/reference_hdl) and regenerated the bit stream file via Xilinx ISE 14.4's XPS tools. Using the ISE tools of XDK, we can get the file of BOOT.bin included system.bit finally.  In the configuration of the "PS" of the zynq7020, we just enabled the peripheral of : Quad SPI Flash, Enet 0, SD 0, UART 0, SPI 0 and GPIO.
When we received our AD9361 RF Hardware evaluation Board, we also received a 8-GB SD card, where there is a white self-adhesive label says "January 2014"  on its surface. The file of kernel and device tree is both come from this SD card.  To the device tree, we decompiled the file of "zynq-zed-adv7511-ad9361.dtb" firstly, and recompiled it as the file of "devicetree.dtb" after modification(change UART1 to UART0 as the default serial port). To the kernel, we just use the original "uImage" file.
We also use the ext4-filesystem of this card to run the p to default serial portogram "osc". However, we failed, the program crashed. We checked the output message of program crashed and kernel started. We find that two failed message about AD9362 when kernel start:
----
ad9361 spi32766.0: ad9361_dig_tune: FAILED!
ad9361 spi32766.0: ad9361_dig_tune: FAILED!
----
We can't find these message via the ZedBoard.

Has any one can tell me is this the reason to crash the "osc" ?
How to fix it ?

 

Thank you very much!

 

Best Regards,
Lee

 

The kernel start output message:
-----------------------------------------------------------------------
Booting Linux on physical CPU 0x0
Linux version 3.12.0-55371-gf6fc62e (michael@mhenneri-D04) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-62) ) #1231 SMP PREEMPT Thu Dec 12 16:11:35 CET 2013
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Xilinx Zynq Platform, model: Xilinx Zynq ZED
...

 

platform 79020000.cf-ad9361-lpc: Driver cf_axi_adc requests probe deferral
mmcblk0: mmc0:e624 SD08G 7.40 GiB
ad9361 spi32766.0: ad9361_probe : enter
mmcblk0: p1 p2
ad9361 spi32766.0: ad9361_probe : AD9361 Rev 2 successfully initialized
cf_axi_dds_so 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (0x60061) at 0x79024000 mapped to 0xe0834000, probed DDS AD9361
adv7511-hdmi-snd adv7511_hdmi_snd.4: adv7511 <-> 75c00000.axi-spdif-tx mapping ok
zed-adau1761-snd zed_sound.5: adau-hifi <-> 77600000.axi-i2s mapping ok
TCP: cubic registered
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
axi-hdmi 70e00000.axi_hdmi: No connectors reported connected with modes
[drm] Cannot find any crtc or sizes - going 1024x768
Console: switching to colour frame buffer device 128x48
axi-hdmi 70e00000.axi_hdmi: fb0: frame buffer device
axi-hdmi 70e00000.axi_hdmi: registered panic notifier
[drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0
ad9361 spi32766.0: ad9361_dig_tune: FAILED!
ad9361 spi32766.0: ad9361_dig_tune: FAILED!
cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (0x60061) at 0x79020000 mapped to 0xe0858000, DMA-0 probed ADC AD9361 as MASTER
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
#0: HDMI monitor
#1: ZED ADAU1761
-----------------------------------------------------------------------

 

The osc crash message is :
-----------------------------------------------------------------------
Unhandled fault: imprecise external abort (0x406) at 0xb0c8b000
Internal error: : 406 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 1731 Comm: osc Not tainted 3.12.0-55371-gf6fc62e #1231
task: dab80240 ti: dabc8000 task.ti: dabc8000
PC is at axi_dmac_read.clone.4+0xc/0x10
LR is at axi_dmac_start_transfer+0x20/0x168
pc : [<c01b0f2c>] lr : [<c01b0f7c>] psr: 800f0093
sp : dabc9e68 ip : dfa84ef4 fp : 000adf00
r10: 00000000 r9 : 00000000 r8 : 1c848000
r7 : dfa84e88 r6 : 600f0013 r5 : dfa84e10 r4 : dfa84e88
r3 : dc6b8e5c r2 : dc6b8e5c r1 : e0820408 r0 : 00000000
Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 18c5387d Table: 1abf404a DAC: 00000015
Process osc (pid: 1731, stack limit = 0xdabc8240)
Stack: (0xdabc9e68 to 0xdabca000)
9e60: dfa84e88 dfa84ecc 600f0013 dfa84e88 1c848000 c01b12b4
9e80: dfa95380 daa97480 00007d00 c0300e64 00000001 00000000 00000002 00000000
9ea0: 00007d00 1c848000 dfb9be00 daa97480 dfb9be80 dfa95000 dfb9be00 c02fbd5c
9ec0: 00200200 dfb9be00 dfb9bec0 c02fca50 c02fc99c dfa95000 dfb9be00 ce004f80
9ee0: dfa951fc c02f9c28 dfb9be6c dfa95208 00000002 00000000 dfb9be00 dfa95000
9f00: c041a1b4 dc446758 000adf00 c02f9dfc dfa95010 01613ca8 dfb9a770 dabc9f80
9f20: dfa95018 dc446740 00000002 c01fa050 00000002 c01111e8 ce130ac0 00000002
9f40: b0c8b000 dabc9f80 b0c8b000 dabc800

Outcomes