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: >>>>> >>>>> >>>>> >>>> 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 #327c00029ff80000016849a904021023 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 @ 0x80300000 [ 0x000000 - 0x45f090 ] ## Flattened Device Tree blob at 815f0000 Booting using the fdt blob at 0x815f0000 Using Device Tree in place at 815f0000, 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 48070000.i2c:twl@48:keypad: OF: linux,keymap property not defined in /ocp/i2c@48070000/twl@48/keypad [ 1.398681] twl4030_keypad 48070000.i2c:twl@48:keypad: Failed to build keymap [ 1.429534] of_graph_get_next_endpoint(): no port node found in /ocp/omap3_isp@480bc000/ports [ 1.503082] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva [ 1.510711] omap2_set_init_voltage: unable to set vdd_mpu_iva [ 1.516876] omap2_set_init_voltage: unable to find boot up OPP for vdd_core [ 1.524261] omap2_set_init_voltage: unable to set vdd_core [ 1.822723] Failed to execute /lib/systemd/systemd (error -2). Attempting defaults... Starting logging: OK Starting portmap: done Initializing random number generator... done. Starting ALSA... /usr/sbin/alsactl: load_state:1625: No soundcards found... done. Starting network... Starting sshd: OK Welcome to BeagleBoard-xM beagleboard-xm login: root [root@beagleboard-xm ~]# ls /dev/med* ls: /dev/med*: No such file or directory Filesystem has yavta and media-ctl application, also verified capture for 3.2.8(Non DT) Am I using correct defconfig? Please find .config file in attachment. Can you please guide me to verify the parallel interface? Thanks&Regards, Alaganraj