MT6761/MT6762/MT6765 How to trigger MRDUMP_KEY
原创
©著作权归作者所有:来自51CTO博客作者Newmobi的原创作品,请联系作者获取转载授权,否则将追究法律责任
长按power key 就可以触发dump,对于解决卡死类的问题有帮助
how to enable?
1、Please find out the platform dts file
example:kernel-4.9/arch/arm64/boot/mediatek/mt6761.dts
2、search for mrdump key word and you will see below text
mrdump_ext_rst: mrdump_ext_rst {
compatible = "mediatek, mrdump_ext_rst-eint";(注意mediatek, mrdump_ext_rst-eint中逗号之后有个空格)
source = "EINT";
mode = "IRQ";
status = "okay";
};
Change as below, saved and rebuild bootimage
mrdump_ext_rst: mrdump_ext_rst {
compatible = "mediatek, mrdump_ext_rst-eint";
source = "SYSRST";
mode = "IRQ";
status = "okay";
};
3、How to trigger MRDUMP_KEY
Please long press power key(you may use power + volumn up , but need another patch) for around 9 seconds
Please do have a watch on hand to confirm the time in seconds
Please do not press longer than 15 seconds , if press too long , external PMIC will recognize as battery lost and everything is lost
更多MTK技术资料,请关注#深圳市新移科技有限公司