Monitor Rock64 serial console with PineA64
#5
(07-03-2017, 12:00 PM)MarkHaysHarris777 Wrote: The Rock64 uses a serial console with a baud rate of 1.5M !  This can be a challenge especially if you're used to the 115200 baud rate of the PineA64, or the RPi3. Some of the bridges ( cp2102, ch340g, pl2303hx ) will work at 1.5M but many will not (some ch340g, pl2303ta, cp2104).

In this post I am highlighting the PineA64 as a great serial console monitor for the Rock64, using a modified cat5 ethernet cable. In the pic above you can see the serial console cable plugged into the P-2 bus [brown-gnd pin(6), orange-Tx pin(8), and yellow-Rx pin(10)].  Also visible is the .95m transmission cable that I have been experimenting with:  the solid blue and brown wires are the Tx--Rx  Rx--Tx data lines, and the striped blue|brown are the ground returns;  the ground returns are tied together and each data line is twisted with its corresponding ground.  While this increases the capacitance of the transmission cable it is very quiet and still short enough that the cable is quite effective at 1.5M !



On the other end of the cable is my PineA64 desk machine cabled to the Rock64 on uart(3), /dev/ttyS3;  again the striped ground returns are tied to sold blue (ground) and the solid brown is tied to Tx, while the solid white is tied to Rx  ( see foreground of pic above ) .  I have found that most 'screen' implementations do not support 1.5M, although there is a debian patch to correct this. Minicom and 'cu' are the standard(s) that continue to work time and again, and in this case I am running minicom in a terminal as my serial console software. In addition to setting 1500000 baud rate (ctrl-A o e aaaaaa) I also set flow control OFF (both) and set line wrap (ctrl-A w) and set off cr (ctrl-A a) and set off local echo (ctrl-A e).  The terminal is quite stable and works very well even after being up for several days.



The pic above is my PineA64 desk which I have used as primary computer desk since last November.  Visible is the terminal running minicom over the uart(3) /dev/ttyS3 connected via the modified cat5 transmission cable to the Rock64 prototype board;  cased in the C4Labs Zebra case from Dustin!

The image is ayufan's  gnu+linux ubuntu minimal 0.2.1 running the python suite. Displayed is the AGM PI routine output (taken from "Projects in Scientific Computation" Crandall ; 1994  pp. 11-12) which shows 1010 digits of PI with accuracy of +|- (1) in the last two digits!  Typically the Rock64 will compute this result in an average time of about 460ms. 

Note:   I disassembled a standard cat5 ethernet cable for this project. The other two pairs (orange and green) were used for hook-up wire on my DSKY replica ca. 1967.  I discarded the sheath to make the cable liter and easier to manage around the crap on my desktop. Obviously if you can place the two units next to one another the cable is not necessary; on the other hand, if your lab is spread out across multiple desks (as mine is) this transmission cable is a serial data saver.

Does someone have a explanation why the default serial console baud rate is set to 1.5MB??  Seems absurdly high, given that almost no Linux serial terminal applications support it (and none that I've found so far).  I just downloaded what appears to the the latest version of minicom, 2.7, (which I stopped using years ago because of its ancient / archaic interface), built it from source, and it only lists 115200 in the port settings page as the highest rate.

What version are you using that supports 1.5MB?  Also, I don't have a PineA64, and have no plans to get one, so is there information somewhere for regular Linux users that I missed in my days of searching?

Not having a serial console for boot is a non-starter for me.  I'm now looking for info on how to get setup to build Ayufans' source so I can change the baud rate back to the standard default of 115200.  Any pointers in that direction would be helpful too.


Messages In This Thread
RE: Monitor Rock64 serial console with PineA64 - by rmbusy - 09-09-2017, 12:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 1 114 03-18-2024, 06:56 AM
Last Post: diederik
  Rock64 bricked shawwwn 7 5,452 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 3,864 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 255 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 1,770 04-29-2023, 04:24 AM
Last Post: newestssd
  OpenWRT on the Rock64 CanadianBacon 12 7,791 04-24-2023, 12:40 PM
Last Post: arunkhan
  Rock64 board not working, no HDMI no Ethernet. EDited 3 3,398 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 1,974 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 703 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 907 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 1 Guest(s)