Re: Compile failure on linux-n900 branch -- MEDIA_CAMERA_SUPPORTneeded for n900 compilation

From: Pavel Machek
Date: Sun Dec 01 2013 - 15:25:21 EST



Hi!

> > I just hit this one:
> >
> > CC arch/arm/mach-omap2/board-rx51-camera.o
> > In file included from
> > arch/arm/mach-omap2/board-rx51-camera.c:34:0:
> > arch/arm/mach-omap2/../../../drivers/media/platform/omap3isp/
> > isp.h: In function 'isp_pad_buffer_type':
> > arch/arm/mach-omap2/../../../drivers/media/platform/omap3isp/i
> > sp.h:347:19: error: 'const struct v4l2_subdev' has no member
> > named 'entity'
> > arch/arm/mach-omap2/../../../drivers/media/platform/omap3isp/
> > isp.h:350:12: error: 'const struct v4l2_subdev' has no member
> > named 'entity' make[1]: ***
> > [arch/arm/mach-omap2/board-rx51-camera.o] Error 1 make: ***
> > [arch/arm/mach-omap2] Error 2
> > make: *** Waiting for unfinished jobs....
> > Command exited with non-zero status 2
> >
> > Problem seems to be that isp.h expects CONFIG_MEDIA_CONTROLLER
> > to be set, but board-rx51-camera.c is always compiled. We
> > could do

Interesting; with Sebastian DT config
(http://elektranox.org/n900-kernel-config.txt), I get the same



[ 17.967651] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.968109] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.968566] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.969055] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.969512] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.969970] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.970428] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.970886] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.971313] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.967651] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.968109] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.968566] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.969055] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.969512] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.969970] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.970428] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.970886] omap_i2c 48070000.i2c: Too much work in one IRQ
[ 17.971313] omap_i2c 48070000.i2c: Too much work in one IRQ

...infinite loop during bootup. So, Sebastian, it looks problem is in
linux-n900, too. Will switch to defconfig, that worked...

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/