10-15-2012, 12:38 PM | #676 |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
If i try to run Diag mode i receive the following informations from the serial into the putty window:
U-Boot 2009.08-lab126 (Feb 19 2012 - 05:01:38) CPU: Freescale i.MX50 family 1.1V at 800 MHz mx50 pll1: 800MHz mx50 pll2: 400MHz mx50 pll3: 216MHz ipg clock : 50000000Hz ipg per clock : 50000000Hz uart clock : 24000000Hz ahb clock : 100000000Hz axi_a clock : 400000000Hz axi_b clock : 200000000Hz weim_clock : 100000000Hz ddr clock : 800000000Hz esdhc1 clock : 80000000Hz esdhc2 clock : 80000000Hz esdhc3 clock : 80000000Hz esdhc4 clock : 80000000Hz MMC: FSL_ESDHC: 0, FSL_ESDHC: 1 Board: Unknown Boot Reason: [POR] Boot Device: MMC Board Id: 0000000000000000 S/N: 0000000000000000 *** TODO: Dump protected MMC here *** Invalid board id! Can't determine system type for RAM init.. bailing! |
10-15-2012, 12:43 PM | #677 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
That IS U-boot, it says so on the first line.
Seems to be working pretty well for an erased file. Next, use the published tools to replace your erased serial number and board id. |
Advert | |
|
10-15-2012, 01:13 PM | #678 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Well, but you definitely did erased your Board Id. And U-Boot now doesn't know how to initialize RAM (as shown by log in your next post), so it couldn't proceed further. I guess, one of the ways to recover system would be building of custom U-Boot (from Amazon sources) where selection of RAM initializing code will not depend on Board Id, but rather will be "hardwired". Spoiler:
Oh, but there is an easier way U-Boot also provides command idme: Code:
idme - Set nv ram variables idme <var> <value> - set a variable value idme ? - print out known values Last edited by eureka; 12-22-2013 at 05:33 PM. Reason: new knowledge |
|
10-15-2012, 01:55 PM | #679 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I used a custom u-boot because my K4 had lifted pads for serial input. It was "output only". So I used a custom u-boot with hard-wired idme vars. But with fully functional serial i/o, the idme var commands would certainly be easier than building a custom u-boot.
But you still need to know what values to put there. The amazon techs should be able to tell you your serial and pcbsn, if you can get escalated to a high-level tech who has access to that information. |
10-15-2012, 02:08 PM | #680 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
I have recovered my old values from a log file, but i don't understand how should i set the values with the idme command.
Thank you Quote:
|
|
Advert | |
|
10-15-2012, 02:17 PM | #681 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
idme --help tells commands.
There is an UNDOCUMENTED parameter needed to WRITE them. It is "-d", but on the K4/K5 it only works when booted from diags. I just tested it on the Paperwhite and it also works when booted from main. You can change the boot mode to diags like this: idme -d --bootmode diags I just did that and I am now playing with my Paperwhite diags menu. SSH is disabled on the Paperwhite, as expected. You can also set the idme vars in a diags menu. |
10-15-2012, 02:25 PM | #682 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
If you'll ever get to U-Boot command line, then enter: Code:
idme pcbsn <boardid> idme serial <serial number> |
|
10-15-2012, 02:25 PM | #683 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I see that the Paperwhite diags menu has "Install USB bundle" and "Install Wifi bundle". I tried wifi, and it tried connecting to a router (unknown SSID) then failed with "update*.bin not found"...
It looks like you can install update packages from the diags menu. Perhaps that is what you are supposed to do the the "Install Fastboot bundle" option in the K4/K5 diags menu. Those install options set a mode (fastboot/USB export/wifi) then try to install an update package from there... I wish I could take screenshots from diags. I suppose should make a video of my Paperwhite diags exploration... |
10-15-2012, 02:26 PM | #684 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You need to add "-d" or it will not write those values. And "-d" is not supported when booting from main on K4/K5...
|
10-15-2012, 02:30 PM | #685 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
I was speaking about setting idme variables through U-Boot command line, rather with idme tool in OS environment. U-Boot command doesn't require -d switch (it doesn't even know about it).
|
10-15-2012, 02:31 PM | #686 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
10-15-2012, 02:46 PM | #687 |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
I am not able to enter the U-Boot command line interface. My screen doesn't show nothing.
|
10-15-2012, 02:48 PM | #688 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Which seems sort of dumb, why have recovery features that don't work when the system needs to be recovered? ^^^ A rhetorical question for lab126 ^^^ |
|
10-16-2012, 03:58 AM | #689 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
Quote:
Yes, because of this fail i can't set the idme var in U-Boot command line, the serial can only receive informations from the device. The only solution i can think is to have a custom u-boot with idme vars already known, so i can boot and set back my old values (i have already recovered them from old logs). I have searched in the u-boot sources and it seems that modifying some idme functions to use default values for idme vars instead of loading them from memory should work, but probably it's much more to code than this. The first problem is that i can't find a complete guide for how should u-boot be build to binaries. Can anyone help me with a guide for this or maybe with modified u-boot so i can change back my idme vars? Thank you |
|
10-16-2012, 08:16 AM | #690 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
U-boot needs to be configured for the target machine.
So other than selecting the proper configuration target from the u-boot in the K5 source bundle rather than the u-boot configuration from the DX source bundle . . . . This should 'just work': https://www.mobileread.com/forums/sho...&postcount=276 Once you make (no pun intended) that happen, then you can go about modifying the source code. Just be sure to do a 'make clean' before the 'make <..._config> ; make' step after any changes even though the build scripting does a full dependency test. The cross-compilers for Windows and for Linux are posted in the DIY-KeK environment pool. If running MacOSx, probably running a Linux LiveCD is the best idea. Also follow this thread: https://www.mobileread.com/forums/sho...d.php?t=194025 Although it does not apply to building u-boot, it could be used for that purpose. The reason being that the build scripting forces an "application's gcc" to function as a "standalone (bare metal) gcc" Last edited by knc1; 10-16-2012 at 10:06 AM. |
Tags |
debricking |
|
Similar Threads | ||||
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 |