These are the relevant config options enabled in my .config. I have enabled the output V4L2 output device option and also the input.
CONFIG_MEDIA_CONTROLLER=y CONFIG_VIDEO_DEV=y CONFIG_VIDEO_V4L2_COMMON=y CONFIG_VIDEO_V4L2_SUBDEV_API=y
CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_VIDEO_OMAP2_VOUT=y CONFIG_SOC_CAMERA=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEOBUF_GEN=y CONFIG_VIDEOBUF_DMA_CONTIG=y CONFIG_VIDEOBUF2_CORE=y CONFIG_VIDEO_CAPTURE_DRIVERS=y
CONFIG_OMAP2_DSS=y CONFIG_OMAP2_VRAM_SIZE=16 CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y CONFIG_OMAP2_DSS_COLLECT_IRQ_STATS=y CONFIG_OMAP2_DSS_DPI=y CONFIG_OMAP2_DSS_RFBI=y CONFIG_OMAP2_DSS_VENC=y CONFIG_OMAP4_DSS_HDMI=y CONFIG_OMAP4_DSS_HDMI_AUDIO=y CONFIG_OMAP5_DSS_HDMI=y CONFIG_OMAP5_DSS_HDMI_AUDIO=y CONFIG_OMAP2_DSS_DSI=y CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0 CONFIG_OMAP2_DSS_SLEEP_AFTER_VENC_RESET=y
Thanks Ramakrishnan
On Wednesday 27 June 2012 03:54 PM, Ramakrishnan Muthukrishnan wrote:
Hi,
With the latest tilt-3.4 branch, I see these messages in the kernel while booting up:
[ 3.176330] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 3.185882] omap_vout omap_vout: 'hdmi' Display already enabled [ 3.192138] omap_vout omap_vout: 'hdmi' Display already enabled [ 3.198425] omap_vout omap_vout: Buffer Size = 3686400 [ 3.204925] omapdss OVERLAY error: check_overlay: paddr cannot be 0 [ 3.211578] omap_vout omap_vout: setup_overlay failed [ 3.216949] omap_vout omap_vout: apply_changes failed [ 3.235626] omap_vout: probe of omap_vout failed with error -22 [ 3.242187] omap_vout:Could not register Video driver [ 3.253204] dmm dmm: initialized all PAT entries [ 3.414428] [drm] Enabling DMM ywrap scrolling [ 3.486267] Console: switching to colour frame buffer device 240x67 [ 3.517700] fb0: omapdrm frame buffer device [ 3.522308] drm: registered panic notifier [ 3.526733] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 3.533843] [drm] No driver support for vblank timestamp query. [ 3.540252] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 3.546905] ALSA device list: [ 3.550079] #0: PandaBoard [ 3.553222] #1: OMAPHDMI [ 3.793914] kjournald starting. Commit interval 5 seconds [ 3.796417] EXT3-fs (mmcblk0p2): using internal journal [ 3.798736] EXT3-fs (mmcblk0p2): recovery complete [ 3.798736] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode [ 3.798767] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 3.803009] devtmpfs: mounted [ 3.803314] Freeing init memory: 360K INIT: version 2.86 booting
I don't see any /dev/video* devices listed as expected.
Another observation is that, I see random kernel oops messages (they are totally random and I don't see them on reboot in some occasions). Here is the log when I see the crash:
[ 3.171173] VUSB: incomplete constraints, leaving on [ 3.177368] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 3.186920] omap_vout omap_vout: 'hdmi' Display already enabled [ 3.193206] omap_vout omap_vout: 'hdmi' Display already enabled [ 3.199493] omap_vout omap_vout: Buffer Size = 3686400 [ 3.205993] omapdss OVERLAY error: check_overlay: paddr cannot be 0 [ 3.212646] omap_vout omap_vout: setup_overlay failed [ 3.217987] omap_vout omap_vout: apply_changes failed [ 3.236663] omap_vout: probe of omap_vout failed with error -22 [ 3.243194] omap_vout:Could not register Video driver [ 3.254241] dmm dmm: initialized all PAT entries [ 3.414764] omapdrm omapdrm.0: could not remap: -12 (3) [ 3.420349] omapdrm omapdrm.0: could not map (paddr)! [ 3.453826] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [ 3.460845] [drm] No driver support for vblank timestamp query. [ 3.467132] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 3.473754] ALSA device list: [ 3.476898] #0: PandaBoard [ 3.479919] #1: OMAPHDMI [ 3.679901] kjournald starting. Commit interval 5 seconds [ 3.685791] EXT3-fs (mmcblk0p2): using internal journal [ 3.693634] EXT3-fs (mmcblk0p2): recovery complete [ 3.698699] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode [ 3.706207] VFS: Mounted root (ext3 filesystem) on device 179:2. [ 3.716827] devtmpfs: mounted [ 3.720306] Freeing init memory: 360K INIT: version 2.86 booting Please wait: booting... Error opening /dev/fb0: No such file or directory Starting udev [ 4.311767] udevd (797): /proc/797/oom_adj is deprecated, please use /proc/797/oom_score_adj instead. [ 4.463073] ------------[ cut here ]------------ [ 4.535278] WARNING: at fs/sysfs/file.c:343 sysfs_open_file+0x7c/0x238() [ 4.692840] missing sysfs attribute operations for kobject: [ 4.719787] Modules linked in: [ 4.723663] Backtrace: [ 4.726379] [<c0012850>] (dump_backtrace+0x0/0x118) from [<c04f0e7c>] (dump_stack+0x20/0x24) [ 4.739135] r6:c0634235 r5:00000157 r4:e4a61da8 r3:00000000 [ 4.748565] [<c04f0e5c>] (dump_stack+0x0/0x24) from [<c003d274>] (warn_slowpath_common+0x5c/0x74) [ 4.760375] [<c003d218>] (warn_slowpath_common+0x0/0x74) from [<c003d348>] (warn_slowpath_fmt+0x40/0x48) [ 4.772369] r8:e4eb3590 r7:e4a20240 r6:00000000 r5:e63c0860 r4:e63b71c0 [ 4.780151] r3:00000009 [ 4.783416] [<c003d308>] (warn_slowpath_fmt+0x0/0x48) from [<c01555b4>] (sysfs_open_file+0x7c/0x238) [ 4.793548] r3:e63ac600 r2:c0634245 [ 4.797424] [<c0155538>] (sysfs_open_file+0x0/0x238) from [<c00f7634>] (__dentry_open.clone.12+0x1a0/0x2ac) [ 4.808715] r8:e4a20240 r7:00000000 r6:00000000 r5:e4e6b550 r4:e60fe310 [ 4.815673] r3:c0505400 [ 4.821899] [<c00f7494>] (__dentry_open.clone.12+0x0/0x2ac) from [<c00f8514>] (nameidata_to_filp+0x48/0x54) [ 4.832336] [<c00f84cc>] (nameidata_to_filp+0x0/0x54) from [<c0106bec>] (do_last.clone.23+0x6ac/0x6cc) [ 4.842803] r6:00000000 r5:00000000 r4:e4a61ed8 r3:00000000 [ 4.849029] [<c0106540>] (do_last.clone.23+0x0/0x6cc) from [<c0106d14>] (path_openat+0xc4/0x368) [ 4.858489] [<c0106c50>] (path_openat+0x0/0x368) from [<c01070e8>] (do_filp_open+0x3c/0x88) [ 4.867492] [<c01070ac>] (do_filp_open+0x0/0x88) from [<c00f8608>] (do_sys_open+0xe8/0x180) [ 4.876373] r7:00000001 r6:e63ff000 r5:ffffff9c r4:00000003 [ 4.882537] [<c00f8520>] (do_sys_open+0x0/0x180) from [<c00f86d0>] (sys_open+0x30/0x34) [ 4.891082] [<c00f86a0>] (sys_open+0x0/0x34) from [<c000e280>] (ret_fast_syscall+0x0/0x30) [ 4.902313] ---[ end trace 3088af14cc900807 ]--- [ 5.935852] alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode. Remounting root file system... Caching udev devnodes
The kernel commandline is this:
[ 0.000000] Kernel command line: console=tty0 console=ttyO2,115200n8 earlycon=ttyO2,115200n8 earlyprintk=1 root=/dev/mmcblk0p2 rootwait rw vram=32M omapfb.vram=0:16M,1:16M omapdss.def_disp=hdmi
Ramakrishnan
linaro-kernel mailing list linaro-kernel@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-kernel