![]() |
#721 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Or that is stored in a locked section of the flash, and the code did not unlock it first.
|
![]() |
![]() |
![]() |
#722 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
It could be so. But there are no more appropriate defines in bist U-Boot config to copy (as for me).
BTW, with U-Boot size about 80kb you're overwriting MMU table (which is located right after OCRAM). But it looks like in this case it's not dangerous at all. |
![]() |
![]() |
![]() |
#723 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Last edited by eureka; 10-19-2012 at 05:09 PM. Reason: add link to howto about loadb command |
|
![]() |
![]() |
![]() |
#724 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Log of errors is here: Spoiler:
It's just an observation, nothing more. |
|
![]() |
![]() |
![]() |
#725 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
K5 u-boot bist
FWIW, here's a compiled u-boot bist. It was compiled straight from the Amazon-published sources for the Kindle Touch (i.e., no bells and whistles, no custom modifications).
|
![]() |
![]() |
![]() |
#726 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#727 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
(There were no first or second file, it was the same file, just with two IVT) Hmmm, OK, I was wrong, flash header takes 2 kb (0x800=2048). But anyway, second "file" (i.e. U-Boot itself) is loaded with offset of 0x1000 (4096) from start of free OCRAM area. OK, 2kb is perfectly matching with that table 6-22 from Reference Manual: "eMMC" - "Initial image size: 2Kbyte" All of it certainly isn't a big discovery, as flash_header.S is freely available for researching in board directory in U-Boot sources. ![]() ![]() |
|
![]() |
![]() |
![]() |
#728 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
U-Boot (for Kindle Touch) that includes fastboot "server", automatically goes straight into fastboot mode on booting and could be loaded with imx_usb_loader. Use Yifan Lu's fastboot client for sending fastboot commands.
This U-Boot is intentionally and rudely crippled in an effort to make room for fastboot code. Only following fastboot commands are expected to work: getvar, setvar, download, flash and reboot. Other fastboot commands may not work or return completely wrong result without any warnings or fail in funky way. Serial access to U-Boot console should not work at all. Beginning of old (original) content: Spoiler:
(Patch to original U-Boot source will be provided soon, if it really will work;
just let me day or two to tidy up that mess of impulsive edits UPD: done.)
Last edited by eureka; 12-22-2013 at 12:51 PM. Reason: replace fastboot.bin with new, current version |
![]() |
![]() |
![]() |
#729 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Thanks. This will certainly help those who erased their u-boot bist from mmc. I can't wait to test this out (but not now). Be sure to put it in the Tools and K5 indexes... Again, Thanks! Max karma to you for this post (when it will let me give you some again). ![]() EDIT: I announced your tool in the simple debricking first post. I hope you do not mind hot pink. ![]() EDIT2: I plan to replace the fastboot.bin in the MfgTool package in the Select Boot thread with this fastboot.bin, after I test it and make sure that it works correctly on both K4 and K5. Meanwhile, those who need it can do that themselves. But I prefer using the imx_usb_loader tool these days instead of MfgTool, so I can use only linux on my host PC. Last edited by geekmaster; 10-20-2012 at 09:24 AM. |
|
![]() |
![]() |
![]() |
#730 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
![]() I was trying to do that as well, but miserably failed ![]() |
|
![]() |
![]() |
![]() |
#731 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I replaced fastboot.bin in my local copy of the Select Boot package with eureka's new fastboot.bin. MfgTool was able to start fastboot mode. The linux fastboot tool was able to do "sudo ./fastboot getvar serial" and it showed my kindle serial number.
I was not able (yet) to determine whether it was running fastboot protocol from eureka's u-boot, or if it loaded fastboot from the mmc (the old way). I suppose that I actually need to sacrifice a K5 (and a K4) by erasing mmc to properly test whether this new u-boot is up to the challenge of recovering a kindle in such a sorry state of affairs. Also, we need to test other functions in the new fastboot.bin, to make sure that it flashes the correct locations and lengths in the mmc. EDIT: Even with a few spare K4 and K5 demo kindles, I am (more than) hesitant to erase the mmc in them. ![]() Last edited by geekmaster; 10-20-2012 at 09:58 AM. |
![]() |
![]() |
![]() |
#732 | ||||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
This PM really needs to be public, so it can help others, and so that others can help:
Quote:
|
||||
![]() |
![]() |
![]() |
#733 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#734 | ||
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Another PM relevant to this thread:
Quote:
NOTE: It appears that eureka's standalone fastboot actually did work, and adi23 is close to debricking his "erased mmc" K5 (after he flashes main with dd instead of fastboot). |
||
![]() |
![]() |
![]() |
#735 | ||
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Quote:
Version 2 (current version, it's sufficient to apply it only): Spoiler:
Original (old) version: Spoiler:
Last edited by eureka; 12-22-2013 at 12:31 PM. Reason: add second version of diff |
||
![]() |
![]() |
![]() |
Tags |
debricking |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which one Nook simple touch or Kobo mini? | capuchino71 | Which one should I buy? | 18 | 07-12-2013 05:09 PM |
Sell Kindle Keyboard 3G, Nook Simple Touch | austinmitchell | Flea Market | 5 | 03-01-2013 11:34 AM |
I have some questions about K4 touch debricking | drjonvargas | Kindle Developer's Corner | 4 | 04-22-2012 03:46 PM |
kindle touch simple debricking for help | non_fox | Amazon Kindle | 4 | 04-18-2012 08:32 PM |
Troubleshooting simple kindle touch (and k4nt) debricking method | geekmaster | Amazon Kindle | 0 | 03-02-2012 10:31 PM |