openpower/witherspoon: add fbterm package for UART rendering
This change adds a definition for fbterm, customised for rendering UART
data to a local framebuffer device.
fbterm upstream isn't very active - last release was in 2008. So, use a
newer git tree, which includes a couple of fixes and customisations for
our usage in uart rendering.
Change-Id: Ib19e879283548dbe403401b6fecfaaeb8cf74c1c
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/meta-witherspoon/recipes-phosphor/video/fbterm/fbterm.service b/meta-witherspoon/recipes-phosphor/video/fbterm/fbterm.service
new file mode 100644
index 0000000..7b68344
--- /dev/null
+++ b/meta-witherspoon/recipes-phosphor/video/fbterm/fbterm.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Witherspoon UART renderer
+Requires=obmc-console@ttyVUART0.service
+
+[Service]
+EnvironmentFile={envfiledir}/fbterm
+ExecStartPre=/usr/sbin/fbset $FB_MODE
+ExecStart=/usr/bin/fbterm --write-only obmc-console-client