牛卧堂MCU技术交流
标题:
MA35D1 RTP GPIO_PowerDown喚醒問題
[打印本页]
作者:
匿名
时间:
2024-5-31 15:04
标题:
MA35D1 RTP GPIO_PowerDown喚醒問題
運行RTP GPIO_PowerDown程序, 觸發I/O腳位後. 但M4端無喚醒, 反而A35內核崩潰出現下列訊息. 可能的問題為何?
root@buildroot:/$ [ 1193.427481] remoteproc remoteproc0: stopped remote processor rproc
[ 1201.293872] remoteproc remoteproc0: powering up rproc
[ 1201.299578] remoteproc remoteproc0: Booting fw image GPIO_PowerDown.elf, size 207200
[ 1201.308120] remoteproc remoteproc0: remote processor rproc is now up
root@buildroot:/$
root@buildroot:/$ [ 1285.945765] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 1285.951629] rcu: 0-...0: (13 ticks this GP) idle=5d6/0/0x5 softirq=36839/36841 fqs=14960
[ 1285.959848] (detected by 1, t=60002 jiffies, g=74761, q=11226)
[ 1285.965738] Task dump for CPU 0:
[ 1285.968946] task:swapper/0 state:R running task stack: 0 pid: 0 ppid: 0 flags:0x0000002a
[ 1285.978826] Call trace:
[ 1285.981274] __switch_to+0xe4/0xf8
[ 1285.984634] 0xffff800010d43ed0
作者:
admin
时间:
2024-5-31 17:15
https://github.com/OpenNuvoton/MPU-Family
请从这个地址更新内核、TFA、示例代码
作者:
admin
时间:
2024-5-31 17:18
https://gitee.com/OpenNuvoton
如果GitHub访问有异常 可以去GItee上看下
作者:
匿名
时间:
2024-6-14 17:41
內核已使用Github://OpenNuvoton/buildroot_2024更新. 問題同樣會發生...
TFA的device tree設定
gpio_s = <PM2_SUBM>,
<PK9_SUBM>,
測試後問題發生是在設定GPIO_EnableInt後, GPIO觸發狀態改變後, Linux內核過一陣子出現內核崩潰訊息.
RTP Code :
GPIO_SetMode(PM, BIT2, GPIO_MODE_INPUT);
GPIO_EnableInt(PM, 2, GPIO_INT_FALLING);
NVIC_EnableIRQ(GPM_IRQn);
欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/)
Powered by Discuz! X3.2