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.

Linux/TDA2PXEVM: Based on visionSDK 03 05, after reboot, system shut down

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: PGA460

Tool/software: Linux

Hello,

After reboot,system will shut down every time.I recorded two logs, one is the system has just finished booting, the other is the system had run ten minutes.Could you help to have a look?

Thanks a lot 

Terence

reboot_fail.log
[BEGIN] 2019/1/15 14:43:10
root@dra7xx-evm:~# reboot
[  OK  ] Stopped Update UTMP about System Runlevel Changes.
[  OK  ] Stopped target Timers.
         Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped target Sound Card.
         Stopping User Manager for UID 0...
         Stopping Load/Save Random Seed...
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Save/Restore Sound Card State...
[  OK  ] Stopped target Swap.
[  OK  ] Stopped target Multi-User System.
[  OK  ] Stopped target Login Prompts.
         Stopping System Logging Service...
         Stopping Getty on tty1...
[  OK  ] Stopped Serial Getty on ttyO0.
         Stopping Serial Getty on ttyS0...
[  OK  ] Stopped target System Time Synchronized.
     [   63.527497] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[   63.527500] ------------[ cut here ]------------
[   63.527544] WARNING: CPU: 0 PID: 816 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x368()
[   63.527550] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_CFG (Idle): Data Access in Supervisor mode during Functional access
[   63.527610] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 bc_example(O) virtio_rpmsg_bus udc_core ahci_platform libahci_platform libahci pvrsrvkm(O) libata omap_aes_driver omap_des extcon_usb_gpio scsi_mod omap_sham dwc3_omap extcon omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[   63.527620] CPU: 0 PID: 816 Comm: app_apa Tainted: G           O    4.4.84 #1
[   63.527624] Hardware name: Generic DRA74X (Flattened Device Tree)
[   63.527628] Backtrace: 
[   63.527652] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[   63.527661]  r7:c02e0130 r6:20060193 r5:00000000 r4:c0953590
[   63.527671] [<c0013d00>] (show_stack) from [<c02b39a8>] (dump_stack+0x8c/0xa0)
[   63.527681] [<c02b391c>] (dump_stack) from [<c003581c>] (warn_slowpath_common+0x88/0xb8)
[   63.527687]  r7:c02e0130 r6:00000093 r5:00000009 r4:d506ddf0
[   63.527691] [<c0035794>] (warn_slowpath_common) from [<c0035884>] (warn_slowpath_fmt+0x38/0x40)
[   63.527698]  r8:00000017 r7:c0848884 r6:00000000 r5:c0848944 r4:c08489e8
[   63.527702] [<c0035850>] (warn_slowpath_fmt) from [<c02e0130>] (l3_interrupt_handler+0x25c/0x368)
[   63.527706]  r3:df20ce40 r2:c08489e8
[   63.527709]  r4:80080003
[   63.527722] [<c02dfed4>] (l3_interrupt_handler) from [<c0082048>] (handle_irq_event_percpu+0xb4/0x160)
[   63.527730]  r10:c098308b r9:df20e240 r8:00000017 r7:00000000 r6:00000000 r5:df20e2a0
[   63.527732]  r4:df21f3c0
[   63.527738] [<c0081f94>] (handle_irq_event_percpu) from [<c0082134>] (handle_irq_event+0x40/0x64)
[   63.527745]  r10:b6f81000 r9:00000000 r8:df008000 r7:00000000 r6:c093bc84 r5:df20e2a0
[   63.527748]  r4:df20e240
[   63.527754] [<c00820f4>] (handle_irq_event) from [<c0085478>] (handle_fasteoi_irq+0xc0/0x194)
[   63.527761]  r7:00000000 r6:c093bc84 r5:df20e2a0 r4:df20e240
[   63.527765] [<c00853b8>] (handle_fasteoi_irq) from [<c0081674>] (generic_handle_irq+0x2c/0x3c)
[   63.527771]  r7:00000000 r6:00000000 r5:00000017 r4:c093140c
[   63.527775] [<c0081648>] (generic_handle_irq) from [<c008194c>] (__handle_domain_irq+0x64/0xbc)
[   63.527781] [<c00818e8>] (__handle_domain_irq) from [<c00094f0>] (gic_handle_irq+0x40/0x7c)
[   63.527788]  r9:00000000 r8:fa213000 r7:fa212000 r6:d506dfb0 r5:fa21200c r4:c09368e4
[   63.527796] [<c00094b0>] (gic_handle_irq) from [<c0014bb4>] (__irq_usr+0x54/0x80)
[   63.527797] Exception stack(0xd506dfb0 to 0xd506dff8)
[   63.527801] dfa0:                                     bedc2cd0 00000001 00000002 00000001
[   63.527806] dfc0: bedc2d08 00000000 00000000 bedc2cc0 00000000 00000000 b6f81000 00000000
[   63.527810] dfe0: b6e13d78 bedc2cc0 00056deb 00054ac4 20060030 ffffffff
[   63.527818]  r9:00000000 r8:10c5387d r7:10c5387d r6:ffffffff r5:20060030 r4:00054ac4
[   63.527820] ---[ end trace 000badc7e67b7d36 ]---
[   63.811681] pgd = c0004000

[END] 2019/1/15 14:43:34

reboot_fail_run_ten_min.log
[BEGIN] 2019/1/15 14:49:28
root@dra7xx-evm:/lib/firmware# reboot
[  OK  ] Stopped target Swap.
[  OK  ] Stopped target Timers.
         Stopping Save/Restore Sound Card State...
         Stopping Sessio[  312.504702] ------------[ cut here ]------------
[  312.509360] WARNING: CPU: 0 PID: 651 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x368()
[  312.518877] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_CFG (Idle): Data Access in Supervisor mode during Functional access
[  312.530661] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  312.561105] CPU: 0 PID: 651 Comm: login Tainted: G           O    4.4.84 #1
[  312.568091] Hardware name: Generic DRA74X (Flattened Device Tree)
[  312.574204] Backtrace: 
[  312.576668] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[  312.584262]  r7:c02e0130 r6:20070193 r5:00000000 r4:c0953590
[  312.589968] [<c0013d00>] (show_stack) from [<c02b39a8>] (dump_stack+0x8c/0xa0)
[  312.597218] [<c02b391c>] (dump_stack) from [<c003581c>] (warn_slowpath_common+0x88/0xb8)
[  312.605336]  r7:c02e0130 r6:00000093 r5:00000009 r4:d5143ac8
[  312.611037] [<c0035794>] (warn_slowpath_common) from [<c0035884>] (warn_slowpath_fmt+0x38/0x40)
[  312.619766]  r8:00000017 r7:c0848884 r6:00000000 r5:c0848944 r4:c08489e8
[  312.626520] [<c0035850>] (warn_slowpath_fmt) from [<c02e0130>] (l3_interrupt_handler+0x25c/0x368)
[  312.635423]  r3:df20ce40 r2:c08489e8
[  312.639018]  r4:80080003
[  312.641564] [<c02dfed4>] (l3_interrupt_handler) from [<c0082048>] (handle_irq_event_percpu+0xb4/0x160)
[  312.650903]  r10:c098308b r9:df20e240 r8:00000017 r7:00000000 r6:00000000 r5:df20e2a0
[  312.658788]  r4:df21f3c0
[  312.661333] [<c0081f94>] (handle_irq_event_percpu) from [<c0082134>] (handle_irq_event+0x40/0x64)
[  312.670236]  r10:00000000 r9:dbb5f180 r8:df008000 r7:00000000 r6:c093bc84 r5:df20e2a0
[  312.678119]  r4:df20e240
[  312.680664] [<c00820f4>] (handle_irq_event) from [<c0085478>] (handle_fasteoi_irq+0xc0/0x194)
[  312.689218]  r7:00000000 r6:c093bc84 r5:df20e2a0 r4:df20e240
[  312.694918] [<c00853b8>] (handle_fasteoi_irq) from [<c0081674>] (generic_handle_irq+0x2c/0x3c)
[  312.703559]  r7:00000000 r6:00000000 r5:00000017 r4:c093140c
[  312.709260] [<c0081648>] (generic_handle_irq) from [<c008194c>] (__handle_domain_irq+0x64/0xbc)
[  312.717992] [<c00818e8>] (__handle_domain_irq) from [<c00094f0>] (gic_handle_irq+0x40/0x7c)
[  312.726371]  r9:dbb5f180 r8:fa213000 r7:fa212000 r6:d5143c88 r5:fa21200c r4:c09368e4
[  312.734172] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
[  312.741681] Exception stack(0xd5143c88 to 0xd5143cd0)
[  312.746748] 3c80:                   dc0411e0 60070113 dc041180 000002f2 d2c66e40 dc041180
[  312.754956] 3ca0: dc0411e0 000001cd 60070113 dbb5f180 00000000 d5143ce4 d5143ce8 d5143cd8
[  312.763163] 3cc0: c0082ad4 c0687aec 60070113 ffffffff
[  312.768229]  r9:dbb5f180 r8:60070113 r7:d5143cbc r6:ffffffff r5:60070113 r4:c0687aec
[  312.776032] [<c0687ac4>] (_raw_spin_unlock_irqrestore) from [<c0082ad4>] (__free_irq+0x11c/0x2b0)
[  312.784939] [<c00829b8>] (__free_irq) from [<c0082cfc>] (free_irq+0x44/0x78)
[  312.792010]  r9:00000002 r8:00000000 r7:dbb5f180 r6:000001cd r5:dc041180 r4:00000000
[  312.799813] [<c0082cb8>] (free_irq) from [<c03f31f0>] (dev_pm_clear_wake_irq+0x6c/0x7c)
[  312.807844]  r7:a0070113 r6:df23e474 r5:df23e410 r4:dbb5f180
[  312.813546] [<c03f3184>] (dev_pm_clear_wake_irq) from [<c0374018>] (omap_8250_shutdown+0xec/0xf0)
[  312.822449]  r7:00070113 r6:df056088 r5:c09bb880 r4:c09bb880
[  312.828152] [<c0373f2c>] (omap_8250_shutdown) from [<c036df10>] (serial8250_shutdown+0x1c/0x28)
[  312.836880]  r5:c09bb880 r4:df056000
[  312.840477] [<c036def4>] (serial8250_shutdown) from [<c0368a24>] (uart_shutdown+0xd4/0x11c)
[  312.848860] [<c0368950>] (uart_shutdown) from [<c036a814>] (uart_hangup+0x50/0x104)
[  312.856542]  r7:df056064 r6:dbb22200 r5:df056090 r4:df056000
[  312.862245] [<c036a7c4>] (uart_hangup) from [<c034cb3c>] (__tty_hangup+0x3a4/0x3b4)
[  312.869927]  r9:00000002 r8:00000000 r7:00000001 r6:dbb2235c r5:dbb22200 r4:00000000
[  312.877730] [<c034c798>] (__tty_hangup) from [<c034d160>] (disassociate_ctty.part.8+0x3c/0x278)
[  312.886458]  r10:d4be9f44 r9:d5097d40 r8:d4bdeff8 r7:d4bdefc0 r6:00000001 r5:dbb22200
[  312.894343]  r4:00000001
[  312.896886] [<c034d124>] (disassociate_ctty.part.8) from [<c034d3f8>] (disassociate_ctty+0x30/0x34)
[  312.905964]  r9:d5097d40 r8:d4bdeff8 r7:d4bdefc0 r6:00000001 r5:d4944678 r4:d4944200
[  312.913767] [<c034d3c8>] (disassociate_ctty) from [<c0038880>] (do_exit+0x6e8/0x9b8)
[  312.921539] [<c0038198>] (do_exit) from [<c0038bd4>] (do_group_exit+0x48/0xc4)
[  312.928785]  r7:d5143edc
[  312.931328] [<c0038b8c>] (do_group_exit) from [<c0042af8>] (get_signal+0x22c/0x5b0)
[  312.939010]  r7:d5143edc r6:00418004 r5:d5142000 r4:08430000
[  312.944711] [<c00428cc>] (get_signal) from [<c00131d0>] (do_signal+0xd0/0x414)
[  312.951957]  r10:00000000 r9:d5142000 r8:00000350 r7:b6e9c996 r6:d5143ec8 r5:b6e9c994
[  312.959843]  r4:d5143fb0
[  312.962387] [<c0013100>] (do_signal) from [<c00136dc>] (do_work_pending+0xa8/0xc0)
[  312.969982]  r10:00000000 r9:d5142000 r8:c000fe24 r7:00000072 r6:d5143fb0 r5:c000fe24
[  312.977866]  r4:d5142000
[  312.980411] [<c0013634>] (do_work_pending) from [<c000fcb4>] (slow_work_pending+0xc/0x20)
[  312.988615]  r7:00000072 r6:00000350 r5:00000000 r4:000363f0
[  312.994312] ---[ end trace 38dad09fedf8664c ]---
[  312.999048] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[  313.003512] thermal thermal_zone0: failed to read out thermal zone (-5)
[  313.003542] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[  313.003544] pgd = dc3b0000
[  313.003548] [00000000] *pgd=00000000
[  313.003553] Internal error: : 1406 [#1] PREEMPT SMP ARM
[  313.003586] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  313.003591] CPU: 1 PID: 1 Comm: systemd Tainted: G        W  O    4.4.84 #1
[  313.003593] Hardware name: Generic DRA74X (Flattened Device Tree)
[  313.003595] task: df080000 ti: df066000 task.ti: df066000
[  313.003605] PC is at __percpu_counter_add+0x24/0x118
[  313.003608] LR is at 0xdf067e28
[  313.003612] pc : [<c02daa30>]    lr : [<df067e28>]    psr: 00070013
[  313.003612] sp : df067e28  ip : df067e58  fp : df067e54
[  313.003614] r10: 00000001  r9 : dc35b6e0  r8 : df3f2700
[  313.003616] r7 : 00000001  r6 : 00000001  r5 : c094c0c0  r4 : c09b2800
[  313.003617] r3 : 00000000  r2 : 00000001  r1 : df066000  r0 : c09b2800
[  313.003621] Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  313.003624] Control: 10c5387d  Table: 9c3b006a  DAC: 00000051
[  313.003626] Process systemd (pid: 1, stack limit = 0xdf066210)
[  313.003628] Stack: (0xdf067e28 to 0xdf068000)
[  313.003632] 7e20:                   00000001 00000000 c09366f4 c094c0c0 00000001 00000001
[  313.003637] 7e40: df3f2700 dc35b6e0 df067e84 df067e58 c00fd3f0 c02daa18 00000094 df3f2700
[  313.003641] 7e60: 00000001 dc35b6f4 b6fab000 dc35b6f0 b6fac000 df3f2700 df067eec df067e88
[  313.003646] 7e80: c00ff6c8 c00fd3b4 00002000 b6fb0000 00000000 00000000 b6fab000 befff000
[  313.003650] 7ea0: df067ecc df067eb0 c00fd150 00000001 00000000 00000073 00001000 00000003
[  313.003654] 7ec0: df067eec 00001000 00000003 00000000 df3f2700 00000001 c09366f4 00000073
[  313.003658] 7ee0: df067f2c df067ef0 c00ffdf8 c00ff424 000b6fab 00000000 00000000 00000000
[  313.003662] 7f00: 5b9f7396 df3f2738 00000000 00000022 00000000 00000000 00001000 00000003
[  313.003666] 7f20: df067f74 df067f30 c00eb978 c00ffad8 00000022 00000000 000b6fab df067f44
[  313.003670] 7f40: 000000f7 00000000 00000013 00000022 00000000 00001000 00000003 c000fe24
[  313.003675] 7f60: df066000 00000000 df067fa4 df067f78 c00fe148 c00eb910 00000022 00000000
[  313.003679] 7f80: 00001000 ffffffff 00000000 00000000 000000c0 c000fe24 00000000 df067fa8
[  313.003683] 7fa0: c000fc60 c00fe104 ffffffff 00000000 00000000 00001000 00000003 00000022
[  313.003687] 7fc0: ffffffff 00000000 00000000 000000c0 006581c0 0000002e 0062a208 0062a498
[  313.003691] 7fe0: 00000000 bed4947c b6ecc477 b6f16ef8 40070030 00000000 00000000 00000000
[  313.003694] Backtrace: 
[  313.003705] [<c02daa0c>] (__percpu_counter_add) from [<c00fd3f0>] (__vm_enough_memory+0x48/0x168)
[  313.003713]  r9:dc35b6e0 r8:df3f2700 r7:00000001 r6:00000001 r5:c094c0c0 r4:c09366f4
[  313.003719] [<c00fd3a8>] (__vm_enough_memory) from [<c00ff6c8>] (mmap_region+0x2b0/0x6b4)
[  313.003725]  r8:df3f2700 r7:b6fac000 r6:dc35b6f0 r5:b6fab000 r4:dc35b6f4
[  313.003730] [<c00ff418>] (mmap_region) from [<c00ffdf8>] (do_mmap+0x32c/0x3ac)
[  313.003738]  r10:00000073 r9:c09366f4 r8:00000001 r7:df3f2700 r6:00000000 r5:00000003
[  313.003740]  r4:00001000
[  313.003746] [<c00ffacc>] (do_mmap) from [<c00eb978>] (vm_mmap_pgoff+0x74/0xa4)
[  313.003754]  r10:00000003 r9:00001000 r8:00000000 r7:00000000 r6:00000022 r5:00000000
[  313.003756]  r4:df3f2738
[  313.003761] [<c00eb904>] (vm_mmap_pgoff) from [<c00fe148>] (SyS_mmap_pgoff+0x50/0xc8)
[  313.003768]  r10:00000000 r9:df066000 r8:c000fe24 r7:00000003 r6:00001000 r5:00000000
[  313.003771]  r4:00000022
[  313.003777] [<c00fe0f8>] (SyS_mmap_pgoff) from [<c000fc60>] (ret_fast_syscall+0x0/0x3c)
[  313.003784]  r8:c000fe24 r7:000000c0 r6:00000000 r5:00000000 r4:ffffffff
[  313.003788] Code: e3ce1d7f e1a04000 e3c1103f e14b22fc (e591c004) 
[  313.003793] ---[ end trace 38dad09fedf8664d ]---
[  313.377303] pgd = dbb4c000
[  313.380015] [00000000] *pgd=00000000
[  313.383639] ------------[ cut here ]------------
[  313.388276] WARNING: CPU: 0 PID: 4 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x368()
[  313.397617] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_CFG (Read): Data Access in User mode during Functional access
[  313.408874] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  313.439308] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G      D W  O    4.4.84 #1
[  313.446642] Hardware name: Generic DRA74X (Flattened Device Tree)
[  313.452760] Backtrace: 
[  313.455222] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[  313.462817]  r7:c02e0130 r6:200e0193 r5:00000000 r4:c0953590
[  313.468523] [<c0013d00>] (show_stack) from [<c02b39a8>] (dump_stack+0x8c/0xa0)
[  313.475771] [<c02b391c>] (dump_stack) from [<c003581c>] (warn_slowpath_common+0x88/0xb8)
[  313.483889]  r7:c02e0130 r6:00000093 r5:00000009 r4:df093b30
[  313.489590] [<c0035794>] (warn_slowpath_common) from [<c0035884>] (warn_slowpath_fmt+0x38/0x40)
[  313.498320]  r8:00000017 r7:c0848884 r6:00000002 r5:c0848944 r4:c08489e8
[  313.505075] [<c0035850>] (warn_slowpath_fmt) from [<c02e0130>] (l3_interrupt_handler+0x25c/0x368)
[  313.513978]  r3:df20ce40 r2:c08489e8
[  313.517571]  r4:80080003
[  313.520120] [<c02dfed4>] (l3_interrupt_handler) from [<c0082048>] (handle_irq_event_percpu+0xb4/0x160)
[  313.529458]  r10:c098308b r9:df20e240 r8:00000017 r7:00000000 r6:00000000 r5:df20e2a0
[  313.537345]  r4:df21f3c0
[  313.539890] [<c0081f94>] (handle_irq_event_percpu) from [<c0082134>] (handle_irq_event+0x40/0x64)
[  313.548794]  r10:00000000 r9:00000021 r8:df008000 r7:00000000 r6:c093bc84 r5:df20e2a0
[  313.556681]  r4:df20e240
[  313.559225] [<c00820f4>] (handle_irq_event) from [<c0085478>] (handle_fasteoi_irq+0xc0/0x194)
[  313.567780]  r7:00000000 r6:c093bc84 r5:df20e2a0 r4:df20e240
[  313.573482] [<c00853b8>] (handle_fasteoi_irq) from [<c0081674>] (generic_handle_irq+0x2c/0x3c)
[  313.582123]  r7:00000000 r6:df093e08 r5:00000017 r4:c093140c
[  313.587825] [<c0081648>] (generic_handle_irq) from [<c008194c>] (__handle_domain_irq+0x64/0xbc)
[  313.596558] [<c00818e8>] (__handle_domain_irq) from [<c00094f0>] (gic_handle_irq+0x40/0x7c)
[  313.604938]  r9:00000021 r8:fa213000 r7:fa212000 r6:df093cf0 r5:fa21200c r4:c09368e4
[  313.612738] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
[  313.620246] Exception stack(0xdf093cf0 to 0xdf093d38)
[  313.625315] 3ce0:                                     00000000 c09862c0 00000000 00000000
[  313.633523] 3d00: 00000282 00000012 df092000 00000000 df008000 00000021 00000000 df093d9c
[  313.641729] 3d20: df093da0 df093d40 c00399e4 c0039550 600e0113 ffffffff
[  313.648365]  r9:00000021 r8:df008000 r7:df093d24 r6:ffffffff r5:600e0113 r4:c0039550
[  313.656166] [<c00394bc>] (__do_softirq) from [<c00399e4>] (irq_exit+0xbc/0x11c)
[  313.663499]  r10:00000000 r9:00000021 r8:df008000 r7:00000000 r6:00000000 r5:00000012
[  313.671384]  r4:ffffe000
[  313.673929] [<c0039928>] (irq_exit) from [<c0081950>] (__handle_domain_irq+0x68/0xbc)
[  313.681785]  r5:00000012 r4:c093140c
[  313.685382] [<c00818e8>] (__handle_domain_irq) from [<c00094f0>] (gic_handle_irq+0x40/0x7c)
[  313.693762]  r9:00000021 r8:fa213000 r7:fa212000 r6:df093e08 r5:fa21200c r4:c09368e4
[  313.701564] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
[  313.709072] Exception stack(0xdf093e08 to 0xdf093e50)
[  313.714140] 3e00:                   df5cbe40 00000002 00000000 00008779 df5cbe40 00000000
[  313.722348] 3e20: dc26bc00 df081200 c0683a4c 00000021 00000000 df093e64 df093e68 df093e58
[  313.730554] 3e40: c005638c c0687b48 600e0113 ffffffff
[  313.735620]  r9:00000021 r8:c0683a4c r7:df093e3c r6:ffffffff r5:600e0113 r4:c0687b48
[  313.743426] [<c0687b20>] (_raw_spin_unlock_irq) from [<c005638c>] (finish_task_switch+0x78/0x1fc)
[  313.752332] [<c0056314>] (finish_task_switch) from [<c0683a4c>] (__schedule+0x2e4/0x66c)
[  313.760451]  r10:00000000 r9:00000021 r8:d4bdf880 r7:d4bdf880 r6:d3f98600 r5:df081200
[  313.768336]  r4:df5cbe40
[  313.770881] [<c0683768>] (__schedule) from [<c0683e28>] (schedule+0x54/0xc4)
[  313.777953]  r10:df5cb9c0 r9:df05e000 r8:00000008 r7:df092000 r6:df5cb9d4 r5:df5cb9c0
[  313.785837]  r4:df092000
[  313.788384] [<c0683dd4>] (schedule) from [<c004bc58>] (worker_thread+0xd8/0x524)
[  313.795804]  r5:df5cb9c0 r4:df5cb9c0
[  313.799402] [<c004bb80>] (worker_thread) from [<c0051704>] (kthread+0x100/0x118)
[  313.806823]  r10:00000000 r9:00000000 r8:c004bb80 r7:df05e000 r6:df092000 r5:df05b940
[  313.814707]  r4:00000000
[  313.817252] [<c0051604>] (kthread) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[  313.824498]  r8:00000000 r7:00000000 r6:00000000 r5:c0051604 r4:df05b940
[  313.831250] ---[ end trace 38dad09fedf8664e ]---
[  313.839940] ------------[ cut here ]------------
[  313.843484] thermal thermal_zone0: failed to read out thermal zone (-5)
[  313.843574] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[  313.843576] pgd = dbb9c000
[  313.843584] [00000000] *pgd=94dd0831, *pte=00000000, *ppte=00000000
[  313.867303] WARNING: CPU: 0 PID: 4 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x25c/0x368()
[  313.876644] 44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4_CFG (Read): Data Access in User mode during Functional access
[  313.887902] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  313.918348] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G      D W  O    4.4.84 #1
[  313.925683] Hardware name: Generic DRA74X (Flattened Device Tree)
[  313.931802] Workqueue: events_freezable thermal_zone_device_check
[  313.937919] Backtrace: 
[  313.940381] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[  313.947977]  r7:c02e0130 r6:20070193 r5:00000000 r4:c0953590
[  313.953682] [<c0013d00>] (show_stack) from [<c02b39a8>] (dump_stack+0x8c/0xa0)
[  313.960931] [<c02b391c>] (dump_stack) from [<c003581c>] (warn_slowpath_common+0x88/0xb8)
[  313.969048]  r7:c02e0130 r6:00000093 r5:00000009 r4:df093be8
[  313.974748] [<c0035794>] (warn_slowpath_common) from [<c0035884>] (warn_slowpath_fmt+0x38/0x40)
[  313.983477]  r8:00000017 r7:c0848884 r6:00000002 r5:c0848944 r4:c08489e8
[  313.990230] [<c0035850>] (warn_slowpath_fmt) from [<c02e0130>] (l3_interrupt_handler+0x25c/0x368)
[  313.999134]  r3:df20ce40 r2:c08489e8
[  314.002728]  r4:80080003
[  314.005276] [<c02dfed4>] (l3_interrupt_handler) from [<c0082048>] (handle_irq_event_percpu+0xb4/0x160)
[  314.014616]  r10:c098308b r9:df20e240 r8:00000017 r7:00000000 r6:00000000 r5:df20e2a0
[  314.022502]  r4:df21f3c0
[  314.025048] [<c0081f94>] (handle_irq_event_percpu) from [<c0082134>] (handle_irq_event+0x40/0x64)
[  314.033951]  r10:df5cb9c0 r9:00000000 r8:df008000 r7:00000000 r6:c093bc84 r5:df20e2a0
[  314.041836]  r4:df20e240
[  314.044380] [<c00820f4>] (handle_irq_event) from [<c0085478>] (handle_fasteoi_irq+0xc0/0x194)
[  314.052935]  r7:00000000 r6:c093bc84 r5:df20e2a0 r4:df20e240
[  314.058633] [<c00853b8>] (handle_fasteoi_irq) from [<c0081674>] (generic_handle_irq+0x2c/0x3c)
[  314.067275]  r7:00000000 r6:00000000 r5:00000017 r4:c093140c
[  314.072978] [<c0081648>] (generic_handle_irq) from [<c008194c>] (__handle_domain_irq+0x64/0xbc)
[  314.081709] [<c00818e8>] (__handle_domain_irq) from [<c00094f0>] (gic_handle_irq+0x40/0x7c)
[  314.090089]  r9:00000000 r8:fa213000 r7:fa212000 r6:df093da8 r5:fa21200c r4:c09368e4
[  314.097888] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
[  314.105397] Exception stack(0xdf093da8 to 0xdf093df0)
[  314.110466] 3da0:                   dc258ed0 c0971d8c 00000001 00000000 00000090 dc258ed0
[  314.118674] 3dc0: 00000020 00000004 00000000 00000000 df5cb9c0 df093e1c df093e20 df093df8
[  314.126880] 3de0: c04cfd24 c04ce584 40070013 ffffffff
[  314.131946]  r9:00000000 r8:00000000 r7:df093ddc r6:ffffffff r5:40070013 r4:c04ce584
[  314.139748] [<c04ce530>] (ti_bandgap_force_single_read) from [<c04cfd24>] (ti_bandgap_read_temperature+0xb8/0xf8)
[  314.150046]  r9:00000000 r8:dc258ed0 r7:dc2774d0 r6:df093e40 r5:00000004 r4:dc258ed0
[  314.157846] [<c04cfc6c>] (ti_bandgap_read_temperature) from [<c04d00f4>] (__ti_thermal_get_temp+0x3c/0xd4)
[  314.167534]  r7:dc2774d0 r6:c06f33d0 r5:df093eb4 r4:00000004
[  314.173237] [<c04d00b8>] (__ti_thermal_get_temp) from [<c04cb4f4>] (of_thermal_get_temp+0x28/0x34)
[  314.182227]  r9:00000000 r8:df5cf300 r7:df093eb4 r6:df33be0c r5:df33bc00 r4:df33bc00
[  314.190029] [<c04cb4cc>] (of_thermal_get_temp) from [<c04c7b84>] (thermal_zone_get_temp+0x5c/0x118)
[  314.199111] [<c04c7b28>] (thermal_zone_get_temp) from [<c04c9368>] (thermal_zone_device_update.part.4+0x1c/0x98)
[  314.209322]  r8:df5cf300 r7:00000000 r6:df5cb9c0 r5:df33bc00 r4:df33be2c
[  314.216075] [<c04c934c>] (thermal_zone_device_update.part.4) from [<c04c9454>] (thermal_zone_device_check+0x38/0x3c)
[  314.226635]  r5:df05e000 r4:df33be2c
[  314.230235] [<c04c941c>] (thermal_zone_device_check) from [<c004b8b0>] (process_one_work+0x124/0x3f4)
[  314.239490] [<c004b78c>] (process_one_work) from [<c004bbcc>] (worker_thread+0x4c/0x524)
[  314.247608]  r10:df5cb9c0 r9:df05e000 r8:00000008 r7:df092000 r6:df5cb9d4 r5:df05e018
[  314.255493]  r4:df5cb9c0
[  314.258038] [<c004bb80>] (worker_thread) from [<c0051704>] (kthread+0x100/0x118)
[  314.265459]  r10:00000000 r9:00000000 r8:c004bb80 r7:df05e000 r6:df092000 r5:df05b940
[  314.273343]  r4:00000000
[  314.275888] [<c0051604>] (kthread) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[  314.283133]  r8:00000000 r7:00000000 r6:00000000 r5:c0051604 r4:df05b940
[  314.289885] ---[ end trace 38dad09fedf8664f ]---
[  314.294627] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[  314.301709] pgd = c0004000
[  314.304423] [00000000] *pgd=00000000
[  314.308016] Internal error: : 1406 [#2] PREEMPT SMP ARM
[  314.313256] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  314.343695] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G      D W  O    4.4.84 #1
[  314.351030] Hardware name: Generic DRA74X (Flattened Device Tree)
[  314.357146] Workqueue: events_freezable thermal_zone_device_check
[  314.363265] task: df081200 ti: df092000 task.ti: df092000
[  314.368682] PC is at ti_bandgap_force_single_read+0x54/0x188
[  314.374360] LR is at ti_bandgap_read_temperature+0xb8/0xf8
[  314.379863] pc : [<c04ce584>]    lr : [<c04cfd24>]    psr: 40070013
[  314.379863] sp : df093df8  ip : df093e20  fp : df093e1c
[  314.391383] r10: df5cb9c0  r9 : 00000000  r8 : 00000000
[  314.396623] r7 : 00000004  r6 : 00000020  r5 : dc258ed0  r4 : 00000090
[  314.403172] r3 : 00000000  r2 : 00000001  r1 : c0971d8c  r0 : dc258ed0
[  314.409723] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  314.416883] Control: 10c5387d  Table: 9bb9c06a  DAC: 00000051
[  314.422647] Process kworker/0:0 (pid: 4, stack limit = 0xdf092210)
[  314.428848] Stack: (0xdf093df8 to 0xdf094000)
[  314.433217] 3de0:                                                       dc258ed0 00000004
[  314.441426] 3e00: df093e40 dc2774d0 dc258ed0 00000000 df093e3c df093e20 c04cfd24 c04ce53c
[  314.449634] 3e20: 00000004 df093eb4 c06f33d0 dc2774d0 df093e6c df093e40 c04d00f4 c04cfc78
[  314.457841] 3e40: df5cbe80 df093e68 df33bc00 df33bc00 df33be0c df093eb4 df5cf300 00000000
[  314.466048] 3e60: df093e7c df093e70 c04cb4f4 c04d00c4 df093eac df093e80 c04c7b84 c04cb4d8
[  314.474256] 3e80: 7fffffff df5c93c0 df093ec4 df33be2c df33bc00 df5cb9c0 00000000 df5cf300
[  314.482463] 3ea0: df093ecc df093eb0 c04c9368 c04c7b34 df093edc df093ec0 df33be2c df05e000
[  314.490670] 3ec0: df093edc df093ed0 c04c9454 c04c9358 df093f1c df093ee0 c004b8b0 c04c9428
[  314.498879] 3ee0: df5cb9c0 df5cb9d4 df092000 00000008 df05e000 df5cb9c0 df05e018 df5cb9d4
[  314.507086] 3f00: df092000 00000008 df05e000 df5cb9c0 df093f54 df093f20 c004bbcc c004b798
[  314.515293] 3f20: df5cbb24 c0936100 00000000 00000000 df05b940 df092000 df05e000 c004bb80
[  314.523501] 3f40: 00000000 00000000 df093fac df093f58 c0051704 c004bb8c 00000000 00000000
[  314.531708] 3f60: 00000000 df05e000 00000000 00000000 df093f70 df093f70 00000000 00000000
[  314.539915] 3f80: df093f80 df093f80 df093fac df05b940 c0051604 00000000 00000000 00000000
[  314.548123] 3fa0: 00000000 df093fb0 c000fd18 c0051610 00000000 00000000 00000000 00000000
[  314.556330] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  314.564537] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[  314.572743] Backtrace: 
[  314.575201] [<c04ce530>] (ti_bandgap_force_single_read) from [<c04cfd24>] (ti_bandgap_read_temperature+0xb8/0xf8)
[  314.585499]  r9:00000000 r8:dc258ed0 r7:dc2774d0 r6:df093e40 r5:00000004 r4:dc258ed0
[  314.593301] [<c04cfc6c>] (ti_bandgap_read_temperature) from [<c04d00f4>] (__ti_thermal_get_temp+0x3c/0xd4)
[  314.602989]  r7:dc2774d0 r6:c06f33d0 r5:df093eb4 r4:00000004
[  314.608692] [<c04d00b8>] (__ti_thermal_get_temp) from [<c04cb4f4>] (of_thermal_get_temp+0x28/0x34)
[  314.617682]  r9:00000000 r8:df5cf300 r7:df093eb4 r6:df33be0c r5:df33bc00 r4:df33bc00
[  314.625482] [<c04cb4cc>] (of_thermal_get_temp) from [<c04c7b84>] (thermal_zone_get_temp+0x5c/0x118)
[  314.634564] [<c04c7b28>] (thermal_zone_get_temp) from [<c04c9368>] (thermal_zone_device_update.part.4+0x1c/0x98)
[  314.644774]  r8:df5cf300 r7:00000000 r6:df5cb9c0 r5:df33bc00 r4:df33be2c
[  314.651530] [<c04c934c>] (thermal_zone_device_update.part.4) from [<c04c9454>] (thermal_zone_device_check+0x38/0x3c)
[  314.662090]  r5:df05e000 r4:df33be2c
[  314.665688] [<c04c941c>] (thermal_zone_device_check) from [<c004b8b0>] (process_one_work+0x124/0x3f4)
[  314.674945] [<c004b78c>] (process_one_work) from [<c004bbcc>] (worker_thread+0x4c/0x524)
[  314.683063]  r10:df5cb9c0 r9:df05e000 r8:00000008 r7:df092000 r6:df5cb9d4 r5:df05e018
[  314.690948]  r4:df5cb9c0
[  314.693491] [<c004bb80>] (worker_thread) from [<c0051704>] (kthread+0x100/0x118)
[  314.700912]  r10:00000000 r9:00000000 r8:c004bb80 r7:df05e000 r6:df092000 r5:df05b940
[  314.708797]  r4:00000000
[  314.711341] [<c0051604>] (kthread) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[  314.718587]  r8:00000000 r7:00000000 r6:00000000 r5:c0051604 r4:df05b940
[  314.725341] Code: e5928000 f57ff04f e5913008 e3a02001 (e5919000) 
[  314.731456] ---[ end trace 38dad09fedf86650 ]---
[  314.736189] Unable to handle kernel paging request at virtual address ffffffec
[  314.743255] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[  314.743258] pgd = c0004000
[  314.743261] [00000000] *pgd=00000000
[  314.743266] Internal error: : 1406 [#3] PREEMPT SMP ARM
[  314.743300] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  314.743304] CPU: 1 PID: 858 Comm: kworker/1:0 Tainted: G      D W  O    4.4.84 #1
[  314.743306] Hardware name: Generic DRA74X (Flattened Device Tree)
[  314.743318] Workqueue: events_freezable thermal_zone_device_check
[  314.743322] task: dbb7d400 ti: d4b6a000 task.ti: d4b6a000
[  314.743325] PC is at ti_bandgap_force_single_read+0x4c/0x188
[  314.743329] LR is at ti_bandgap_read_temperature+0xb8/0xf8
[  314.743332] pc : [<c04ce57c>]    lr : [<c04cfd24>]    psr: 400e0013
[  314.743332] sp : d4b6bdf8  ip : d4b6be20  fp : d4b6be1c
[  314.743335] r10: df5d69c0  r9 : 00000000  r8 : 00000000
[  314.743336] r7 : 00000000  r6 : 00000000  r5 : dc258ed0  r4 : 00000000
[  314.743338] r3 : 0000014c  r2 : fc00232c  r1 : c0971cf8  r0 : dc258ed0
[  314.743342] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  314.743344] Control: 10c5387d  Table: 9290806a  DAC: 00000051
[  314.743346] Process kworker/1:0 (pid: 858, stack limit = 0xd4b6a210)
[  314.743349] Stack: (0xd4b6bdf8 to 0xd4b6c000)
[  314.743352] bde0:                                                       dc258ed0 00000000
[  314.743357] be00: d4b6be40 dc2773d0 dc258ed0 00000000 d4b6be3c d4b6be20 c04cfd24 c04ce53c
[  314.743360] be20: 00000000 d4b6beb4 c06f33d0 dc2773d0 d4b6be6c d4b6be40 c04d00f4 c04cfc78
[  314.743365] be40: df5d6e80 c0932e40 df33ac00 df33ac00 df33ae0c d4b6beb4 df5da300 00000000
[  314.743369] be60: d4b6be7c d4b6be70 c04cb4f4 c04d00c4 d4b6beac d4b6be80 c04c7b84 c04cb4d8
[  314.743372] be80: 7fffffff df5d6e40 dbb7d400 df33ae2c df33ac00 df5d69c0 00000000 df5da300
[  314.743377] bea0: d4b6becc d4b6beb0 c04c9368 c04c7b34 d4b6bedc d4b6bec0 df33ae2c d30f1d00
[  314.743380] bec0: d4b6bedc d4b6bed0 c04c9454 c04c9358 d4b6bf1c d4b6bee0 c004b8b0 c04c9428
[  314.743384] bee0: df5d69c0 df5d69d4 d4b6a000 00000008 d30f1d00 df5d69c0 d30f1d18 df5d69d4
[  314.743389] bf00: d4b6a000 00000008 d30f1d00 df5d69c0 d4b6bf54 d4b6bf20 c004bbcc c004b798
[  314.743393] bf20: d30f1d00 c0936100 00000000 00000000 d33c7d80 d4b6a000 d30f1d00 c004bb80
[  314.743397] bf40: 00000000 00000000 d4b6bfac d4b6bf58 c0051704 c004bb8c 00000000 00000000
[  314.743401] bf60: 00000000 d30f1d00 00000000 00000000 d4b6bf70 d4b6bf70 00000000 00000000
[  314.743405] bf80: d4b6bf80 d4b6bf80 d4b6bfac d33c7d80 c0051604 00000000 00000000 00000000
[  314.743409] bfa0: 00000000 d4b6bfb0 c000fd18 c0051610 00000000 00000000 00000000 00000000
[  314.743413] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  314.743417] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 9faca861 9facac61
[  314.743419] Backtrace: 
[  314.743424] [<c04ce530>] (ti_bandgap_force_single_read) from [<c04cfd24>] (ti_bandgap_read_temperature+0xb8/0xf8)
[  314.743432]  r9:00000000 r8:dc258ed0 r7:dc2773d0 r6:d4b6be40 r5:00000000 r4:dc258ed0
[  314.743438] [<c04cfc6c>] (ti_bandgap_read_temperature) from [<c04d00f4>] (__ti_thermal_get_temp+0x3c/0xd4)
[  314.743448]  r7:dc2773d0 r6:c06f33d0 r5:d4b6beb4 r4:00000000
[  314.743452] [<c04d00b8>] (__ti_thermal_get_temp) from [<c04cb4f4>] (of_thermal_get_temp+0x28/0x34)
[  314.743460]  r9:00000000 r8:df5da300 r7:d4b6beb4 r6:df33ae0c r5:df33ac00 r4:df33ac00
[  314.743465] [<c04cb4cc>] (of_thermal_get_temp) from [<c04c7b84>] (thermal_zone_get_temp+0x5c/0x118)
[  314.743470] [<c04c7b28>] (thermal_zone_get_temp) from [<c04c9368>] (thermal_zone_device_update.part.4+0x1c/0x98)
[  314.743478]  r8:df5da300 r7:00000000 r6:df5d69c0 r5:df33ac00 r4:df33ae2c
[  314.743483] [<c04c934c>] (thermal_zone_device_update.part.4) from [<c04c9454>] (thermal_zone_device_check+0x38/0x3c)
[  314.743487]  r5:d30f1d00 r4:df33ae2c
[  314.743495] [<c04c941c>] (thermal_zone_device_check) from [<c004b8b0>] (process_one_work+0x124/0x3f4)
[  314.743500] [<c004b78c>] (process_one_work) from [<c004bbcc>] (worker_thread+0x4c/0x524)
[  314.743508]  r10:df5d69c0 r9:d30f1d00 r8:00000008 r7:d4b6a000 r6:df5d69d4 r5:d30f1d18
[  314.743510]  r4:df5d69c0
[  314.743516] [<c004bb80>] (worker_thread) from [<c0051704>] (kthread+0x100/0x118)
[  314.743523]  r10:00000000 r9:00000000 r8:c004bb80 r7:d30f1d00 r6:d4b6a000 r5:d33c7d80
[  314.743525]  r4:00000000
[  314.743530] [<c0051604>] (kthread) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[  314.743537]  r8:00000000 r7:00000000 r6:00000000 r5:c0051604 r4:d33c7d80
[  314.743541] Code: e5913000 e0822003 e5928000 f57ff04f (e5913008) 
[  314.743544] ---[ end trace 38dad09fedf86651 ]---
[  314.743569] Unable to handle kernel paging request at virtual address ffffffec
[  314.743573] pgd = c0004000
[  314.743579] [ffffffec] *pgd=9faca861, *pte=00000000, *ppte=00000000
[  314.743582] Internal error: Oops: 37 [#4] PREEMPT SMP ARM
[  314.743611] Modules linked in: memcache(O) xhci_plat_hcd xhci_hcd usbcore rpmsg_proto dwc3 udc_core virtio_rpmsg_bus bc_example(O) ahci_platform libahci_platform pvrsrvkm(O) libahci libata extcon_usb_gpio omap_aes_driver scsi_mod omap_sham dwc3_omap extcon omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
[  314.743615] CPU: 1 PID: 858 Comm: kworker/1:0 Tainted: G      D W  O    4.4.84 #1
[  314.743617] Hardware name: Generic DRA74X (Flattened Device Tree)
[  314.743625] task: dbb7d400 ti: d4b6a000 task.ti: d4b6a000
[  314.743629] PC is at kthread_data+0x10/0x18
[  314.743633] LR is at wq_worker_sleeping+0x14/0xd8
[  314.743636] pc : [<c0051b54>]    lr : [<c004c97c>]    psr: 200e0193
[  314.743636] sp : d4b6bba0  ip : d4b6bbb0  fp : d4b6bbac
[  314.743637] r10: 00000001  r9 : df5d6e40  r8 : dbb7d7a8
[  314.743639] r7 : c09366d4  r6 : c0932e40  r5 : dbb7d400  r4 : 00000001
[  314.743641] r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : dbb7d400
[  314.743643] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  314.743646] Control: 10c5387d  Table: 9290806a  DAC: 00000051
[  314.743648] Process kworker/1:0 (pid: 858, stack limit = 0xd4b6a210)
[  314.743650] Stack: (0xd4b6bba0 to 0xd4b6c000)
[  314.743655] bba0: d4b6bbc4 d4b6bbb0 c004c97c c0051b50 df5d6e40 dbb7d400 d4b6bc1c d4b6bbc8
[  314.743660] bbc0: c0683bf0 c004c974 c0985e14 d5096b40 d4b6bbec d4b6bbe0 c008de78 c008dbfc
[  314.743664] bbe0: d4b6bc34 c0683e28 00000000 c008de6c c0036880 d4b6a000 d4b6b904 df080000
[  314.743668] bc00: d4b6bc40 dbb7d720 c04ce57e c081abd4 d4b6bc34 d4b6bc20 c0683e28 c0683774
[  314.743672] bc20: dbb7d400 d4b6b904 d4b6bc5c d4b6bc38 c00387d8 c0683de0 00000001 00000000
[  314.743676] bc40: d4b6bc40 d4b6bc40 c0035928 c04ce580 d4b6bce4 d4b6bc60 c0013f68 c00381a4
[  314.743680] bc60: d4b6a210 0000000b c081abdc 00000008 00000000 d4b6a000 00000000 600e0193
[  314.743684] bc80: 65b6bca4 33313935 20303030 32383065 33303032 39356520 30303832 35662030
[  314.743688] bca0: 30666637 28206634 31393565 38303033 c0002029 c0004000 d4b6bcf4 c093afb4
[  314.743692] bcc0: 00001406 00000007 00000000 d4b6bda8 00000000 df5d69c0 d4b6bcf4 d4b6bce8
[  314.743696] bce0: c0014198 c0013d28 d4b6bda4 d4b6bcf8 c0009370 c0014184 00000000 d4b6bd08
[  314.743700] bd00: 00000007 00000000 00030003 00000000 00003a76 00000000 00003a76 00000000
[  314.743704] bd20: d4b6bd54 d4b6bd30 c0063708 c0078d24 df5d6e80 dbb7d448 df5d6e80 dbb7d448
[  314.743708] bd40: 00000001 00000000 d4b6bdd4 d4b6bd58 c006548c c0063790 c0099108 c04fd884
[  314.743712] bd60: ffffffff 00ffffff 31d74ae5 00269e7f 00000049 df5d4e50 00000001 dc297a80
[  314.743716] bd80: 00001000 c04ce57c 400e0013 ffffffff d4b6bddc 00000000 d4b6be1c d4b6bda8
[  314.743720] bda0: c00147e0 c00092c0 dc258ed0 c0971cf8 fc00232c 0000014c 00000000 dc258ed0
[  314.743724] bdc0: 00000000 00000000 00000000 00000000 df5d69c0 d4b6be1c d4b6be20 d4b6bdf8
[  314.743728] bde0: c04cfd24 c04ce57c 400e0013 ffffffff 00000051 00000000 dc258ed0 00000000
[  314.743732] be00: d4b6be40 dc2773d0 dc258ed0 00000000 d4b6be3c d4b6be20 c04cfd24 c04ce53c
[  314.743736] be20: 00000000 d4b6beb4 c06f33d0 dc2773d0 d4b6be6c d4b6be40 c04d00f4 c04cfc78
[  314.743740] be40: df5d6e80 c0932e40 df33ac00 df33ac00 df33ae0c d4b6beb4 df5da300 00000000
[  314.743744] be60: d4b6be7c d4b6be70 c04cb4f4 c04d00c4 d4b6beac d4b6be80 c04c7b84 c04cb4d8
[  314.743748] be80: 7fffffff df5d6e40 dbb7d400 df33ae2c df33ac00 df5d69c0 00000000 df5da300
[  314.743752] bea0: d4b6becc d4b6beb0 c04c9368 c04c7b34 d4b6bedc d4b6bec0 df33ae2c d30f1d00
[  314.743756] bec0: d4b6bedc d4b6bed0 c04c9454 c04c9358 d4b6bf1c d4b6bee0 c004b8b0 c04c9428
[  314.743759] bee0: df5d69c0 df5d69d4 d4b6a000 00000008 d30f1d00 df5d69c0 d30f1d18 df5d69d4
[  314.743764] bf00: d4b6a000 00000008 d30f1d00 df5d69c0 d4b6bf54 d4b6bf20 c004bbcc c004b798
[  314.743768] bf20: d30f1d00 c0936100 00000000 00000000 d33c7d80 d4b6a000 d30f1d00 c004bb80
[  314.743772] bf40: 00000000 00000000 d4b6bfac d4b6bf58 c0051704 c004bb8c 00000000 00000000
[  314.743776] bf60: 00000000 d30f1d00 00000000 00000000 d4b6bf70 d4b6bf70 00000001 00010001
[  314.743780] bf80: d4b6bf80 d4b6bf80 d4b6bfac d33c7d80 c0051604 00000000 00000000 00000000
[  314.743784] bfa0: 00000000 d4b6bfb0 c000fd18 c0051610 00000000 00000000 00000000 00000000
[  314.743787] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  314.743792] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 9faca861 9facac61
[  314.743794] Backtrace: 
[  314.743799] [<c0051b44>] (kthread_data) from [<c004c97c>] (wq_worker_sleeping+0x14/0xd8)
[  314.743809] [<c004c968>] (wq_worker_sleeping) from [<c0683bf0>] (__schedule+0x488/0x66c)
[  314.743813]  r5:dbb7d400 r4:df5d6e40
[  314.743817] [<c0683768>] (__schedule) from [<c0683e28>] (schedule+0x54/0xc4)
[  314.743825]  r10:c081abd4 r9:c04ce57e r8:dbb7d720 r7:d4b6bc40 r6:df080000 r5:d4b6b904
[  314.743827]  r4:d4b6a000
[  314.743834] [<c0683dd4>] (schedule) from [<c00387d8>] (do_exit+0x640/0x9b8)
[  314.743837]  r5:d4b6b904 r4:dbb7d400
[  314.743840] [<c0038198>] (do_exit) from [<c0013f68>] (die+0x24c/0x45c)
[  314.743843]  r7:c04ce580
[  314.743846] [<c0013d1c>] (die) from [<c0014198>] (arm_notify_die+0x20/0x58)
[  314.743853]  r10:df5d69c0 r9:00000000 r8:d4b6bda8 r7:00000000 r6:00000007 r5:00001406
[  314.743855]  r4:c093afb4
[  314.743858] [<c0014178>] (arm_notify_die) from [<c0009370>] (do_DataAbort+0xbc/0xc0)
[  314.743863] [<c00092b4>] (do_DataAbort) from [<c00147e0>] (__dabt_svc+0x40/0x60)
[  314.743865] Exception stack(0xd4b6bda8 to 0xd4b6bdf0)
[  314.743869] bda0:                   dc258ed0 c0971cf8 fc00232c 0000014c 00000000 dc258ed0
[  314.743872] bdc0: 00000000 00000000 00000000 00000000 df5d69c0 d4b6be1c d4b6be20 d4b6bdf8
[  314.743875] bde0: c04cfd24 c04ce57c 400e0013 ffffffff
[  314.743883]  r8:00000000 r7:d4b6bddc r6:ffffffff r5:400e0013 r4:c04ce57c
[  314.743887] [<c04ce530>] (ti_bandgap_force_single_read) from [<c04cfd24>] (ti_bandgap_read_temperature+0xb8/0xf8)
[  314.743894]  r9:00000000 r8:dc258ed0 r7:dc2773d0 r6:d4b6be40 r5:00000000 r4:dc258ed0
[  314.743898] [<c04cfc6c>] (ti_bandgap_read_temperature) from [<c04d00f4>] (__ti_thermal_get_temp+0x3c/0xd4)
[  314.743903]  r7:dc2773d0 r6:c06f33d0 r5:d4b6beb4 r4:00000000
[  314.743908] [<c04d00b8>] (__ti_thermal_get_temp) from [<c04cb4f4>] (of_thermal_get_temp+0x28/0x34)
[  314.743915]  r9:00000000 r8:df5da300 r7:d4b6beb4 r6:df33ae0c r5:df33ac00 r4:df33ac00
[  314.743920] [<c04cb4cc>] (of_thermal_get_temp) from [<c04c7b84>] (thermal_zone_get_temp+0x5c/0x118)
[  314.743925] [<c04c7b28>] (thermal_zone_get_temp) from [<c04c9368>] (thermal_zone_device_update.part.4+0x1c/0x98)
[  314.743932]  r8:df5da300 r7:00000000 r6:df5d69c0 r5:df33ac00 r4:df33ae2c
[  314.743937] [<c04c934c>] (thermal_zone_device_update.part.4) from [<c04c9454>] (thermal_zone_device_check+0x38/0x3c)
[  314.743939]  r5:d30f1d00 r4:df33ae2c
[  314.743945] [<c04c941c>] (thermal_zone_device_check) from [<c004b8b0>] (process_one_work+0x124/0x3f4)
[  314.743950] [<c004b78c>] (process_one_work) from [<c004bbcc>] (worker_thread+0x4c/0x524)
[  314.743957]  r10:df5d69c0 r9:d30f1d00 r8:00000008 r7:d4b6a000 r6:df5d69d4 r5:d30f1d18
[  314.743959]  r4:df5d69c0
[  314.743963] [<c004bb80>] (worker_thread) from [<c0051704>] (kthread+0x100/0x118)
[  314.743970]  r10:00000000 r9:00000000 r8:c004bb80 r7:d30f1d00 r6:d4b6a000 r5:d33c7d80
[  314.743972]  r4:00000000
[  314.743976] [<c0051604>] (kthread) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[  314.743982]  r8:00000000 r7:00000000 r6:00000000 r5:c0051604 r4:d33c7d80
[  314.743986] Code: e1a0c00d e92dd800 e24cb004 e5903378 (e5130014) 
[  314.743989] ---[ end trace 38dad09fedf86652 ]---
[  314.743992] Fixing recursive fault but reboot is needed!
[  315.896176] pgd = c0004000
[  315.898886] [ffffffec] *pgd=9faca861, *pte=00000000, *ppte=00000000
[  315.905192] Internal error: Oops: 37 [#5] PREEMPT SMP ARM
del
[  315.941036] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G      D W  O    4.4.84 #1
[  315.948370] Hardware name: Generic DRA74X (Flattened Device Tree)
[  315.954487] task: df081200 ti: df092000 task.ti: df092000
[  315.959904] PC is at kthread_data+0x10/0x18
[  315.964100] LR is at wq_worker_sleeping+0x14/0xd8
[  315.968818] pc : [<c0051b54>]    lr : [<c004c97c>]    psr: 20070193
[  315.968818] sp : df093ba0  ip : df093bb0  fp : df093bac
[  315.980337] r10: 00000000  r9 : df5cbe40  r8 : df0815a8
[  315.985578] r7 : c09366d4  r6 : c0932e40  r5 : df081200  r4 : 00000000
[  315.992126] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : df081200
[  315.998674] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  316.005920] Control: 10c5387d  Table: 9bb9c06a  DAC: 00000051
[  316.011684] Process kworker/0:0 (pid: 4, stack limit = 0xdf092210)
[  316.017884] Stack: (0xdf093ba0 to 0xdf094000)
[  316.022254] 3ba0: df093bc4 df093bb0 c004c97c c0051b50 df5cbe40 df081200 df093c1c df093bc8
[  316.030462] 3bc0: c0683bf0 c004c974 c0985e14 df0886c0 df093bec df093be0 c008de78 c008dbfc
[  316.038669] 3be0: df093c34 c0683e28 00000000 c008de6c c0036880 df092000 df093904 df080000
[  316.046876] 3c00: df093c40 df081520 c04ce586 c081abd4 df093c34 df093c20 c0683e28 c0683774
[  316.055084] 3c20: df081200 df093904 df093c5c df093c38 c00387d8 c0683de0 00000001 00000000
[  316.063292] 3c40: df093c40 df093c40 c0035928 c04ce588 df093ce4 df093c60 c0013f68 c00381a4
[  316.071498] 3c60: df092210 0000000b c081abdc 00000008 00000000 df092000 00000000 60070193
[  316.079706] 3c80: 65093ca4 38323935 20303030 66373566 66343066 39356520 30303331 33652038
[  316.087913] 3ca0: 30323061 28203130 31393565 30303039 c0002029 c0004000 df093cf4 c093afb4
[  316.096121] 3cc0: 00001406 00000007 00000000 df093da8 00000000 df5cb9c0 df093cf4 df093ce8
[  316.104328] 3ce0: c0014198 c0013d28 df093da4 df093cf8 c0009370 c0014184 00000000 00000002
[  316.112536] 3d00: 00000007 00000000 00030003 00000000 df081200 dbb7aa00 d4bdf880 d4bde380
[  316.120743] 3d20: 00000022 00000000 df093d8c df093d38 c0683a4c c0056320 c00399c8 c008ef48
[  316.128951] 3d40: c093140c 00000012 1250aa1d 00000049 c0081950 c0684324 2d6aa84d 00000049
[  316.137158] 3d60: df093da8 df092000 40070013 ffffffff df093ddc c0014874 df092000 df5cb9c0
[  316.145366] 3d80: df093da4 c04ce584 40070013 ffffffff df093ddc 00000000 df093e1c df093da8
[  316.153573] 3da0: c00147e0 c00092c0 dc258ed0 c0971d8c 00000001 00000000 00000090 dc258ed0
[  316.161781] 3dc0: 00000020 00000004 00000000 00000000 df5cb9c0 df093e1c df093e20 df093df8
[  316.169988] 3de0: c04cfd24 c04ce584 40070013 ffffffff 00000051 00000021 dc258ed0 00000004
[  316.178196] 3e00: df093e40 dc2774d0 dc258ed0 00000000 df093e3c df093e20 c04cfd24 c04ce53c
[  316.186403] 3e20: 00000004 df093eb4 c06f33d0 dc2774d0 df093e6c df093e40 c04d00f4 c04cfc78
[  316.194610] 3e40: df5cbe80 df093e68 df33bc00 df33bc00 df33be0c df093eb4 df5cf300 00000000
[  316.202817] 3e60: df093e7c df093e70 c04cb4f4 c04d00c4 df093eac df093e80 c04c7b84 c04cb4d8
[  316.211024] 3e80: 7fffffff df5c93c0 df093ec4 df33be2c df33bc00 df5cb9c0 00000000 df5cf300
[  316.219231] 3ea0: df093ecc df093eb0 c04c9368 c04c7b34 df093edc df093ec0 df33be2c df05e000
[  316.227438] 3ec0: df093edc df093ed0 c04c9454 c04c9358 df093f1c df093ee0 c004b8b0 c04c9428
[  316.235646] 3ee0: df5cb9c0 df5cb9d4 df092000 00000008 df05e000 df5cb9c0 df05e018 df5cb9d4
[  316.243853] 3f00: df092000 00000008 df05e000 df5cb9c0 df093f54 df093f20 c004bbcc c004b798
[  316.252060] 3f20: df5cbb24 c0936100 00000000 00000000 df05b940 df092000 df05e000 c004bb80
[  316.260267] 3f40: 00000000 00000000 df093fac df093f58 c0051704 c004bb8c 00000000 00000000
[  316.268475] 3f60: 00000000 df05e000 00000000 00000000 df093f70 df093f70 00000001 00010001
[  316.276682] 3f80: df093f80 df093f80 df093fac df05b940 c0051604 00000000 00000000 00000000
[  316.284889] 3fa0: 00000000 df093fb0 c000fd18 c0051610 00000000 00000000 00000000 00000000
[  316.293097] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  316.301304] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[  316.309509] Backtrace: 
[  316.311967] [<c0051b44>] (kthread_data) from [<c004c97c>] (wq_worker_sleeping+0x14/0xd8)
[  316.320089] [<c004c968>] (wq_worker_sleeping) from [<c0683bf0>] (__schedule+0x488/0x66c)
[  316.328207]  r5:df081200 r4:df5cbe40
[  316.331803] [<c0683768>] (__schedule) from [<c0683e28>] (schedule+0x54/0xc4)
[  316.338874]  r10:c081abd4 r9:c04ce586 r8:df081520 r7:df093c40 r6:df080000 r5:df093904
[  316.346759]  r4:df092000
[  316.349302] [<c0683dd4>] (schedule) from [<c00387d8>] (do_exit+0x640/0x9b8)
[  316.356286]  r5:df093904 r4:df081200
[  316.359882] [<c0038198>] (do_exit) from [<c0013f68>] (die+0x24c/0x45c)
[  316.366430]  r7:c04ce588
[  316.368974] [<c0013d1c>] (die) from [<c0014198>] (arm_notify_die+0x20/0x58)
[  316.375957]  r10:df5cb9c0 r9:00000000 r8:df093da8 r7:00000000 r6:00000007 r5:00001406
[  316.383843]  r4:c093afb4
[  316.386386] [<c0014178>] (arm_notify_die) from [<c0009370>] (do_DataAbort+0xbc/0xc0)
[  316.394157] [<c00092b4>] (do_DataAbort) from [<c00147e0>] (__dabt_svc+0x40/0x60)
[  316.401578] Exception stack(0xdf093da8 to 0xdf093df0)
[  316.406646] 3da0:                   dc258ed0 c0971d8c 00000001 00000000 00000090 dc258ed0
[  316.414853] 3dc0: 00000020 00000004 00000000 00000000 df5cb9c0 df093e1c df093e20 df093df8
[  316.423058] 3de0: c04cfd24 c04ce584 40070013 ffffffff
[  316.428123]  r8:00000000 r7:df093ddc r6:ffffffff r5:40070013 r4:c04ce584
[  316.434881] [<c04ce530>] (ti_bandgap_force_single_read) from [<c04cfd24>] (ti_bandgap_read_temperature+0xb8/0xf8)
[  316.445179]  r9:00000000 r8:dc258ed0 r7:dc2774d0 r6:df093e40 r5:00000004 r4:dc258ed0
[  316.452980] [<c04cfc6c>] (ti_bandgap_read_temperature) from [<c04d00f4>] (__ti_thermal_get_temp+0x3c/0xd4)
[  316.462668]  r7:dc2774d0 r6:c06f33d0 r5:df093eb4 r4:00000004
[  316.468372] [<c04d00b8>] (__ti_thermal_get_temp) from [<c04cb4f4>] (of_thermal_get_temp+0x28/0x34)
[  316.477362]  r9:00000000 r8:df5cf300 r7:df093eb4 r6:df33be0c r5:df33bc00 r4:df33bc00
[  316.485163] [<c04cb4cc>] (of_thermal_get_temp) from [<c04c7b84>] (thermal_zone_get_temp+0x5c/0x118)
[  316.494244] [<c04c7b28>] (thermal_zone_get_temp) from [<c04c9368>] (thermal_zone_device_update.part.4+0x1c/0x98)
[  316.504455]  r8:df5cf300 r7:00000000 r6:df5cb9c0 r5:df33bc00 r4:df33be2c
[  316.511210] [<c04c934c>] (thermal_zone_device_update.part.4) from [<c04c9454>] (thermal_zone_device_check+0x38/0x3c)
[  316.521770]  r5:df05e000 r4:df33be2c
[  316.525368] [<c04c941c>] (thermal_zone_device_check) from [<c004b8b0>] (process_one_work+0x124/0x3f4)
[  316.534624] [<c004b78c>] (process_one_work) from [<c004bbcc>] (worker_thread+0x4c/0x524)
[  316.542741]  r10:df5cb9c0 r9:df05e000 r8:00000008 r7:df092000 r6:df5cb9d4 r5:df05e018
[  316.550625]  r4:df5cb9c0
[  316.553169] [<c004bb80>] (worker_thread) from [<c0051704>] (kthread+0x100/0x118)
[  316.560589]  r10:00000000 r9:00000000 r8:c004bb80 r7:df05e000 r6:df092000 r5:df05b940
[  316.568473]  r4:00000000
[  316.571017] [<c0051604>] (kthread) from [<c000fd18>] (ret_from_fork+0x14/0x3c)
[  316.578263]  r8:00000000 r7:00000000 r6:00000000 r5:c0051604 r4:df05b940
[  316.585014] Code: e1a0c00d e92dd800 e24cb004 e5903378 (e5130014) 
[  316.591128] ---[ end trace 38dad09fedf86653 ]---
[  316.595758] Fixing recursive fault but reboot is needed!

[END] 2019/1/15 14:49:46

  • Hi Terence,

    Please ensure the 'shutdown remote-core and exit' option as part of the vision-SDK menu is selected before you run the reboot command.
    Else please unbind the remote-core using the instructions in the below link before running reboot.

    processors.wiki.ti.com/index.php

    Regards
    Shravan
  • Hi Shravan,

    We don't use the  vision-SDK menu. According to your suggestion, I  tried to unbind the remote-core using 'echo 55020000.ipu > unbind', but reboot still fail.Please find the log in the attachment.

    Thanks a lot

    Terence

    reboot_ubind.log

  • Hi Shravan,
    Do you know how to disable interrupts at the MPU INTC. It may be leaded by the I2C, beacuse the I2C hardware may shared with other coprocessors,and IPU2 is using the I2C device, the MPU may be still recieve interrupts.But we had disabled in dts, like 'DISABLE_COMPLETE(i2c5)', I'm not sure if I2C'interrupt is disabled.

    Thanks a lot
    Terence
  • Hi Terence,

    In you IPU/DSP firmware can you deinitialize all operations? If you're using vision-SDK this is done in the links_fw/src/rtos/bios_app_common/tda2px/<core_id>/src/main_common_<core_id>.c in the function IPU2_main function (which waits for the shutdown command from Linux -- which is done in the menu).

    Disabling I2C using the DISABLE_COMPLETE command in DTB will ensure interrupts for I2C aren't registered from Linux.

    Regards
    Shravan
  • Hi Shravan,
    "Deinitialize all operations?" I see the function of IPU2_main, but what need to be modified?

    Thanks a lot
    Terence
    ==========================
    Void IPU2_main(UArg arg0, UArg arg1)
    {
    UInt32 state;
    UInt32 coreId = System_getSelfProcId();

    while (1)
    {
    BspOsal_sleep(100U);
    Utils_getAppInitState(coreId, &state);
    if (state == CORE_APP_INITSTATUS_DO_EXIT)
    {
    break;
    }
    }
    }
    ===============================
  • Hi Terence,

    As Indicated, can you please ensure that all operations (links / chains etc), are stopped before running reboot. Thus, please ensure before you run reboot, that the remote-core (IPU/DSP) isn't running anything. This is done in vision-SDK by running shut-down remote-core and exit in the menu. Please ensure those steps are incorporated into your application.

    Regards
    Shravan
  • Hi Shravan,
    We set IPU_PRIMARY_CORE=ipu2 in cfg.mk, so IPU2_main will not be called. It is replaced by Chains_main function, IPU2_main will be called in Chains_main function. But how to incorporate it into our application, we are not use vision-SDK menu. Below is the Chains_main function. We really need your help.

    Thanks a lot
    Terence
    ===================chains main=====================
    Void Chains_main(UArg arg0, UArg arg1)
    {
    #ifdef IPU_PRIMARY_CORE_IPU1
    Void IPU1_0_main(UArg arg0, UArg arg1);
    #else
    Void IPU2_main(UArg arg0, UArg arg1);
    #endif

    Vps_printf(" CHAINS: Application Started !!!");

    AppCtrl_init();

    #ifndef A15_TARGET_OS_QNX
    GrpxSrcLink_init();
    SplitLink_init();
    Chains_linkStatsMonitorInit();
    #endif

    /*Board_init is already done as part of app_init if EARLY_SRV is enabled*/
    #ifndef EARLY_SRV_ENABLE
    Board_init();
    #endif

    #ifdef ISS_INCLUDE
    IssSensor_Init();
    #endif

    #ifdef ULTRASONIC_INCLUDE
    #ifdef PGA460
    UltrasonicCaptureLink_init(USM_ID_PGA460);
    #elif PGA450
    UltrasonicCaptureLink_init(USM_ID_PGA450);
    #endif
    #endif

    #ifdef EARLY_USECASE_ENABLE
    Chains_EarlyUsecase(&gChains_usecaseCfg);
    #endif

    #ifdef IPU_PRIMARY_CORE_IPU1
    IPU1_0_main(NULL, NULL);
    #else
    IPU2_main(NULL, NULL);
    #endif

    AppCtrl_deInit();

    #ifndef A15_TARGET_OS_QNX
    GrpxSrcLink_deInit();
    SplitLink_deInit();
    Chains_linkStatsMonitorDeInit();
    #endif

    Board_deInit();
    Vps_printf(" CHAINS: Application Exited !!!");
    }
  • Hi Shravan,
    On the other hand, even if we don't run apps.out, reboot fail still remain. So, it may be nothing with the menu.

    Thanks a lot
    Terence
  • Hi Terence,

    Irrespective of running apps.out, the IPU-FW will execute its code. As part of IPU initialization, I2C and other peripherals are initialized (please see function Board_init as part of chains_main_linux.c in apps/src/rtos/common/ folder). Running apps.out merely engages the IPU firmware to receive messages from A15(Linux).

    Since the remote-core is manged independently (the core has support to be boot-strapped from u-boot, and manages its power state independently), the remote-core must be responsible for de-initialization of all peripherals owned (such as I2C). Only then can the system be shut-down / rebooted.

    I just tested this on our EVM and while there were some error logs (during cleanup of a DRM application), the system rebooted without any issues.

    Regards

    Shravan

    reboot.txt

  • Hi  Shravan,

    Thanks! I understood.

     A strange phenomenon, if we disable DSP core, but only modify the dsp status = disabled in dra76-evm-infoadas.dts, and keep the value of the PROC_DSP1_INCLUDE=yes,  reboot is normal.  While, apps.out will run fail, because it isn't attach to DSP core. I don't understand why? Please find the log of reboot normal  in the attachment.

    Thanks a lot

    Terence

    =======================cfg.mk=======================

    PROC_DSP1_INCLUDE=yes

    PROC_DSP2_INCLUDE=yes

    ================dra76-evm-infoadas.dts===============

    &dsp1 {

    status = "disabled";

    /delete-property/ watchdog-timers;

    };

    &dsp2 {

    status = "disabled";

    /delete-property/ watchdog-timers;

    };

    reboot_normal.log
    [BEGIN] 2019/1/17 14:43:52
    [   11.047876] hub 2-0:1.0: USB hub found
    [   11.051668] hub 2-0:1.0: 1 port detected
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    root@dra7xx-evm:~# 
    root@dra7xx-evm:~# 
    root@dra7xx-evm:~# cd /opt/
    root@dra7xx-evm:/opt# ls
    avm.flag          ipks              manual_mode.flag  vision_sdk
    root@dra7xx-evm:/opt# cd vision_sdk/
    root@dra7xx-evm:/opt/vision_sdk# ls
    FragShader.fsh                avm_qt_app_res                enableIpu2CCSConectivity.sh   models                        ub964Init.sh
    FragShader3Dsfm.fsh           bin                           hdmiReceiverConfig.sh         opencl_env.sh                 vision_sdk_load.sh
    VertShader.vsh                car.pod                       jeep2.bmp                     ov106x3Config.sh              vision_sdk_ov490_pinmux.sh
    VertShader3Dsfm.vsh           cmemk.ko                      load_ocl_kos.sh               pvrscope                      vision_sdk_unload.sh
    VipClockInversion.sh          disableDssInterruptsOnA15.sh  memcache_load.sh              setupUltrasonicPinMux.sh
    apps.out                      enableImx290.sh               memcache_unload.sh            tda2exEnableAVB.sh
    root@dra7xx-evm:/opt/vision_sdk# reboot
             Stopping Load/Save Random Seed...
             Unmounting /run/user/0...
             Stopping User Many         Stopping Session c1 of user root.
    [  OK  ] Stopped target Timers.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
             Unmounting /run/media/mmcblk0p1...
    [  OK  ] Stopped target Multi-User System.
             Stopping Network Name Resolution...
             Stopping System Logging Service...
             Stopping Kernel Logging Service...
             Stopping ecarxinit.service...
    [  OK  ] Stopped target Login Prompts.
    [  OK  ] Stopped Serial Getty on ttyO0.
             Stopping Getty on tty1...
             Stopping Serial Getty on ttyS0...
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS0.
    [  OK  ] Stopped User Manager for UID 0.
    [  OK  ] Stopped Load/Save Random Seed.
    [FAILED] Failed unmounting /run/user/0.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped Session c1 of user root.
    [  OK  ] Unmounted /run/media/mmcblk0p1.
    [  OK  ] Stopped ecarxinit.service.
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [  OK  ] Stopped User Manager for UID 0.
             Stopping telnetd.service...
             Stopping LSB: Dropbear Secure Shell server...
             Stopping tiipclad-daemon.service...
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Removed slice User Slice of root.
             Stopping Login Service...
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
    [  OK  ] Removed slice system-getty.slice.
             Stopping Permit User Sessions...
    [  OK  ] Stopped target Network.
             Stopping Network Service...
    [  OK  ] Stopped Login Service.
    [  OK  ] Stopped Network Service.
    [  OK  ] Stopped telnetd.service.
    [  OK  ] Stopped LSB: Dropbear Secure Shell server.
    [  OK  ] Stopped tiipclad-daemon.service.
    [  OK  ] Stopped Permit User Sessions.
             Stopping weston.service...
             Stopping D-Bus System Message Bus...
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped weston.service.
    [  OK  ] Stopped target Remote File Systems.
             Stopping rc.pvr.service...
    [  OK  ] Stopped rc.pvr.service.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed Syslog Socket.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Reached target Shutdown.
    [  OK  ] Reached target Final Step.
             Starting Reboot...
    [   41.207436] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [   41.228638] systemd-journald[122]: Received SIGTERM from PID 1 (systemd-shutdow).
    [   41.264298] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [   41.284406] systemd-shutdown[1]: Unmounting file systems.
    [   41.290270] systemd-shutdown[1]: Remounting '/run/user/0' read-only with options 'size=30520k,mode=700'.
    [   41.300659] systemd-shutdown[1]: Unmounting /run/user/0.
    [   41.353401] systemd-shutdown[1]: Remounting '/media/ram' read-only with options 'size=16384k'.
    [   41.362638] systemd-shutdown[1]: Unmounting /media/ram.
    [   41.393329] systemd-shutdown[1]: Remounting '/var/volatile' read-only with options 'size=51200k'.
    [   41.402827] systemd-shutdown[1]: Unmounting /var/volatile.
    [   41.453349] systemd-shutdown[1]: Remounting '/tmp' read-only with options ''.
    [   41.461100] systemd-shutdown[1]: Unmounting /tmp.
    [   41.503358] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   42.146316] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [   42.156499] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   42.165205] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [   42.171171] systemd-shutdown[1]: Remounting '/' read-only with options 'data=ordered'.
    [   42.179898] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [   42.185891] systemd-shutdown[1]: All filesystems unmounted.
    [   42.191495] systemd-shutdown[1]: Deactivating swaps.
    [   42.196661] systemd-shutdown[1]: All swaps deactivated.
    [   42.201916] systemd-shutdown[1]: Detaching loop devices.
    [   42.214914] systemd-shutdown[1]: All loop devices detached.
    [   42.220520] systemd-shutdown[1]: Detaching DM devices.
    [   42.226113] systemd-shutdown[1]: All DM devices detached.
    [   42.233912] systemd-shutdown[1]: Rebooting.
    [   43.044063] reboot: Restarting system
    
    U-Boot SPL 2016.05 (Jan 17 2019 - 14:11:24)
    DRA762-GP ES1.0
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    ** First descriptor is NOT a primary desc on 1:1 **
    *** Warning - bad CRC, using default environment
    
    i2c_write: error waiting for data ACK (status=0x116)
    i2c_write: error waiting for data ACK (status=0x116)
    Trying to boot from MMC1
    reading dra7-ipu2-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
    spl: error reading image dra7-ipu2-fw.lzop, err - -1
    Error loading remotecore IPU2!,Continuing with boot ...
    reading dra7-dsp1-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
    spl: error reading image dra7-dsp1-fw.lzop, err - -1
    Error loading remotecore DSP1!,Continuing with boot ...
    reading dra7-dsp2-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
    spl: error reading image dra7-dsp2-fw.lzop, err - -1
    Error loading remotecore DSP2!,Continuing with boot ...
    reading dra7-ipu1-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
    spl: error reading image dra7-ipu1-fw.lzop, err - -1
    Error loading remotecore IPU1!,Continuing with boot ...
    *** Warning - bad CRC, using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (xiachunjiang@ecarx-5288-V3) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Thu Jan 17 14:12:34 CST 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA762 EVM
    [    0.000000] Reserved memory: created DMA memory pool at 0x40300000, size 3 MiB
    [    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x96000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@96000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 16 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@98000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 16 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x9a000000, size 16 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9a000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x9e000000, size 16 MiB
    [    0.000000] Reserved memory: initialized node cmem@9e000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] cma: Reserved 24 MiB at 0x9c800000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x9fe00000 to fe600000 for dram barrier
    [    0.000000] DRA762 ES1.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @df5c9000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 124288
    [    0.000000] Kernel command line: console=ttyS0,115200n8 vram=16M root=PARTUUID=e064e266-02 rw rootwait ip=none mem=512M
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 198344K/501760K available (6663K kernel code, 319K rwdata, 2392K rodata, 332K init, 286K bss, 196920K reserved, 106496K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08e000c   (9057 kB)
    [    0.000000]       .init : 0xc08e1000 - 0xc0934000   ( 332 kB)
    [    0.000000]       .data : 0xc0934000 - 0xc0983e20   ( 320 kB)
    [    0.000000]        .bss : 0xc0985000 - 0xc09cc980   ( 287 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000016] Switching to timer-based delay loop, resolution 162ns
    [    0.000334] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000342] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000810] Console: colour dummy device 80x30
    [    0.000830] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000844] pid_max: default: 32768 minimum: 301
    [    0.000938] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000948] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001484] Initializing cgroup subsys io
    [    0.001500] Initializing cgroup subsys memory
    [    0.001524] Initializing cgroup subsys devices
    [    0.001536] Initializing cgroup subsys freezer
    [    0.001547] Initializing cgroup subsys perf_event
    [    0.001558] Initializing cgroup subsys pids
    [    0.001585] CPU: Testing write buffer coherency: ok
    [    0.001789] /cpus/cpu@0 missing clock-frequency property
    [    0.001804] /cpus/cpu@1 missing clock-frequency property
    [    0.001815] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001857] Setting up static identity map for 0x80008340 - 0x800083a0
    [    0.080087] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.080156] Brought up 2 CPUs
    [    0.080169] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.080176] CPU: All CPU(s) started in HYP mode.
    [    0.080181] CPU: Virtualization extensions available.
    [    0.081222] devtmpfs: initialized
    [    0.110808] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.111765] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.226705] omap_hwmod: dcan1: _wait_target_disable failed
    [    0.323600] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.323623] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.325761] pinctrl core: initialized pinctrl subsystem
    [    0.326612] NET: Registered protocol family 16
    [    0.327581] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.350197] cpuidle: using governor ladder
    [    0.380219] cpuidle: using governor menu
    [    0.388844] OMAP GPIO hardware version 0.1
    [    0.393026] GPIO line 161 (radio_rst) hogged as output/low
    [    0.395436] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.419746] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.419757] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.420260] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.420270] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.420751] OMAP DMA hardware revision 0.0
    [    0.461566] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.462708] edma 43300000.edma: memcpy is disabled
    [    0.467555] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.472151] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.472328] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.472498] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.472652] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.472924] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.473116] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.476157] palmas 0-0058: IRQ missing: skipping irq request
    [    0.490676] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [    0.541198] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
    [    0.541743] pcf857x: probe of 0-0020 failed with error -121
    [    0.541998] pcf857x: probe of 0-0021 failed with error -121
    [    0.542227] pcf857x: probe of 0-0026 failed with error -121
    [    0.542386] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.542799] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.560527] pcf857x: probe of 3-0021 failed with error -121
    [    0.560566] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.560760] media: Linux media interface: v0.10
    [    0.560810] Linux video capture interface: v2.00
    [    0.560849] pps_core: LinuxPPS API ver. 1 registered
    [    0.560856] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.560878] PTP clock support registered
    [    0.560921] EDAC MC: Ver: 3.0.0
    [    0.561681] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.561979] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.562332] Advanced Linux Sound Architecture Driver Initialized.
    [    0.563184] clocksource: Switched to clocksource arch_sys_counter
    [    0.573574] NET: Registered protocol family 2
    [    0.574071] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.574112] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.574178] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.574218] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.574238] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.574429] NET: Registered protocol family 1
    [    0.574685] RPC: Registered named UNIX socket transport module.
    [    0.574693] RPC: Registered udp transport module.
    [    0.574700] RPC: Registered tcp transport module.
    [    0.574706] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.575690] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.584714] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.585352] NFS: Registering the id_resolver key type
    [    0.585376] Key type id_resolver registered
    [    0.585384] Key type id_legacy registered
    [    0.585452] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.586856] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.586875] io scheduler noop registered
    [    0.586887] io scheduler deadline registered
    [    0.586918] io scheduler cfq registered (default)
    [    0.589313] vsys_5v0: supplied by vsys_12v0
    [    0.589361] ldo3: supplied by vsys_5v0
    [    0.593001] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.596290] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    0.596303]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    0.596336]    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.596357]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.626001] dra7-pcie 51000000.pcie_rc: link is not up
    [    0.626167] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    0.626180] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.626190] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.626200] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.626610] PCI: bus0: Fast back to back transfers disabled
    [    0.626735] PCI: bus1: Fast back to back transfers enabled
    [    0.626817] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    0.626832] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    0.626845] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    0.627064] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    0.686508] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.689851] console [ttyS0] disabled
    [    0.689903] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    1.705121] console [ttyS0] enabled
    [    1.709506] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [    1.719210] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [    1.728869] 4ae2b000.serial: ttyS9 at MMIO 0x4ae2b000 (irq = 304, base_baud = 3000000) is a 8250
    [    1.738913] [drm] Initialized drm 1.1.0 20060810
    [    1.744451] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.751094] [drm] No driver support for vblank timestamp query.
    [    1.757259] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
    [    1.770220] loop: module loaded
    [    1.776142] vmemexp device MAJOR num = 245
    [    1.780268] vmemexp class registered
    [    1.784002] /dev/vmemexp device registered
    [    1.788115] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    1.796387] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
    [    1.804082] libphy: Fixed MDIO Bus: probed
    [    1.853216] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.859339] libphy: 48485000.mdio: probed
    [    1.866373] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver RTL9000A Gigabit Ethernet
    [    1.876653] cpsw 48484000.ethernet: Detected MACID = f8:36:9b:97:4f:e8
    [    1.883336] cpsw 48484000.ethernet: cpts: overflow check period 800
    [    1.890296] cpsw 48484000.ethernet: cpsw: Detected MACID = f8:36:9b:97:4f:e9
    [    1.898957] mousedev: PS/2 mouse device common for all mice
    [    1.905204] i2c /dev entries driver
    [    1.913930] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.918764] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
    [    1.925277] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
    [    1.931659] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
    [    1.938055] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
    [    1.944450] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
    [    1.951081] vsys_3v3: supplied by vsys_12v0
    [    1.955347] vio_3v3: supplied by vsys_3v3
    [    1.959403] vio_3v3_sd: supplied by vio_3v3
    [    1.964291] ldo4: supplied by vsys_5v0
    [    2.013615] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.020000] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    2.033499] smps5: supplied by vsys_3v3
    [    2.037583] vio_1v8: supplied by smps5
    [    2.074060] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.085202] hwspinlock_user gatemp: requested 20 hwspinlocks
    [    2.092108] aic_dvdd: supplied by vio_3v3
    [    2.097389] davinci-mcasp 48464000.mcasp: DAI is shared
    [    2.103484] davinci-mcasp 48474000.mcasp: DAI is shared
    [    2.109956] NET: Registered protocol family 10
    [    2.125282] sit: IPv6 over IPv4 tunneling driver
    [    2.130465] NET: Registered protocol family 17
    [    2.135182] Key type dns_resolver registered
    [    2.139576] omap_voltage_late_init: Voltage driver support not added
    [    2.146464] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.152671] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.158966] buck10: supplied by vsys_3v3
    [    2.163514] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    2.169722] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    2.177900] Power Management for TI OMAP4+ devices.
    [    2.182935] Registering SWP/SWPB emulation handler
    [    2.188529] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.195554] dmm 4e000000.dmm: initialized all PAT entries
    [    2.201555] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
    [    2.228761] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    2.238700] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.246786] mmc0: new SDHC card at address 0001
    [    2.252451] hctosys: unable to open rtc device (rtc0)
    [    2.261722] mmcblk0: mmc0:0001 SD8GB 7.28 GiB 
    [    2.265264] aic_dvdd: disabling
    [    2.265427] ALSA device list:
    [    2.265429]   #0: DRA7xx-EVM
    [    2.276381]  mmcblk0: p1 p2
    [    2.280827] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
    [    2.289544] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
    [    2.317545] mmc1: MAN_BKOPS_EN bit is not set
    [    2.322559] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.330719] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.331806] mmc1: new HS200 MMC card at address 0001
    [    2.342100] mmcblk1: mmc1:0001 DG4008 7.28 GiB 
    [    2.352252] devtmpfs: mounted
    [    2.355359] Freeing unused kernel memory: 332K
    [    2.356878] mmcblk1boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
    [    2.365772] This architecture does not have kernel memory protection.
    [    2.367052] mmcblk1boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
    [    2.768588] systemd[1]: System time before build time, advancing clock.
    [    2.843601] random: systemd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
    [    2.857879] random: systemd: uninitialized urandom read (16 bytes read, 13 bits of entropy available)
    ECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [    2.892898] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2016.12!
    
    [    2.924666] systemd[1]: Set hostname to <dra7xx-evm>.
    [    2.989066] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
    [    3.005862] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
    [    3.016470] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
    [    3.065976] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 15 bits of entropy available)
    [    3.081719] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
    [    3.231946] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    3.241485] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    3.251527] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    3.725914] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [    3.733747] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [    3.741444] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [    3.748941] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [    3.758409] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [    3.798300] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    3.823544] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.853466] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    3.883359] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.904751] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.933462] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    3.953978] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    3.983440] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.013465] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.043955] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.073388] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.120080] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.143555] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.173388] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.193468] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.253399] systemd[1]: Mounting Temporary Directory...
             Mounting Temporary Directory...
    [    4.285545] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.317217] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.345704] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.375506] systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    4.406342] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    4.435806] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [    4.463411] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    4.523540] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.538790] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.[    4.546536] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    
    [    4.579675] systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    [    4.603556] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.633426] systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    [    4.653640] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [    5.164782] systemd-journald[121]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [    5.859111] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9a000000
    [    5.870978]  remoteproc0:58820000.ipu is available
    [  OK  ] Started Create Volatile Files and Directories.
    [    5.891059]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    5.912068]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  OK  ] Found device /dev/ttyS0.
    [    5.948858] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@96000000
    [    5.958897]  remoteproc1: 55020000.ipu is available
    [    5.972635]  remoteproc1: Note: remoteproc is still under development and considered experimental.
    [    5.990904]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.012460] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
             Starting Network Time Synchronization...
    [    6.037601] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [    6.052346]  remoteproc0: registered virtio0 (type 7)
             Starting Update UTMP about System Boot/Shutdown...
    [    6.481981] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    7.045906] SCSI subsystem initialized
    [    7.140173] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    7.153886] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    8.510358]  remoteproc1: registered virtio1 (type 7)
    [    8.548105] [drm] Initialized pvr 1.14.3699939 20110701 on minor 2
    [    8.600105]  remoteproc0: powering up 58820000.ipu
    [    8.606175]  remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 614152
    [    8.613075] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [    8.631618]  remoteproc0: remote processor 58820000.ipu is now up
    [    8.638322] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.646741]  remoteproc1: powering up 55020000.ipu
    [    8.661014]  remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 7282976
    [    8.668044] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    8.708227]  remoteproc1: remote processor 55020000.ipu is now up
    [    8.716678] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.757988] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
    [    8.768949] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    8.795980] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    [    8.829735] scsi host0: ahci
    [    8.833326] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 342
    [    8.954278] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Reached target Sound Card.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [    9.203221] ata1: SATA link down (SStatus 0 SControl 300)
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting rc.pvr.service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Started Kernel Logging Service.
             Starting Save/Restore Sound Card State...
    [    9.454624] usbcore: registered new interface driver usbfs
    [    9.461183] usbcore: registered new interface driver hub
             Starting Permit User Sessions...[    9.469049] usbcore: registered new device driver usb
    
             Starting Login Service...
    [    9.674796] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.680526] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [    9.688607] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [    9.697480] xhci-hcd xhci-hcd.2.auto: irq 462, io mem 0x488d0000
    [    9.705443] hub 1-0:1.0: USB hub found
    [    9.709229] hub 1-0:1.0: 1 port detected
    [    9.714997] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    9.721145] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [    9.728992] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    9.738558] hub 2-0:1.0: USB hub found
    [    9.743377] hub 2-0:1.0: 1 port detected
    [    9.743752] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [  OK  ] Started System Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started Permit User Sessions.
    [   10.055041] net eth1: initializing cpsw version 1.15 (0)
    [  OK  ] Started Network Service.[   10.061207] net eth0: initialized cpsw ale version 1.4
    
    [   10.070140] net eth0: ALE Table size 1024
    [   10.077224] libphy: PHY 48485000.mdio:03 not found
    [   10.082034] net eth1: phy "48485000.mdio:03" not found on slave 1, err -19
    [   10.097346] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   10.105205] net eth0: initializing cpsw version 1.15 (0)
    [  OK  ] Reached target Network.
    [   10.275119] net eth0: phy found : id is : 0x1ccb00
    [   10.285200] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
             Starting Network Name Resolution...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
             Starting LSB: Dropbear Secure Shell server...
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started LSB: Dropbear Secure Shell server.
    [  OK  ] Started weston.service.
    [  OK  ] Started Login Service.
             Starting tiipclad-daemon.service...
             Starting telnetd.service...
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started telnetd.service.
             Starting ecarxinit.service...
    [  OK  ] Started ecarxinit.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    root@dra7xx-evm:~# cd /opt/vision_sdk/
    root@dra7xx-evm:/opt/vision_sdk# source vision_sdk_load.sh 
    [   31.965550] DMA: Module install successful, device major num = 242 
    [   31.972023] DRV: Module install successful
    insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
    Error: I2C Read failed
    Error: I2C Read failed
    Error: I2C Read failed
    ./disableDssInterruptsOnA15.sh: line 11: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 12: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 13: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 14: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 15: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 16: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 17: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 18: COMMANDS: command not found
    ./disableDssInterruptsOnA15.sh: line 19: COMMANDS: command not found
    updated  value is 
    
    
    COMMANDS
    
    	### WARNING ###: use the following [read | write | set bit | clear bit | dump] commands at your own risk!
    	No address check done, may generate:
    	  - bus error (invalid or not accessible <physical address>,
    	  - platform crash/hang (bad <value>).
    
    	    Read any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
    	    Write <value> at any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
    	    Set bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
    	    Clear bit at <position> into any OMAP memory address (register), given its <physical address> or <name> as listed in TRM.
    
    	    Dump a range of OMAP memory addresses, from <start address> to <end address>.
    	    Note all addresses within given range must be valid and accessible.
    
    	### WARNING ###: use the following I2C [read | write] commands at your own risk!
    	No address check done, may generate:
    	  - I2C bus error (invalid or not accessible <physical address>,
    	  - platform crash/hang (bad <value>).
    
    	    Read I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
    
    	    Write <value> in I2C register at address <addr> from I2C chip at <chip-addr> on I2C <bus>.
    root@dra7xx-evm:/opt/vision_sdk# ./apps.out 4
     [HOST]  OSA: MEM: 0: Mapped 0x9fc00000 to 0xb5e68000 of size 0x00100000 
     [HOST]  OSA: MEM: 1: Mapped 0x86203000 to 0xac368000 of size 0x09b00000 
     [HOST]  OSA: MEM: 2: Mapped 0x9fd00000 to 0xac2a8000 of size 0x00040000 
     [HOST]  OSA: MEM: 3: Mapped 0x9fdc0000 to 0xac2e8000 of size 0x00080000 
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
     [HOST]  OSA: IPU1-0 Remote Log Shared Memory @ 0x9fd00000
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0x9fd4f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0x9fd769e0
     [HOST]  OSA: DSP2 Remote Log Shared Memory @ 0x9fd9e280
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0x9fe63da0
     [HOST] [IPU1-0]     16.000305 s:  ***** IPU1_0 Firmware build time 14:20:41 Jan 17 2019 
     [HOST] [IPU1-0]     16.000488 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
     [HOST] [IPU1-0]     16.003080 s:  SYSTEM: System Common Init in progress !!!
     [HOST] [IPU1-0]     16.004117 s:  UTILS: CIO: Init Done !!!
     [HOST] [IPU1-0]     16.004209 s:  SYSTEM: IPC init in progress !!!
     [HOST] [IPU1-0]     16.004300 s:  SYSTEM: Attaching to [IPU2] ... 
     [HOST] [IPU1-0]     16.076770 s:  ***** tda2px IPU2 Firmware build time 14:20:42 Jan 17 2019
     [HOST] [IPU1-0]     16.121454 s:  SYSTEM: Attaching to [IPU2] ... SUCCESS !!!
     [HOST] [IPU1-0]     17.037119 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     18.037150 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     19.037180 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     20.037180 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     21.037211 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     22.037241 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     23.037272 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     24.037302 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     25.037333 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     26.037363 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     27.037394 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     28.037424 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     29.037424 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     30.037455 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     31.037485 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     32.037516 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     33.037546 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     34.037577 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     35.037607 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     36.037638 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     37.037638 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     38.037668 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     39.037699 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     40.037729 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     41.037760 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     42.037790 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     43.037821 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     44.037851 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [HOST  ]     44.831177 s:  SYSTEM: System A15 Init in progress !!!
     [HOST] [HOST  ]     44.831269 s:  OSA_mutexCreate returned with Status = 0
     [HOST] [HOST  ]     44.831269 s:  OSA_mbxCreate returned with Status = 0
     [HOST] [IPU2  ]     16.105776 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
     [HOST] [IPU2  ]     16.108735 s:  SYSTEM: System Common Init in progress !!!
     [HOST] [IPU2  ]     16.118373 s:  UTILS: CIO: Init Done !!!
     [HOST] [IPU2  ]     16.118465 s:  SYSTEM: IPC init in progress !!!
     [HOST] [IPU2  ]     16.118526 s:  SYSTEM: Attaching to [IPU1-0] ... 
     [HOST] [IPU2  ]     16.121454 s:  SYSTEM: Attaching to [IPU1-0] ... SUCCESS !!!
     [HOST] [IPU2  ]     17.118099 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     18.118129 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     19.118160 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     20.118190 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     21.118221 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     22.118251 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     23.118282 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     24.118312 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     25.118312 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     26.118343 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     27.118373 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     28.118404 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     29.118434 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     30.118465 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     31.118495 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     32.118526 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     33.118556 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     34.118556 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     35.118587 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     36.118617 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     37.118648 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     38.118678 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     39.118709 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     40.118739 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     41.118770 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     42.118770 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     43.118800 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     44.118831 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     45.118861 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     45.037882 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     46.037882 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     46.118892 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     47.037912 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     47.118922 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     48.037943 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     48.118953 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     49.037973 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     49.118983 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     50.038004 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     50.119014 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     51.038034 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     51.119044 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     52.038065 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     52.119044 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     53.038095 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     53.119075 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU1-0]     54.038095 s:  SYSTEM: Attaching to [DSP1] ... 
     [HOST] [IPU2  ]     54.119105 s:  SYSTEM: Attaching to [DSP1] ... 
    
    [END] 2019/1/17 14:46:31
    

  • On the other hand, I am very agree with your words "the remote-core must be responsible for de-initialization of all peripherals owned". But, I see the Board_deInit() function is called by Chains_main() function at last. Is it need to be put another place?

    Thanks a lot
    Terence
  • Hi Terence,

    Disabling dsp from Linux device-tree implies the kernel doesn't load the remote-proc firmware (or late-attach the DSP firmware in case of early boot). Thus from the kernel DSP doesn't exist.

    However, when you build Vision-SDK, the IPU assumes the DSP is built (since you indicate this in your apps/configs.<soc_id>_evm_linux_all/cfg.mk). Thus as part of the firmware initialization there is an IPC init which happens, which does a IPC handshake with all remote-cores and thus the IPU expects the DSP to have been loaded and running.
    Now since kernel doesn't load (or late-attach) with the DSP, the communication between IPU and DSP is not established and hence you see the error.

    Regarding board_deInit you can place it at a place which will execute before shutdown. To achieve this you can send a command from Linux to M4 and then run board_deInit. This depends on how you've implemented your application.

    I assume your question pertaining to error on reboot has been answered, and thus will close this thread.

    Regards
    Shravan
  • Hi Shravan,
    Thanks a lot. I understood.