Skip to contentSkip to conversation

PCM037: Broken build on mxc--master, missing I2C support (was Re: Rv: mx3-camera on current mxc kernel tree)

DISCUSSION Agustin 1 participant 1 message Feb 18, 2009 Media (V4L/DVB)

lore
Share & tools
lore

Agustin

author
#0 lore raw

Hi Sascha, I am changing subject here, not sure if Russell's filters will accept this message to the list...

Quoted 10 lines · --- Agustin
Quoted 2 lines · --- Sascha Hauer
Quoted 1 line · Agustin

I am using branch "mxc-devel" from

git://git.pengutronix.de/git/imx/linux-2.6

Quoted 3 lines

Please don't. Please use the mxc-master or mxc-master-flat branch instead. See my mail recently posted here. Guennadis camera patches will probably fit

better

Quoted 1 line

on this tree.

Quoted 7 lines

Well, I tried both 'mxc-master' and 'mxc-master-flat' but both seemed to have broken support for PCM037. Build stopped, complaining about missing "i2c.h" included from "pcm037.c". Probably the result of partial inegration of I2C support, which I need to have. On the other hand, 'mxc-devel' was buiding and working all right, that's why I am using it.

Will try again with 'master' branches...

I
just tried 'mxc-master', in case I missed something yesterday. I2C support seems to be missing at least on MX3 systems. Build breaks like this:

  CC      arch/arm/mach-mx3/devices.o
  CC      arch/arm/mach-mx3/iomux.o
  CC      arch/arm/mach-mx3/pcm037.o

arch/arm/mach-mx3/pcm037.c:42:22: error: mach/i2c.h: No such file or directory arch/arm/mach-mx3/pcm037.c:139: error: variable 'pcm037_i2c_1_data' has initializer but incomplete type arch/arm/mach-mx3/pcm037.c:140: error: unknown field 'bitrate' specified in initializer arch/arm/mach-mx3/pcm037.c:140: warning: excess elements in struct initializer arch/arm/mach-mx3/pcm037.c:140: warning: (near initialization for 'pcm037_i2c_1_data') arch/arm/mach-mx3/pcm037.c:141: error: unknown field 'init' specified in initializer arch/arm/mach-mx3/pcm037.c:141: warning: excess elements in struct initializer arch/arm/mach-mx3/pcm037.c:141: warning: (near initialization for 'pcm037_i2c_1_data') arch/arm/mach-mx3/pcm037.c:142: error: unknown field 'exit' specified in initializer arch/arm/mach-mx3/pcm037.c:142: warning: excess elements in struct initializer arch/arm/mach-mx3/pcm037.c:142: warning: (near initialization for 'pcm037_i2c_1_data') make[2]: *** [arch/arm/mach-mx3/pcm037.o] Error 1
make[1]: *** [arch/arm/mach-mx3] Error 2
make[1]: Leaving directory `/home/agustin/work/mxc-master'

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list