This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

44000000.ocp:L3 Custom Error: MASTER ICSS1 TARGET L4_PER_1 (Read): Data Access in User mode during Functional access

Hi:

I've used ICCS1 PRU1 to do some functions for ADC calibration.

The kernel log is as the following:     please give me some advise.

root@am437x-evm:/lib/modules# insmod pruss_remoteproc.ko 
[Tue Sep 15 11:49:43.697 2015] [   45.614353] pruss-rproc 54400000.pruss: memory    dram0: pa 0x54400000 size 0x2000 va f01fc000
[Tue Sep 15 11:49:43.889 2015] [   45.623165] pruss-rproc 54400000.pruss: memory    dram1: pa 0x54402000 size 0x2000 va f0304000
[Tue Sep 15 11:49:43.889 2015] [   45.631891] pruss-rproc 54400000.pruss: memory shrdram2: pa 0x54410000 size 0x8000 va f0310000
[Tue Sep 15 11:49:43.889 2015] [   45.640613] pruss-rproc 54400000.pruss: memory     intc: pa 0x54420000 size 0x2000 va f0308000
[Tue Sep 15 11:49:43.889 2015] [   45.649331] pruss-rproc 54400000.pruss: memory      cfg: pa 0x54426000 size 0x2000 va f030c000
[Tue Sep 15 11:49:43.889 2015] [   45.658044] pruss-rproc 54400000.pruss: memory    dram2: pa 0x54440000 size 0x1000 va f01fa000
[Tue Sep 15 11:49:43.889 2015] [   45.666753] pruss-rproc 54400000.pruss: memory    dram3: pa 0x54442000 size 0x1000 va f0302000
[Tue Sep 15 11:49:43.889 2015] [   45.675600] pruss-rproc 54400000.pruss: creating platform devices for PRU cores
[Tue Sep 15 11:49:43.889 2015] [   45.686078] pruss-rproc 54400000.pruss: probe clear sharedmem !!! 
[Tue Sep 15 11:49:43.889 2015] [   45.692496] pruss-rproc 54400000.pruss: pruss_probe init adc default value!!! 
[Tue Sep 15 11:49:43.889 2015] [   45.699811] pruss-rproc 54400000.pruss: pruss_probe create attributes for ADC !!! 
[Tue Sep 15 11:49:43.889 2015] [   45.707573] pruss-rproc 54400000.pruss: creating platform devices for PRU cores ret = 0
[Tue Sep 15 11:49:43.899 2015] [   45.716781] pru-rproc 54434000.pru0: memory     iram: pa 0x54434000 size 0x3000 va f031c000
[Tue Sep 15 11:49:43.899 2015] [   45.725237] pru-rproc 54434000.pru0: memory  control: pa 0x54422000 size 0x400 va f031a000
[Tue Sep 15 11:49:43.899 2015] [   45.733621] pru-rproc 54434000.pru0: memory    debug: pa 0x54422400 size 0x100 va f0320400
[Tue Sep 15 11:49:43.899 2015] [   45.742174]  remoteproc1: 54434000.pru0 is available
[Tue Sep 15 11:49:43.899 2015] [   45.747219]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[Tue Sep 15 11:49:43.899 2015] [   45.756230]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[Tue Sep 15 11:49:43.899 2015] [   45.769607]  remoteproc1: Direct firmware load failed with error -2
[Tue Sep 15 11:49:43.899 2015] [   45.775989]  remoteproc1: Falling back to user helper
[Tue Sep 15 11:49:43.899 2015] [   45.782529] platform sound@0: Driver asoc-simple-card requests probe deferral
[Tue Sep 15 11:49:43.960 2015] [   45.835337]  remoteproc1: failed to load rproc-pru0-fw
[Tue Sep 15 11:49:43.960 2015] [   45.840892] pru-rproc 54434000.pru0: booting the PRU core manually
[Tue Sep 15 11:49:43.960 2015] [   45.847183]  remoteproc1: powering up 54434000.pru0
[Tue Sep 15 11:49:43.960 2015] [   45.852163]  remoteproc1: Direct firmware load failed with error -2
[Tue Sep 15 11:49:43.960 2015] [   45.858502]  remoteproc1: Falling back to user helper
[Tue Sep 15 11:49:43.960 2015] [   45.877240]  remoteproc1: request_firmware failed: -2
[Tue Sep 15 11:49:44.329 2015] [   45.882359] pru-rproc 54434000.pru0: rproc_boot failed
[Tue Sep 15 11:49:44.329 2015] [   45.887719]  remoteproc1: releasing 54434000.pru0
[Tue Sep 15 11:49:44.329 2015] [   45.892611] pru-rproc: probe of 54434000.pru0 failed with error -2
[Tue Sep 15 11:49:44.329 2015] [   45.899081] pru-rproc 54438000.pru1: memory     iram: pa 0x54438000 size 0x3000 va f0324000
[Tue Sep 15 11:49:44.329 2015] [   45.907578] pru-rproc 54438000.pru1: memory  control: pa 0x54424000 size 0x400 va f0322000
[Tue Sep 15 11:49:44.329 2015] [   45.915920] pru-rproc 54438000.pru1: memory    debug: pa 0x54424400 size 0x100 va f0328400
[Tue Sep 15 11:49:44.329 2015] [   45.924475]  remoteproc1: 54438000.pru1 is available
[Tue Sep 15 11:49:44.329 2015] [   45.929514]  remoteproc1: Note: remoteproc is still under development and considered experimental.
[Tue Sep 15 11:49:44.329 2015] [   45.938551]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[Tue Sep 15 11:49:44.329 2015] [   45.955842] pru-rproc 54438000.pru1: booting the PRU core manually
[Tue Sep 15 11:49:44.329 2015] [   45.962146]  remoteproc1: powering up 54438000.pru1
[Tue Sep 15 11:49:44.329 2015] [   45.967232]  remoteproc1: rproc_fw_sanity_check is 0
[Tue Sep 15 11:49:44.329 2015] [   45.972222]  remoteproc1: Booting fw image rproc-pru1-fw, size 15788
[Tue Sep 15 11:49:44.339 2015] [   45.978653]  remoteproc1:  rproc_elf_load_segments 
[Tue Sep 15 11:49:44.339 2015] [   45.983552]  remoteproc1: phdr: type 1 da 0x0 memsz 0x1c4 filesz 0x1c4
[Tue Sep 15 11:49:44.339 2015] [   45.990122]  remoteproc1:  pru_da_to_va 0x00000001
[Tue Sep 15 11:49:44.339 2015] [   45.994930]  remoteproc1:  pru_da_to_va 0x0
[Tue Sep 15 11:49:44.339 2015] [   45.999142]  remoteproc1: phdr: type 1 da 0x0 memsz 0x14 filesz 0x14
[Tue Sep 15 11:49:44.339 2015] [   46.005519]  remoteproc1:  pru_da_to_va 0x00000000
[Tue Sep 15 11:49:44.339 2015] [   46.010339]  remoteproc1:  pru_da_to_va 0x0
[Tue Sep 15 11:49:44.339 2015] [   46.014539]  remoteproc1:  rproc_elf_find_loaded_rsc_table
[Tue Sep 15 11:49:44.339 2015] [   46.020055]  remoteproc1:  pru_da_to_va 0x00000000
[Tue Sep 15 11:49:44.339 2015] [   46.024862]  remoteproc1:  pru_da_to_va 0x0
[Tue Sep 15 11:49:44.339 2015] [   46.029068]  remoteproc1: starting PRU1: entry-point = 0x0
[Tue Sep 15 11:49:44.339 2015] [   46.034575]  remoteproc1: remote processor 54438000.pru1 is now up
[Tue Sep 15 11:49:44.339 2015] [   46.040786] ------------[ cut here ]------------
[Tue Sep 15 11:49:44.339 2015] [   46.045438] WARNING: CPU: 0 PID: 1680 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x234/0x35c()
[Tue Sep 15 11:49:44.339 2015] [   46.055046] 44000000.ocp:L3 Custom Error: MASTER ICSS1 TARGET L4_PER_1 (Read): Data Access in User mode during Functional access
[Tue Sep 15 11:49:44.350 2015] [   46.066656] Modules linked in: pruss_remoteproc(+) virtio_rpmsg_bus
[Tue Sep 15 11:49:44.350 2015] [   46.072974] CPU: 0 PID: 1680 Comm: insmod Not tainted 3.14.43-rt42-g0921d6b #48
[Tue Sep 15 11:49:44.350 2015] [   46.080311] Backtrace: 
[Tue Sep 15 11:49:44.350 2015] [   46.082787] [<c001115c>] (dump_backtrace) from [<c00112f8>] (show_stack+0x18/0x1c)
[Tue Sep 15 11:49:44.350 2015] [   46.090385]  r6:00000093 r5:00000009 r4:ed0238f8 r3:00000000
[Tue Sep 15 11:49:44.350 2015] [   46.096102] [<c00112e0>] (show_stack) from [<c05caaac>] (dump_stack+0x20/0x28)
[Tue Sep 15 11:49:44.350 2015] [   46.103361] [<c05caa8c>] (dump_stack) from [<c0037598>] (warn_slowpath_common+0x6c/0x8c)
[Tue Sep 15 11:49:44.350 2015] [   46.111487] [<c003752c>] (warn_slowpath_common) from [<c003765c>] (warn_slowpath_fmt+0x38/0x40)
[Tue Sep 15 11:49:44.350 2015] [   46.120218]  r8:c05f8154 r7:c075ee98 r6:c075ea88 r5:80080003 r4:ed0d21d0
[Tue Sep 15 11:49:44.350 2015] [   46.126981] [<c0037628>] (warn_slowpath_fmt) from [<c0282aa8>] (l3_interrupt_handler+0x234/0x35c)
[Tue Sep 15 11:49:44.350 2015] [   46.135886]  r3:ed0d2440 r2:c075eb48
[Tue Sep 15 11:49:44.350 2015] [   46.139496] [<c0282874>] (l3_interrupt_handler) from [<c0064884>] (handle_irq_event_percpu+0x74/0x1f4)
[Tue Sep 15 11:49:44.350 2015] [   46.148837]  r10:c088969b r9:00000000 r8:ed006200 r7:0000002a r6:00000000 r5:00000000
[Tue Sep 15 11:49:44.359 2015] [   46.156728]  r4:ed0d6d40
[Tue Sep 15 11:49:44.359 2015] [   46.159277] [<c0064810>] (handle_irq_event_percpu) from [<c0064a34>] (handle_irq_event+0x30/0x40)
[Tue Sep 15 11:49:44.359 2015] [   46.168183]  r10:600f0013 r9:00000000 r8:00000002 r7:fa240100 r6:00000000 r5:0000002a
[Tue Sep 15 11:49:44.359 2015] [   46.176075]  r4:ed006200
[Tue Sep 15 11:49:44.359 2015] [   46.178627] [<c0064a04>] (handle_irq_event) from [<c0067344>] (handle_fasteoi_irq+0x74/0x128)
[Tue Sep 15 11:49:44.359 2015] [   46.187183]  r4:ed006200 r3:00000000
[Tue Sep 15 11:49:44.359 2015] [   46.190785] [<c00672d0>] (handle_fasteoi_irq) from [<c0064110>] (generic_handle_irq+0x28/0x38)
[Tue Sep 15 11:49:44.359 2015] [   46.199427]  r4:0000002a r3:c00672d0
[Tue Sep 15 11:49:44.359 2015] [   46.203030] [<c00640e8>] (generic_handle_irq) from [<c000ef60>] (handle_IRQ+0x38/0x8c)
[Tue Sep 15 11:49:44.359 2015] [   46.210974]  r4:c085a8b0 r3:00000202
[Tue Sep 15 11:49:44.359 2015] [   46.214577] [<c000ef28>] (handle_IRQ) from [<c00084f0>] (gic_handle_irq+0x30/0x5c)
[Tue Sep 15 11:49:44.359 2015] [   46.222173]  r6:ed023a90 r5:c0842460 r4:fa24010c r3:00000100
[Tue Sep 15 11:49:44.359 2015] [   46.227888] [<c00084c0>] (gic_handle_irq) from [<c05ce900>] (__irq_svc+0x40/0x50)
[Tue Sep 15 11:49:44.671 2015] [   46.235398] Exception stack(0xed023a90 to 0xed023ad8)
[Tue Sep 15 11:49:44.671 2015] [   46.240470] 3a80:                                     00000162 00000000 c0851e2c c0851e2c
[Tue Sep 15 11:49:44.671 2015] [   46.248681] 3aa0: 00000036 c0851e2c 00000000 00000000 00000002 00000000 600f0013 ed023b2c
[Tue Sep 15 11:49:44.671 2015] [   46.256891] 3ac0: ed023a90 ed023ad8 c00625c0 c0062ae4 600f0013 ffffffff
[Tue Sep 15 11:49:44.671 2015] [   46.263529]  r7:ed023ac4 r6:ffffffff r5:600f0013 r4:c0062ae4
[Tue Sep 15 11:49:44.671 2015] [   46.269244] [<c00629a0>] (vprintk_emit) from [<c035724c>] (dev_vprintk_emit+0x50/0x58)
[Tue Sep 15 11:49:44.671 2015] [   46.277189]  r10:ec86ac10 r9:eb893974 r8:f0304000 r7:ed023bf4 r6:c0775aec r5:00000006
[Tue Sep 15 11:49:44.671 2015] [   46.285081]  r4:ed023b38
[Tue Sep 15 11:49:44.671 2015] [   46.287629] [<c03571fc>] (dev_vprintk_emit) from [<c035727c>] (dev_printk_emit+0x28/0x30)
[Tue Sep 15 11:49:44.671 2015] [   46.295836]  r7:eb893828 r6:00000006 r5:ed023c28 r4:eb893828
[Tue Sep 15 11:49:44.671 2015] [   46.301545] [<c0357258>] (dev_printk_emit) from [<c0357b8c>] (__dev_printk+0x54/0x74)
[Tue Sep 15 11:49:44.671 2015] [   46.309404]  r3:c074209c r2:c0775aec
[Tue Sep 15 11:49:44.671 2015] [   46.313004] [<c0357b38>] (__dev_printk) from [<c0357bec>] (_dev_info+0x40/0x48)
[Tue Sep 15 11:49:44.671 2015] [   46.320338]  r6:eb89397c r5:00000000 r4:eb893800
[Tue Sep 15 11:49:44.684 2015] [   46.324997] [<c0357bb0>] (_dev_info) from [<c04ce630>] (rproc_boot+0x440/0x514)
[Tue Sep 15 11:49:44.684 2015] [   46.332331]  r3:00000002 r2:ebaf73c0 r1:c07abacc
[Tue Sep 15 11:49:44.684 2015] [   46.337010] [<c04ce1f0>] (rproc_boot) from [<bf008920>] (pru_rproc_probe+0x2fc/0x3d8 [pruss_remoteproc])
[Tue Sep 15 11:49:44.684 2015] [   46.346526]  r10:ec86ac18 r9:bf00ad48 r8:ec86ac10 r7:00000003 r6:bf009a3c r5:00000000
[Tue Sep 15 11:49:44.684 2015] [   46.354419]  r4:eb893a28
[Tue Sep 15 11:49:44.684 2015] [   46.356982] [<bf008624>] (pru_rproc_probe [pruss_remoteproc]) from [<c035c614>] (platform_drv_probe+0x20/0x50)
[Tue Sep 15 11:49:44.684 2015] [   46.367022]  r10:c007812c r9:ed022000 r8:00000014 r7:bf00b144 r6:00000000 r5:bf00b144
[Tue Sep 15 11:49:44.684 2015] [   46.374915]  r4:ec86ac10
[Tue Sep 15 11:49:44.684 2015] [   46.377466] [<c035c5f4>] (platform_drv_probe) from [<c035b13c>] (driver_probe_device+0x110/0x234)
[Tue Sep 15 11:49:44.684 2015] [   46.386372]  r5:ec86ac10 r4:c08b9670
[Tue Sep 15 11:49:44.684 2015] [   46.389974] [<c035b02c>] (driver_probe_device) from [<c035b2f4>] (__driver_attach+0x94/0x98)
[Tue Sep 15 11:49:44.684 2015] [   46.398444]  r8:bf00e000 r7:00000000 r6:ec86ac44 r5:bf00b144 r4:ec86ac10 r3:00000000
[Tue Sep 15 11:49:44.684 2015] [   46.406256] [<c035b260>] (__driver_attach) from [<c0359880>] (bus_for_each_dev+0x5c/0x90)
[Tue Sep 15 11:49:44.694 2015] [   46.414463]  r6:c035b260 r5:bf00b144 r4:00000000 r3:ec862f3c
[Tue Sep 15 11:49:44.694 2015] [   46.420173] [<c0359824>] (bus_for_each_dev) from [<c035ac34>] (driver_attach+0x24/0x28)
[Tue Sep 15 11:49:44.694 2015] [   46.428205]  r6:c086a2b0 r5:ec862d00 r4:bf00b144
[Tue Sep 15 11:49:44.694 2015] [   46.432861] [<c035ac10>] (driver_attach) from [<c035a83c>] (bus_add_driver+0xdc/0x1d8)
[Tue Sep 15 11:49:44.694 2015] [   46.440812] [<c035a760>] (bus_add_driver) from [<c035b978>] (driver_register+0x80/0xfc)
[Tue Sep 15 11:49:44.694 2015] [   46.448844]  r7:eca45700 r6:00000000 r5:bf00b344 r4:bf00b144
[Tue Sep 15 11:49:44.694 2015] [   46.454554] [<c035b8f8>] (driver_register) from [<c035c568>] (__platform_driver_register+0x50/0x64)
[Tue Sep 15 11:49:44.694 2015] [   46.463633]  r5:bf00b344 r4:00000000
[Tue Sep 15 11:49:44.694 2015] [   46.467242] [<c035c518>] (__platform_driver_register) from [<bf00e040>] (pruss_init+0x40/0x80 [pruss_remoteproc])
[Tue Sep 15 11:49:44.694 2015] [   46.477553] [<bf00e000>] (pruss_init [pruss_remoteproc]) from [<c0008770>] (do_one_initcall+0xf4/0x150)
[Tue Sep 15 11:49:44.694 2015] [   46.486982]  r4:ed023f48 r3:ed023df8
[Tue Sep 15 11:49:44.694 2015] [   46.490590] [<c000867c>] (do_one_initcall) from [<c007a8a4>] (load_module+0x1668/0x1d40)
[Tue Sep 15 11:49:44.694 2015] [   46.498710]  r10:c007812c r9:bf00b338 r8:00000001 r7:eca45700 r6:00000001 r5:bf00b344
[Tue Sep 15 11:49:44.700 2015] [   46.506603]  r4:ed023f48
[Tue Sep 15 11:49:44.700 2015] [   46.509152] [<c007923c>] (load_module) from [<c007b0dc>] (SyS_finit_module+0x6c/0x78)
[Tue Sep 15 11:49:44.700 2015] [   46.517011]  r10:00000000 r9:ed022000 r8:c000e804 r7:0000017b r6:0002435c r5:00000003
[Tue Sep 15 11:49:44.700 2015] [   46.524904]  r4:00000000
[Tue Sep 15 11:49:44.700 2015] [   46.527453] [<c007b070>] (SyS_finit_module) from [<c000e680>] (ret_fast_syscall+0x0/0x30)
[Tue Sep 15 11:49:44.700 2015] [   46.535660]  r6:bef62c14 r5:bef62db4 r4:00000000
[Tue Sep 15 11:49:44.700 2015] [   46.540312] ---[ end trace 3dfbcaf26a


  • I will forward this to the PRU experts.
  • Hi:
    Refer to e2e.ti.com/.../437761, this thread has mentioned "It is possible that some module tries to access memory region already accessed/locked by another IP and it returns an error through the L3", but ADC1 is not enable in am437x.dtsi file in default.
  • Cindy,

    Which board are you using so that I'll know which dts files to look at?

    It appears like the pruss_remoteproc module is having trouble loading your firmwares, are you including a .resource_table section in your firmwares?

    It also appears like you have modified the pruss_remoteproc module to do some ADC functions. It may be the case that your PRU firmware is conflicting with the pruss_remoteproc module because both are trying to use the ADC.

    Jason Reeder
  • Hi Jason:
    Firstly, thanks for your reply.

    The device is am437x-gp EVM, and the .resource_table sections is defined in cmd file.


    But there are 2 questions:

    • According to your comments" It also appears like you have modified the pruss_remoteproc module to do some ADC functions. It may be the case that your PRU firmware is conflicting with the pruss_remoteproc module because both are trying to use the ADC."
      • If PRU used ADC0 or ADC1 to do some works, should I remove the ADC related driver (for example : drivers/mfd/ti_am335x_tscadc.c ) in linux kernel from .config? Since the PRU and driver may tried to access the ADC register at the same time.

    • And in PRUSS project , I also observed that if I defined ADC1 in .cmd file and used  cregister to access ADC1, the kernel log is described below:  I wonder if it is not appropriate to access ADC through this way, please kindly give me help.

    WARNING: CPU: 0 PID: 51 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x234/0x35c()
    [Thu Sep 17 10:11:57.589 2015] [   85.801107] 44000000.ocp:L3 Custom Error: MASTER ICSS1 TARGET L4_PER_1 (Read): Data Access in User mode during Functional access
    [Thu Sep 17 10:11:57.589 2015] [   85.812722] Modules linked in: pruss_remoteproc(+) virtio_rpmsg_bus
    [Thu Sep 17 10:11:57.589 2015] [   85.819037] CPU: 0 PID: 51 Comm: irq/42-l3-app-i Not tainted 3.14.43-rt42-g51ad24f-dirty #53
    [Thu Sep 17 10:11:57.589 2015] [   85.827511] Backtrace:
    [Thu Sep 17 10:11:57.589 2015] [   85.829999] [<c0011370>] (dump_backtrace) from [<c001150c>] (show_stack+0x18/0x1c)
    [Thu Sep 17 10:11:57.589 2015] [   85.837600]  r6:00000093 r5:00000009 r4:ed169e38 r3:00000000
    [Thu Sep 17 10:11:57.589 2015] [   85.843330] [<c00114f4>] (show_stack) from [<c05ec67c>] (dump_stack+0x20/0x28)
    [Thu Sep 17 10:11:57.589 2015] [   85.850594] [<c05ec65c>] (dump_stack) from [<c00386ec>] (warn_slowpath_common+0x6c/0x8c)
    [Thu Sep 17 10:11:57.597 2015] [   85.858726] [<c0038680>] (warn_slowpath_common) from [<c00387b0>] (warn_slowpath_fmt+0x38/0x40)
    [Thu Sep 17 10:11:57.597 2015] [   85.867462]  r8:c061a294 r7:c0784968 r6:c0784558 r5:80080003 r4:ed0faed0
    [Thu Sep 17 10:11:57.597 2015] [   85.874245] [<c003877c>] (warn_slowpath_fmt) from [<c02a31b8>] (l3_interrupt_handler+0x234/0x35c)
    [Thu Sep 17 10:11:57.597 2015] [   85.883155]  r3:ed0fad40 r2:c0784618
    [Thu Sep 17 10:11:57.597 2015] [   85.886779] [<c02a2f84>] (l3_interrupt_handler) from [<c006bb4c>] (irq_forced_thread_fn+0x28/0x5c)
    [Thu Sep 17 10:11:57.597 2015] [   85.895777]  r10:ed006000 r9:c006bb24 r8:00000001 r7:ed168000 r6:ed0fe240 r5:ed006000
    [Thu Sep 17 10:11:57.597 2015] [   85.903685]  r4:ed0fe240
    [Thu Sep 17 10:11:57.597 2015] [   85.906242] [<c006bb24>] (irq_forced_thread_fn) from [<c006b884>] (irq_thread+0xe0/0x138)
    [Thu Sep 17 10:11:57.597 2015] [   85.914453]  r6:ed0fe240 r5:00000000 r4:ed0fe240 r3:ed160a00
    [Thu Sep 17 10:11:57.597 2015] [   85.920188] [<c006b7a4>] (irq_thread) from [<c00534b8>] (kthread+0xbc/0xd4)
    [Thu Sep 17 10:11:57.597 2015] [   85.927179]  r10:00000000 r9:00000000 r8:00000000 r7:c006b7a4 r6:ed0fe240 r5:ed0fe280
    [Thu Sep 17 10:11:57.597 2015] [   85.935088]  r4:00000000
    [Thu Sep 17 10:11:57.597 2015] [   85.937648] [<c00533fc>] (kthread) from [<c000e918>] (ret_from_fork+0x14/0x3c)
    [Thu Sep 17 10:11:57.603 2015] [   85.944901]  r7:00000000 r6:00000000 r5:c00533fc r4:ed0fe280
    [Thu Sep 17 10:11:57.603 2015] [   85.950619] ---[ end trace 0000000000000002 ]---
    [Thu Sep 17 10:11:57.603 2015] [   85.956734]  remoteproc1: remote processor 54438000.pru1 is now up
    [Thu Sep 17 10:11:57.604 2015] [   85.962958]  remoteproc1: rproc_fw_boot ret = 0

  • Cindy,

    Yes, please try to remove the ADC driver from the kernel config in order to avoid any conflicts.

    cregisters are used to define entries in the PRUSS Constant Table so that software can be written that takes advantage of its benefits. Section 30.4.1.1 in the AM437x TRM shows the entries that are in the constant table (http://www.ti.com/lit/ug/spruhl7d/spruhl7d.pdf). Since this table exists in hardware it is not possible to add any more definitions to it.

    Check out the pru_ctrl.h header file in the include folder of the PRU Software Support Package. This file shows a method to define, and then write to, a set of registers that are not defined in the PRUSS Constant Table.

    Jason Reeder