Dear All,
I was trying to run the fftcSimpleK2LC66BiosTestProject included in pdk_keystone2_3_01_03_06\packages\exampleProjects using CCS version 6.1, MCSDK bios 3.01.03.06 and MCSDK linux 3.1.4.7 on an TCI6630K2L platform. When I booted the EVM in ARM SPI mode, and ran the example project from CCS via JTAG, I observed the following crash in the kernel at the Qmss_init() stage of the FFTC initialization.
[ 8417.810869] WARNING: at drivers/hwqueue/keystone_hwqueue.c:357 khwq_unmap+0xd0/0x104()
[ 8417.818758] Modules linked in:
[ 8417.821803] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.10.10-dirty #54
[ 8417.829361] [<c0014f68>] (unwind_backtrace+0x0/0xf8) from [<c00117ac>] (show_stack+0x10/0x14)
[ 8417.837866] [<c00117ac>] (show_stack+0x10/0x14) from [<c0020db4>] (warn_slowpath_common+0x4c/0x6c)
[ 8417.846793] [<c0020db4>] (warn_slowpath_common+0x4c/0x6c) from [<c0020df0>] (warn_slowpath_null+0x1c/0x24)
[ 8417.856417] [<c0020df0>] (warn_slowpath_null+0x1c/0x24) from [<c038e578>] (khwq_unmap+0xd0/0x104)
[ 8417.865266] [<c038e578>] (khwq_unmap+0xd0/0x104) from [<c0292654>] (chan_complete+0xec/0x6d4)
[ 8417.873766] [<c0292654>] (chan_complete+0xec/0x6d4) from [<c0293298>] (chan_control+0x228/0xb64)
[ 8417.882527] [<c0293298>] (chan_control+0x228/0xb64) from [<c031a288>] (netcp_poll+0x40/0xc4)
[ 8417.890947] [<c031a288>] (netcp_poll+0x40/0xc4) from [<c03b3240>] (net_rx_action+0xa0/0x1a8)
[ 8417.899361] [<c03b3240>] (net_rx_action+0xa0/0x1a8) from [<c002804c>] (__do_softirq+0xe8/0x258)
[ 8417.908032] [<c002804c>] (__do_softirq+0xe8/0x258) from [<c0028494>] (irq_exit+0x58/0x90)
[ 8417.916179] [<c0028494>] (irq_exit+0x58/0x90) from [<c000e978>] (handle_IRQ+0x3c/0x94)
[ 8417.924072] [<c000e978>] (handle_IRQ+0x3c/0x94) from [<c0008520>] (gic_handle_irq+0x28/0x5c)
[ 8417.932486] [<c0008520>] (gic_handle_irq+0x28/0x5c) from [<c04d3a40>] (__irq_svc+0x40/0x50)
[ 8417.940808] Exception stack(0xc0729f60 to 0xc0729fa8)
[ 8417.945836] 9f60: c0bb3918 00000000 0003b63e 00000000 c0728000 c0769a30 c076927f c0730454
[ 8417.953987] 9f80: c076927f c04db350 c0728000 c0728000 00000000 c0729fa8 c000eae8 c000eaec
[ 8417.962136] 9fa0: 60000013 ffffffff
[ 8417.965611] [<c04d3a40>] (__irq_svc+0x40/0x50) from [<c000eaec>] (arch_cpu_idle+0x28/0x30)
[ 8417.973857] [<c000eaec>] (arch_cpu_idle+0x28/0x30) from [<c0054d24>] (cpu_startup_entry+0x58/0x1dc)
[ 8417.982880] [<c0054d24>] (cpu_startup_entry+0x58/0x1dc) from [<c06d7a70>] (start_kernel+0x300/0x358)
[ 8417.991981] ---[ end trace 1b75b31a2719ed1f ]---
[ 8417.996578] dma dma1chan4: failed to unmap descriptor 0x203ffe80
The crash goes away when I comment the line where LINKING_RAM_REGION_1_BASE_ADDRESS_REG is assigned in the function Qmss_internalInsertLinkingRAM(). Please note that I wasn't using the MPM client to load and run the DSP application.
Please advise.
Thanks,
Regards,
Shiva