embedded - Is it possible to run a flash memory dump from a production device inside of an emulator/simulator for offline debugging? -
i not sure if right forum, or if better suited in different se sub, though figure appropriate place it.
i wondering if there emulators capable of running flash dump directly targets same architecture on device dumped from? instance, if dump taken device(via jtag) running broadcom mips cpu, , contained entire system(bootloader, firmware, filesystem, nvram, etc.) there mount(or should say, load memory) raw image directly, memory , all, , run it, similar how flash onto different device same chip?
i have been looking different software such ovpsim(which "full system simulator" , qemu, though unsure if can run full dump directly.
can shed light on this, can confusing looking @ everything.
i've run embedded-linux systems under qemu in past, don't far. give emulation of cpu core, enough boot kernel, no emulation of "special sauce" around said cpu (e.g. socs may have timers, gpios, i/o interfaces , whole host of other things).
if dead-set on doing this, i'd grab emulator cpu core , write own. how did depend on emulating - either mess older 8/16/32-bit platforms, or qemu modern-day kit.
be wary of expecting these systems. they're great algorithm development , testing (and lesser extent "black box" automated testing) there's point @ plain need hardware.
Comments
Post a Comment