09-27-2012, 10:30 AM | #61 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I'll PM him a bump on it.
|
09-27-2012, 10:40 AM | #62 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
https://www.mobileread.com/forums/sho....php?p=1026623 In which case it is probably not alternating between boots. Last edited by geekmaster; 09-27-2012 at 10:52 AM. |
|
Advert | |
|
09-27-2012, 10:48 AM | #63 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I don't know about the alternation at boot discussion but I think I recall that usage from Yifan Lu's docs somewhere too, if that lends credence any.
|
09-27-2012, 11:09 AM | #64 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
One factor against there being two kernels, each for a specific purpose, is that in the image files under discussion here, the two kernels are bitwise (and checksum wise) identical. Page back a bit in the thread. PS: If you quote someone, please do not change the text of the quote. That includes any emphasis. I already have include the emphasis that I felt was required in my original. The normal practice when adding emphasis in written communications is to make a note of "emphasis added". |
|
09-27-2012, 11:20 AM | #65 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
geekmaster post # 4K (4096) :D
Quote:
I mark portions of quotes and portions of my replies in matching colors, to show what part of my reply refers to which part of the quote. The colors are for matching, not for emphasis. If you follow the link I provided, it links to yifalu's website, where he uses a script that flashes BOTH kernels with his custom kernel, which explains why they would be identical. P.S. I commonly correct common obvious spelling errors in quotes too, instead of inserting "[sic]" after unchanged errors. Embedded editorial comments in a quote, such as [Emphasis added], only makes it harder to interpret the technical content. But color changes do not affect comprehension, so I use that... Last edited by geekmaster; 09-27-2012 at 11:26 AM. |
|
Advert | |
|
09-27-2012, 12:26 PM | #66 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I always liked [sic]
It makes me think of Bill and Ted if they were cool today, which is never a bad thing. : ) |
09-27-2012, 01:22 PM | #67 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Here is the new "Bill and Ted 3" promo: http://www.billandted3.com/ Last edited by geekmaster; 09-27-2012 at 01:31 PM. |
|
09-27-2012, 04:45 PM | #68 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
DX(G) images - mtdblock
mtd_0.bin - U-Boot
mtd_1.bin - uImage kernel mtd_2.bin - Machine specific data mtd_3.bin - U-Boot mtd_4.bin - uImage kernel mtd_5.bin - "unused" (@ 0, rest of device erased) mtd_6.bin - "diag" (@0, rest of device erased) mtd_7.bin - 40 bytes of ARM code, marked as: TMGKTrampoline v1.0.0 mtd_8.bin - "unused" (@0, rest of device erased) Next, puzzle over those two (2) capture files to be posted RSN. |
09-27-2012, 11:53 PM | #69 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Take my double kernel comment with a grain of salt, it's been a good while since I wrote that, and it may not be entirely accurate ^^.
The only thing I'm sure of is that there are two kernels . |
09-28-2012, 12:16 AM | #70 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I have not studied them enough to know in what order they are called. But they do share a common organization structure: They update U-Boot (if available) They update the uImage (if available) They update the system image (if available) And there is scripting for each "set" of U-Boot / uImage (They could have done with fewer scripts if they had duplicated the thing I labeled: "machine specific data" - but they didn't. Since all of this is in the mtdblock device, none of which has a file system that could be mounted during normal operation - it should be "safe" to re-write the contents at any time. In the case of this thread - all that is lacking is the storage addresses as seen from U-Boot and this problem is solved. There are two DX(G) machines involved - one with a working serial port, reported as booting to u-boot (although I suspect it is actually booting the kernel and the kernel is doing a panic halt) ; The other machine - without a serial port, that works normally. Separated by at least 6 time zones. It isn't exactly a "real-time interactive" troubleshooting session. It may take a bit of "peeking" into /dev/mem on the working machine for "known values" of the various images. And then some confirmation by "peeking" from U-Boot (which should be the same - /dev/mem translates from virtual to physical addresses). At this point - getting closer to that noob's DX cure. |
|
09-28-2012, 02:41 AM | #71 | |
Enthusiast
Posts: 42
Karma: 31420
Join Date: Sep 2006
Location: Milky Way galaxy, Orion-Cygnus arm, Sol-III, North America, USA, FL
Device: various iDevices
|
Quote:
I have a new problem that just ate up an additional couple of hours. My serial port has gone silent. With no changes to hardware setup, I suddenly have nothing coming out of the DX. Tried on two other computers with same result. Holding down power key seems to have no effect, though with enough random keypressing I have got into a reboot to happen, and even a recovery console once, but on DX screen only, silence from serial port. To cover the obvious, I have examined my soldering and nothing has changed as far as I can see. Rebooted, tried on different computer, checked drivers, checked sanity. Research tomorrow. |
|
09-28-2012, 03:14 AM | #72 |
Enthusiast
Posts: 42
Karma: 31420
Join Date: Sep 2006
Location: Milky Way galaxy, Orion-Cygnus arm, Sol-III, North America, USA, FL
Device: various iDevices
|
With that, I can perhaps achieve a better description. I believe it does boot the kernel, and without intervention enters a loop as documented in the file I attached above. I can (or COULD) break in at the point where it is possible to enter u-boot. As of now, my serial port appears to have gone silent.
|
09-28-2012, 03:57 AM | #73 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2012
Location: USA, NJ
Device: Kindle DX B004
|
Try to disconnect your serial cable from DX, connect cable's RX directly to TX and type something. If you will not see echoes - something wrong with your usb2ttl, drivers or COMn settings. If usb2ttl works - try to take DX battery off, let it sit for a minute and connect it back.
PS: after fixing your serial ( I hope) - could you please attach the dump of uboot's "printenv" ? Quote:
Last edited by equinox1; 09-28-2012 at 04:01 AM. |
|
09-28-2012, 08:43 AM | #74 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
@equinox1: Be sure to fully recharge your battery. A bricked kindle does not "sleep" and can fully DISCHARGE the battery while it is sitting idle. Try keeping the USB cable plugged into a charger or computer while debricking it with the serial port.
Also, several kindle models seem to have unreliable GND connections on the serial port. It helps to have a USB cable attached to the same host PC as the serial adapter (for an extra ground path). Try that. Last edited by geekmaster; 09-28-2012 at 09:38 AM. |
09-28-2012, 09:11 AM | #75 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Your installed kernel's build date: Thu Sep 16 14:43:09 PDT 2010 The image file's kernel build date: Thu Jan 13 20:13:23 2011, So we can hope that lab126 fixed that problem with the kernel's "panic halt" routine. Then we get an example of **why** an embedded system should not have two **identical** kernels (when they both have the same identical build error): Code:
Hit any key to stop autoboot: 0 boot globals: computed residue = 0x7FA247FC, checksum = 0x0A0B6EA2 boot globals: failed Boot globals invalid. Clearing Using fallback kernel. Clearing boot globals Booting Secondary kernel... ## Booting image at a0400000 ... Means that U-Boot sees mtd_4.bin portion of the mtdblock device mapped into memory address: 0xA0400000 We will not use that information until it can be verified on a known working machine! I'll get with twobob (out-of-band, we have other than Mobileread communications) to work out that verification. Note also that lab126 rebuilt the U-Boot image: Yours: U-Boot 1.3.0-rc3-lab126 (Sep 16 2010 - 14:42:54) Image file's: U-Boot 1.3.0-rc3-lab126 (Jan 13 2011 - 18:13:00) Translation: There is hope for your machine still, all we have to do is a full firmware update using the working U-Boot command prompt. Next: Keep that DX battery charged. DO NOT use the Amazon wall charger! If you can use one of the "high current" USB ports on your Mac, that is alright. Otherwise, just let it trickle charge from the USB port of a powered USB hub. Why: There is a combination hardware/firmware error in the Kindle's charging circuit, that combined with the Amazon wall charger that causes the Kindle's charge controller to self destruct. That happened to my K3 while I was watching it with the factory battery management diagnostic. Amazon has "fixed" that problem in the Kpaperwhite by not shipping the Amazon wall charger and re-writing the "how to keep it charged" section of the Kpw user manual. Edit: You could use a small expect/send script on that serial port to watch for: autoboot: And send a character at the correct time to get into the U-Boot menu. See: http://www.nist.gov/el/msid/expect.cfm It is one of the very basic *nix tools, I am sure you can find a MacOSx version. Last edited by knc1; 09-28-2012 at 09:55 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch unbriking troubles | aguzman | Kindle Developer's Corner | 9 | 09-06-2012 07:23 AM |
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 | Xia | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 11-07-2009 10:06 AM |