Photonicat TTL,Watchdog,Recovery说明
Revision as of 12:15, 18 August 2023 by Monstercat (talk | contribs)
ttl debug位置
为了方便调试,PCBA中预留了TTL的UART,console debug,速率: 1500000
此处为3个pin,需要自行焊接一个调试口,可以使用 picocom / PuTTY
链接,参数: 1500000bps, 8N1, No Flow Control.
mcu watchdog disable位置
默认有watchdog,在没有喂狗的情况下会重启。短路即可关闭狗。位置如下:
通过 软件 喂狗、或关闭喂狗
也可以通过软件来喂狗或关闭喂狗。
user level 关闭喂狗
参考 https://github.com/photonicat/rockchip_rk3568_openwrt/blob/master/package/lean/pcat-manager/Makefile
- conf文件在本仓库 https://github.com/photonicat/rockchip_rk3568_openwrt/blob/master/package/lean/pcat-manager/files/pcat-manager.conf
- c文件在:https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master/src
如果不运行openwrt,可以自行编译此软件: (管理喂狗、开关机) https://github.com/photonicat/rockchip_rk3568_pcat_manager/tree/master
meson build cd build meson compile wget -O /etc/pcat-manager.conf https://raw.githubusercontent.com/photonicat/rockchip_rk3568_openwrt/master/package/lean/pcat-manager/files/pcat-manager.conf
然后运行
pcat-manager --distro -D
uboot 关闭喂狗
apply 这个patch,关闭watchdog 参考 https://github.com/photonicat/rockchip_rk3568_linux_mainline/blob/master/patches/u-boot/314-rockchip-rk3568-Add-support-for-photonicat.patch