We're using an embedded Raspberry Pi that uses a (I2C) 4x20 LCD (character) instead of HDMI.
Since the boot process can take some time I'd like to get something on the LCD as soon as possible to say we're alive. The existing code I have is C++ using the Wiring Pi library so does not need python or any other scripting.
What is the earliest place in the boot process we could run something to init the LCD (I2C) & where would I need to insert this?
While I've written lots of user level code I'm not familiar with the Linux boot process other than auto running a program as the last thing.
initramfs
via/sys
, I'm guessing you could load the I2C driver there as well.