Orange Pi Zero TFT GPS NTP Server
Image
Primarily necessary to enable CONFIG_POWER_RESET_GPIO and CONFIG_POWER_RESET_GPIO_RESTART in the kernel, the image also has all the overlays and software used by this project installed and configured.
This includes chrony, gpsd and fbgpsclock as well as the overlays for a DS3231N RTC, an ST7789V-driven display and a GPIO power switch.
The configuration assumes everything is wired as described in the moonbuggy/Orange-Pi-Zero-GPS-NTP project and a 240x320 display is attached. Everything should work out of the box in that scenario.
It's easy enough to reconfigure if different devices are being used, or if different GPIO pins are used. Just remove the pre-installed overlays from /boot/armbianEnv.txt
and add new ones as appropriate.
Packages
The debs are packages that can be installed in an existing Armbian install, just to update the kernel with the required modules for the GPIO power switch. They can be used in a stock Armbian install, if using the fully-configured image isn't desirable.
Building
The images are built at moonbuggy/sbc-os-images.
The exact configuration steps taken during image creation are in userpatches/customize-image.sh, in the case $BOARD in orangepizero)
section.
To have gpsd installed, the image and debs should be built with:
./compile.sh orangepizero-gps-ntp