Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2019, 03:55 PM   #16
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Quote:
Originally Posted by knc1 View Post
Did you notice the build date(s) of the u-boot(s)?
That might well have something to do with the difference in operation.

You objective at this point is the same as before - get the SoC to run its own external RAM.

Check the thread posted by the person who replaced their eMMC with a larger one to see what they had to do at this point (the previous error messages are probably why the SoC's code can't start the external RAM).
See how the other thread fixed those at this point.
I didn't notice the different uboot dates, thanks for pointing that out.

Just to check I understood correctly SoC = "System On Chip" did I get that right? I will read up on that if so, all very new for me but interested to learn

I'll go look for the thread you mentioned, thanks for the pointer.

P.S. I also looked up eMMC = "embedded Multi-Media Controller" basically flash memory with a controller built in. (I'm leaving this here to remind me if I come back to this thread later and also for any other noobs reading this...!)

Last edited by dom123dom; 01-26-2019 at 04:29 PM.
dom123dom is offline   Reply With Quote
Old 01-26-2019, 04:12 PM   #17
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,925
Karma: 18016732
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Yes, that is the meaning of SoC.
The term is fairly old, but didn't come into general use until someone (I forget who) put the equivalent of an IBM PC on a single chip.
The size and complexity of what is on the chip has grown vastly over time.
Like everything else related to usable semiconductor dimensions.


IIRC, PW1 :
https://www.nxp.com/docs/en/data-sheet/IMX51CEC.pdf
knc1 is offline   Reply With Quote
Advert
Old 01-26-2019, 05:06 PM   #18
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Quote:
Originally Posted by knc1 View Post
I see you found the plans to the space shuttle! Looks very complicated to me, they certainly have jammed a lot into it.
dom123dom is offline   Reply With Quote
Old 01-26-2019, 05:11 PM   #19
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
I've built a WinXP guest in virtualbox in the vein hope that the PW1 might get detected as a HID as that's what's mentioned in some of the debricking guides. It didn't.

I did learn how to connect USB ports to VirtualBox guests though so at least I know how to do that now.
https://www.smarthomebeginner.com/install-virtualbox-extension-pack-on-linux-windows/

https://www.smarthomebeginner.com/ac...lbox-guest-os/

And I also learnt how to connect a virtualbox guest to the network for internet access:
https://askubuntu.com/questions/3630...-13-04-as-host
Quote:
Open Virtualbox Manager
Select the machine you cannot get internet on in the left pane
Click the Settings button in the top menu
Click Network in the left pane in the settings window
Switched to Bridged Adapter in the Attached to drop-down menu
Select the name of the network adapter you are currently using on your host machine. I am using wireless so I chose eth0 which is my wireless network adapter. You can check which adapter you are currently using by opening the terminal (CTRL+ALT+T by default) and running ifconfig. It will probably be the eth adapter that shows an inet addr and shows data transfer next to RX bytes.
Under Advanced, make sure the machine is using the Desktop Adapter Type
Under Advanced, make sure Promiscuous Mode is set to Allow VMs
Under Advanced, make sure Cable connected is checked on
Hit OK to save your changes
Start your VM
And I found the drivers for my USB to serial device, which worked under XP.
https://www.ftdichip.com/Drivers/VCP.htm
dom123dom is offline   Reply With Quote
Old 01-26-2019, 05:48 PM   #20
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
I've been looking at this thread:
https://www.mobileread.com/forums/sh...d.php?t=271750

While I was going through the Chinese blog posts it points to I realised my kindle does actually get picked up as a HID in XP, however when I run the MfgTool it does not appear. After selecting the 2 USB ports that show as connected and clicking scan devices both ports still show "No devices connected"

Hmm actually maybe it is some other HID as it doesn't disappear when I unplug the kindle...

I'll try with ubuntu later today instead.

Last edited by dom123dom; 01-26-2019 at 06:23 PM.
dom123dom is offline   Reply With Quote
Advert
Old 01-26-2019, 06:38 PM   #21
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,925
Karma: 18016732
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by dom123dom View Post
I see you found the plans to the space shuttle! Looks very complicated to me, they certainly have jammed a lot into it.
More than just the parts of an IBM PC motherboard these days.
If you think that is something (its 6 years old), look up the SoC part in your cell 'phone.
(actually, there are two, one by Qualcom, which is dedicated to the xmit/receive modem and one by (whoever 'phone manufacturer uses) that does the "smart" part of your 'phone.
Some of which have up to 8 cores (vs 4 cores in your desktop or a lousy 2 cores in your KOA2).
knc1 is offline   Reply With Quote
Old 01-26-2019, 11:40 PM   #22
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
The more I read the more I am concerned I have no idea what the serial number etc. of this device was before it was wiped.....have a feeling I'm going to need that info to recover it...

I've moved onto linux to try to get a fastboot solution but I still can't find a way that doesn't have broken links to images etc.

This post sounds like my situation but he has his previous info and had some help creating a uboot with fastboot.
https://www.mobileread.com/forums/sh...&postcount=765

Quote:
2. I have tryed to load the custom u-boot(fastboot, main, diags) with MfgConfig tool, and becouse i had attached the serial i was able to see that my idme vars board id and S/N were deleted, and becouse of that u-boot couldn't initialize the RAM in order togo further.

To solve this issue i have downloaded the u-boot source code and modified it in order to set my idme vars back (recovered from a previous log). After i have loaded my custom u-boot with MfgConfig all my idme vars were recovered, and now the problem was that i had no kernels, so the boot process go further.

3. I wanted to flash my kernels back with the fastboot tool but now the problem was that fastboot it's included in u-boot bist that was deleted too on my kindle. So from this point i had no options to flash back my kernels until eureka provided a cutom u-boot with fastboot included (Thank you very much for this, fantastic work ).
dom123dom is offline   Reply With Quote
Old 01-26-2019, 11:55 PM   #23
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Aha! This must be why I am not seeing my paperwhite in the MfgTool
https://www.mobileread.com/forums/sh...72&postcount=5

Quote:
MfgTool (or imx_usb_loader, if you're on Linux) is useless for the Paperwhite - these tools operate on the "USB downloader mode" (yes, that's yet another mode) which can't be entered on the Paperwhite.

Use the fastboot tool.
So I actually found this myself earlier today but I don't have a Mac with OSX so I'm not sure how to compile it....any ideas if this can be compiled under Linux instead of OSX?
https://github.com/yifanlu/Fastboot-Kindle
dom123dom is offline   Reply With Quote
Old 01-26-2019, 11:56 PM   #24
Sol Arkite
Connoisseur
Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.Sol Arkite can self-interpret dreams as they happen.
 
Posts: 72
Karma: 20000
Join Date: Oct 2015
Device: KV; PW3 ; PW2 ; k5; KT2
Quote:
Originally Posted by dom123dom View Post
I have no idea what the serial number etc. of this device was before it was wiped.....have a feeling I'm going to need that info to recover it...
If you had the kindle registered with amazon, the device manager will show the serial number even if the device is offline. Good luck with the etc.

Last edited by Sol Arkite; 01-27-2019 at 12:07 AM.
Sol Arkite is offline   Reply With Quote
Old 01-27-2019, 12:40 AM   #25
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Pissing about with Ubunu now, my linux is very limited so more learning...

Trying to install virtualbox Guest Additions so I can share the host folders, had to follow this:
https://askubuntu.com/questions/1035...lation-problem

Basically:
sudo apt-get update
sudo apt-get install build-essential gcc make perl dkms
reboot
eject CD
Use Devices menu install Guest additions and follow prompts.

Now I have the Fastboot code on my linux guest...

Trying to follow this to compile it:
http://webhotel4.ruc.dk/~keld/teachi...tu%20Linux.pdf

failing:
Quote:
~/Documents/Fastboot-Kindle-master$ gcc -o kfastboot fastboot.c
fastboot.c: In function ‘main’:
fastboot.c:414:13: warning: implicit declaration of function ‘fb_queue_check’; did you mean ‘fb_queue_set’? [-Wimplicit-function-declaration]
fb_queue_check(argv[1]);
^~~~~~~~~~~~~~
fb_queue_set
/tmp/cc5NY2ss.o: In function `open_device':
fastboot.c.text+0x347): undefined reference to `usb_open'
/tmp/cc5NY2ss.o: In function `list_devices':
fastboot.c.text+0x3ae): undefined reference to `usb_open'
/tmp/cc5NY2ss.o: In function `setup_requirement_line':
fastboot.c.text+0x75f): undefined reference to `fb_queue_require'
/tmp/cc5NY2ss.o: In function `do_oem_command':
fastboot.c.text+0x8b7): undefined reference to `fb_queue_command'
/tmp/cc5NY2ss.o: In function `main':
fastboot.c.text+0xa99): undefined reference to `fb_queue_display'
fastboot.c.text+0xaf8): undefined reference to `fb_queue_set'
fastboot.c.text+0xbb6): undefined reference to `fb_queue_download'
fastboot.c.text+0xc79): undefined reference to `fb_queue_download'
fastboot.c.text+0xc8a): undefined reference to `fb_queue_verify'
fastboot.c.text+0xd4d): undefined reference to `fb_queue_download'
fastboot.c.text+0xd5e): undefined reference to `fb_queue_flash'
fastboot.c.text+0xd90): undefined reference to `fb_queue_command'
fastboot.c.text+0xdd6): undefined reference to `fb_queue_erase'
fastboot.c.text+0xe21): undefined reference to `fb_queue_check'
fastboot.c.text+0xeed): undefined reference to `fb_queue_download'
fastboot.c.text+0xf00): undefined reference to `fb_queue_command'
fastboot.c.text+0xf32): undefined reference to `fb_queue_command'
fastboot.c.text+0xf92): undefined reference to `fb_queue_reboot'
fastboot.c.text+0xfcd): undefined reference to `fb_queue_command'
fastboot.c.text+0x1005): undefined reference to `fb_queue_command'
fastboot.c.text+0x103d): undefined reference to `fb_queue_command'
fastboot.c.text+0x1062): undefined reference to `fb_queue_reboot'
fastboot.c.text+0x107d): undefined reference to `fb_queue_command'
fastboot.c.text+0x1098): undefined reference to `fb_execute_queue'
collect2: error: ld returned 1 exit status
so I tried the "linuxtool.c" instead, also error messages:

Quote:
~/Documents/Fastboot-Kindle-master$ gcc -o kfastboot util_linux.c
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
not really sure what I'm doing!
dom123dom is offline   Reply With Quote
Old 01-27-2019, 12:43 AM   #26
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Quote:
Originally Posted by Sol Arkite View Post
If you had the kindle registered with amazon, the device manager will show the serial number even if the device is offline. Good luck with the etc.
I bought it from someone who had been given it by someone else...I don't know the history of it. I've txt the guy I bought it from but I'm not expecting a response.

Anyway we'll see what happens if I can get it to fastboot at least...

If I end up trashing it that's not a big deal it was $20 so I'd rather not but my life doesn't depend on it!
dom123dom is offline   Reply With Quote
Old 01-27-2019, 12:49 AM   #27
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Hmm the master sticky has a broken link for linux fastboot.

This page: https://wiki.mobileread.com/wiki/Tools_Index#Debricking

points me here for linux fastboot:
https://www.mobileread.com/forums/sh...d.php?t=174923

which points to this code for linux fastboot, which contains a broken link:

Quote:
sudo wget http://www.sudoforlunch.org/fastboot -O /usr/bin/fastboot && sudo chmod -cvR a+x /usr/bin/fastboot
Quote:
--2019-01-27 16:50:23-- http://www.sudoforlunch.org/fastboot
Resolving www.sudoforlunch.org (www.sudoforlunch.org)... 45.76.185.92, 2001:19f0:4400:768d:5400:1ff:fe8b:9e1e
Connecting to www.sudoforlunch.org (www.sudoforlunch.org)|45.76.185.92|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-01-27 16:50:23 ERROR 404: Not Found.
so I guess I'm back to trying to compile something...which I have no clue how to do! lol
dom123dom is offline   Reply With Quote
Old 01-27-2019, 01:02 AM   #28
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
Maybe I can use this...
https://www.mobileread.com/forums/sh...d.php?t=205430

How do I actually use it on Ubuntu?!

Edit: pinched a bit of chmod from the broken link to sudoforlunch:

Quote:
chmod -cvR a+x /usr/bin/fastboot
Now to figure out how to use it!

Last edited by dom123dom; 01-27-2019 at 01:19 AM.
dom123dom is offline   Reply With Quote
Old 01-27-2019, 01:34 AM   #29
dom123dom
Zealot
dom123dom began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Dec 2018
Location: Sydney, Australia
Device: Kindle Paperwhite 2 WiFi 4Gb 2013 (s/n 9017..)
going to put this down for a while and have a beer instead :P
dom123dom is offline   Reply With Quote
Old 01-27-2019, 02:53 AM   #30
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,925
Karma: 18016732
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
./fastboot
Read and follow the output messages.
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help unbricking a PW1 RoBoKoP Kindle Developer's Corner 51 01-28-2019 07:56 AM
Need help for unbricking PW 5.3.1 szfisher Kindle Developer's Corner 22 07-12-2013 08:38 AM
Help Unbricking K3 with ATK tootie1221 Kindle Developer's Corner 9 08-30-2012 09:07 AM
HELP PLEASE!!! Unbricking EE Yellowman1 enTourage eDGe 8 07-21-2011 08:54 AM
Help Unbricking PE vicinc enTourage eDGe 113 07-16-2011 12:40 AM


All times are GMT -4. The time now is 02:35 AM.


MobileRead.com is a privately owned, operated and funded community.