搜索

430

主题

515

帖子

2134

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2134
QQ
发表于 2020-9-28 09:38:52 6855 浏览 0 回复

MT6761/MT6762/MT6765 How to trigger MRDUMP_KEY

长按power key 就可以触发dump,对于解决卡死类的问题有帮助

how to enable?

1、Please find out the platform dts file
  1. example:kernel-4.9/arch/arm64/boot/mediatek/mt6761.dts
复制代码


2、search for mrdump key word and you will see below text
  1.   mrdump_ext_rst: mrdump_ext_rst {
  2. compatible = "mediatek, mrdump_ext_rst-eint";(注意mediatek, mrdump_ext_rst-eint中逗号之后有个空格)
  3. source = "EINT";
  4. mode = "IRQ";
  5. status = "okay";
  6. };
  7. Change as below, saved and rebuild bootimage

  8. mrdump_ext_rst: mrdump_ext_rst {
  9. compatible = "mediatek, mrdump_ext_rst-eint";
  10. source = "SYSRST";
  11. mode = "IRQ";
  12. status = "okay";
  13. };
复制代码

3、How to trigger MRDUMP_KEY

  1. Please long press power key(you may use power + volumn up , but need another patch) for around 9 seconds

  2. Please do have a watch on hand to confirm the time in seconds

  3. Please do not press longer than 15 seconds , if press too long , external PMIC will recognize as battery lost and everything is lost
复制代码




手机微信同号:13682654092
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表