Hi,
On 19/08/11 22:12, Laurent Pinchart wrote:
I am trying to get the mt9p031 working from nand with a ubifs file
system and I am having a few problems.
/dev/media0 is not present unless I run:
#mknod /dev/media0 c 251 0
#chown root:video /dev/media0
#media-ctl -p
Enumerating entities
media_open: Unable to enumerate entities for device /dev/media0
(Inappropriate ioctl for device)
With the same rig/files it works fine running from EXT4 on an SD card.
Any idea why this does not work on nand with ubifs?
Is the OMAP3 ISP driver loaded ? Has it probed the device successfully ? Check
the kernel log for OMAP3 ISP-related messages.
Here is the version running from SD card:
# dmesg | grep isp
[ 0.265502] omap-iommu omap-iommu.0: isp registered
[ 2.986541] omap3isp omap3isp: Revision 2.0 found
[ 2.991577] omap-iommu omap-iommu.0: isp: version 1.1
[ 2.997406] omap3isp omap3isp: hist: DMA channel = 0
[ 3.006256] omap3isp omap3isp: isp_set_xclk(): cam_xclka set to
21600000 Hz
[ 3.011932] omap3isp omap3isp: isp_set_xclk(): cam_xclka set to 0 Hz
From NAND using UBIFS:
# dmesg | grep isp
[ 3.457061] omap3isp omap3isp: Revision 2.0 found
[ 3.462036] omap-iommu omap-iommu.0: isp: version 1.1
[ 3.467620] omap3isp omap3isp: hist: DMA channel = 0
[ 3.472564] omap3isp omap3isp: isp_set_xclk(): cam_xclka set to
21600000 Hz
[ 3.478027] omap3isp omap3isp: isp_set_xclk(): cam_xclka set to 0 Hz
Seems to be missing:
omap-iommu omap-iommu.0: isp registered
Is that the issue? Why would this not work when running from NAND?
Cheers,
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html