formrausch / frio_rpi4

Custom Kiosk nerves base image for reTerminal DM
Apache License 2.0
5 stars 1 forks source link

Update system to latest nerves_system_br and Linux kernel and some more #1

Closed fhunleth closed 2 months ago

fhunleth commented 2 months ago

I took a stab at updating the Nerves system to the latest. This is admittedly a mega-PR and I haven't even waited for compilation to compete on my own PC. I also don't have a reTerminal.

This was what I could do quickly and figured that it might be helpful when Lars asked me a couple questions. When it completes building (might be overnight), I'll do a pass to sanity check a few changes. I'll then remove the draft marking.

Please feel free to take or discard whatever makes sense to you.

tomfarm commented 2 months ago

Hi Frank, I merged your changes and the commits Lars added in #2

The buildroot compilation works much better in the newer versions and everything can be compiled in one run, without the need to restart/resume or manual intervention.

I re-added the pigio package. Is there a reason you removed it? Compatiblity/Size/…? As far as I can tell, it's the only way to use the hardware pwm on the cm4 and we'll be using it to handle the display backlight.

fhunleth commented 2 months ago

That's good information about pigpio. I'm not a big fan of it since it goes around the standard Linux ways of handling hardware. I also thought no one was using it so I removed it in the nerves_system_rpi* packages. I haven't gotten any feedback on it for a really long time. There is a proper Linux way of handling PWM, but I've personally never used it. Seems way easier to keep for sure, and I'm sure it's in the noise as far as package size goes.