1

I am investigating the pimoroni keybow little keyboard. The system is powered by a raspberry pi zero, and pimoroni provides an sdcard system, available on github at https://github.com/pimoroni/keybow-firmware

What I am trying to understand is how the system performs the boot process and in particular how the control is trasferred to the keybow executable. This executable is compiled C code that hooks into a lua interpreter. However, it's not clear to me how the system transfer the execution to it. I tried grepping, but I could find no explicit mention of the "keybow" executable anywhere.

1 Answers1

1

Relevant scripts / config files are hidden inside the boot ramdisk image, initrd. This file is XZ-compressed, this is why grepping it doesn't reveal anything.

Once extracted and mounted, you'll find /etc/systemd/system/keybow.service which starts /usr/bin/keybow

Dmitry Grigoryev
  • 28,277
  • 6
  • 54
  • 147