Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-22-2012, 08:57 AM   #91
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
USB downloader mode has a time-out, if no activity is detected withing the set time period, the SoC will be reset.

Software can "fix" that - send downloader mode one valid command (get info will do) -
That will cause it to disable the initial safety timer.

Note: the "time out" is evidently related to clock speed - - its 90 seconds for the i.MX31 (K-DX) and only 30 seconds for the i.MX53 (K4&K5).
knc1 is offline   Reply With Quote
Old 08-23-2012, 03:52 AM   #92
elisaf
Junior Member
elisaf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2012
Location: Pisa
Device: Kindle 3
fail

Hello, I've been trying to debrick my Kindle 3 by following the noob's guide step by step, but so far without success. I downloaded Geekmaster's K3 v3.0.2 firmware and kernel and flashed them with ATK (running on Windows 7 32-bit). According to ATK the flash programming was successful, but my Kindle still won't reboot (and the battery is charged). Actually at step 4 when I clicked the "next" button I got an "USB not detected" error message, but then everything went fine, apparently. Can someone please help me? Thanks in advance
elisaf is offline   Reply With Quote
Old 08-23-2012, 04:20 AM   #93
melib
Junior Member
melib began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2012
Device: kindle3
Quote:
Originally Posted by elisaf View Post
Hello, I've been trying to debrick my Kindle 3 by following the noob's guide step by step, but so far without success. I downloaded Geekmaster's K3 v3.0.2 firmware and kernel and flashed them with ATK (running on Windows 7 32-bit). According to ATK the flash programming was successful, but my Kindle still won't reboot (and the battery is charged). Actually at step 4 when I clicked the "next" button I got an "USB not detected" error message, but then everything went fine, apparently. Can someone please help me? Thanks in advance
Did you extract files from .tar.gz to get .img before rename them to .bin?
melib is offline   Reply With Quote
Old 08-23-2012, 04:32 AM   #94
elisaf
Junior Member
elisaf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2012
Location: Pisa
Device: Kindle 3
Yes, I did.

Last edited by elisaf; 08-23-2012 at 04:46 AM.
elisaf is offline   Reply With Quote
Old 08-23-2012, 08:30 AM   #95
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,216
Karma: 2116649
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
What exactly happens at the stage you shortly described with "still won't reboot"? What screen changes happen, does the LED blink (when not connected via USB), ...?

The images uploaded until now do not include the very beginning of the eMMC partition, which holds a partition table and the boot loader. I think I'll upload an image of those soon, too. I consider it even more likely that those could get broken than I would for the kernel. So, please give the requested description and hold your breath for 1-2 days until I manage to put the partition header/boot loader image somewhere.
hawhill is offline   Reply With Quote
Old 08-23-2012, 08:45 AM   #96
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by hawhill View Post
The images uploaded until now do not include the very beginning of the eMMC partition, which holds a partition table and the boot loader. I think I'll upload an image of those soon, too. I consider it even more likely that those could get broken than I would for the kernel. So, please give the requested description and hold your breath for 1-2 days until I manage to put the partition header/boot loader image somewhere.
In this post, I presume from the context that you mean the "User data area boot partition" (I.E: The one you can read as part of the rest of the user storage area.)

The eMMC of the K3 has two other, hardware, boot partitions.

The device end (client end, kindle, RAM kernel, whatever you call it) does not have the code to access the eMMC control registers required to access the hardware boot partitions.

Something on one of my many todo lists. Extend the downloaded command processor ("RAM kernel") with some general purpose eMMC utilities.

May never happen, I may die before I get around to it.
knc1 is offline   Reply With Quote
Old 08-23-2012, 08:59 AM   #97
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,216
Karma: 2116649
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I don't think the design uses any of these special "MMC partitions". So no, I was merely talking about the first sectors of the default user partition of the eMMC, not to be confused with actual "partitions" referenced in the partition table. The eMMC starts with MBR+partition table, but the partitions referenced in there do not cover everything. Uboot follows that partition table, then the Kernel. However, both are not within one of the partitions referenced in the partition table.
hawhill is offline   Reply With Quote
Old 08-23-2012, 09:05 AM   #98
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
This English language has its faults at times.
HardWarePartitions of the HardWareDevice determined by the HardWareDeviceControlRegisters.

That is as close to German as I can get.

But yes, we are both talking about the same thing.
Them other "partition" thingies.
knc1 is offline   Reply With Quote
Old 08-23-2012, 09:13 AM   #99
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,216
Karma: 2116649
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Ooops. My "no" wasn't in place, since of course you hit the nail right on. I don't think we have a more detailed vocabularies for partitions of different abstraction levels in German than there is in English :-) And in the end, probably everything we talk about is software-defined. Well, in fact such small memory controllers are among the devices where the difference between hardware and software is blurred....
hawhill is offline   Reply With Quote
Old 08-23-2012, 09:34 AM   #100
Pixelpille
Junior Member
Pixelpille began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2012
Location: Neubrandenburg
Device: Kindle 3
Quote:
Originally Posted by hawhill View Post
Hm, you did put the kindle into Downloader mode, right? Does it still show the boy under the tree? Does power cycling or bringing the Kindle into Downloader mode change anything on screen, does the power LED change? Again, this also could be hardware failure.
Nothing changes on screen. Still the boy under the tree. LED also does not change from orange to something else. I've put my K3 yesterday evening back to the wall-charger, will try again this evening if something happens.
Pixelpille is offline   Reply With Quote
Old 08-23-2012, 09:39 AM   #101
elisaf
Junior Member
elisaf began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2012
Location: Pisa
Device: Kindle 3
Quote:
Originally Posted by hawhill View Post
What exactly happens at the stage you shortly described with "still won't reboot"? What screen changes happen, does the LED blink (when not connected via USB), ...?
Hi, when I say that it won't reboot I mean that it remains frozen on the last page I read, just as before the whole debricking procedure. When I slide the power switch the LED blinks but nothing happens no matter how long I hold it. Since it froze, not the slightest screen change has happened. At this point I'm afraid it might be beyond recovery...
elisaf is offline   Reply With Quote
Old 08-23-2012, 09:45 AM   #102
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
If you don't already have a copy, sign-out a copy of: AN3996.pdf from the Freescale site.
(Its one of those free ones that has to be signed for, else I would just post a link to my copy.)

Lots of good information there of the start-up process from power-on-reset through bring up the iROM code.

Such as the SoC setup state.
Interesting things, like there is a single MMU mapping installed, an identity mapping with the four high bits forced to zero giving a virtual memory to physical memory identity map for the lower 32bits of the address space.
You want to access something in the other 60Gbytes of address space, you get to install your own MMU mapping.

Includes a bit-by-bit description of the iROM protocol.

How do they support so many different (usually flash) storage media in the tiny code space used by iROM?
Everything is done "bit serial" and they set the core clock speed to run at the same clock speed of the memory part.
Making synchronous transfers simple. And -
making the user sit there, wondering if anything is happening.

The ATK protocol is in the ATK documentation (they are different).
But your k3flasher info message shows that you already know that.

The only useful thing in this post is the ap-note number.

Last edited by knc1; 08-23-2012 at 09:50 AM.
knc1 is offline   Reply With Quote
Old 08-23-2012, 10:07 AM   #103
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by Pixelpille View Post
Nothing changes on screen. Still the boy under the tree. LED also does not change from orange to something else. I've put my K3 yesterday evening back to the wall-charger, will try again this evening if something happens.
That is normal behavior for a bricked kindle even when it CAN be debricked using the simple debricking method (flashing known good partitions). USB Downloader mode does not write to the eink display. A bricked kindle does not reliably indicate charge status with the power LEDs.

If you are using the 3.0.2 images, be sure that you properly extracted the multi-part zip file. Is the total size of mmcblk0p1 about 350MB?
geekmaster is offline   Reply With Quote
Old 08-23-2012, 10:15 AM   #104
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,995
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by geekmaster View Post
USB Downloader mode does not write to the eink display.
I am learning more about that as time passes.
USB Downloader mode is running the $10 SoC part as if it was a (rather dumb) $1 micro-controller.
It can start up the off-chip ram, the off-chip rom, run the serial or usb port ...
Duh...
That's it folks. (So don't expect it to turn on the battery management or anything else.)
knc1 is offline   Reply With Quote
Old 08-23-2012, 10:20 AM   #105
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by knc1 View Post
I am learning more about that as time passes.
USB Downloader mode is running the $10 SoC part as if it was a (rather dumb) $1 micro-controller.
It can start up the off-chip ram, the off-chip rom, run the serial or usb port ...
Duh...
That's it folks. (So don't expect it to turn on the battery management or anything else.)
It uses limited ($1 microcontroller) functionality that can fit into the on-chip RAM. But you can send code to it over USB Downloader mode (such as my patched u-boot images) that can enable SDRAM, and can load a full linux kernel (with loadable kernel module drivers on initrd). If the kernel contains eink drivers, then it could also talk to eink. You can essentially bootstrap a full OS over USB Downloader mode if you really want to, without even touching the mmc.
geekmaster is offline   Reply With Quote
Reply

Tags
debrick, debricking, howto, kindle 3

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools Small debricking guide for “noobs” silver18 Kindle Developer's Corner 203 12-11-2013 08:29 AM
K4 [HELP] Unsuccessful debricking K4NT jber Kindle Developer's Corner 12 07-08-2012 07:35 AM
K3 How to debricking My kindel 3. gzm001 Kindle Developer's Corner 5 06-27-2012 03:40 PM
I have some questions about K4 touch debricking drjonvargas Kindle Developer's Corner 4 04-22-2012 04:46 PM
kindle touch simple debricking for help non_fox Amazon Kindle 4 04-18-2012 09:32 PM


All times are GMT -4. The time now is 12:01 AM.


MobileRead.com is a privately owned, operated and funded community.