This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAPLFBInit Failed

Other Parts Discussed in Thread: TVP7002

Hello all,

  I am trying install the OpenGL ES drivers on my Z3 DM8168 board.  An almost similar post can be found here .  I am using the Graphics SDK 4.06.00.02

  So far I've attempted a multitude of things:

  1. The board shipped with its own omaplfb, I tried modprobing that I got the same error message.
  2. I started installing the graphics sdk, compiled it against the Z3 kernel.  (They gave me a $KNL_INSTALL_DIR variable which I simply passed to the graphics SDK).
    1. This succeeded after I compiled and installed 5.x OMAPES.  However, when I tried to load I got the same error message
    2. I had to comment out a call in the graphics sdk, "Install all kernel modules" as that call would overwrite all the original kernel modules that shipped with my system, most notably syslink
    3. After removing the install all kernel modules call, only the omaplfb and pvrsrvkm modules were installed.  I made sure to remove the stock omaplfb and pvrsrvkm modules.

In both attempts, I received the same results.  pvrsrvkm.ko would load and appear in the lsmod command.  However omaplfb would fail with the following messages:

omaplfb: OMAPLFB_Init: OMAPLFBInit failed
modprobe: failed to load module omaplfb: No such device

I am very new to embedded systems, compiling kernel modules, and cross compiling magic so any advice, suggestions would be appreciated.  Thank you

  • Hello all,

      I found my solution by fixing my bootargs to have vram=50M in it.

      The modules supplied by Z3 now load successfully.  However, when I attempt to load the modules I built I receive a Segmentation fault.  An lsmod shows the modules loaded, but none of the tests supplied by the SDK finish.  (Speaking of which, what tests are good to use to see if the drivers loaded successfully, but do not require a screen/rendering device.  We have no interest in rendering from our OpenGL).

      If anyone could offer any assistance on the possible segmentation fault, it would be greatly appreciated.  I am supplying the ouput below:


    root@arago:~# modprobe omaplfb 

    Unable to handle kernel NULL pointer dereference at virtual address 00000000
    pgd = cc024000
    [00000000] *pgd=8c019031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#1]
    last sysfs file: /sys/devices/virtual/video4linux/video0/index
    Modules linked in: omaplfb(+) pvrsrvkm netra_autodetect tvp7002 adv7611 ti81xxht
    CPU: 0 Not tainted (2.6.37 #3)
    PC is at AllocateDeviceID+0xc/0x54 [pvrsrvkm]
    LR is at PVRSRVRegisterDCDeviceKM+0x114/0x1a8 [pvrsrvkm]
    pc : [<bf1fd240>] lr : [<bf1fa2bc>] psr: 40000013
    sp : cc037eb8 ip : cc037ec8 fp : cc037ec4
    r10: 00000000 r9 : 00000000 r8 : 01800000
    r7 : cac26204 r6 : cac2626c r5 : 00000000 r4 : 00000000
    r3 : cac2d800 r2 : 00000009 r1 : cac2d808 r0 : 00000000
    Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    Control: 10c5387d Table: 8c024019 DAC: 00000015
    Process modprobe (pid: 2337, stack limit = 0xcc0362e8)
    Stack: (0xcc037eb8 to 0xcc038000)
    7ea0: cc037eec cc037ec8
    7ec0: bf1fa2bc bf1fd240 cac2d800 cac32000 00000014 00000780 cac26200 0000f000
    7ee0: cc037f34 cc037ef0 bf23079c bf1fa1b4 00000000 00000000 fffffffe 00000000
    7f00: cc037f34 cc037f10 00000000 00000000 bf231fc8 000a9678 000a9688 bf235000
    7f20: cc036000 00000000 cc037f44 cc037f38 bf235010 bf230398 cc037f7c cc037f48
    7f40: c003b3d8 bf23500c bf231fc8 000a9678 000a9688 c0045f48 00000000 bf231fc8
    7f60: 000a9678 000a9688 c0045f48 00000000 cc037fa4 cc037f80 c0099a84 c003b314
    7f80: c00c5094 c00c4fac 00007334 00000001 000a9678 00000080 00000000 cc037fa8
    7fa0: c0045da0 c00999f4 00007334 00000001 000a9688 00007334 000a9678 000a9638
    7fc0: 00007334 00000001 000a9678 00000080 000a9638 40032700 000a901c 00000000
    7fe0: bec2dad0 bec2dac0 00019944 402c7740 20000010 000a9688 00000000 00000000
    Backtrace:
    [<bf1fd234>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf1fa2bc>] (PVRSRVRe)
    [<bf1fa1a8>] (PVRSRVRegisterDCDeviceKM+0x0/0x1a8 [pvrsrvkm]) from [<bf23079c>] )
    r7:0000f000 r6:cac26200 r5:00000780 r4:00000014
    [<bf23038c>] (OMAPLFBInit+0x0/0x5ac [omaplfb]) from [<bf235010>] (OMAPLFB_Init+)
    [<bf235000>] (OMAPLFB_Init+0x0/0x34 [omaplfb]) from [<c003b3d8>] (do_one_initca)
    [<c003b308>] (do_one_initcall+0x0/0x1a4) from [<c0099a84>] (sys_init_module+0x9)
    [<c00999e8>] (sys_init_module+0x0/0x1bc) from [<c0045da0>] (ret_fast_syscall+0x)
    r7:00000080 r6:000a9678 r5:00000001 r4:00007334
    Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5903000)
    ---[ end trace d72daae6eede42ca ]---
    Segmentation fault

  • I would also like to note that I think this may still be related to a bad bootarg issue.  However, I'm having trouble finding information on what boot args to use with my DM8168 board.

  • Hi,

    Below are some links on graphics SDK documentation that would help you -

    Latest graphics SDK release with release notes will always be available on -

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html

    User guide for graphics SDK quick build, install & execution-

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide

    Troubleshooting SGX driver,frequently reported/encountered problems with solutions/suggestions(FAQ kind of stuff) -

    http://processors.wiki.ti.com/index.php/SGXDbg

    Main page with other miscellaneous information -

    http://processors.wiki.ti.com/index.php/AM35x-OMAP35x_Graphics_SDK_Getting_Started_Guide

    I see that you have mentioned you built with 5.x. For 816x, you should use 6.x.  Please make sure you build with right OMAPES as given below -

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#About_Graphics_SDK

    You can follow the build, install , execute instructions from the user guide link provided above. For example execution instructions along with expected output/logs are provided in below section -

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Execution_instructions

    Thanks,

    Prathap.

  • Hello Prathap,

      Thank you for your response.  I have gone through all these guides a few times over the last few days.

      I built 0.6x originally, started the ./38xx-demo and was told I had built the wrong one.  I went to the bottom of the page, where it tells you how to determine your sgx version, and it also corresponded with 0.5x.

      Could you offer any advice or tips on how to proceed?  Thank you.

    Constantin

  • Prathap,

      I decided to try 0.6x again.  I don't know what I did differently, but it worked out.  I had some problems initially  when calling: "insmod omaplfb.ko" .  I fixed them by recompiling my kernel modules that were supplied with the board ("make modules" in my kernel source directory).  However I only resinstalled the "vpss.ko."  After this step I was able to load the omaplfb.ko I had built.  (This was a first, before I could only get the stock modules to load).  However, I am still at the same place I cannot get any of the demos to work.

      pvrsrvinit fails terribly if I call it after insmod pvrsrvkm.ko and omaplfb.ko.  I can attach the output if needed.  My system locks up and I have to reboot.

      I tried the following demos, gles1test1, glest2test1, sgx_blit_test, and the Skybox demos.  None of them work, I get complaints of EGL_BAD_ALLOC or PVRSRV_ERROR_BRIDGE_CALL_FAILED

      Laslty, I would like to note I never see the "Loaded PowerVR consumer services." when I load any of these modules.

    Thank you once again.

  • Hi Constantin,

    6.x is the right value & 38xx-demo is the right script to be used for 816x/389x devices.

    Have you followed all instructions step by step as mentioned in below link wrt 389x/816x -

    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide#Execution_instructions

    In the above link we have provided step by step instruction with the expected/desired output (right from insertion of syslink.ko).

    Can you match the output on your EVM with the output of each step provided in the above link?

    You don't need to insmod pvrsrvkm, omaplfb manually if you are running 38xx-demo script. The script takes care of installing the libararies & insertion of kernel modules on target(EVM).

    You have to make sure that before running 38xx-demo script, you have satisfied all its dependencies ie syslink, vpss, ti81xxfb, ti81xxhdmi modules are already inserted successfully. All these steps have been provided in the above execution instructions link.

    Please share the exact build & install command lines that you have used on your host/build machine. Also share the complete serial console logs right from bootup of the target/EVM.

    Thanks,

    Prathap.

     

  • Hi Prathap,

      Once again thank you for the support.  I have followed the steps to the best of my ability as I have a z3 board and filesystems.  Modules like vpss and syslink are already loaded me for my at boot.  I will now supply some information for you.  Attached is also the booting output.


    BootArgs: 

    console=ttyO2,115200 mem=256M vram=50M ti816xfb.vram=0:24M earlyprintk notifyk.vpssm3_sva=0xBF900000 libata.force=1.5G musb_hdrc.use_dma=0 spidev.bufsiz=1048576 noinitrd [nfs_settings_omitted]

    Result of lsmod at boot:

    Module Size Used by Not tainted 
    netra_autodetect 5906 0
    tvp7002 6815 0
    adv7611 6183 1
    ti81xxhdmi 14290 0
    ti81xxfb 21771 0
    vpss 60701 2 ti81xxhdmi,ti81xxfb
    ipv6 209855 10
    syslink 1109719 0
    firewire_ohci 21521 0
    firewire_core 43470 1 firewire_ohci
    crc_itu_t 1053 1 firewire_core

    Result of lsmod after "modprobe omapflb"

    Module Size Used by Not tainted 
    omaplfb 10710 0
    pvrsrvkm 168697 1 omaplfb
    netra_autodetect 5906 0
    tvp7002 6815 0
    adv7611 6183 1
    ti81xxhdmi 14290 0
    ti81xxfb 21771 1
    vpss 60701 3 omaplfb,ti81xxhdmi,ti81xxfb
    ipv6 209855 10
    syslink 1109719 0
    firewire_ohci 21521 0
    firewire_core 43470 1 firewire_ohci
    crc_itu_t 1053 1 firewire_core

    I will attach the output files in an edit. They will contain the boot time output, and the output of ./etc/init.d/rc.pvr start

    EDIT: Prathap, I don't know what I did, but when I ran ./38xx-demo this morning, it worked exactly as expected and I saw a "Loaded PowerVR Consumer Services." All the demos and scripts started working as well. HOWEVER, on reboot the pvr services were not reloaded. I tried a few different approaches but none would load the PowerVR services successfully.   Only 38xx-demo worked, but surely this is not the way we should load the PowerVR services every time?  I am attaching the output of "/etc/init.d/rc.pvr start" when executed immediately after booting.  I assume this is the correct approach to adding PowerVR to the bootup scripts.

    Constantin

    
    U-Boot 2010.06 (Jul 05 2011 - 12:20:30)
    
    TI8168-GP rev 1.1
    
    ARM clk: 987MHz
    DDR clk: 675MHz
    
    I2C:   ready
    DRAM:  1 GiB
    NAND:  256 MiB
    Net:   Detected MACID:64:7b:d4:63:23:c2
    Ethernet PHY: GENERIC (x001cc914) @ 0x01
    DaVinci EMAC
    Press SPACE to abort autoboot in 2 seconds
    Boot from TFTP and NFS...
    Using DaVinci EMAC device
    TFTP from server 192.168.2.96; our IP address is 192.168.2.97
    Filename 'tftpboot/uImage-netra'.
    Load address: 0x81800000
    Loading: *#################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 ####################################
    done
    Bytes transferred = 2513456 (265a30 hex)
    ## Booting kernel from Legacy Image at 81800000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2513392 Bytes = 2.4 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37 (z3@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 Fri Dec 9 16:08:51 EST 2011
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168evm
    vram size = 52428800 at 0x0
    bootconsole [earlycon0] enabled
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 1.1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 52224
    Kernel command line: console=ttyO2,115200 mem=256M vram=50M ti816xfb.vram=0:24M earlyprintk notifyk.vpssm3_sva=0xBF900000 libata.force=1.5G musb_hdrc.use_dma=0 spidev.bufsiz=1048576 noinitrd root=/dev/nfs nfsroot=192.168.2.96:/home/constantin/workspace/z3-filesystems/z3-netra/filesys/fs,nolock,udp rw ip=192.168.2.97:192.168.2.96:192.168.2.1:255.255.255.0:Z3-Netra::off
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 206MB = 206MB total
    Memory: 203260k/203260k available, 58884k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003b000   ( 204 kB)
          .text : 0xc003b000 - 0xc04c6000   (4652 kB)
          .data : 0xc04c6000 - 0xc050b180   ( 277 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy: 
    NET: Registered protocol family 16
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    evm_init_begin
    omap_mux_init: Add partition: #1: core, flags: 0
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
     ******* SKEYES DVIS SPI Setup ******* 
    registered ti816x_vpss device
    registered ti816x_gpio_vr device
    registered TI816x on-chip HDMI device
     ******* SKEYES DVIS GPIO Setup ******* 
    gpio_request(4,"DVIS_GP0_IO4")=0
    gpio_direction_output(4,0)=0
    gpio_export(4,true)=0
    gpio_request(5,"DVIS_GP0_IO5")=-16
    gpio_direction_output(5,0)=0
    gpio_export(5,true)=0
    gpio_request(7,"DVIS_FPGA_CFG")=0
    gpio_direction_output(7,0)=0
    gpio_export(7,true)=0
    gpio_request(8,"DVIS_CTRL5V")=0
    gpio_direction_output(8,0)=0
    gpio_export(8,true)=0
    gpio_request(18,"DVIS_CV_PD")=0
    gpio_direction_output(18,1)=0
    gpio_export(18,true)=0
    gpio_request(19,"DVIS_CV_RES")=0
    gpio_direction_output(19,1)=0
    gpio_export(19,true)=0
    gpio_request(20,"DVIS_CTRL12V")=0
    gpio_direction_output(20,1)=0
    gpio_export(20,true)=0
    gpio_request(28,"DVIS_TIMER4")=0
    gpio_direction_output(28,0)=0
    gpio_export(28,true)=0
    gpio_request(29,"DVIS_TIMER4")=0
    gpio_direction_output(29,0)=0
    gpio_export(29,true)=0
    gpio_request(53,"DVIS_XIO_PD")=0
    gpio_direction_output(53,0)=0
    gpio_export(53,true)=0
    gpio_request(54,"DVIS_FPGA_CFD")=0
    gpio_direction_input(54)=0
    gpio_export(54,true)=0
    gpio_request(59,"DVIS_FPGA2")=0
    gpio_direction_output(59,0)=0
    gpio_export(59,true)=0
    gpio_request(60,"DVIS_FPGA3")=0
    gpio_direction_output(60,0)=0
    gpio_export(60,true)=0
    registered ti816x_sr device
    registered ti81xx_vidout device
    pm_dbg_init: only OMAP3 supported
    Registered ti81xx_fb device
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xd0838000
    ti81xx_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers disabled
    PCI: bus1: Fast back to back transfers disabled
    PCI: bus2: Fast back to back transfers disabled
    pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
    pci 0000:01:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
    pci 0000:02:00.0: BAR 1: assigned [mem 0x20000000-0x20003fff]
    pci 0000:02:00.0: BAR 1: set to [mem 0x20000000-0x20003fff] (PCI address [0x20000000-0x20003fff])
    pci 0000:02:00.0: BAR 0: assigned [mem 0x20004000-0x200047ff]
    pci 0000:02:00.0: BAR 0: set to [mem 0x20004000-0x200047ff] (PCI address [0x20004000-0x200047ff])
    pci 0000:01:00.0: PCI bridge to [bus 02-02]
    pci 0000:01:00.0:   bridge window [io  disabled]
    pci 0000:01:00.0:   bridge window [mem 0x20000000-0x200fffff]
    pci 0000:01:00.0:   bridge window [mem pref disabled]
    pci 0000:00:00.0: PCI bridge to [bus 01-02]
    pci 0000:00:00.0:   bridge window [io  disabled]
    pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
    pci 0000:00:00.0:   bridge window [mem pref disabled]
    PCI: enabling device 0000:00:00.0 (0140 -> 0143)
    PCI: enabling device 0000:01:00.0 (0140 -> 0143)
    bio: create slab <bio-0> at 0
    regulator: VFB: 858 <--> 1397 mV at 1103 mV 
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    musb-hdrc: kernel must blacklist external hubs
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at d081e000 using PIO, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    musb-hdrc: kernel must blacklist external hubs
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at d0832800 using PIO, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 396
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    console [ttyO2] enabled, bootconsole disabled
    console [ttyO2] enabled, bootconsole disabled
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc 
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: FORCE: PHY spd limit set to 1.5Gbps
    ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    ata2: FORCE: PHY spd limit set to 1.5Gbps
    ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16
    omap2-nand driver initializing
    ONFI flash detected
    ONFI param page 0 valid
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000120000 : "U-Boot"
    0x000000120000-0x000000240000 : "U-Boot Update"
    0x000000240000-0x000000260000 : "U-Boot Env Update"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x00000cee0000 : "File System"
    0x00000cee0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbf900000
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    asoc: adv7611-hifi <-> davinci-mcasp.0 mapping ok
    ALSA device list:
      #0: TI81XX EVM
      #1: APP02
    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    smartreflex smartreflex: Driver is not initialized, nTarget values are not found
    regulator_init_complete: disabling VFB
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    ata2: SATA link down (SStatus 0 SControl 310)
    ata1: SATA link down (SStatus 0 SControl 310)
    mmc0: new high speed SD card at address b368
    mmcblk0: mmc0:b368 USD   970 MiB (ro)
     mmcblk0: p1
    davinci_mdio davinci_mdio.0: resetting idled controller
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=1cc914)
    IP-Config: Complete:
         device=eth0, addr=192.168.2.97, mask=255.255.255.0, gw=192.168.2.1,
         host=Z3-Netra, domain=, nis-domain=(none),
         bootserver=192.168.2.96, rootserver=192.168.2.96, rootpath=
    PHY: 0:01 - Link is Up - 1000/Full
    VFS: Mounted root (nfs filesystem) on device 0:14.
    devtmpfs: mounted
    Freeing init memory: 204K
    init started: BusyBox v1.15.0.svn (2011-12-09 15:14:35 EST)
    starting pid 47, tty '': '/etc/init.d/rcS'
    Please wait: booting...
    Starting udev
    udevd (62): /proc/62/oom_adj is deprecated, please use /proc/62/oom_score_adj instead.
    PCI: enabling device 0000:02:00.0 (0140 -> 0142)
    firewire_ohci: Added fw-ohci device 0000:02:00.0, OHCI v1.10, 8 IR + 8 IT contexts, quirks 0x2
    firewire_core: created device fw0: GUID 0000000000000000, S800
    Root filesystem already rw, not remounting
    root: mount: mounting rootfs on / failed: No such file or directory
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... done.
    Wed Dec  2 18:59:00 UTC 2009
    Loading HDVICP2 Firmware
    /dev/mem opened.
    Doing GEL setting...
    CortxA8: Output:    	PRCM for SPINBOX Initialization in Progress 
                 BW Phy Addr : 0x48181400 Data : 0x0830ef02
                 AW Phy Addr : 0x48181400 Data : 0x0830ef02
                 BW Phy Addr : 0x48181598 Data : 0x00030000
                 AW Phy Addr : 0x48181598 Data : 0x00000002
                 Phy Addr : 0x48181598 Data : 0x00000002
    CortxA8: Output:    	PRCM for SPINBOX Initialization in Done 
    CortxA8: Output:    	PRCM for mailboxes Initialization in Progress 
                 BW Phy Addr : 0x48181400 Data : 0x0830ef02
                 AW Phy Addr : 0x48181400 Data : 0x0830ef02
                 BW Phy Addr : 0x48181594 Data : 0x00000002
                 AW Phy Addr : 0x48181594 Data : 0x00000002
                 Phy Addr : 0x48181594 Data : 0x00000002
    CortxA8: Output:    	mailboxes Accesses are PASSED 
    CortxA8: Output:    	mailboxes Initialization in Done 
    CortxA8: Output:    	PRCM for dmtimer Initialization in Progress 
                 BW Phy Addr : 0x48181400 Data : 0x0830ef02
                 AW Phy Addr : 0x48181400 Data : 0x0830ef02
                 BW Phy Addr : 0x48181574 Data : 0x00000002
                 AW Phy Addr : 0x48181574 Data : 0x00000002
                 Phy Addr : 0x48181574 Data : 0x00000002
    CortxA8: Output:    	timer Accesses are PASSED 
    CortxA8: Output:    	timer Initialization in Done 
    CortxA8: Output:    	PRCM for SPINBOX Initialization in Progress 
                 BW Phy Addr : 0x48181400 Data : 0x0830ef02
                 AW Phy Addr : 0x48181400 Data : 0x0830ef02
                 BW Phy Addr : 0x48181598 Data : 0x00000002
                 AW Phy Addr : 0x48181598 Data : 0x00000002
                 Phy Addr : 0x48181598 Data : 0x00000002
    CortxA8: Output:    	PRCM for SPINBOX Initialization in Done 
    CortxA8: Output:    	PRCM for IVHD0 is in Progress, Please wait.....  
                 BW Phy Addr : 0x48180600 Data : 0x00000002
                 AW Phy Addr : 0x48180600 Data : 0x00000002
                 Phy Addr : 0x48180c04 Data : 0x00000037
                 BW Phy Addr : 0x48180620 Data : 0x00070000
                 AW Phy Addr : 0x48180620 Data : 0x00070002
                 BW Phy Addr : 0x48180624 Data : 0x00030000
                 AW Phy Addr : 0x48180624 Data : 0x00010002
                 Phy Addr : 0x48180600 Data : 0x00000102
                 BW Phy Addr : 0x48180c10 Data : 0x00000007
                 AW Phy Addr : 0x48180c10 Data : 0x00000003
                 Phy Addr : 0x48180c14 Data : 0x00000004
                 BW Phy Addr : 0x58088000 Data : 0xd9347652
                 AW Phy Addr : 0x58088000 Data : 0xeafffffe
                 BW Phy Addr : 0x58098000 Data : 0x686aaeb1
                 AW Phy Addr : 0x58098000 Data : 0xeafffffe
                 BW Phy Addr : 0x48180c10 Data : 0x00000003
                 AW Phy Addr : 0x48180c10 Data : 0x00000000
                 Phy Addr : 0x48180c14 Data : 0x00000007
    CortxA8: Output:    	PRCM for IVHD0 is Done Successfully  
    CortxA8: Output:    	User Can Connect to ICONT1 & ICONT2 of IVHD0  
    CortxA8: Output:    	PRCM for IVHD1 is in Progress, Please wait.....  
                 BW Phy Addr : 0x48180700 Data : 0x00000002
                 AW Phy Addr : 0x48180700 Data : 0x00000002
                 Phy Addr : 0x48180d04 Data : 0x00000037
                 BW Phy Addr : 0x48180720 Data : 0x00070000
                 AW Phy Addr : 0x48180720 Data : 0x00050002
                 BW Phy Addr : 0x48180724 Data : 0x00030000
                 AW Phy Addr : 0x48180724 Data : 0x00010002
                 Phy Addr : 0x48180700 Data : 0x00000102
                 BW Phy Addr : 0x48180d10 Data : 0x00000007
                 AW Phy Addr : 0x48180d10 Data : 0x00000003
                 Phy Addr : 0x48180d14 Data : 0x00000004
                 BW Phy Addr : 0x5a088000 Data : 0x0d91b2a8
                 AW Phy Addr : 0x5a088000 Data : 0xeafffffe
                 BW Phy Addr : 0x5a098000 Data : 0x6f26aba8
                 AW Phy Addr : 0x5a098000 Data : 0xeafffffe
                 BW Phy Addr : 0x48180d10 Data : 0x00000003
                 AW Phy Addr : 0x48180d10 Data : 0x00000000
                 Phy Addr : 0x48180d14 Data : 0x00000007
    CortxA8: Output:    	PRCM for IVHD1 is Done Successfully  
    CortxA8: Output:    	User Can Connect to ICONT1 & ICONT2 of IVHD1  
    CortxA8: Output:    	PRCM for IVHD2 is in Progress, Please wait.....  
                 BW Phy Addr : 0x48180800 Data : 0x00000002
                 AW Phy Addr : 0x48180800 Data : 0x00000002
                 Phy Addr : 0x48180e04 Data : 0x00000037
                 BW Phy Addr : 0x48180820 Data : 0x00070000
                 AW Phy Addr : 0x48180820 Data : 0x00050002
                 BW Phy Addr : 0x48180824 Data : 0x00030000
                 AW Phy Addr : 0x48180824 Data : 0x00010002
                 Phy Addr : 0x48180800 Data : 0x00000102
                 BW Phy Addr : 0x48180e10 Data : 0x00000007
                 AW Phy Addr : 0x48180e10 Data : 0x00000003
                 Phy Addr : 0x48180e14 Data : 0x00000004
                 BW Phy Addr : 0x53088000 Data : 0x356b3861
                 AW Phy Addr : 0x53088000 Data : 0xeafffffe
                 BW Phy Addr : 0x53098000 Data : 0xabbaad2f
                 AW Phy Addr : 0x53098000 Data : 0xeafffffe
                 BW Phy Addr : 0x48180e10 Data : 0x00000003
                 AW Phy Addr : 0x48180e10 Data : 0x00000000
                 Phy Addr : 0x48180e14 Data : 0x00000007
    CortxA8: Output:    	PRCM for IVHD2 is Done Successfully  
    CortxA8: Output:    	User Can Connect to ICONT1 & ICONT2 of IVHD2  
                 BW Phy Addr : 0x4e000440 Data : 0x00000000
                 AW Phy Addr : 0x4e000440 Data : 0x06060504
                 BW Phy Addr : 0x4e000444 Data : 0x00000000
                 AW Phy Addr : 0x4e000444 Data : 0x06060504
                 BW Phy Addr : 0x4e000448 Data : 0x00000000
                 AW Phy Addr : 0x4e000448 Data : 0x06060504
                 BW Phy Addr : 0x4e00044c Data : 0x00000000
                 AW Phy Addr : 0x4e00044c Data : 0x06060504
    CortxA8: Output:    	 TilerDmmPatViewConfig Completed .... 
    	Omx Initialization completed 
    SysLink version : 2.00.04.83
    SysLink module created on Date:Dec  9 2011 Time:15:34:09
    FIRMWARE: Memory map bin file not passed
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
    FIRMWARE: Default memory configuration is used
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.1.1
    FIRMWARE: Memory Configuration status : In Progress
    FIRMWARE: 1 start Successful
    Starting telnet daemon.
    Loading HDVPSS Firmware
    NET: Registered protocol family 10
    FIRMWARE: Memory map bin file not passed
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [Location of Mem map bin file]
    FIRMWARE: Default memory configuration is used
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.1.1
    FIRMWARE: Memory Configuration status : In Progress
    FIRMWARE: 2 start Successful
    cat: write error: No space left on device
    cat: write error: No space left on device
    HDMI W1 rev 2.0
    Starting syslogd/klogd: done
    DVIS gpio setting for HDMI interrupt
    out
    out
    in
    in
    /home/root/DVIS_FPGA_1_0.rbf open success
    sending through /dev/spidev1.0
    /dev/spidev1.0 open ok
    confdone is 0
    send 107129 byte done
    confdone is 1
    z3latch parameter=0 00000000
    /sys/class/gpio/gpio59/value  = 0
    HI0_RST#=0
    /sys/class/gpio/gpio19/value  = 0
    CV_RST#=0
    /sys/class/gpio/gpio18/value  = 0
    CV_PDN=0
    /etc/init.d/rc: /etc/rc5.d/S98z3.sh: line 87: can't create /dev/tty: No such device or address
    BoardID=1
    z3latch parameter=8827 0000227b
    /sys/class/gpio/gpio59/value  = 1
    HI0_RST#=1
    /sys/class/gpio/gpio19/value  = 1
    CV_RST#=1
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    z3latch parameter=8819 00002273
    /sys/class/gpio/gpio59/value  = 1
    HI0_RST#=1
    /sys/class/gpio/gpio19/value  = 0
    CV_RST#=0
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    z3latch parameter=8827 0000227b
    /sys/class/gpio/gpio59/value  = 1
    HI0_RST#=1
    /sys/class/gpio/gpio19/value  = 1
    CV_RST#=1
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    z3latch parameter=8571 0000217b
    /sys/class/gpio/gpio59/value  = 1
    HI0_RST#=1
    /sys/class/gpio/gpio19/value  = 1
    CV_RST#=1
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    omap_i2c omap_i2c.2: controller timed out
    Warning - write failed
    Value 0x00 written, no readback
    Value 0x00 written, no readback
    Value 0x00 written, no readback
    Value 0x00 written, no readback
    Warning - write failed
    Value 0x01 written, no readback
    Warning - write failed
    Value 0x01 written, no readback
    z3latch parameter=10330 0000285a
    /sys/class/gpio/gpio59/value  = 0
    HI0_RST#=0
    /sys/class/gpio/gpio19/value  = 1
    CV_RST#=1
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    z3latch parameter=9595 0000257b
    /sys/class/gpio/gpio59/value  = 1
    HI0_RST#=1
    /sys/class/gpio/gpio19/value  = 1
    CV_RST#=1
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    z3latch parameter=9595 0000257b
    /sys/class/gpio/gpio59/value  = 1
    HI0_RST#=1
    /sys/class/gpio/gpio19/value  = 1
    CV_RST#=1
    /sys/class/gpio/gpio18/value  = 1
    CV_PDN=1
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x80 written, readback matched
    No size specified (using byte-data access)
    Value 0x80 written, readback matched
    No size specified (using byte-data access)
    Value 0x7c written, readback matched
    No size specified (using byte-data access)
    Value 0x7e written, readback matched
    No size specified (using byte-data access)
    Value 0x64 written, readback matched
    No size specified (using byte-data access)
    Value 0x6c written, readback matched
    No size specified (using byte-data access)
    Value 0x68 written, readback matched
    No size specified (using byte-data access)
    Value 0x44 written, readback matched
    No size specified (using byte-data access)
    Value 0x21 written, no readback
    Value 0x06 written, readback matched
    Value 0xf5 written, readback matched
    Value 0x80 written, readback matched
    Value 0x2c written, readback matched
    Value 0xa6 written, readback matched
    Value 0x44 written, readback matched
    Value 0x42 written, readback matched
    Value 0x3f written, readback matched
    Value 0xa8 written, readback matched
    Value 0x83 written, readback matched
    Value 0x40 written, readback matched
    Value 0x01 written, readback matched
    Value 0x81 written, readback matched
    Value 0x03 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x01 written, readback matched
    Value 0x00 written, readback matched
    Value 0xfe written, readback matched
    Value 0x08 written, readback matched
    Value 0x1f written, readback matched
    Value 0x70 written, readback matched
    Value 0x04 written, readback matched
    Value 0x1e written, readback matched
    Value 0x8a written, readback matched
    Value 0xda written, readback matched
    Value 0x01 written, readback matched
    Value 0x10 written, readback matched
    *****************EDID************************
    No size specified (using byte-data access)
    Value 0x08 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x6a written, no readback
    No size specified (using byte-data access)
    Value 0x94 written, no readback
    No size specified (using byte-data access)
    Value 0x80 written, no readback
    No size specified (using byte-data access)
    Value 0x36 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0xff written, no readback
    No size specified (using byte-data access)
    Value 0x14 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x03 written, no readback
    No size specified (using byte-data access)
    Value 0x80 written, no readback
    No size specified (using byte-data access)
    Value 0xa0 written, no readback
    No size specified (using byte-data access)
    Value 0x5a written, no readback
    No size specified (using byte-data access)
    Value 0x78 written, no readback
    No size specified (using byte-data access)
    Value 0x0a written, no readback
    No size specified (using byte-data access)
    Value 0xee written, no readback
    No size specified (using byte-data access)
    Value 0x91 written, no readback
    No size specified (using byte-data access)
    Value 0xa3 written, no readback
    No size specified (using byte-data access)
    Value 0x54 written, no readback
    No size specified (using byte-data access)
    Value 0x4c written, no readback
    No size specified (using byte-data access)
    Value 0x99 written, no readback
    No size specified (using byte-data access)
    Value 0x26 written, no readback
    No size specified (using byte-data access)
    Value 0x0f written, no readback
    No size specified (using byte-data access)
    Value 0x50 written, no readback
    No size specified (using byte-data access)
    Value 0x54 written, no readback
    No size specified (using byte-data access)
    Value 0x25 written, no readback
    No size specified (using byte-data access)
    Value 0x4e written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x81 written, no readback
    No size specified (using byte-data access)
    Value 0x80 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x1d written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x72 written, no readback
    No size specified (using byte-data access)
    Value 0x51 written, no readback
    No size specified (using byte-data access)
    Value 0xd0 written, no readback
    No size specified (using byte-data access)
    Value 0x1e written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x6e written, no readback
    No size specified (using byte-data access)
    Value 0x28 written, no readback
    No size specified (using byte-data access)
    Value 0x55 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x0f written, no readback
    No size specified (using byte-data access)
    Value 0x48 written, no readback
    No size specified (using byte-data access)
    Value 0x42 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x1e written, no readback
    No size specified (using byte-data access)
    Value 0x8e written, no readback
    No size specified (using byte-data access)
    Value 0x0a written, no readback
    No size specified (using byte-data access)
    Value 0xd0 written, no readback
    No size specified (using byte-data access)
    Value 0x8a written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0xe0 written, no readback
    No size specified (using byte-data access)
    Value 0x2d written, no readback
    No size specified (using byte-data access)
    Value 0x10 written, no readback
    No size specified (using byte-data access)
    Value 0x10 written, no readback
    No size specified (using byte-data access)
    Value 0x3e written, no readback
    No size specified (using byte-data access)
    Value 0x96 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x1f written, no readback
    No size specified (using byte-data access)
    Value 0x09 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x18 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0xfc written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x38 written, no readback
    No size specified (using byte-data access)
    Value 0x31 written, no readback
    No size specified (using byte-data access)
    Value 0x36 written, no readback
    No size specified (using byte-data access)
    Value 0x38 written, no readback
    No size specified (using byte-data access)
    Value 0x41 written, no readback
    No size specified (using byte-data access)
    Value 0x50 written, no readback
    No size specified (using byte-data access)
    Value 0x50 written, no readback
    No size specified (using byte-data access)
    Value 0x30 written, no readback
    No size specified (using byte-data access)
    Value 0x32 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0xfd written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x14 written, no readback
    No size specified (using byte-data access)
    Value 0x4b written, no readback
    No size specified (using byte-data access)
    Value 0x0f written, no readback
    No size specified (using byte-data access)
    Value 0x46 written, no readback
    No size specified (using byte-data access)
    Value 0x0c written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x0a written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x87 written, no readback
    No size specified (using byte-data access)
    Value 0x02 written, no readback
    No size specified (using byte-data access)
    Value 0x03 written, no readback
    No size specified (using byte-data access)
    Value 0x25 written, no readback
    No size specified (using byte-data access)
    Value 0x76 written, no readback
    No size specified (using byte-data access)
    Value 0x4f written, no readback
    No size specified (using byte-data access)
    Value 0x05 written, no readback
    No size specified (using byte-data access)
    Value 0x14 written, no readback
    No size specified (using byte-data access)
    Value 0x04 written, no readback
    No size specified (using byte-data access)
    Value 0x13 written, no readback
    No size specified (using byte-data access)
    Value 0x10 written, no readback
    No size specified (using byte-data access)
    Value 0x1f written, no readback
    No size specified (using byte-data access)
    Value 0x20 written, no readback
    No size specified (using byte-data access)
    Value 0x03 written, no readback
    No size specified (using byte-data access)
    Value 0x02 written, no readback
    No size specified (using byte-data access)
    Value 0x12 written, no readback
    No size specified (using byte-data access)
    Value 0x11 written, no readback
    No size specified (using byte-data access)
    Value 0x07 written, no readback
    No size specified (using byte-data access)
    Value 0x06 written, no readback
    No size specified (using byte-data access)
    Value 0x16 written, no readback
    No size specified (using byte-data access)
    Value 0x15 written, no readback
    No size specified (using byte-data access)
    Value 0x26 written, no readback
    No size specified (using byte-data access)
    Value 0x09 written, no readback
    No size specified (using byte-data access)
    Value 0x07 written, no readback
    No size specified (using byte-data access)
    Value 0x01 written, no readback
    No size specified (using byte-data access)
    Value 0x15 written, no readback
    No size specified (using byte-data access)
    Value 0x07 written, no readback
    No size specified (using byte-data access)
    Value 0x60 written, no readback
    No size specified (using byte-data access)
    Value 0x83 written, no readback
    No size specified (using byte-data access)
    Value 0x0f written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x65 written, no readback
    No size specified (using byte-data access)
    Value 0x03 written, no readback
    No size specified (using byte-data access)
    Value 0x0c written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x10 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x00 written, no readback
    No size specified (using byte-data access)
    Value 0x69 written, no readback
    EDID programmed successfully.
    EDID1 success
    No size specified (using byte-data access)
    Value 0x01 written, readback matched
    No size specified (using byte-data access)
    Value 0x01 written, readback matched
    ************ EDID DONE *************
    adv7611 1-004c: chip found @ 0x98 (OMAP I2C adapter)
    z3netra-000: v4l2 sub device adv7611 registered grp 1
    adv7611 1-004d: chip found @ 0x9a (OMAP I2C adapter)
    adv7611 1-004d: Write: retry ... 3
    adv7611 1-004d: Write: retry ... 2
    adv7611 1-004d: Write: retry ... 1
    i2c i2c-1: adv7611 i2c write failed: addr 4d reg x01 value x06
    adv7611 1-004d: Write: retry ... 3
    adv7611 1-004d: Write: retry ... 2
    adv7611 1-004d: Write: retry ... 1
    i2c i2c-1: adv7611 i2c write failed: addr 4d reg x15 value xbe
    adv7611 1-004d: adv7611 init failed, code -22
    adv7611: probe of 1-004d failed with error -22
    z3netra-000: v4l2 sub device adv7611 register fails
    tvp7002 1-005c: tvp7002 found @ 0x5c (OMAP I2C adapter)
    tvp7002 1-005c: TVP7002 read error -121
    tvp7002: probe of 1-005c failed with error -121
    z3netra-000: v4l2 sub device tvp7002 register fails
    tvp7002 1-005d: tvp7002 found @ 0x5d (OMAP I2C adapter)
    tvp7002 1-005d: TVP7002 read error -121
    tvp7002: probe of 1-005d failed with error -121
    z3netra-000: v4l2 sub device tvp7002 register fails
    z3netra-000: V4L2 device registered as video0
    Z3 Netra video decoders ver 0.6.0 successfully loaded, 1 devs.
    modprobe: module dummy_vpif not found
    starting pid 2335, tty '/dev/ttyO2': '/sbin/getty 115200 ttyO2 vt100'
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org arago ttyO2
    
    Arago 2009.11 arago ttyO2
    
    arago login: root
    
    
    BusyBox v1.15.0.svn (2011-12-09 15:14:35 EST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    root@arago:~# cat /proc         

    root@arago:~# /etc/init.d/rc.pvr start
    Unhandled fault: Precise External Abort on non-linefetch (0x1008) at 0xd5ee0014
    Internal error: : 1008 [#1]
    last sysfs file: /sys/devices/virtual/video4linux/video0/index
    Modules linked in: pvrsrvkm netra_autodetect tvp7002 adv7611 ti81xxhdmi ti81xxfb vpss ipv6 syslink firewire_ohci firewire_core crc_itu_t
    CPU: 0    Not tainted  (2.6.37 #3)
    PC is at OSReadHWReg+0xc/0x18 [pvrsrvkm]
    LR is at SysCreateVersionString+0x30/0x8c [pvrsrvkm]
    pc : [<bf205818>]    lr : [<bf21193c>]    psr: a0000013
    sp : ca81fe08  ip : ca81fe18  fp : ca81fe14
    r10: 00000000  r9 : ca81e000  r8 : 00000044
    r7 : d57eb000  r6 : 00000000  r5 : d5ee0000  r4 : bf217ce4
    r3 : 00000012  r2 : 00000000  r1 : 00000014  r0 : d5ee0000
    Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Control: 10c5387d  Table: 8b78c019  DAC: 00000015
    Process pvrsrvinit (pid: 2352, stack limit = 0xca81e2e8)
    Stack: (0xca81fe08 to 0xca820000)
    fe00:                   ca81fe34 ca81fe18 bf21193c bf205818 00000002 bf217ce4
    fe20: bf217ce4 bf217c5c ca81fe54 ca81fe38 bf211a0c bf211918 bf217ce4 d57eb000
    fe40: d57ea000 d57eb000 ca81fe6c ca81fe58 bf1fee40 bf2119a4 00000000 d57eb000
    fe60: ca81fe8c ca81fe70 bf20d4ac bf1fee2c d57ea000 ca81feb8 cc0db240 d57eb000
    fe80: ca81feb4 ca81fe90 bf20c1fc bf20d464 be848b2c c01c6744 cc247800 00000930
    fea0: be848b2c ca81e000 ca81fef4 ca81feb8 bf207500 bf20c118 00000044 0000001c
    fec0: be848b60 00000008 be848b58 00000008 00000001 cc0db240 00000000 cc247800
    fee0: 00000003 00000003 ca81ff04 ca81fef8 c00d3728 bf2073e8 ca81ff74 ca81ff08
    ff00: c00d3e38 c00d370c cc00b4d0 00000000 cc00b4d0 ca82f630 ca81ff3c ca81ff28
    ff20: c00b8424 c00c39a4 cc00b4d0 ccbb5900 ca81ff84 ca81ff40 c00b9440 c00b83cc
    ff40: 4088c000 cc247800 cc06eb00 00000000 be848b2c c01c6744 00000003 cc247800
    ff60: ca81e000 00000000 ca81ffa4 ca81ff78 c00d3ed0 c00d3944 ca81ffa4 00000000
    ff80: c00b94b8 00011008 be848b78 00000000 00000036 c0045f48 00000000 ca81ffa8
    ffa0: c0045da0 c00d3e84 00011008 be848b78 00000003 c01c6744 be848b2c 00000001
    ffc0: 00011008 be848b78 00000000 00000036 00000014 00000000 00000014 00000000
    ffe0: 00000001 be848b28 400ab3fc 401b4aec 20000010 00000003 00000000 00000000
    Backtrace: 
    [<bf20580c>] (OSReadHWReg+0x0/0x18 [pvrsrvkm]) from [<bf21193c>] (SysCreateVersionString+0x30/0x8c [pvrsrvkm])
    [<bf21190c>] (SysCreateVersionString+0x0/0x8c [pvrsrvkm]) from [<bf211a0c>] (SysFinalise+0x74/0x94 [pvrsrvkm])
     r5:bf217c5c r4:bf217ce4
    [<bf211998>] (SysFinalise+0x0/0x94 [pvrsrvkm]) from [<bf1fee40>] (PVRSRVFinaliseSystem+0x20/0x58 [pvrsrvkm])
     r7:d57eb000 r6:d57ea000 r5:d57eb000 r4:bf217ce4
    [<bf1fee20>] (PVRSRVFinaliseSystem+0x0/0x58 [pvrsrvkm]) from [<bf20d4ac>] (PVRSRVInitSrvDisconnectBW+0x54/0x84 [pvrsrvkm])
     r5:d57eb000 r4:00000000
    [<bf20d458>] (PVRSRVInitSrvDisconnectBW+0x0/0x84 [pvrsrvkm]) from [<bf20c1fc>] (BridgedDispatchKM+0xf0/0x148 [pvrsrvkm])
     r7:d57eb000 r6:cc0db240 r5:ca81feb8 r4:d57ea000
    [<bf20c10c>] (BridgedDispatchKM+0x0/0x148 [pvrsrvkm]) from [<bf207500>] (PVRSRV_BridgeDispatchKM+0x124/0x188 [pvrsrvkm])
     r9:ca81e000 r8:be848b2c r7:00000930 r6:cc247800 r5:c01c6744
    r4:be848b2c
    [<bf2073dc>] (PVRSRV_BridgeDispatchKM+0x0/0x188 [pvrsrvkm]) from [<c00d3728>] (vfs_ioctl+0x28/0x44)
     r7:00000003 r6:00000003 r5:cc247800 r4:00000000
    [<c00d3700>] (vfs_ioctl+0x0/0x44) from [<c00d3e38>] (do_vfs_ioctl+0x500/0x540)
    [<c00d3938>] (do_vfs_ioctl+0x0/0x540) from [<c00d3ed0>] (sys_ioctl+0x58/0x7c)
    [<c00d3e78>] (sys_ioctl+0x0/0x7c) from [<c0045da0>] (ret_fast_syscall+0x0/0x30)
     r8:c0045f48 r7:00000036 r6:00000000 r5:be848b78 r4:00011008
    Code: e89da800 e1a0c00d e92dd800 e24cb004 (e7900001) 
    ---[ end trace 4db5f6004875c1e8 ]---
    
    

  • Hi Constantin,

    38xx-demo script is the one to be run. Good to know that you have got it working with 38xx-demo.

    Before inserting SGX driver modules, some register configurations are required which is done by 38xx-demo script (See the devmem calls in 38xx-demo script).

    Its better to add 38xx-demo script as part of bootup scripts.

    Thanks,

    Prathap.

  • Prathap,

      Yes I saw those and made my own script.  Everything works great.  I really appreciate the support.

      Would it be possible to add this information to the SGX Debug wiki?  More specifically:

       - EGL_BAD_ALLOC could be caused by the card not being initialized.

      - A panic in the kernel is also associated with this initialization step.

    Thank you,

    Constantin

  • Hi Constantin,

    Good to know that you have now got all things working great with the support provided.

    Also thanks for the input for sgxdbg wiki. I have updated it. Please take a look -

    http://processors.wiki.ti.com/index.php/SGXDbg#EGL_BAD_ALLOC_on_running_graphics_demos_or_sample_apps_.26_kernel_panic_on_inserting_graphics_kernel_modules

    Thanks,

    Prathap.