|
|
#721 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,098
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#722 |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
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. |
|
|
|
|
Enthusiast
|
|
|
|
#723 | |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
Quote:
Last edited by eureka; 10-19-2012 at 05:09 PM. Reason: add link to howto about loadb command |
|
|
|
|
|
|
#724 | |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
Quote:
Log of errors is here: Spoiler:
It's just an observation, nothing more. |
|
|
|
|
|
|
#725 |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,290
Karma: 4902879
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
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 | |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,290
Karma: 4902879
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Quote:
). This is documented somewhere deep inside the manual... found it: it's section 6.6 (page 458).
|
|
|
|
|
|
|
#727 | |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
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. I've just lost control because of failed downloading of "big" U-Boot into OCRAM (does MfgTools really allow it?) and posted junk
|
|
|
|
|
|
|
#728 |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
With the help of hammer, chisel and pile of damns I've managed to make ordinary U-Boot that includes fastboot "server", automatically goes straight into fastboot mode on booting and could be loaded with imx_usb_loader. I've used Yifan Lu's fastboot client to get idme var and it worked. But I have no desire to overwrite my partitions now (to test flash command)
Note, that check command will not return real result (as crc32 checking function was removed to decrease file size).Of course, I can't say for sure, whether it really does not require bist U-Boot, as I has no serial console access and can't check the log. So sorry for disappointment if it will not work as described. Report me and I will delete attachment.(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; 10-20-2012 at 11:08 AM. Reason: provide patch |
|
|
|
|
|
#729 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
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.
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() Last edited by geekmaster; 10-20-2012 at 09:24 AM. |
|
|
|
|
|
|
#730 | |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,290
Karma: 4902879
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Quote:
I was trying to do that as well, but miserably failed - good to see that you succeeded and got it to work... really interested in that diff.
|
|
|
|
|
|
|
#731 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
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.
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() Last edited by geekmaster; 10-20-2012 at 09:58 AM. |
|
|
|
|
|
#732 | ||||
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
This PM really needs to be public, so it can help others, and so that others can help:
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
||||
|
|
|
|
|
#733 | |
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
Quote:
|
|
|
|
|
|
|
#734 | ||
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
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).
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
||
|
|
|
|
|
#735 | ||
|
discoverer of principles
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
|
Quote:
Quote:
Spoiler:
Last edited by eureka; 10-20-2012 at 01:03 PM. Reason: name exact version of changed U-Boot |
||
|
|
|
![]() |
| Tags |
| debricking |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| K5 [Kindle touch]help, debricking , can't enter diags mode | zklcy | Kindle Developer's Corner | 26 | 10-24-2012 09:47 AM |
| Help to Unbrick KT with simple debrick Method. | Loko_bielsa | Kindle Developer's Corner | 2 | 07-16-2012 07:26 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 |