Re: qi: use \r\n in serial console?

2011-06-24 Thread Harald Koenig
On Jun 24, Timo Juhani Lindfors wrote: so clearly Qi and Linux are sending different line endings. Can somebody else with a debug board confirm? in your linux console, run stty -a and in this output look for onlcr or -onlcr ! for my (non-openmoko) linux this gives stty -a | grep

Re: qi: use \r\n in serial console?

2011-06-24 Thread Timo Juhani Lindfors
Harald Koenig koe...@tat.physik.uni-tuebingen.de writes: * [-]onlcr translate newline to carriage return-newline Yep. that's why a single \n results on \r\n on a real terminal, Indeed. so yes, \r\n *is* the correct output at the more physical layer... So, does the Qi

Re: qi: use \r\n in serial console?

2011-06-23 Thread Fox Mulder
Am 23.06.2011 14:15, schrieb Timo Juhani Lindfors: Hi, if I use picocom -b 115200 /dev/ttyUSB0 to see the boot messages of Qi and kernel I see that the Qi lines are terminated with \n while Linux uses \r\n [1]. I don't know picocom but Linux normally uses \n while windows uses \r\n. So if qi