View Single Post
Old 04-07-2012, 09:59 AM   #8
kn007
Member
kn007 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
Quote:
Originally Posted by geekmaster View Post
Actually, you CANNOT flash a main kernel image with fastboot. Although fastboot falsely reports success, it actually only flashes a small PART of the kernel image. You can see this if you watch the serial port messages while you try that command. The main kernel image is too large for fastboot.

You MUST use the dd command after booting from diags, to successfully write a main partition image. If you write main while booted from main, it often does not work correctly because the main partition sometimes writes to its filesystem. Writing to a filesystem and to its raw partition at the same time will damage it to some extent (perhaps too much to repair).You need to reset the boot counter stored in the /var/local partition, or erase the /var/local partition that contains it (mmcblk0p3). You can reset the boot counter with this command at an SSH prompt:

echo 0 > /var/local/upstart/lab126_gui.restarts

There are RUNME.sh scripts posted that can do that for you. You can also erase the boot counter file instead of resetting it to zero.

thanks lot

i will try
kn007 is offline   Reply With Quote