View Single Post
Old 01-22-2018, 03:27 PM   #14
techanic
Junior Member
techanic began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2018
Device: PW3
Quote:
Originally Posted by knc1 View Post
It looks like it is running to me - what was the problem again?

Is this the one where you had only a partial transfer by fastboot?
partial because fastboot silently fails is the image is too big.
I.E: you may have part of the new image and part of the old image on the device. not good(tm)

Let see if I can give you some hints, with:
Code:
Menu
====
3. Load MMC0 over USB storage
4. Erase MMC0
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Select E - connect USB cable to PC
transfer the amazon update file to top level of visible USB storage
remove cable
(the system will automatically un-export USB storage)
Select M
wait - it should reboot by itself when done.

NOTE:
Do not try to transfer the main rootfs.img file using fastboot - the Kindle fastboot can not handle a file that large (it is larger than available ram as it un-compressed).

You can transfer the kernels and the diags system image - fastboot can handle those file sizes.
(except maybe not on the KOA2 - diags no longer has a partition to itself)
On this device I initially flashed the PW2 images (diags and system) with fastboot only...
But I learned, thanks to you guys!

Since uboot still worked I was able do this:
Export USB:

Code:
Menu
====
3. Load MMC0 over USB storage
4. Erase MMC0
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Choose:    8 \E

USB CONNECTED!!
Charge: 100% [##########################################################]

[FAT32]
1. done
R. reboot
Choose: -still alive...
Charge: 100% [##########################################################]
copy over update_pw3_factory_5.8.9.0.1.bin
Code:
[FAT32]
1. done
R. reboot
Choose: -still alive...
Charge: 100% [##########################################################]

[FAT32]
1. done
R. reboot
Choose: |-1
done

Code:
Menu
====
3. Load MMC0 over USB storage
4. Erase MMC0
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Choose:   8 \M
tried 'M' but nothing happened...
tried 'U' and the following happened:

Code:
/dev/mmcblk0p4:
CHS=4/16/99776 size=3269459968 bytes
flag type      first       last  lba first   lba size
Partition p1:
0x00 0x0b         16 <large>            16    6385648
    CHS: 0/1/1 - <large>
Partition p2:
Partition p3:
Partition p4:

update-J8901-wario_muscat-011.dat:128 f11735a40ba95f8da92d92e6c2ae59a4 imx60_wario/u-boot.bin 2 bootloader_bin
1 d0a877de573980c8fb86b768748d5e46 imx60_wario/uImage 22 main_kernel
128 fe65243f1db67cf165b1d3f3e022d748 rootfs.img.gz 1713 update_image_rootfs
128 3c2d494573d8ec8dbe1546b9797742a1 data.stgz demo_data.stgz voice_data.stgz 4195 update_data_data

update-J8901-wario_muscat-011.dat:EOF

imx60_wario/u-boot.bin 293828     [######################################]
imx60_wario/uImage 2918312    [######################################]
rootfs.img.gz 224645144  [######################################]
data.stgz 549899020  [######################################]
imx60_wario/u-boot.bin 293828     [######################################]
imx60_wario/uImage 2918312    [######################################]
rootfs.img.gz 224645144  [######################################]
data.stgz 549899020  [######################################]
2918312    [######################################]
293828     [######################################]
Charge: 100% [##########################################################]

Menu
====
3. Load MMC0 over USB storage
4. Erase MMC0
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using update*.bin file on FAT partition
M. Update using update*.bin file on FAT partition of second MMC port
D. dmesg / kernel printk ring buffer.
Q. quit
Choose:   3   2   1 /
Menu timeout
BOOTING DEFAULT.
Rest of the log: booting_default.txt

to me this looks not really suspicious... except for the lipc-send-event lines, but I have no idea what they mean.
After booting up the device displays again the screensaver, and nothing more (no touch, no magnet wake up not power button reaction, nothing... just kindle login prompt on serial console.

Problem is since I flashed the wrong diags kernel and image (PW2) I'm not able to JB for further testing... as I've understood so far diags is required for serial JB (since my screen does not work).

I'll try to export the diags kernel and image from another device and re-flash the 'correct' ones, unless you suggest anything else?

Last edited by techanic; 01-22-2018 at 03:28 PM. Reason: typo
techanic is offline   Reply With Quote