Fix wrong write destination offset for RAM dump
The memory dump script didn't align the emulated physical memory space correctly with the dumped memory counterpart. That's fixed now.
This commit is contained in:
parent
8703a97059
commit
8127c67d30
|
@ -22,7 +22,7 @@ echo "dump memory upper.bin 0xc0000 0x400000" | gdb --core=memory.dump -q
|
||||||
|
|
||||||
truncate memory.bin --size 64M
|
truncate memory.bin --size 64M
|
||||||
dd if=lower.bin of=memory.bin
|
dd if=lower.bin of=memory.bin
|
||||||
dd if=upper.bin of=memory.bin seek=131072
|
dd if=upper.bin of=memory.bin seek=1536
|
||||||
|
|
||||||
rm lower.bin
|
rm lower.bin
|
||||||
rm upper.bin
|
rm upper.bin
|
||||||
|
|
Loading…
Reference in New Issue