![]() |
#61 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Ooh! Another place to test for a bootmode pin (i.e. "magic key" for usb downloader mode)! We just need a hacked USB cable plugged in while it boots, to see if it presents a freescale USB VID (15a2, as I recall) instead of a lab126 (1949, as I recall). If just a short, a standard OTG cable ought to do the trick. I will try that in the morning when no risk of waking spouse (3:40am here). I tried everything else. It is *possible* they are looking for a particular value of resistor across the USB OTG sense pin though (other than a 0-ohm short common in OTG cables), depending on the circuitry tied to that USB pin.
|
![]() |
![]() |
![]() |
#62 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Yeah, I have that problem too. Life adjustments suck additional time, when time flies by faster than it used to (perceived time = measured time / life span).
I have a LOT of catching up to do around here, especially if I want to do dev work at the kernel level (or perhaps a custom boot loader, which fascinates me more, close to the bare hardware). The SDRAM init based on serial number was totally fascinating to me when I did custom uboot 'idme bootmode' patches for MfgTool (later used in kubrick). Now that I have a PW3, I was testing the "USB BOOT" pads (no luck), hoping to see if the uboots I did would work on the PW3 as well as K3/K4/K5. If now, new patched uboots would be in order. There are TWO bootmode pins in the SoC, so perhaps that (unpolulated) switch inside AND a special OTG USB plug? Worth a try! I do not recall reading this particular thread before, but it is full of stuff very interesting to me now. So much to study, so little time. Last edited by geekmaster; 05-13-2016 at 04:56 AM. |
![]() |
![]() |
![]() |
#63 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jun 2016
Device: pw3
|
Hi! I guess I soft-bricked my PW3. I am not sure if it's good to start a new thread or continue this one.
I jail-broke my PW3 5.6.5 and install KUAL+, usbnet etc, I also installed latest busybox downloaded from busybox.net Then I found that all books/KUAL shows "error not found" (can't remember the full message). I entered diags mode, and found that the partition 4 may be corrupted, so I formatted it into vFAT. I also mounted partition 1 and removed the root lock (!) and left the password blank in /etc/shadow. Then I left my PW3 on the table and take a nap Next day, when I woke up and continued. I found that the console shown these error repeatedly Code:
[78668.128343] mmc0: Controller never released inhibit bit(s). [78668.140806] mmcblk0: error -5 sending status command, retrying [78668.151792] mmcblk0: error -110 sending status command, retrying [78668.160333] mmcblk0: error -110 sending status command, aborting [78668.166352] end_request: I/O error, dev mmcblk0, sector 524088 Not sure if I still have chance to boot it into Fastboot. Moreover, it seems Windows has no driver for Kindle in fastboot mode, does Linux have drivers out-of-the-box? Which generation of PW can use these images? (1 or 2 or 3 only, or for both 2 or 3)? https://ixtab.tk/kindle-touch-images/PaperWhite/ Last edited by damon12; 06-22-2016 at 11:37 AM. |
![]() |
![]() |
![]() |
#64 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jun 2016
Device: pw3
|
I guess the command for flashing in fastboot mode should be these?
Code:
./fastboot flash system fwo_rootfs.img ./fastboot flash kernel uImage.img |
![]() |
![]() |
![]() |
#65 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
The previous version sometimes copied too little data, which was worse. I will fix that, if I can figure out where to chop it, and I will add the cpio extraction seaniko7 posted to my thread too, I think. I need to track down this "mkimage" of which you speak, to test my changes...
Last edited by geekmaster; 06-22-2016 at 01:08 PM. |
![]() |
![]() |
![]() |
#66 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Jun 2016
Device: pw3
|
Quote:
![]() Code:
uboot > idme Warning: fail to get ext csd for MMC! idme_get_var ERROR: couldn't switch to boot partition serial: Warning: fail to get ext csd for MMC! idme_get_var ERROR: couldn't switch to boot partition mac: Warning: fail to get ext csd for MMC! idme_get_var ERROR: couldn't switch to boot partition sec: Warning: fail to get ext csd for MMC! idme_get_var ERROR: couldn't switch to boot partition pcbsn: Warning: fail to get ext csd for MMC! idme_get_var ERROR: couldn't switch to boot partition bootmode: Warning: fail to get ext csd for MMC! idme_get_var ERROR: couldn't switch to boot partition postmode: Code:
uboot > bist Warning: fail to get ext csd for MMC! ERROR: couldn't switch to boot partition |
|
![]() |
![]() |
![]() |
#67 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#68 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@GM: Quick braindump: if you have time to spare, double-check that the cpio extract stuff still works properly with current FW versions, I think we discussed somewhere that, at least for extracting the initramfs, it wasn't doing the job anymore.
|
![]() |
![]() |
![]() |
#69 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jun 2016
Device: pw3
|
|
![]() |
![]() |
![]() |
#70 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
If it was mine, I would connect to the serial port and see what debug messages are being output to the serial console. That last lines before it stops would be of primary importance in solving the problem. Especially things that look like error messages. |
|
![]() |
![]() |
![]() |
#71 | |
Member
![]() Posts: 20
Karma: 10
Join Date: Jun 2016
Device: pw3
|
Quote:
Code:
U-Boot 2009.08-lab126 (Apr 15 2015 - 07:37:55) CPU: Freescale i.MX6 family TO0.0 at 996 MHz Temperature: 35 C, calibration data 0x54d4dd5f mx6sl pll1: 996MHz mx6sl pll2: 528MHz mx6sl pll3: 480MHz mx6sl pll8: 50MHz ipg clock : 66000000Hz ipg per clock : 66000000Hz uart clock : 80000000Hz cspi clock : 60000000Hz ahb clock : 132000000Hz axi clock : 198000000Hz emi_slow clock: 22000000Hz ddr clock : 396000000Hz usdhc1 clock : 198000000Hz usdhc2 clock : 198000000Hz usdhc3 clock : 198000000Hz usdhc4 clock : 198000000Hz MMC: FSL_ESDHC: 0,FSL_ESDHC: 1,FSL_ESDHC: 2 Board: Muscat WFO Boot Reason: [ POR ] Boot Device: NAND Board Id: 067020915307021L S/N: G090GXXXXXXXXX I2C: ready DRAM: 512 MB Using default environment In: serial Out: serial Err: serial Quick Memory Test 0x80000000, 0x1fff0000 POST done in 111 ms Low battery voltage=3492mV, please plug in charger and wait.. battery voltage=3467mV battery voltage=3610mV Battery voltage: 3673 mV Hit any key to stop autoboot: 0 mmc read failed ERROR: couldn't read boot image from flash address 0x41000 Wrong Image Format for bootm command ERROR: can't get kernel image! |
|
![]() |
![]() |
![]() |
#72 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#73 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Erased flash (I.E: un-programmed locations in the erase block) are "FF" (all ones - not all zeros). When you hit the first non-FF byte - call that end of file and throw everything skipped away. Expect that prior (last of the FF sequence) to be on a 4-byte boundary). The trimmed file will pass the mkimage internal checksum tests when everything works out as intended. |
|
![]() |
![]() |
![]() |
#74 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
- - - - Not pleased with that result, we take aim at the ankle . . . . = = = = 1) If not happy with USB storage area - Zero the first 16 sectors (wiping the mbr and partition table) and then re-boot. The re-boot initialization will detect the 4th partition as un-formatted and "do the right thing" - That storage partition is formatted with a special combination of options not available in the utilities you usually find on a PC. 2) Don't even think about those - With the exception of any diags images. Use the main system images posted by Amazon. I.E: Any Update_*.bin file of your choosing + KindleTool to open it. |
|
![]() |
![]() |
![]() |
#75 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW3 - First Look | knc1 | Kindle Developer's Corner | 23 | 02-03-2018 05:54 PM |
PW1 vs PW3 | apastuszak | Amazon Kindle | 8 | 12-10-2015 05:51 PM |
Duokan on PW3? | Feitosa | Amazon Kindle | 8 | 07-30-2015 10:34 AM |
Firmware Update Firmware of PW3 | Grey Ram | Amazon Kindle | 5 | 07-10-2015 03:25 PM |
Need help to unbrick KV | dhfmd | Kindle Developer's Corner | 5 | 03-04-2015 03:58 PM |