Dear all,
I'd like to ask you for a little help here. I'm running FreeBSD 10.2 on a headless homeserver (ASRock Q1900-ITX MB with Intel J1900 CPU).
I'm trying to build a Remote Access Card using a Raspberry Pi, which should act as a terminal server enabling me to connect to the homeserver using serial console in case the network adapter is down or if I need to debug the boot process.
The homeserver has the following uart hw:
The RPi:
The RPi GPIO uart pins are connected to this module http://www.aliexpress.com/item/RS23...232-chip-line-to-send-Dupont/32467368742.html and then directly to a COM port bracket on the server.
Now I have tested the RPi connection with baud 115200 to a Mikrotik RouterBoard successfully.
Also, connecting my windows laptop to the ttyu0 port on the homeserver with baud 9600 works great, I can see all console output in putty.
The problem is when I connect the RPi to the FreeBSD server, I tried different baud rates but the text gets distorted all the time and also the serial connection is sending some characters to the console so it stops the boot process during the boot menu (I use minicom on the Raspbian distro).
example output:
This is my /boot/loader.conf:
The /etc/ttys
Appreciate any ideas as I mised the era of serial connections thus no much experience...
Mike
I'd like to ask you for a little help here. I'm running FreeBSD 10.2 on a headless homeserver (ASRock Q1900-ITX MB with Intel J1900 CPU).
I'm trying to build a Remote Access Card using a Raspberry Pi, which should act as a terminal server enabling me to connect to the homeserver using serial console in case the network adapter is down or if I need to debug the boot process.
The homeserver has the following uart hw:
Code:
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
Code:
0.134703] Serial: AMBA PL011 UART driver
[ 0.135007] 20201000.uart: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev2
Now I have tested the RPi connection with baud 115200 to a Mikrotik RouterBoard successfully.
Also, connecting my windows laptop to the ttyu0 port on the homeserver with baud 9600 works great, I can see all console output in putty.
The problem is when I connect the RPi to the FreeBSD server, I tried different baud rates but the text gets distorted all the time and also the serial connection is sending some characters to the console so it stops the boot process during the boot menu (I use minicom on the Raspbian distro).
example output:
Code:
25;0H _ ____ ____| | _ \ / ____| __ \
| |___ _ __ ___ ___ | |_) | (___ | | | |
| ___| '__/ _ \/ _ \| _ < \___ \| | | |
0H | | __/ __/| |_) |____) | |__| |
| | | | | | || | | |
|_| |_| \___|\___||____/|_____/|_____/
s` `.....---.......--.``` -/
^+============Welcome to FreeBSD===========+l+o .--` /y:` +.
| | yo`:. :o `+-
.| 1. Back to Main Menu [Backspace]
| 2. Load System [D]efaults | .- ::/sy+:.
| | / `-- /
| Boot Options: | `: :`
| 3. n | `: :`
]odeH.ode... off
in. off
0H25 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ |
õ;0H 0H25;0H 5H
Code:
boot_multicons="YES"
#boot_serial="YES"
comconsole_speed="9600"
console="comconsole,vidconsole"
zfs_load="YES"
kern.geom.label.gptid.enable="0"
cuse4bsd_load="YES"
Code:
$ cat /etc/ttys |grep ttyu0
ttyu0 "/usr/libexec/getty std.9600" vt100 onifconsole secure
#ttyu0 "/usr/libexec/getty std.9600" dialup off secure
Mike