TI中文支持网
TI专业的中文技术问题搜集分享网站

内核软件看门狗重启,怎样才能重启整个系统(A8+DSP+M3)?

环境:dm8168+dvrrdk4.0.0.3
现在想利用看门狗重启整个系统(A8+DSP+M3),但是默认内核自带的系统只是重启了A8核,发现应该是syslink出现异常,
dvrrdk报错,现在想改成重启整个系统(A8+DSP+M3),我应该如何修改驱动源码drivers\watchdog\Omap_wdt.c,谢谢!

Device NOT found : I2C (0xXX): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x58): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5a): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5c): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5d): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5e): Read ERROR !!! (reg[0x08], count = 2)
I2C (0x5f): Read ERROR !!! (reg[0x08], count = 2)
*** TVP5158 probe : END ***
/opt/dvr_rdk/ti816x
[ 19.140000] Unhandled fault: external abort on non-linefetch (0x1808) at 0xf9020000
[ 19.150000] Internal error: : 1808 [#1]
[ 19.150000] last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_RingIOShm/uevent
[ 19.150000] Modules linked in: syslink ad9388a gpio
[ 19.150000] CPU: 0 Not tainted (2.6.37+ #1)
[ 19.150000] PC is at DM8168DUCATIMMU_enable+0x5c/0xa0 [syslink]
[ 19.150000] LR is at DM8168DUCATIMMU_enable+0x28/0xa0 [syslink]
[ 19.150000] pc : [<bf027cec>] lr : [<bf027cb8>] psr: 00000013
[ 19.150000] sp : ccdceff0 ip : 00000000 fp : ccdcf004
[ 19.150000] r10: 00000000 r9 : fffff230 r8 : bf08ca60
[ 19.150000] r7 : d309e000 r6 : bf0bf5b8 r5 : d309b000 r4 : d309b000
[ 19.150000] r3 : d309e000 r2 : f9020000 r1 : 00010000 r0 : bf071157
[ 19.150000] Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 19.150000] Control: 10c5387d Table: 8cddc019 DAC: 00000015
[ 19.150000] Process fw_load.out (pid: 565, stack limit = 0xccdce2e8)
[ 19.150000] Stack: (0xccdceff0 to 0xccdd0000)
[ 19.150000] efe0: bf01f3d8 00000000 ccdcf034 ccdcf008
[ 19.150000] f000: bf027430 bf027c9c 00000008 f9020000 00000000 d309b000 ccdcfe34 ccdcf078
[ 19.150000] f020: 00000008 00000000 ccdcf054 ccdcf038 bf015654 bf027344 ccdcfe34 bf02c99c
[ 19.150000] f040: d30a4000 ccdcfeac ccdcfe64 ccdcf058 bf014dd0 bf0155f8 ccdcfeac 00000000
[ 19.150000] f060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 19.150000] f080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 19.150000] f0a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

因为没有使用到WD_OUT引脚,没有使用硬件看门狗,所以想通过软件看门狗实现系统冷重启,现在默认是warm reset ,想改成cold reset,应该如何修改,谢谢!

Shine:

同帖http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/143292/404629.aspx#404629

赞(0)
未经允许不得转载:TI中文支持网 » 内核软件看门狗重启,怎样才能重启整个系统(A8+DSP+M3)?
分享到: 更多 (0)