Accessing stock Ubuntu console through UART
This question relates to connecting a USB UART bridge (FTDI, Silabs, Cypress, or any other) to a host computer with a display and using it to access a headless air gapped Up squared computer running the stock Ubuntu 16.04 LTS. One reason users do this is in order to discover or manipulate the network configuration on a headless Up squared computer.
It seems that the Up squared computer has at least three UART interfaces, however it's unclear if all, some, or none of these are accessible from the Apollo Lake SoC.
Please confirm the assumption that UART0 is accessible from the SoC and that it appears in the device tree (/dev/tty*) of the host OS.
How many (UART1, UART2, UARTn?) other UART interfaces exist, and do any of them appear in the device tree of the host OS?
It seems from the published yet poorly detailed specification that the Altera Max 10 FPGA connectes to the Apollo Lake SoC over one or two UART interfaces. Do these interfaces appear in the host OS device tree, and if not then how are these UARTs intended to be used (aside from high level tools with lack of tranparency.)
I assume that Arduino Create environment uses the FPGA accessible UARTs to program the bitstream? Please confirm this and indicate if other command line toos exist that are able to connect to these UARTs and program the bitstream with no need for Arduino Create or other such Internet connected service.
To interface to UART0, is it advisable to plug a 1,27mm pin pitch cable into CN16? What is the pin assignment inside this white coloured connector, in other words which pins correspond with UART0-Rx and UART0-Tx?
Why aren't any of the UART specifications numbered, are the indicated UART contacts on pins 8 and 10 short circuited to those in the 10 pin header connector CN16?
These documentation inadequacies are really confusing and leading to design errors and wasted time.
Hi @michaels ,
You could check the UP2 wiki. Maybe there, you will find more info about the 2 UART interfaces:
- 301 All Categories
- 104 Announcements & News
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 52 Unboxing & Project Sharing
- 24 Tech Updates
- 548 UP Products
- 1 UP Xtreme i12
- UP Squared Pro 7000
- 1 UP Element i12 Edge
- 10 UP Squared V2
- 25 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 44 UP Squared Pro
- 140 UP Xtreme
- 819 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 221 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral