[PATCH 0/3] Maverick ti-omap4, Modularize syslink drivers

Loïc Minier loic.minier at ubuntu.com
Wed Jun 30 13:16:07 UTC 2010


On Wed, Jun 30, 2010, Tim Gardner wrote:
> >Now we were wondering which was the best way to auto install the
> >syslink driver modules in the system, hence the discussion with
> >Mathieu and Tim.
> 
> Auto installing won't be a kernel patch. As Oliver suggested, we can
> add the platform module name to /etc/modules during install, or as
> Loic suggested we can write an upstart job to load it at boot time.
> I don't have a strong preference.

 What was also discussed is adding an udev event and an udev rule so
 that the proper module is loaded when the device is known present and
 the event fires.  Advantage is that this is event driven and happens
 the earliest, probably in the initramfs.  If you go for a separate
 upstart job or /etc/modules, and the device is needed as part of the
 system startup then we need to ensure that the system components which
 need it ensure the upstart job completed before they start.

-- 
Loïc Minier




More information about the kernel-team mailing list