![]() |
#211 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#212 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
|
![]() |
![]() |
![]() |
#213 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Have you yet voted in the "Help Me Poll" ? |
|
![]() |
![]() |
![]() |
#214 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
I did provide the unfinished source for my rockbox sbloader port to kindle for somebody that requested it. That was quite some time ago -- apparently they did not complete it either. It runs enough to talk to the kindle in USB Downloader mode and dump out status messages, but cannot upload and run a uboot image yet. I wanted to do a custom uboot image that can export the serial port and the mmc contents over USB, and expand sbloader to become an SSH-like "USB Downloader" terminal program (so you do not need a serial port to use u-boot bist functions). Too many projects, and too little time... |
|
![]() |
![]() |
![]() |
#215 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Well yes, I read the sticky debricking thread (several times), and I do not see a way to activate fastboot without Windows/MfgTool. The "Select Boot" instructions use MfgTool for win too. Am I wrong?
|
![]() |
![]() |
![]() |
#216 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The fastboot program is available for Linux/Mac/Win. |
|
![]() |
![]() |
![]() |
#217 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Quote:
However, for activating the mode, I understand there is no public tool under Linux, except in the future the sbloader program that geekmaster is working on. The only way is to use MfgTool under Win. Am I correct? |
|
![]() |
![]() |
![]() |
#218 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I think I just that read that in a GM post made today. But that might have been in a different thread. Pull up the list of GM posts for today, see if it is in there. |
|
![]() |
![]() |
![]() |
#219 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
We only use a small part of MfgTool (for windows), and that part is also supplied by sb_loader (and sbloader). |
|
![]() |
![]() |
![]() |
#220 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Thank you to you both for these explanations. That is very clear now.
|
![]() |
![]() |
![]() |
#221 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Here is the original RockBox sbloader.c that I used when I started my port:
http://git.rockbox.org/?p=rockbox.gi...ols/sbloader.c I have made a lot of (debugging) changes to my copy of it, including changing the USB VID/PID to what K4 and K5 USB Downloader mode uses. EDIT: I fixed the URL. My VM has occasional copy/paste problems. Last edited by geekmaster; 06-15-2012 at 01:42 PM. |
![]() |
![]() |
![]() |
#222 |
Member Retired
![]() Posts: 16
Karma: 10
Join Date: Mar 2012
Device: Kindle 4
|
Hello.
Does the data.tar.gz and runme.sh work on Kindle 4 with FW 4.1.0? |
![]() |
![]() |
![]() |
#223 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@kirokko: Not on main, no. There shouldn't be any issues on diags, though
![]() |
![]() |
![]() |
![]() |
#224 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
For example, to access /etc/shadow in main, do this: mount /dev/mmcblk0p1 /mnt/mmc cat /mnt/mmc/etc/shadow |
|
![]() |
![]() |
![]() |
#225 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Linux zealots, rejoice (as I do)! There is cross-platform, small command-line utility to load and run binary code or program images over USB Downloader serial protocol. I.e. tool, which is sufficient to replace MfgTool for forced booting into various boot modes.
It's imx_usb_loader, made and open-sourced by nice guys from Boundary Devices. It depends only on libusb and consists of single .c file. Clone repository, make the tool and follow to my guide of it's work. Note: imx_usb_loader does NOT work on recent Mac OS X, because libusb doesn't support USB HID devices on this OS! Read Kindle 5.3.2 stuck at reboot thread for details. There is the only (and incomplete) official description of tool, I recommend to read it first. imx_usb relies on one main configuration file, containing mapping of VID/PID of supported devices to device configuration files, and, obviously, device configuration file(s). Main configuration file is named imx_usb.conf. This file in repository already contains VID/PID of i.MX508 (Kindle Touch's processor) in USB Downloader mode, however, it's mapped to missed device configuration file mx50_usb_work.conf. So, create missed file with following content: Code:
KindleTouch hid,1024,0x70000000,256M,0xF8000000,128K Empty lines and lines starting from # character are skipped. First line should contain name of device. It's arbitrary string displayed by tool when appropriate device is found. If line contains spaces, only part before first space is displayed by tool. Next line should contain device characteristics separated by comma in following sequence:
Every next [meaningful] line is optional. It should contain path to file to operate with, then colon, then directives, separated by comma. Directives are:
(For definitions of "program image", "DCD", "IVT", "Boot Data Structure", refer to i.MX50 Reference Manual.) Anyway, if path to some file is given as command line argument, these optional lines are skipped (if they were found) and tool loads given file with automatical applying of following directives: dcd, plug, jump header. U-Boot built from Amazon sources is the program image, so it is suited for loading through passing of command-line argument. TL;DR:
Last edited by eureka; 01-12-2013 at 11:18 AM. Reason: imx_usb_loader doesn't work on MacOS X |
![]() |
![]() |
![]() |
Tags |
debricking, kindle mx50 select boot |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bricked Kindle Touch; Won't boot into diags/fastboot | kerotan | Kindle Developer's Corner | 3 | 05-19-2012 10:58 AM |
Kindle Touch does not boot | marmomr | Kindle Developer's Corner | 38 | 05-16-2012 01:19 PM |
Kindle Touch select text, copy paste? | Zimmy | Amazon Kindle | 3 | 02-18-2012 08:45 AM |
Kindle Touch Won't Boot | teekay | Kindle Developer's Corner | 3 | 12-10-2011 12:51 AM |
Opus cannot boot, stuck on boot screen | baloma | Bookeen | 35 | 11-13-2010 04:20 AM |