博文

目前显示的是 六月, 2013的博文

How to Debug Crash Linux for ARM

It’s known that there are many tools to debug crash Linux for X86 architecture, such as kdump, LKCD, etc. Although many debugging tools claim that they could support ARM architecture, they are unstable. Is there a reliable method for ARM SOC? Yes, this blog will show a stable method for debugging ARM Linux. There is a premise that you could dump the memory snapshot by some assistive hardware tools when crash happen. This premise is easy for ARM SOC company. This method for debugging ARM Linux is to compose a crash image and analyze the crash kernel with the aid of Crash Utility. Now I will explain this method by step. 1.        Build Linux Kernel for ARM SOC. Please make sure that the feature kexec and debug info are enable. ·          Boot options  --->  ·          [*] Kexec system call (EXPERIMENTAL) ·       ...