diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/video/fbterm')
-rw-r--r-- | meta-phosphor/recipes-phosphor/video/fbterm/fb.modes | 7 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/video/fbterm/fbterm | 1 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/video/fbterm/fbterm.service | 8 |
3 files changed, 16 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/video/fbterm/fb.modes b/meta-phosphor/recipes-phosphor/video/fbterm/fb.modes new file mode 100644 index 0000000000..dfc51fe973 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/video/fbterm/fb.modes @@ -0,0 +1,7 @@ +mode "800x600-60" + # D: 40.00 MHz, H: 37.879 kHz, V: 60.32 Hz + geometry 800 600 800 600 32 + timings 0 88 40 23 1 128 4 + hsync high + vsync high +endmode diff --git a/meta-phosphor/recipes-phosphor/video/fbterm/fbterm b/meta-phosphor/recipes-phosphor/video/fbterm/fbterm new file mode 100644 index 0000000000..0cf29d433c --- /dev/null +++ b/meta-phosphor/recipes-phosphor/video/fbterm/fbterm @@ -0,0 +1 @@ +FB_MODE=800x600-60 diff --git a/meta-phosphor/recipes-phosphor/video/fbterm/fbterm.service b/meta-phosphor/recipes-phosphor/video/fbterm/fbterm.service new file mode 100644 index 0000000000..2b18c91ef1 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/video/fbterm/fbterm.service @@ -0,0 +1,8 @@ +[Unit] +Description=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 |