From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from perceval.ideasonboard.com ([95.142.166.194]:48074 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194Ab3EOBcZ (ORCPT ); Tue, 14 May 2013 21:32:25 -0400 From: Laurent Pinchart To: jean-philippe francois Cc: linux-media , "linux-omap@vger.kernel.org" Subject: Re: omap3-isp : panic using previewer from V4L input Date: Wed, 15 May 2013 03:32:43 +0200 Message-ID: <1579245.NgheaxZSaI@avalon> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-media-owner@vger.kernel.org List-ID: Hi Jean-Philippe, On Tuesday 14 May 2013 11:29:39 jean-philippe francois wrote: > Hi Laurent, > > I have a beagle xm board, but no sensor board. Is it possible to have > the omap3-isp initialised ? Yes it is. You will just need to call omap3_init_camera() in your board code with a pointer to platform data that contain an empty list of subdevs. Something like static struct isp_v4l2_subdevs_group beagle_camera_subdevs[] = { { }, }; static struct isp_platform_data beagle_isp_platform_data = { .subdevs = beagle_camera_subdevs, }; static int __init beagle_camera_init(void) { if (!machine_is_omap3_beagle()) return 0; omap3_init_camera(&beagle_isp_platform_data); return 0; } late_initcall(beagle_camera_init); should do (you will also need to include the appropriate headers). > I would like to try my program on a beagle board to eliminate any > hardware related problem. > From the board file in mainline kernel, it seems omap3_init_camera is > not called, do you know any kernel tree where isp is initialized for beagle > board ? -- Regards, Laurent Pinchart