Skip to contentSkip to conversation

auto-loading omap3-isp

DISCUSSION Michael Jones 2 participants 2 messages Jun 29, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi Michael,

Quoted 7 lines · 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.

Quoted 5 lines

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.

Signature · 3 lines
Regards,

Laurent Pinchart