Tool/software: Linux
Hi,
I get the following error when I try to access and GPIO5 register from the DSP1 core after loading the firmware using rpmsg with Linux running on the A15 side. I am running TI-RTOS on the DSP1 core.
[ 1709.580351] WARNING: CPU: 0 PID: 0 at /opt/PHYTEC_BSPs/yocto_ti/build/arago-tmp-external-linaro-toolchain/work-shared/am57xx-phycore-rdk/kernel-source/drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x368()
[ 1709.599555] 44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET L4_PER1_P3 (Read): Data Access in User mode during Functional access
[ 1709.611690] Modules linked in: bc_example(O) sha512_generic sha512_arm sha1_generic sha1_arm_neon sha1_arm md5 cbc sha256_generic sha256_arm hmac drbg xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 rpmsg_proto af_key rpmsg_rpc xfrm_algo rpmsg_pru bluetooth dwc3 pruss_intc udc_core virtio_rpmsg_bus snd_soc_simple_card pru_rproc pvrsrvkm(O) omap_wdt pruss omap_aes_driver ahci_platform libahci_platform libahci c_can_platform omap_sham ti_vpe c_can ti_sc libata ti_vpdma dwc3_omap snd_soc_tlv320aic3x rtc_omap extcon_palmas can_dev omap_rng extcon rng_core omap_des rtc_palmas omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel gdbserverproxy(O) cryptodev(O) cmemk(O)
[ 1709.671910] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W O 4.4.12 #3
[ 1709.679076] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 1709.685193] Backtrace:
[ 1709.687665] [<c00130a4>] (dump_backtrace) from [<c00132a0>] (show_stack+0x18/0x1c)
[ 1709.695264] r7:c02e2d18 r6:20080193 r5:00000000 r4:c09d318c
[ 1709.700988] [<c0013288>] (show_stack) from [<c02b6aa8>] (dump_stack+0x90/0xa4)
[ 1709.708247] [<c02b6a18>] (dump_stack) from [<c003387c>] (warn_slowpath_common+0x88/0xb8)
[ 1709.716369] r7:c02e2d18 r6:00000093 r5:00000009 r4:c09b5d30
[ 1709.722090] [<c00337f4>] (warn_slowpath_common) from [<c00338e4>] (warn_slowpath_fmt+0x38/0x40)
[ 1709.730822] r8:00000016 r7:c08af0a4 r6:00000002 r5:c08aec6c r4:c08aed10
[ 1709.737597] [<c00338b0>] (warn_slowpath_fmt) from [<c02e2d18>] (l3_interrupt_handler+0x25c/0x368)
[ 1709.746503] r3:ee1affc0 r2:c08aed10
[ 1709.750104] r4:80080003
[ 1709.752660] [<c02e2abc>] (l3_interrupt_handler) from [<c0077b30>] (handle_irq_event_percpu+0xb4/0x160)
[ 1709.762003] r10:c0a02d2d r9:ee1b03c0 r8:00000016 r7:00000000 r6:00000000 r5:ee1b0420
[ 1709.769905] r4:ee1b6440
[ 1709.772457] [<c0077a7c>] (handle_irq_event_percpu) from [<c0077c1c>] (handle_irq_event+0x40/0x64)
[ 1709.781365] r10:c09b64d0 r9:c06e91e4 r8:ee008000 r7:00000000 r6:c09d33e4 r5:ee1b0420
[ 1709.789264] r4:ee1b03c0
[ 1709.791816] [<c0077bdc>] (handle_irq_event) from [<c007af54>] (handle_fasteoi_irq+0xc0/0x194)
[ 1709.800374] r7:00000000 r6:c09d33e4 r5:ee1b0420 r4:ee1b03c0
[ 1709.806094] [<c007ae94>] (handle_fasteoi_irq) from [<c007715c>] (generic_handle_irq+0x2c/0x3c)
[ 1709.814739] r7:00000000 r6:00000000 r5:00000016 r4:c09b0424
[ 1709.820455] [<c0077130>] (generic_handle_irq) from [<c0077434>] (__handle_domain_irq+0x64/0xbc)
[ 1709.829192] [<c00773d0>] (__handle_domain_irq) from [<c000948c>] (gic_handle_irq+0x40/0x7c)
[ 1709.837576] r9:c06e91e4 r8:fa213000 r7:fa212000 r6:c09b5ef0 r5:fa21200c r4:c09b6868
[ 1709.845393] [<c000944c>] (gic_handle_irq) from [<c0013d80>] (__irq_svc+0x40/0x74)
[ 1709.852906] Exception stack(0xc09b5ef0 to 0xc09b5f38)
[ 1709.857978] 5ee0: 00000001 00000000 fe600000 00000000
[ 1709.866192] 5f00: c09b4000 c09b6484 00000000 00000000 c09b5f60 c06e91e4 c09b64d0 c09b5f4c
[ 1709.874403] 5f20: c09b5f2c c09b5f40 c00268f4 c0010540 60080013 ffffffff
[ 1709.881042] r9:c06e91e4 r8:c09b5f60 r7:c09b5f24 r6:ffffffff r5:60080013 r4:c0010540
[ 1709.888865] [<c0010518>] (arch_cpu_idle) from [<c006d8d8>] (default_idle_call+0x28/0x34)
[ 1709.896993] [<c006d8b0>] (default_idle_call) from [<c006db3c>] (cpu_startup_entry+0x204/0x264)
[ 1709.905645] [<c006d938>] (cpu_startup_entry) from [<c06df500>] (rest_init+0x90/0x94)
[ 1709.913417] r7:00000000
[ 1709.915972] [<c06df470>] (rest_init) from [<c095dd88>] (start_kernel+0x400/0x40c)
[ 1709.923483] r5:c0a05000 r4:c0a05040
[ 1709.927093] [<c095d988>] (start_kernel) from [<80008090>] (0x80008090)
[ 1709.933646] ---[ end trace 19bf9735e7555446 ]---
Please can you let me know what could be wrong here?
Thanks very much.
Regards,
Shaunak