10-18-2012, 08:36 AM | #706 | |
total noob
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: Kindle Touch
|
Quote:
|
|
10-19-2012, 04:52 AM | #707 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
Quote:
Now the problem it's the following: I can't reflash my kernels back with fastboot becouse u-boot bist is missing (kernels and partitions are gone). I can't use the ssh since it's not installed (i'm not sure, never used). Anyway, now i am able to acces U-Boot command line interface with Putty and run commands like idme and also I can access the recovery menu and i have the following options: Menu ==== 3. Load MMC0 over USB storage (doesn't working) 4. Erase MMC0 I. Initialize Partition Table (fdisk) and format FAT O. Format and overwrite FAT partition E. Export FAT partition U. Update using update*.bin file on FAT partition M. Update using update*.bin file on FAT partition of second MMC port D. dmesg / kernel printk ring buffer. Q. quit I have used the option I and E (so i am able to transfer some files through the usb). Also i have downloaded the update 5.1.0.bin and tryed to use option U (I get the message:No updates found: No updates needed). First thing that came on my mind is to use the update 5.1.0.bin. To use this, i think i need to modify the firmware version (the reason of the message "No updates found: No updates needed" ? ) so the kindle use this update (now the firmware is 5.1.0 already). The question is, this update will install my kernels back or u-boot bist? Also, i could modify the custom u-boot again in order to load some data in memory, but i don't know exactly how should i do this, or what data should i load. Also, is it possible to install/use ssh in this condition? Thank you |
|
10-19-2012, 07:58 AM | #708 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Spoiler:
EDIT: oh I was deadly wrong about required defines as I've missed some of them. With additional defines size of u-boot.bin is more than 72kb, so it will not fit into OCRAM. If you're still interested: Spoiler:
Last edited by eureka; 10-19-2012 at 09:46 AM. |
|
10-19-2012, 08:32 AM | #709 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
10-19-2012, 08:47 AM | #710 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
BTW, I think you're right and loading of fastboot.bin (through USB downloader mode) should work as usually. Last edited by eureka; 12-22-2013 at 05:39 PM. Reason: new knowledge |
|
10-19-2012, 09:17 AM | #711 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
Quote:
I didn't tryed sd_loader until now, but as i read, i should be able to do this while in Recovery menu. I will try also to modify the u-boot to load fastboot, as eureka suggested, as soon as i get home. Thank you |
|
10-19-2012, 09:36 AM | #712 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Essentially, mfgtool comes with a GUI to load and start stuff on a Kindle which is in USB downloader mode, and it includes 3 custom u-boot images (fastboot, diags, main). imx_usb_loader does the same, but through a command line. I obviously prefer the latter, because it "just works" on Linux, no need for Windows, no need for Windows driver hell. But if I'm correct, and your device works in USB downloader mode, both should do the job of getting your device into fastboot mode, from where you can follow the "normal" debricking procedure. So use whichever OS/tool you prefer |
|
10-19-2012, 09:52 AM | #713 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
Quote:
The reason it's that fastboot is included in bist U-Boot, and cannot be started because it's missing (tryed in U-Boot command to run bist and nothing happened). As Eureka suggested to load fastboot in U-boot binary should work (at least in theory ). By running fastboot in MfgConfig, the fastboot still need to be loaded by U-boot bist. |
|
10-19-2012, 10:19 AM | #714 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
|
|
10-19-2012, 10:21 AM | #715 |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
EDIT: oh I was deadly wrong about required defines as I've missed some of them. With additional defines size of u-boot.bin is more than 72kb, so it will not fit into OCRAM. If you're still interested:
Spoiler:
[/QUOTE]
Maybe i can get rid of other defines in this case |
10-19-2012, 10:31 AM | #716 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
10-19-2012, 11:18 AM | #717 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The custom u-boot images I built, which are included in the MfgTool profiles, are the first-stage u-boot that fits in OCRAM, with the addition of a single line of code that temporarily sets the bootmode to one of (main, diags, fastboot).
When you use the fastboot version, it initializes SDRAM, and then loads the larger u-boot bist (Built-In Self-Test) from mmc into SDRAM. The kindle fastboot protocol resides in u-boot bist. With an erased mmc, it cannot load and cannot support fastboot mode. It would be possible to create a (more complex) MfgTool profile that can also load u-boot bist over USB. But with existing tools, the easiest method may be to flash mmc (including u-boot bist) over serial. One problem is that the portion of /dev/mmcblk0 that contains u-boot and u-boot bist appears to be all zeros when you make a backup copy of the first 32MB. It may be necessary to export a backup of the mmc using the serial port... Does anybody know how to get a backup image of u-boot bist from the mmc on a K4 or K5? |
10-19-2012, 12:48 PM | #718 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
Quote:
#define CONFIG_MMC_BOOTFLASH_SIZE (14*1024*1024) /* 14 MiB */ #define CONFIG_MMC_BOOTDIAGS_ADDR 0xE41000 #define CONFIG_MMC_USERDATA_ADDR 0x3F000 #define CONFIG_MMC_USERDATA_SIZE (5*1024) #define CONFIG_MMC_BIST_ADDR (120*1024) #define CONFIG_MMC_BIST_SIZE (256*1024) Does this helps? And how i supose to flash it over serial then? Thank you |
|
10-19-2012, 01:14 PM | #719 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
|
|
10-19-2012, 01:53 PM | #720 | |
Member
Posts: 15
Karma: 19998
Join Date: Oct 2012
Device: Kindle touch KT
|
Quote:
Entering fastboot mode.. USB speed: HIGH Connected to USB Host! USB speed :HIGH Connected to USB Host! After this i tryed to run fastboot getvar or other commands and i receive: getvarcbsn FAILED (command write failed (No error)) finished. total time : 0.001s Maybe have you missed something? Or it's a FLAG/PERMISION setted wrong? |
|
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 |