From: <ge...@th...> - 2013-02-24 05:51:31
|
I enabled verbose debug messages: http://pastebin.com/T7jtcADC It is in the media_entity_create_link that the system crashes. > Here is a pastebin of the crash: > > http://pastebin.com/cpbz5sMx > > Thanks > >> Gilles, >> >> Good call on the platform data. The system now boots but during the >> process there is a kernel panic. This weekend I will try to capture the >> boot process and analyze. Also I did not check my hardware configuration >> against the platform data you suggested, perhaps there is something to >> change. >> >> Will update on the weekend >> >> Thanks, >> -Geoff >> >>> Hi Geoff, >>> >>> 2013/2/21 <ge...@th...>: >>>> I just checked the boot messages and with the correct chip name >>>> "TVP5146" >>>> it does change things. >>>> >>>> See: http://pastebin.com/Wu4ksYKT >>>> >>>> [ 2.486724] tvp5146: No platform data!! >>>> [ 2.490905] isp_register_subdev_group: Unable to register subdev >>>> tvp5146 >>>> >>>> >>>> Does that help to shed light on the problem? >>>> >>>> Thanks, >>>> -Geoff >>> This confirms that you are in the "probe" function of the TVP514x >>> driver. >>> Now, you are missing some information the driver needs ("No platform >>> data!"). >>> >>> This platform data looks like this (defined in >>> include/media/tvp514x.h): >>> >>> struct tvp514x_platform_data { >>> /* Interface control params */ >>> bool clk_polarity; >>> bool hs_polarity; >>> bool vs_polarity; >>> }; >>> >>> You need to define this in "board-overo.c", this should look like >>> (note that you need to set the right parameters there. this depends on >>> your HW configuration) >>> static struct tvp514x_platform_data tvp5146_pdata = { >>> .clk_polarity = 0, >>> .hs_polarity = 1, >>> .vs_polarity = 1, >>> }; >>> >>> static struct i2c_board_info tvp514x_i2c_device = { >>> I2C_BOARD_INFO("tvp514x", TVP514x_I2C_ADDR), >>> .platform_data = &tvp5146_pdata, >>> }; >>> >>> I don't know if it will help getting rid of v4l2_subdev error, but it >>> should help getting further in driver initialisation. >>> Gilles. >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >>> >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |