[LEDE-DEV] [PATCH 4/4] x86: Add APU2 LED Driver
nbd at nbd.name
Tue Jan 17 10:36:24 PST 2017
On 2017-01-17 19:29, Chris Blake wrote:
> I have been working on moving the LED driver to a package, but have
> some concerns about implementation. Specifically, this would hit the
> same issue I had with the Meraki MR18 LED Driver (NU801) around having
> the LEDs/Reset button available during boot. Specifically, this is a
> concern as the reset button will be unusable for failsafe mode and the
> LEDs will fail to show boot status once system integration  is
> cleaned up and sent as a later PR.
> I was curious if you had any feedback, or ideas to get around this. As
> for the other GPIO driver, that should have no issues being packaged.
You can set the AUTOLOAD line like this:
The ",1" at the end will cause the module load line to be added to
/etc/modules-boot.d, which gets processed before preinit, so it works
with failsafe as well.
More information about the Lede-dev