您尚未登录。

#1 全志 SOC » [求助]全志V821进入休眠模式,小核跑飞。 » 今天 11:11:53

粗制乱造_0b1cd9a8
回复: 0

一、问题描述

正在学习开发V821的低功耗模式,固件启动介质是TF卡。使用的模板固件是v821-perf2b_fastboot-tina。
开发板是自制的。电源部分原理图参考perf2b,芯片是V821L2-WXX。
硬件未链接摄像头。PL3为配置为唤醒源。
使用SDK为tina-v821-v1.3

1、大核串口日志

root@(none):/# echo 1 > /sys/class/ae350_standby/use_ultra_standby
ac327 send hard syn message: 0x80300202
ac327 receive hard syn message feedback: 0x300202
root@(none):/# poweroff
The system is going down NOW!
Sent SIGTERM to all processes
Requesting system poweroff
ac327 send hard syn message: 0x260202
ac327 receive hard syn message feedback: 0x260202
ac327 send hard syn message: 0x260202
ac327 receive hard syn message feedback: 0x260202
ac327 send hard syn message: 0x280202
ac327 receive hard syn message feedback: 0x280202
[  661.055340] reboot: Power down
ae350_system_reset(): CPU[0] SHUTDOWN
ac327 send hard syn message: 0x80240202
ac327 receive hard syn message feedback: 0x240202

2、小核串口日志

[634.384][PLAT_LOG]STEP_REC_HEAD state: 0x02 attr: 0x02 type: 0x30
[634.385][PLAT_LOG]STEP_REC_LEN cnt: 0x0000 len: 0x0001

[661.080][PLAT_LOG]STEP_REC_HEAD state: 0x02 attr: 0x02 type: 0x26
[661.081][PLAT_LOG]STEP_REC_LEN cnt: 0x0000 len: 0x0001
[661.086][PLAT_LOG]STEP_REC_HEAD state: 0x02 attr: 0x02 type: 0x26
[661.086][PLAT_LOG]STEP_REC_LEN cnt: 0x0000 len: 0x0001
[661.099][PLAT_LOG]STEP_REC_HEAD state: 0x02 attr: 0x02 type: 0x28
[661.100][PLAT_LOG]STEP_REC_LEN cnt: 0x0000 len: 0x0001
[661.112][PLAT_LOG]STEP_REC_HEAD state: 0x02 attr: 0x02 type: 0x24
[661.112][PLAT_LOG]STEP_REC_LEN cnt: 0x0000 len: 0x0001
[661.113][PLAT_LOG]enter ultra standby
[661.116][VIN]csi_link_deinit standby_mode is 1

[661.121][RPBUF_INFO][rpbuf_free_buffer_internal:1391]buffer "isp0_load_rpbuf" (id:2): buffers -> remote_dummy_buffers
[661.132][RPBUF_INFO][rpbuf_free_buffer_internal:1391]buffer "isp0_save_rpbuf" (id:3): buffers -> remote_dummy_buffers
[661.143][RPBUF_INFO][rpbuf_free_buffer_internal:1391]buffer "isp0_ldci_rpbuf" (id:4): buffers -> remote_dummy_buffers
[661.154][ISP]isp0 exit end!!!

[661.157]wlan_fmac_xrlink_deinit start
[661.160]xrlink txrx deinit finish.
[661.164][RPBUF_INFO][rpbuf_free_buffer_internal:1391]buffer "xradio_mtx" (id:0): buffers -> remote_dummy_buffers
[661.174][RPBUF_INFO][rpbuf_free_buffer_internal:1391]buffer "xradio_mrx" (id:1): buffers -> remote_dummy_buffers
[661.185]rpmsg_xradio_deinit
[661.188][RV] [AMP_INFO][rpmsg_unregister_driver:218]Unsupport rpmsg_unregister_driver
[661.874]hal_msgbox_channel_send_data(764): message queue is full for a long time!!!

[661.875][RV] [AMP_ERR][msgbox_ipi_notify:211]rv-vring-ipi: Failed to send message to remote
[661.879][RV] [AMP_ERR][rproc_common_notify:261]rv-vring-ipi (id: 0) notify failed
[662.566]hal_msgbox_channel_send_data(764): message queue is full for a long time!!!

[662.566][RV] [AMP_ERR][msgbox_ipi_notify:211]rv-vring-ipi: Failed to send message to remote
[662.571][RV] [AMP_ERR][rproc_common_notify:261]rv-vring-ipi (id: 0) notify failed
[663.257]hal_msgbox_channel_send_data(764): message queue is full for a long time!!!

[663.257][RV] [AMP_ERR][msgbox_ipi_notify:211]rv-vring-ipi: Failed to send message to remote
[663.262][RV] [AMP_ERR][rproc_common_notify:261]rv-vring-ipi (id: 0) notify failed
[663.270][RV] [AMP_INFO][rproc_common_remove:100]remove rproc...

小核在remove rproc...后,串口循环打印乱码,此时小核应当是跑飞了,电源控制引脚,PL0,PL1,PL2,PL6均未拉低

二、参考资料

[全志在线-V821-Standby-休眠唤醒]https://docs.aw-ol.com/docs/soc/v821/system/standby
参考此资料对代码进行调整。
Tina_Linux_快启功耗管理_开发指南.md.txt

=================分割线===================
请各位大佬有空的时候指导我一下,应当从哪里排查问题。 lol

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发