script echo "HELLO COM1" to /dev/ttyS0 and I get "HELLO COM1" on my serial port set at 115,200 8n1 -- I a Futuredial LG 5350 USB cable (it essentiall has an inline MAX232 converter) for $9 at radio shack, chopped off the cell phone end and connected the YELLOW (RX) wire to pin5, BLUE(TX) to pin7, BROWN(DCD) to pin9 and ORANGE(CTS) to pin13
Now I'm going to start a shell on it, I'll post if that works but I had to throw this out
Sam
HELLO COM1
#
#
#
# ls
bin dos lib lost+found sbin usr
dev etc linuxrc proc tmp
# pwd
/
# cat /proc/cpuinfo
Processor : ARM ARM720T rev 2 (v4l)
BogoMIPS : 36.65
Features : swp half thumb 26bit
Hardware : CL-7312 (Phatnoise v1.1)
Revision : 0000
Serial : 0000000000000000
#
from the following in a hack.sh script
(/bin/sh < /dev/ttyS0 > /dev/ttyS0 2>/dev/ttyS0 &)
The following is printed to serial during a firmware update
could not open drive id file
using V1 offset to /dev/mem
could not open drive id file
using V1 offset to /dev/mem
progpld /dos/blank.bif
programming /dos/blank.bif
*...11 bytes
ok
progpld /dos/prog.bif
programming /dos/prog.bif
*................................................................................................5498 bytes
ok
þcould not open drive id file
using V1 offset to /dev/mem
Woot :-) Congrats! I am ordering a cable now for the same purpose... I think I have the pin-outs for my BMW's GPS unit... If only there was a USB or PCMCIA interface on this thing... I will probably end up running some daemon off the serial port that would let another PC system interface with it (slip/pppoe + sshd). The end goal will be some wireless network integration, with the ability to send commands via the cd-changer head unit. With a support PC, it would be possible to update the DMS over wireless (ip forwarding, ssh forward, etc).
well, first we need to get it so we can boot a different kernel... unfortunately the current one has no module support and no ppp modules ;)
You should be able to do the interface though...
Quotewell, first we need to get it so we can boot a different kernel... unfortunately the current one has no module support and no ppp modules ;)
You should be able to do the interface though...
For what it's worth, I still don't understand why we don't get kernel messages during bootup on the serial interface ... it makes no sense to me. ???
-b
Quote
For what it's worth, I still don't understand why we don't get kernel messages during bootup on the serial interface ... it makes no sense to me. ???
-b
from dmesg:
ttyAM0 at I/O 0x100 (irq = 12) is a CLPS711x
ttyAM1 at I/O 0x1100 (irq = 28) is a CLPS711x
led me to look up ttyAM0 - I found http://wiki.buici.com/twiki/bin/view/Main/ApexBootloader#Serial_Console
to have kernel messages we need console=ttyAM0
See