Re: omap3isp Device Tree support status

2015-01-06 Thread Alaganraj Sandhanam
Hi Sakari, Laurent,

Wish You A Happy New Year!!!

On Friday 10 October 2014 12:51 AM, Sakari Ailus wrote:
 Hi Alaganjar,
 
 On Fri, Oct 10, 2014 at 02:08:43AM +0530, Alaganraj Sandhanam wrote:
 Hi Sakari,

 On Wednesday 08 October 2014 05:03 PM, Sakari Ailus wrote:
 Hi Alaganjar,

 On Tue, Oct 07, 2014 at 02:37:37AM +0530, Alaganraj Sandhanam wrote:
 Hi Sakari,

 Thanks for the patches.
 On Monday 29 September 2014 03:43 AM, Sakari Ailus wrote:
 Hi,

 I managed to find some time for debugging my original omap3isp DT support
 patchset (which includes smiapp DT support as well), and found a few small
 but important bugs.

 The status is now that images can be captured using the Nokia N9 camera, 
 in
 which the sensor is connected to the CSI-2 interface. Laurent confirmed 
 that
 the parallel interface worked for him (Beagleboard, mt9p031 sensor on
 Leopard imaging's li-5m03 board).
 Good news!

 These patches (on top of the smiapp patches I recently sent for review 
 which
 are in much better shape) are still experimental and not ready for 
 review. I
 continue to clean them up and post them to the list when that is done. For
 now they can be found here:

 URL:http://git.linuxtv.org/cgit.cgi/sailus/media_tree.git/log/?h=rm696-043-dt

 I couldn't clone the repo, getting remote corrupt error.

 $ git remote -v
 media-sakari   git://linuxtv.org/sailus/media_tree.git (fetch)
 media-sakari   git://linuxtv.org/sailus/media_tree.git (push)
 origin git://linuxtv.org/media_tree.git (fetch)
 origin git://linuxtv.org/media_tree.git (push)
 sakari git://vihersipuli.retiisi.org.uk/~sailus/linux.git (fetch)
 sakari git://vihersipuli.retiisi.org.uk/~sailus/linux.git (push)

 $ git fetch media-sakari
 warning: cannot parse SRV response: Message too long
 remote: error: Could not read 5ea878796f0a1d9649fe43a6a09df53d3915c0ef
 remote: fatal: revision walk setup failed
 remote: aborting due to possible repository corruption on the remote side.
 fatal: protocol error: bad pack header

 I'm not sure what this could be related. Can you fetch from other trees,
 e.g. your origin remote? Do you get the same error from the remote on
 vihersipuli, and by using http instead?

 I'm able to fetch from origin and vihersipuli remotes.
 problem with only git://linuxtv.org/sailus/media_tree.git remote.
 
 Then you can get the same branch (or later) from vihersipuli. It's available
 there as well.
 

Sorry for late response, because of some personal work I couldn't get
time to test rm696-043-dt branch.

I've beagleboard xM and MT9P031 Leopard imaging's LI-5M03 board.

Compilation step:

$ git checkout -b rm696-043-dt remotes/sakari/rm696-043-dt
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
Enabled OMAP3ISP, MT9P031, Media controller support

$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4

Copy images to SD card
$ sudo cp -f arch/arm/boot/zImage /media/alagan/BOOT/
$ sudo cp -f arch/arm/boot/dts/omap3-beagle-xm.dtb /media/alagan/BOOT/dtbs/

Kernel is booting but getting below error
of_graph_get_next_endpoint(): no port node found in
/ocp/omap3_isp@480bc000/ports

Also device node /dev/media0 is missing and sensor not detected.

Please find log below:
U-Boot SPL 2014.07-rc3-dirty (Jun 16 2014 - 02:11:57)
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img


U-Boot 2014.07-rc3-dirty (Jun 16 2014 - 02:11:57)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

Beagle xM Rev C
No EEPROM on expansion board
No EEPROM on expansion board
Die ID #327c00029ff8016849a904021023
Net:   usb_ether
Hit any key to stop autoboot:  0
mmc0 is current device
gpio: pin 173 (gpio 173) value is 0
gpio: pin 4 (gpio 4) value is 0
SD/MMC found on device 0
reading uEnv.txt
153 bytes read in 3 ms (49.8 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Checking if lcdcmd is set ...
Checking if uenvcmd is set ...
Running default loadimage ...
reading /zImage
4583568 bytes read in 293 ms (14.9 MiB/s)
reading /dtbs/omap3-beagle-xm.dtb
62434 bytes read in 24 ms (2.5 MiB/s)
Booting from mmc ...
Kernel image @ 0x8030 [ 0x00 - 0x45f090 ]
## Flattened Device Tree blob at 815f
   Booting using the fdt blob at 0x815f
   Using Device Tree in place at 815f, end 816023e1

Starting kernel ...

[0.498565] platform 48058000.ssi-controller: Cannot lookup hwmod 'ssi'
[0.553863] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM
dummy slot
[1.358947] mtdoops: mtd device (mtddev=name/number) must be supplied
[1.386444] twl4030_keypad 4807.i2c:twl@48:keypad: OF:
linux,keymap property not defined in /ocp/i2c@4807/twl@48/keypad
[1.398681] twl4030_keypad 

Re: omap3isp Device Tree support status

2014-10-10 Thread Sakari Ailus
Hi Alaganjar,

On Fri, Oct 10, 2014 at 02:08:43AM +0530, Alaganraj Sandhanam wrote:
 Hi Sakari,
 
 On Wednesday 08 October 2014 05:03 PM, Sakari Ailus wrote:
  Hi Alaganjar,
  
  On Tue, Oct 07, 2014 at 02:37:37AM +0530, Alaganraj Sandhanam wrote:
  Hi Sakari,
 
  Thanks for the patches.
  On Monday 29 September 2014 03:43 AM, Sakari Ailus wrote:
  Hi,
 
  I managed to find some time for debugging my original omap3isp DT support
  patchset (which includes smiapp DT support as well), and found a few small
  but important bugs.
 
  The status is now that images can be captured using the Nokia N9 camera, 
  in
  which the sensor is connected to the CSI-2 interface. Laurent confirmed 
  that
  the parallel interface worked for him (Beagleboard, mt9p031 sensor on
  Leopard imaging's li-5m03 board).
  Good news!
 
  These patches (on top of the smiapp patches I recently sent for review 
  which
  are in much better shape) are still experimental and not ready for 
  review. I
  continue to clean them up and post them to the list when that is done. For
  now they can be found here:
 
  URL:http://git.linuxtv.org/cgit.cgi/sailus/media_tree.git/log/?h=rm696-043-dt
 
  I couldn't clone the repo, getting remote corrupt error.
 
  $ git remote -v
  media-sakari   git://linuxtv.org/sailus/media_tree.git (fetch)
  media-sakari   git://linuxtv.org/sailus/media_tree.git (push)
  origin git://linuxtv.org/media_tree.git (fetch)
  origin git://linuxtv.org/media_tree.git (push)
  sakari git://vihersipuli.retiisi.org.uk/~sailus/linux.git (fetch)
  sakari git://vihersipuli.retiisi.org.uk/~sailus/linux.git (push)
 
  $ git fetch media-sakari
  warning: cannot parse SRV response: Message too long
  remote: error: Could not read 5ea878796f0a1d9649fe43a6a09df53d3915c0ef
  remote: fatal: revision walk setup failed
  remote: aborting due to possible repository corruption on the remote side.
  fatal: protocol error: bad pack header
  
  I'm not sure what this could be related. Can you fetch from other trees,
  e.g. your origin remote? Do you get the same error from the remote on
  vihersipuli, and by using http instead?
  
 I'm able to fetch from origin and vihersipuli remotes.
 problem with only git://linuxtv.org/sailus/media_tree.git remote.

Then you can get the same branch (or later) from vihersipuli. It's available
there as well.

-- 
Sakari Ailus
e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap3isp Device Tree support status

2014-10-09 Thread Alaganraj Sandhanam
Hi Sakari,

On Wednesday 08 October 2014 05:03 PM, Sakari Ailus wrote:
 Hi Alaganjar,
 
 On Tue, Oct 07, 2014 at 02:37:37AM +0530, Alaganraj Sandhanam wrote:
 Hi Sakari,

 Thanks for the patches.
 On Monday 29 September 2014 03:43 AM, Sakari Ailus wrote:
 Hi,

 I managed to find some time for debugging my original omap3isp DT support
 patchset (which includes smiapp DT support as well), and found a few small
 but important bugs.

 The status is now that images can be captured using the Nokia N9 camera, in
 which the sensor is connected to the CSI-2 interface. Laurent confirmed that
 the parallel interface worked for him (Beagleboard, mt9p031 sensor on
 Leopard imaging's li-5m03 board).
 Good news!

 These patches (on top of the smiapp patches I recently sent for review which
 are in much better shape) are still experimental and not ready for review. I
 continue to clean them up and post them to the list when that is done. For
 now they can be found here:

 URL:http://git.linuxtv.org/cgit.cgi/sailus/media_tree.git/log/?h=rm696-043-dt

 I couldn't clone the repo, getting remote corrupt error.

 $ git remote -v
 media-sakari git://linuxtv.org/sailus/media_tree.git (fetch)
 media-sakari git://linuxtv.org/sailus/media_tree.git (push)
 origin   git://linuxtv.org/media_tree.git (fetch)
 origin   git://linuxtv.org/media_tree.git (push)
 sakari   git://vihersipuli.retiisi.org.uk/~sailus/linux.git (fetch)
 sakari   git://vihersipuli.retiisi.org.uk/~sailus/linux.git (push)

 $ git fetch media-sakari
 warning: cannot parse SRV response: Message too long
 remote: error: Could not read 5ea878796f0a1d9649fe43a6a09df53d3915c0ef
 remote: fatal: revision walk setup failed
 remote: aborting due to possible repository corruption on the remote side.
 fatal: protocol error: bad pack header
 
 I'm not sure what this could be related. Can you fetch from other trees,
 e.g. your origin remote? Do you get the same error from the remote on
 vihersipuli, and by using http instead?
 
I'm able to fetch from origin and vihersipuli remotes.
problem with only git://linuxtv.org/sailus/media_tree.git remote.

ThanksRegards
Alaganraj
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap3isp Device Tree support status

2014-10-08 Thread Sakari Ailus
Hi Alaganjar,

On Tue, Oct 07, 2014 at 02:37:37AM +0530, Alaganraj Sandhanam wrote:
 Hi Sakari,
 
 Thanks for the patches.
 On Monday 29 September 2014 03:43 AM, Sakari Ailus wrote:
  Hi,
  
  I managed to find some time for debugging my original omap3isp DT support
  patchset (which includes smiapp DT support as well), and found a few small
  but important bugs.
  
  The status is now that images can be captured using the Nokia N9 camera, in
  which the sensor is connected to the CSI-2 interface. Laurent confirmed that
  the parallel interface worked for him (Beagleboard, mt9p031 sensor on
  Leopard imaging's li-5m03 board).
 Good news!
  
  These patches (on top of the smiapp patches I recently sent for review which
  are in much better shape) are still experimental and not ready for review. I
  continue to clean them up and post them to the list when that is done. For
  now they can be found here:
  
  URL:http://git.linuxtv.org/cgit.cgi/sailus/media_tree.git/log/?h=rm696-043-dt
  
 I couldn't clone the repo, getting remote corrupt error.
 
 $ git remote -v
 media-sakari  git://linuxtv.org/sailus/media_tree.git (fetch)
 media-sakari  git://linuxtv.org/sailus/media_tree.git (push)
 origingit://linuxtv.org/media_tree.git (fetch)
 origingit://linuxtv.org/media_tree.git (push)
 sakarigit://vihersipuli.retiisi.org.uk/~sailus/linux.git (fetch)
 sakarigit://vihersipuli.retiisi.org.uk/~sailus/linux.git (push)
 
 $ git fetch media-sakari
 warning: cannot parse SRV response: Message too long
 remote: error: Could not read 5ea878796f0a1d9649fe43a6a09df53d3915c0ef
 remote: fatal: revision walk setup failed
 remote: aborting due to possible repository corruption on the remote side.
 fatal: protocol error: bad pack header

I'm not sure what this could be related. Can you fetch from other trees,
e.g. your origin remote? Do you get the same error from the remote on
vihersipuli, and by using http instead?

-- 
Kind regards,

Sakari Ailus
e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: omap3isp Device Tree support status

2014-10-06 Thread Alaganraj Sandhanam
Hi Sakari,

Thanks for the patches.
On Monday 29 September 2014 03:43 AM, Sakari Ailus wrote:
 Hi,
 
 I managed to find some time for debugging my original omap3isp DT support
 patchset (which includes smiapp DT support as well), and found a few small
 but important bugs.
 
 The status is now that images can be captured using the Nokia N9 camera, in
 which the sensor is connected to the CSI-2 interface. Laurent confirmed that
 the parallel interface worked for him (Beagleboard, mt9p031 sensor on
 Leopard imaging's li-5m03 board).
Good news!
 
 These patches (on top of the smiapp patches I recently sent for review which
 are in much better shape) are still experimental and not ready for review. I
 continue to clean them up and post them to the list when that is done. For
 now they can be found here:
 
 URL:http://git.linuxtv.org/cgit.cgi/sailus/media_tree.git/log/?h=rm696-043-dt
 
I couldn't clone the repo, getting remote corrupt error.

$ git remote -v
media-sakarigit://linuxtv.org/sailus/media_tree.git (fetch)
media-sakarigit://linuxtv.org/sailus/media_tree.git (push)
origin  git://linuxtv.org/media_tree.git (fetch)
origin  git://linuxtv.org/media_tree.git (push)
sakari  git://vihersipuli.retiisi.org.uk/~sailus/linux.git (fetch)
sakari  git://vihersipuli.retiisi.org.uk/~sailus/linux.git (push)

$ git fetch media-sakari
warning: cannot parse SRV response: Message too long
remote: error: Could not read 5ea878796f0a1d9649fe43a6a09df53d3915c0ef
remote: fatal: revision walk setup failed
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header

Can you please guide me?

ThanksRegards,
Alaganraj
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


omap3isp Device Tree support status

2014-09-28 Thread Sakari Ailus
Hi,

I managed to find some time for debugging my original omap3isp DT support
patchset (which includes smiapp DT support as well), and found a few small
but important bugs.

The status is now that images can be captured using the Nokia N9 camera, in
which the sensor is connected to the CSI-2 interface. Laurent confirmed that
the parallel interface worked for him (Beagleboard, mt9p031 sensor on
Leopard imaging's li-5m03 board).

These patches (on top of the smiapp patches I recently sent for review which
are in much better shape) are still experimental and not ready for review. I
continue to clean them up and post them to the list when that is done. For
now they can be found here:

URL:http://git.linuxtv.org/cgit.cgi/sailus/media_tree.git/log/?h=rm696-043-dt

-- 
Kind regards,

Sakari Ailus
e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html