> I agree it's bit scary. However,
>
> dump_image phys memory.img 0x30000000 134217728
>
> currently enables and disables the MMU and caches 239674 times. Isn't
> this also quite scary or is it really harmless?

This suggests that a better approach would be to add a
generic mmu enable/disable (+ report status) command.

Perhaps looking at virt2phys command and implementation
would be a good start?

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 63 25 00

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to