Hello everyone, the following is my k3 experience.
K3 stucked when boot
One day, my kindle 3 (US 3G) stuck at boot (man under the tree).
Then I buy a usb to serial cable and connect it to my k3 to access serial console.
After kernel loading, I found the following output is repeated.
Platform set to SHASTA_NATIVEMMC-SDIO
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
No debug record limit set
mmc1: Got data interrupt 0x00000020 even though no data operation was in progress.
mxsdhci: ============== REGISTER DUMP ==============
mxsdhci: Sys addr: 0x00000008 | Version: 0x00001201
mxsdhci: Blk size: 0x00000004 | Blk cnt: 0x00000000
mxsdhci: Argument: 0x14080a04 | Trn mode: 0x353a0012
mxsdhci: Present: 0xff880a0a | Host ctl: 0x00000123
mxsdhci: Clock: 0x000e003a
mxsdhci: Int stat: 0x00000020
mxsdhci: Int enab: 0x117f003b | Sig enab: 0x117f003b
mxsdhci: Caps: 0x07f30000
mxsdhci: Present: 0xff880a0a
mxsdhcicardint_sdio_irq=0, cardint_stat=0
mxsdhcisd1_turn_of_dma=0, sd2_turn_of_dma=0
mxsdhciSDIO LPM Counter=1
mmc0 cleared without backup
Then I decide to "unbrick" it, so I press 'Enter' after kernel loaded, and the kindle restore menu appears.
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: 1 -
I press 4 to Erase MMC0, then my k3 won't boot any more. Nothing was backed up.
k3flash uboot, kernel and rootfs
After searching the related threads in this forum, I found this one is useful
https://www.mobileread.com/forums/sho...d.php?t=184310
So I download and build k3flasher-v07.tar.gz(
http://www.mobileread.mobi/forums/at...2&d=1342195426).
The images were got from:
-
http://pastebin.com/Wdw4L7yT
- uboot: partitiontable-header-uboot.img
- kernel:
http://www.mediafire.com/?k45j3h4zg0cap7q
- rootfs:
https://docs.google.com/open?id=0BwJ...jVuM0FXUzd4d00
# uboot.img
sudo ./k3flasher mx35to2_mmc.bin program 0x0 partitiontable-header-uboot.img
# devid.img (I don't have)
# kernel
sudo ./k3flasher mx35to2_mmc.bin program 0x00041000 k3w-kernel-factory.img
# isis.img (I don't have)
# rootfs (started 13:17, completed 15:56, elapsed: 2hours and 40minutes)
sudo ./k3flasher mx35to2_mmc.bin program 0x003c1000 mmcblk0p1-3.0.2-factory.img
# varfs.img(I don't have)
# partition3.img(I don't have)
Only uboot, kernel, rootfs are burned into k3. devid, isis, varfs, partition3 are all absent.
Load MMC0 over USB storage failed
Reset my k3, uboot apears, kernel loading, againl stucked at
Platform Setup Script is: /opt/ar6k/host/support/platformscripts/plat_SHASTA_NATIVEMMC-SDIO.sh
Image path: /sbin
No debug record limit set
mxsdhci: ===========================================
mmc1: Got data interrupt 0x00000020 even though no data operation was in progress.
mxsdhci: ============== REGISTER DUMP ==============
mxsdhci: Sys addr: 0x00000000 | Version: 0x00001201
mxsdhci: Blk size: 0x00000004 | Blk cnt: 0x00000000
mxsdhci: Argument: 0x1408a004 | Trn mode: 0x353a0012
mxsdhci: Present: 0xff880a0a | Host ctl: 0x00000123
mxsdhci: Clock: 0x000e003a
mxsdhci: Int stat: 0x00000020
mxsdhci: Int enab: 0x117f003b | Sig enab: 0x117f003b
mxsdhci: Caps: 0x07f30000
mxsdhci: Present: 0xfe880a0a
mxsdhcicardint_sdio_irq=0, cardint_stat=0
mxsdhcisd1_turn_of_dma=0, sd2_turn_of_dma=0
mxsdhciSDIO LPM Counter=1
I decided to dig rootfs, after reentered kindle recovery menu, press 3 to "Load MMC0 over USB storage". I enter the fiona password, but always fails to login. (echo fiona`echo THE_SERIAL|md5sum|cut -c8-11`) I realized that my serial number has been cleared. The result is that I never get logined.
But how to write the serial to k3?
So, where can I download 'devid.img template', in which I can fill my own serial and mac number in?
Thanks.