收录:
摘要:
Usually, the network device firmware run and debug directly on the development board. In order to save costs and improve test equipment to test the efficiency of embedded software systems. In this paper, QEMU open source instruction-level simulation software as hardware simulation platform. However, because the operating system kernel address contained in the firmware is a direct mapping, so that the firmware can't run and debug directly in a virtual simulation environment. In this paper, represented by MIPS architecture platform TP_LINK router firmware, we propose an effective method that MIPS architecture kernel by self-compiled, unpack the router firmware, add debugger, repack make root file system. Finally, mounting the root file system to self-compiled kernel. Through experiments, the paper realized the network device firmware binary image file to run and dynamically debug tracing object program. The experiment process and the results show that this method is effective and feasible.
关键词:
通讯作者信息:
电子邮件地址: