cmprovision icon indicating copy to clipboard operation
cmprovision copied to clipboard

Progress on flashing

Open neil-benn opened this issue 8 months ago • 1 comments

Hello,

I'm trying to work out if I can turn an LED on when a board is being flashed and turn it off when it has finished. I was thinking of using the pre and post install scripts and raspi-gpio configure a gpio to output and drive it high/low with the scripts.

I think that the pre/post install scripts are run on the target RPi however a simple command of raspi-gpio set 17 OP dh in the script doesn't work. Is it possible for the pre install scripts to access the GPIO hardware or am I limited to file operations alone.

If that is the case then where on the provisioner code is the area that controls the flashing please? I can then look at hooking lights up to the provisioner RPi to detail that something is being flashed.

Thanks.

Cheers,

Neil

neil-benn avatar Jun 14 '24 12:06 neil-benn