Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2009, 08:57 PM   #1
ebs
Zealot
ebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enough
 
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
Kindle DX-G serial console

For those who will need a serial console - it's relatively simple. Remove plastic cover and you'll see big pads (J9) right next to J23 connector - these are serial lines.
As usual, CMOS/TTL level converter is required (I used small board with MAX232 and external power supply I had from other project). I didn't solder anything - taped wires to the PCB with a scotch tape.
Attached Thumbnails
Click image for larger version

Name:	kindledx_uart_2.jpg
Views:	5646
Size:	526.6 KB
ID:	31375   Click image for larger version

Name:	kindledx_uart_1.jpg
Views:	4235
Size:	674.5 KB
ID:	31376  
ebs is offline   Reply With Quote
Old 06-29-2009, 09:26 PM   #2
unrequited
Zealot
unrequited doesn't litterunrequited doesn't litter
 
unrequited's Avatar
 
Posts: 133
Karma: 118
Join Date: Feb 2009
Device: Kindle 2 DX
Very cool! What are you using this for may I ask? Just another connectivity port besides usb?
unrequited is offline   Reply With Quote
Advert
Old 06-29-2009, 09:30 PM   #3
ebs
Zealot
ebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enough
 
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
Had to recover after botched jar file update
ebs is offline   Reply With Quote
Old 06-30-2009, 06:57 AM   #4
rfog
Guru
rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.rfog ought to be getting tired of karma fortunes by now.
 
Posts: 695
Karma: 2383012
Join Date: Aug 2007
Location: Schiedam (The Netherlands)
Device: Lots of eInk devices and iOS stuff
Quote:
Originally Posted by ebs View Post
Had to recover after botched jar file update
You are my hero!!!!

I think you are doing great things with K!!

Perhaps folders in book viewer?
rfog is offline   Reply With Quote
Old 06-30-2009, 11:25 AM   #5
SalvaG
Enthusiast
SalvaG is on a distinguished road
 
SalvaG's Avatar
 
Posts: 39
Karma: 54
Join Date: May 2009
Location: Spain
Device: Kindle DX
you want everything done, work a little!

P.S. thanks ebs, you rule
SalvaG is offline   Reply With Quote
Advert
Old 06-30-2009, 05:02 PM   #6
brteag00
Junior Member
brteag00 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2009
Device: Kindle DX
First networking over usb, then this. You're the man, ebs. I can't wait to see to what use you're putting all this hacking.
brteag00 is offline   Reply With Quote
Old 07-19-2009, 12:02 PM   #7
chinaet
Member
chinaet has learned how to buy an e-book online
 
Posts: 14
Karma: 84
Join Date: Sep 2006
Device: iliad Kindle DX
great!!! i would try it with usb to ttl convert !, are u think j11 is jtag?
chinaet is offline   Reply With Quote
Old 07-19-2009, 03:41 PM   #8
ebs
Zealot
ebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enough
 
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
Quote:
Originally Posted by chinaet View Post
great!!! i would try it with usb to ttl convert !, are u think j11 is jtag?
J11 is battery connector. I think J9 has JTAG pins
ebs is offline   Reply With Quote
Old 07-22-2009, 03:20 AM   #9
chinaet
Member
chinaet has learned how to buy an e-book online
 
Posts: 14
Karma: 84
Join Date: Sep 2006
Device: iliad Kindle DX
Kindle dx boot log

today,finally,a usb to ttl convert has been attach to kindle dx. I got the boot log from console.

BTW:hi,ebs,can you show me your kindle dx boot log?
Attached Files
File Type: txt kindle_dx_log.txt (11.0 KB, 2331 views)

Last edited by chinaet; 07-22-2009 at 04:51 AM.
chinaet is offline   Reply With Quote
Old 07-22-2009, 06:58 AM   #10
chinaet
Member
chinaet has learned how to buy an e-book online
 
Posts: 14
Karma: 84
Join Date: Sep 2006
Device: iliad Kindle DX
3.Load MMC0 over USB storage

it needs PASSWORD,any one know it?
chinaet is offline   Reply With Quote
Old 08-25-2009, 03:57 AM   #11
dr_g100k
Member
dr_g100k began at the beginning.
 
Posts: 19
Karma: 12
Join Date: Aug 2009
Device: Kindle DX
Quote:
Originally Posted by ebs View Post
Had to recover after botched jar file update
Hello, can You explain recovery process (step by step)

I think I damaged something important.

My Kindle doesn't boot now... Display shows "Kindle is starting up, this can take a minute" since last night
When I press "Home" Kindle is in recovery mode, and I can access it via usb. BUT THERE ARE NO FILES!!! No any folders, It's clear.

I can't remember what exectly I did from serial console. It was 2 steps. Can you show me recovery menu? I think I will remember what items I chose.
dr_g100k is offline   Reply With Quote
Old 08-25-2009, 04:43 AM   #12
ebs
Zealot
ebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enough
 
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
I cannot explain it because it depends on what you actually did.
In my case, I modified U-Boot environment to boot directly to the shell skipping normal systemv init sequence and restored jar file I corrupted.
In other words, you have to be pretty fluent in low-level Linux admin stuff to do what I did, there is no menu or step-by-step instructions (I don't even remember exact commands)
ebs is offline   Reply With Quote
Old 08-25-2009, 11:09 AM   #13
dr_g100k
Member
dr_g100k began at the beginning.
 
Posts: 19
Karma: 12
Join Date: Aug 2009
Device: Kindle DX
Thank you for quick reply.

As I read from U-Boot docs I need add only 1 kernel argument
setenv bootargs $bootargs init=/bin/sh
then boot.

I'try tomorrow. Wish me luck
dr_g100k is offline   Reply With Quote
Old 08-25-2009, 01:26 PM   #14
ebs
Zealot
ebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enoughebs will become famous soon enough
 
Posts: 100
Karma: 629
Join Date: Jun 2009
Location: California, USA
Device: Kindle DX
Quote:
Originally Posted by dr_g100k View Post
Thank you for quick reply.

As I read from U-Boot docs I need add only 1 kernel argument
setenv bootargs $bootargs init=/bin/sh
then boot.

I'try tomorrow. Wish me luck
No, it's not that simple. You have to *add* this to bootargs, otherwise you don't even see anything on serial console.
ebs is offline   Reply With Quote
Old 08-30-2009, 11:12 AM   #15
dr_g100k
Member
dr_g100k began at the beginning.
 
Posts: 19
Karma: 12
Join Date: Aug 2009
Device: Kindle DX
OK. I got serial console again.

As I said I damaged something important
My steps:
from recovery menu

Code:
Menu
====
3. Load MMC0 over USB storage
4. Erase MMC0
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition
E. Export FAT partition
U. Update using rootfs.img.gz or rootfs.img on FAT partition
Q. quit
Choose:  10
I chose "I"
Now my fat partition is clear and primary kernel can't mount rootfs

Is it THE END?

Log from console
Attached Files
File Type: txt failLog.txt (6.0 KB, 1160 views)
dr_g100k is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial console help needed uriziel01 Kindle Developer's Corner 1 12-26-2013 04:21 PM
PE Hardware serial console JTY enTourage eDGe 214 01-11-2013 11:02 AM
PRS-600 Serial console (i.e. shell) over USB Xaphiosis Sony Reader Dev Corner 6 08-23-2010 12:06 AM
serial console goes to sleep - gated clock darron Kindle Developer's Corner 2 12-19-2009 09:52 PM
Serial console BlackRat iRex 3 02-19-2007 05:35 AM


All times are GMT -4. The time now is 12:49 PM.


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