gokrazy framebuffer status (fbstatus)

fbstatus graphically shows the gokrazy system status on the Linux frame buffer, which is typically available via HDMI when running on a Raspberry Pi or a PC.

fbstatus screenshot

This graphical output is helpful to understand:

  1. whether gokrazy booted up correctly
  2. whether gokrazy’s NTP client obtained the correct time
  3. whether gokrazy’s DHCP client obtained an IP address
  4. the current resource usage of the system

Usage

Please refer to the gokrazy quickstart if you are unfamiliar.

Then, add the fbstatus package to your packer command line:

gokr-packer \
	-update=yes \
	github.com/gokrazy/fbstatus \
	github.com/gokrazy/hello \
	github.com/gokrazy/serial-busybox

After your Raspberry Pi reboots, you should eventually see the graphical output from the screenshot above on your HDMI monitor.

TODO

  • show ethernet interface(s) plugged-in state somehow?
  • show service log messages (stdout, stderr)
  • implement different views, switch between the different views via flag (rotate mode, switches every n=60 seconds between views)

GitHub

https://github.com/gokrazy/fbstatus