Hi List,
Just thought I'd share my experience of setting up a sl-c1000 for development work.
I am doing kernel driver hacking, and I was losing the kernel panic and printk output, so I needed a serial console.
Unfortunatly this was not as easy as it seems!
To get this to work, you need to recompile the kernel with Console support on
serial device option, and you also need to hack printk.c to add the ttyS0 device in register_console(), as the kernel command line options seem to get ignored.
You should then be able to get serial output at 9600,8,n,1 with no flow control.
(Note I only updated the kernel, not the modules)
To actually get the serial output from the device, you need either a sharp serial
cable, which I believe work, or to make up your own cable. I made up my own.
To get the connector I bought a cheap usb sync and power cable for the 5500,5600,6000,C860
This connector is documented for the c700 on the sharp website, but does not appear to be exactly the same for the c1000. The uart pins, gnd and VCC
are the same though.
TXD - 3
RXD - 4
GND - 8
VCC - 11 (3.3V)
(You could make up a complete RS232 interface if you wanted, but this is not
needed for just simple input and output. You would want the pins:
RTS - 5
CTS - 6
DSR - 7
DTR - 14)
You then need a RS232 level shifter chip to change this to +-12V.
Also these signals are the opposite sense to most designs - at idle the lines are at 0v, not 3.3v.
So if you have a level shifter which has an inverter built in (as most do), you need to invert the signals to and from the zaurus.
Hope this helps someone! I can now read my whole panic, and copy and paste the
backtrace, so I'm happy!
Thanks,
Tim