View Single Post
Old 06-26-2012, 08:26 AM   #27
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by eureka View Post
@Alb, there is no need for experimenting with RUNME scripts:
  • install (and then enable) USB networking,
  • connect to KT with SSH client (Putty or something),
  • issue
    Code:
    dd if=/dev/mmcblk0p1 of=/mnt/us/p1.img
  • wait some minutes (it's safe to interrupt this process in any time, but you'll get an incomplete image, so be really patient).
It helps a LOT to use a larger blocksize (especially when writing TO mmc you should use the same as the erase block size = 4K).

Do this: dd if=/dev/mmcblk0p1 of=/mnt/us/mmcblk0p1_5.1.1.img bs=4K

It will be less write-wear on the mmc, and it will run a lot faster.

Using the smaller default 512 byte block size for dd does a lot of unnecessary read-modify-write cycles. It is also a good idea to identify the firmware version number, and for a diags partition add "diags" to the filename, to prevent confusion when supporting multiple devices.
geekmaster is offline   Reply With Quote