meta-quanta: gbs: add configuration of obmc-console
1. Host serial port 1 to BMC UART1
2. modify the udev rules for console config
Tested: run obmc-console-client and then can redirect
to host console
(From meta-quanta rev: b64af2ce0a7d55ee8a765e44788d3c96fb9ba971)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I20a70ff7e3bed278642d7903f1154664f805c20c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/console/files/80-gbs-nuvoton-sol.rules b/meta-quanta/meta-gbs/recipes-phosphor/console/files/80-gbs-nuvoton-sol.rules
new file mode 100644
index 0000000..3d0670b
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-phosphor/console/files/80-gbs-nuvoton-sol.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="tty", ATTRS{iomem_base}=="0xF0002000", ENV{SYSTEMD_WANTS}="obmc-console@ttyS1" SYMLINK+="ttyS1", TAG+="systemd"
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/console/files/obmc-console.conf b/meta-quanta/meta-gbs/recipes-phosphor/console/files/obmc-console.conf
new file mode 100644
index 0000000..666e66a
--- /dev/null
+++ b/meta-quanta/meta-gbs/recipes-phosphor/console/files/obmc-console.conf
@@ -0,0 +1 @@
+baud = 115200