View Single Post
Old 08-23-2010, 12:06 AM   #7
Xaphiosis
Connoisseur
Xaphiosis doesn't litterXaphiosis doesn't litterXaphiosis doesn't litter
 
Posts: 52
Karma: 216
Join Date: Apr 2010
Device: PRS-T1
Well done on connecting directly to the port! That port is ttymxc0 on the device I think. If you want to run a terminal on that port, I suggest trying the getty command, something like this:
Code:
/sbin/getty -n -l /bin/sh 115200 ttymxc0 vt102
As for what I did, yeah, I compiled a version of g_serial (otg usb). However, to use it, you must unload g_file_storage and then load g_serial. If you do that, tinyhttp won't run successfully. Also, see the README file.

Since you're connected directly to the serial/debug port, you should be able to do a getty to get a shell on it on boot, which will work even with tinyhttp running.

Does this help you?
Xaphiosis is offline   Reply With Quote