* auto-loading omap3-isp
@ 2011-06-29 14:30 Michael Jones
2011-06-29 15:59 ` Laurent Pinchart
0 siblings, 1 reply; 2+ messages in thread
From: Michael Jones @ 2011-06-29 14:30 UTC (permalink / raw)
To: Linux Media Mailing List; +Cc: Laurent Pinchart, Sakari Ailus
I am trying to get omap3-isp.ko to be loaded upon bootup. The problem
is that iommu2.ko needs to be loaded first, which can't just be compiled
into the kernel. Udev will see '/sys/devices/platform/omap3isp' and
load omap3-isp.ko, which fails because iommu2.ko hasn't been loaded yet.
iommu2 doesn't have a counterpart in /sys/devices/, so I don't know how
to get udev to load it first.
I can think of a few ways to accomplish this, but they all amount to
hacking the init sequence (e.g. the udev init script). I'm looking for
a better way.
How are others doing this?
-Michael
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: auto-loading omap3-isp
2011-06-29 14:30 auto-loading omap3-isp Michael Jones
@ 2011-06-29 15:59 ` Laurent Pinchart
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2011-06-29 15:59 UTC (permalink / raw)
To: Michael Jones; +Cc: Linux Media Mailing List, Sakari Ailus
Hi Michael,
On Wednesday 29 June 2011 16:30:48 Michael Jones wrote:
> I am trying to get omap3-isp.ko to be loaded upon bootup. The problem
> is that iommu2.ko needs to be loaded first, which can't just be compiled
> into the kernel. Udev will see '/sys/devices/platform/omap3isp' and
> load omap3-isp.ko, which fails because iommu2.ko hasn't been loaded yet.
> iommu2 doesn't have a counterpart in /sys/devices/, so I don't know how
> to get udev to load it first.
>
> I can think of a few ways to accomplish this, but they all amount to
> hacking the init sequence (e.g. the udev init script). I'm looking for
> a better way.
>
> How are others doing this?
I replace the tristate option by a bool option for the IOMMU config.
OMAP3 IOMMU support will move to the generic IOMMU API soon, so I'm not sure
if it's worth fixing the problem it now.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-29 15:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29 14:30 auto-loading omap3-isp Michael Jones
2011-06-29 15:59 ` Laurent Pinchart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox