View Single Post
Old 09-23-2017, 09:23 AM   #9
Egor
Junior Member
Egor began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2017
Device: PW2
Hi Guys!

Sorry, it took me for a while to setup everything correctly, so let me post the history - it may be useful for someone.

Issue 1:
I have found out that the fastboot entering issue was caused by Windows. So every time, when I move Kindle PW2 (connected via both USB and TTL) to fastboot by bist fastboot command, it tried to install a new device and kicked off the kindle from fastboot.
Resolution 1: I fixed this by switching to Ubuntu.

Issue 2:
Now I'm able to enter fastboot, but ./fastboot *command* hangs with <waiting for device>
Resolution 2: I used sudo ./fastboot *command* and it works

Issue 3:
I do the following commands:
Code:
sudo ./fastboot flash diags mmcblk0p2.bin
sudo ./fastboot flash diags_kernel diags_kernel.img
sudo ./fastboot flash kernel main_kernel.img
sudo ./fastboot setvar bootmode diags
sudo ./fastboot reboot
And see positive feedback from Kindle:
Code:
bist > fastboot 
Entering fastboot mode... 
USB speed: HIGH 
Connected to USB host!
USB speed: HIGH 
Connected to USB host!
downloading
..done 
flashing diags to MMC1, partition 0
Battery voltage: 4016 mV 
downloading 
done 
flashing diags_kernel to MMC1, partition 0
done. 
Battery voltage: 4019 mV 
downloading 
done 
flashing kernel to MMC1, partition 0
done. 
resetting ...
However, then I do not see DIAGS menu, the kindle just loads as usual and asks about entering into bist or recovery menu.
I have an assumption, that my kindle does not go into diags mode for some reason. I have started to test this assumption and see the following:
While in uboot, I do idme and see
Code:
bootmode: ota
Then I do idme bootmode diags and see
Code:
setting 'bootmode' to 'diags'
but idme still returns
Code:
bootmode: ota
If I try to execute: bootm 0xE41000, Kindle goes to reboot, but it still doesn't load DIAGS menu. Instead I see the following:

Code:
mmcblk0: error -110 transferring data, sector 1044480, nr 32n cm0
mmcblk0: retrying using single block read
...
kinit: Cannot open root device dev(179,2)
kinit: init not found!
Also I run sudo ./fastboot check diags and it returns:
Code:
checking 'diags'...
FAILED (remote: unknown command)
finished. total time: 0.000s
Not sure what it means, maybe it can be useful for you.

Resolution 3 (in progress): I think that my Kindle cannot boot DIAGS mode for some reason or it cannot switch the boot mode to DIAGS. Any ideas how to fix it?

Thank you for your help!
Egor is offline   Reply With Quote