From a2980758e60926d71d5b6232457a4b7fdd5e1f25 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 21 Mar 2017 15:39:13 -0400 Subject: [PATCH] Fix small typo --- content/post/a-raspberry-pi-bmc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/post/a-raspberry-pi-bmc.md b/content/post/a-raspberry-pi-bmc.md index a5daad6..1af0181 100644 --- a/content/post/a-raspberry-pi-bmc.md +++ b/content/post/a-raspberry-pi-bmc.md @@ -75,7 +75,7 @@ To keep everything neat, I used a through-hole solderable breadboard to mount al The software side started out as a basic Raspbian system, however I wanted to make it a little more "BMC-like", in a sense stripped-down and easy-to-use with a small set of commands. I started by writing a simple "shell" emulator in BASH, and using a constant loop and hostname prompt along with `stty` to keep it focused and running. Each command triggers a function which performs its specific job and then returns to the "shell". While `bash` is available also, it should rarely be needed. -The actual software doing the heavy lifting is a combination of `screen`, to view the host system serial console, and the `gpio` utility by WiringPi (Debian package `wiringpi`). The `screen` session is configured to start automatically at BMC boot to ensure all serial output is captured and stored for later analysis - a major problem with the (few) SSH-based BMCs I've tried! The `gpio` program makes writing and reading the GPIO pins simple and easy, returning 0 or 1 for the low/high states and easily writing states. By writing the BMB shell in `bash`, I was able to get all the flexibility I wanted without any programming overhead; the whole thing is under 200 lines. +The actual software doing the heavy lifting is a combination of `screen`, to view the host system serial console, and the `gpio` utility by WiringPi (Debian package `wiringpi`). The `screen` session is configured to start automatically at BMC boot to ensure all serial output is captured and stored for later analysis - a major problem with the (few) SSH-based BMCs I've tried! The `gpio` program makes writing and reading the GPIO pins simple and easy, returning 0 or 1 for the low/high states and easily writing states. By writing the shell in `bash`, I was able to get all the flexibility I wanted without any programming overhead; the whole thing is under 200 lines. (Pictured: an example session with `bmc.sh`)