06-30-2012, 05:39 AM | #16 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
User partition ~= 5x system partition == 2.5 hours ~== 12.5 hours. Does the kindle remain powered (usb or charger) during that time? That is a lot of erase, re-program cycles, the battery might need some help from an outside power source. Is this utility (still) doing only 512 byte writes or did you get it to do 4096 byte writes? Or is the special kernel at the Kindle-end consolidating writes into erase block chunks? Doing 8x(erase, re-program) cycles per erase block chunk size will (perhaps is) a very slow, power hungry, process. Just a few questions for thought before spending 12 hours watching a USB cable light blink. |
|
06-30-2012, 05:53 AM | #17 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 07-01-2012 at 02:23 PM. |
|
Advert | |
|
06-30-2012, 05:57 AM | #18 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Next, we need to find the "magic key" for the DX and DXG. Then see if ATK works with them too. |
|
07-01-2012, 01:35 PM | #19 |
Member
Posts: 22
Karma: 10
Join Date: Jul 2012
Device: Kindle3, Trekstor5
|
Not at home right now and can not try it, but one question that pops up is:
Is the .img file dumped the exact same like the ones one can get on the net or does it contain additional data ?! If I remember correctly the .IMG files did not contain the whole partition data but only what was needed for a backup. |
07-01-2012, 02:26 PM | #20 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
Advert | |
|
07-01-2012, 03:08 PM | #21 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
The "dumping" process is to make dumps, probably useful as backups of original data. Thinking of it, dumping the first ~32MB is probably a good idea in any case. It also serves as a quick test of the connection to the Kindle.
Currently, it's mainly partition images for the root partition and kernels what's floating around. We probably need partition table, eink data, uboot and some other stuff, too. However, in the first few sectors there's also a device identifier, I think. This should probably remain untouched for general-purpose recovery. |
07-01-2012, 03:15 PM | #22 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The eink waveforms are programmed into a chip mounted on the eink flex cable, not in the mmc. The device identifier (pcbsn, serial, and other idme vars) is in the image for K3 and earlier, but on a K4/K5 those areas are write-only (and read as all zeros). To read stuff from those areas you need to get it from a driver /proc interface. Even the idme tool does that (read from a /proc, write to /dev/mmcblk0).
|
07-01-2012, 05:04 PM | #23 | |
Member
Posts: 22
Karma: 10
Join Date: Jul 2012
Device: Kindle3, Trekstor5
|
Quote:
ok...at home...downloaded ATK 1.67 and first problem is "No USB detected" (it is a absolutely bricked K3 3G+WiFi US with nothing coming out of the serial either). Did a hard reset removing the battery, held the power on for over a minute without a battery. When connecting the USB ist finds it for a second and then goes away (Kindle is not recognized) Last edited by WoenK; 07-01-2012 at 06:44 PM. |
|
07-01-2012, 06:53 PM | #24 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The eJTAG group of pads are identified on the board, but the individual pads are not identified as to the signal present. Will take either a fancy (expensive) eJTAG device that self identifies the individual pads - or some hardware guru's time and o'scope. Then all we have to do is discover the registers and register bits functions in the Freescale SoC. Hmm... Didn't you say you had a spare K3 e-ink display for sale? |
|
07-01-2012, 07:09 PM | #25 | |
Member
Posts: 22
Karma: 10
Join Date: Jul 2012
Device: Kindle3, Trekstor5
|
Quote:
I think the problem is that Win7 can not do anything with that SE RINGO thingy and the drivers in the Freescale dir do not seem to be the right ones. edith: Not sure if it was the last reset or the ATK program, but no the USB port goes on and off...which is better then before becaus it was onle once after a reset on for a few secs edith: seems like I need the V1.70 and not the 1.66 I downloaded, which is a bummer, because for the V1.70 one has to register Update:1.66 works fine in XP mode... Update: Have the 1.67 and not the 1.66...I can get to the moment where it would start flashing, but it loses the connection to USB. I seems that I can only find the port shortly after a reset, but Win7 cuts it again because it has no 64Bit driver for it last update before sleep: found V1.70...surely not easy to find and not directly from Freescale ...and also does not include any 64 bit drivers,actually in the windriver dir are the same drivers as in V1.67. Deinstalled it on Win7, installed in virtual PC and there I am at least getting to the flash tool, but the USB port gets disconnected on the Win7 side and reconnects (disconnects exactly the moment I try to dump or program)...absolutely no way to dump or write anything that way.... Not sure if it is the setup or the K3, will try to install XP on another machine... Had Codewarrior installed in the meantime, because it seemed to have the drivers...wasted time ...after 6 hours of fiddling around, I lay my head and rest Last edited by WoenK; 07-02-2012 at 12:05 AM. |
|
07-02-2012, 12:41 AM | #26 |
Kindle Dissector
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Wait. there's usb download mode for the Kindle 3 now?! more information? (PM me if you don't want to talk publicly) thanks!
|
07-02-2012, 12:45 AM | #27 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
I still have not found the "Magic Key" for DX or DXG. I hope we can add the K3 to your "One Button Recovery" tool. Last edited by geekmaster; 07-02-2012 at 12:50 AM. |
|
07-02-2012, 06:14 AM | #28 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Wrong thread? This isn't the one I was viewing before posting! Off-topic message deleted.
Last edited by geekmaster; 07-02-2012 at 06:24 AM. |
07-02-2012, 06:41 AM | #29 | |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Quote:
As ATK writes plain binary images, I have a first question for you: I flashed the uImage you provided in your rescue kernel image installer to my K3. But then: How do I make it export the full MMC? Pressing "E" in the rescue menu just exports the user partition, like the original kernel does. So how am I supposed to trigger the full export? And then I have a simple request: Could you provide this rescue kernel as pure uImage, too? (preferable named as "k3-rescue-kernel-uimage.bin" - ATK will deal better if the file is suffixed with ".bin") |
|
07-02-2012, 10:57 AM | #30 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Code:
core2quad embed $ fdisk -l kindle-hawhill-0x00000000-0x02000000.img Disk kindle-hawhill-0x00000000-0x02000000.img: 33 MB, 33554432 bytes 4 heads, 16 sectors/track, 1024 cylinders, total 65536 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x489339d6 Device Boot Start End Blocks Id System kindle-hawhill-0x00000000-0x02000000.img1 * 7688 1338943 665628 83 Linux kindle-hawhill-0x00000000-0x02000000.img2 1338944 1388095 24576 83 Linux kindle-hawhill-0x00000000-0x02000000.img3 1388096 1404479 8192 83 Linux kindle-hawhill-0x00000000-0x02000000.img4 1404480 7815167 3205344 b W95 FAT32 What is not "standard" is the storage area between the end of the partition table and the start of the first partition. Mapping the contents of that area will take a bit more work by someone. Plus we are not (yet) diddling the eMMC control registers to get copies of the one or two reserved areas. Details in the eMMC data sheet, plus there is a mmc-util program, that with only a little bit of work to include this eMMC device, will give us that information. (one of the driving reasons for DIY-KeK - I want to use it myself) Last edited by knc1; 07-02-2012 at 11:01 AM. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle emulator on Java CDC toolkit | zenob | Kindle Developer's Corner | 2 | 09-18-2011 01:52 PM |
FINDING FILE PATH IN CALIBRE | Berni | Calibre | 3 | 02-05-2011 10:10 AM |
Freescale Smartbook - it's looking pretty nice | Houndx | Alternative Devices | 2 | 03-09-2010 05:23 PM |
Freescale CPU with E Ink controller | wallcraft | News | 1 | 03-01-2010 01:20 PM |
iLiad FOX gui toolkit for Iliad | hansel | iRex Developer's Corner | 2 | 09-15-2008 02:26 PM |