On 2017-01-17 19:29, Chris Blake wrote: > Felix, > > 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 [0] 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: AUTOLOAD:=$(call AutoLoad,41,leds-apu2,1)
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. - Felix _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev