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.

AM3517EVM Problem with custom touchscreen.

Other Parts Discussed in Thread: AM3517, TSC2004, TVP5146, TCA6416, OMAP3525, OMAP3515, OMAP3530, OMAP3503

Hi Guys,

I am new to this forum.
I have a AM3517EVM board. The SDK has an 4"3 LCD 480x272 (SHARP LQ043T1DG01).

I develop a device based on AM2517SOM-M2 with linux-2.6.37-psp04.02.00.07 from LogicPD.
I am using 7" 800x480 TFT touch screen (SHARP LQ070Y3DG3B) in my device.
I am trying to recalibrate my TFT touch screen with ts_calibrate, but it is not work right.
The ts_calibrate took to less samples, then I press touch panel. It's look like the touch panel is sensitive too march.
So on, I can't calibrate my touchscreen.

I found some difference betwin caracteristics of LCDs (resistor between terminals, minimum tension for detecting e.t.c),
but I don't know there I must apply it in.

I run ts_calibrate for 3 times for example.
When I run ts_calibrate the values displayed on the screen are
--------------------------------------------------------------------------------------------------------------------------------------------------------
root@am3517-evm:~# ts_calibrate                                                
xres = 800, yres = 480                                                         
Took 1 samples...                                                              
Top left : X =   19 Y =   41                                                   
Took 1 samples...                                                              
Top right : X =   20 Y =   44                                                  
Took 1 samples...                                                              
Bot right : X =  234 Y =  221                                                  
Took 1 samples...                                                              
Bot left : X =  233 Y =  220                                                   
Took 1 samples...                                                              
Center : X =  126 Y =  128                                                     
-1705.062500 -68.171875 81.968750                                              
26.500000 2.130859 -0.429688                                                   
Calibration constants: -111742976 -4467712 5371904 1736704 139648 -28160 65536 
root@am3517-evm:~# ts_calibrate                                                
xres = 800, yres = 480                                                         
Took 3 samples...                                                              
Top left : X =   21 Y =   36                                                   
Took 1 samples...                                                              
Top right : X =  232 Y =   38                                                  
Took 1 samples...                                                              
Bot right : X =  232 Y =   38                                                  
Took 1 samples...                                                              
Bot left : X =  232 Y =   38                                                   
Took 1 samples...                                                              
Center : X =  124 Y =  130                                                     
-43.473633 2.199241 1.313601                                                   
-0.742859 1.193873 0.713099                                                    
Calibration constants: -2849088 144129 86088 -48684 78241 46733 65536          
root@am3517-evm:~# ts_calibrate                                                
xres = 800, yres = 480                                                         
Took 1 samples...                                                              
Top left : X =   19 Y =   36                                                   
Took 5 samples...                                                              
Top right : X =   18 Y =   39                                                  
Took 3 samples...                                                              
Bot right : X =  235 Y =  222                                                  
Took 1 samples...                                                              
Bot left : X =   20 Y =  214                                                   
Took 2 samples...                                                              
Center : X =   20 Y =  215                                                     
387.386841 2.447359 -0.964891                                                  
-17.010681 0.387369 1.603572                                                   
Calibration constants: 25387784 160390 -63235 -1114812 25386 105091 65536
--------------------------------------------------------------------------------------------------------------------------------------------------------

Can some one please help me understanding whats going wrong or what file(s) I need to modify.

  • It looks like that your touchscreen driver has some issues. It is reporting wrong values.

    xres = 800, yres = 480                                                         
    Took 1 samples...                                                              
    Top left : X =   19 Y =   36                                                   
    Took 5 samples...                                                              
    Top right : X =   18 Y =   39                                                  
    Took 3 samples...                                                              
    Bot right : X =  235 Y =  222                                                  
    Took 1 samples...                                                              
    Bot left : X =   20 Y =  214                                                   
    Took 2 samples...                                                              
    Center : X =   20 Y =  215 

    You can see that, values are not changing, I have pasted working ts_calibrate output below for reference where you can easily observe that, the values are changing between corners of LCD panel.

    xres = 480, yres = 640

    Took 10 samples...
    Top left : X = 3433 Y = 3593
    Took 9 samples...
    Top right : X =  656 Y = 3587
    Took 3 samples...
    Bot right : X =  498 Y =  450
    Took 6 samples...
    Bot left : X = 3430 Y =  451
    Took 6 samples...
    Center : X = 2094 Y = 1960

     

    I would recommend to review your TSC driver and try to find root-cause.

     

    Thanks,

    Vaibhav

  • No, it is not possible.

    The SOM-M2, that I get with SDK working well! But other modules is not work fine...

    The other modules are SOMAM3517-101780FJIR-B (REV A) and SDK module is PN: 1014471 REV D

     

    Oh! The problem is not just touchscreen!

    SOM send a message like "No hardware found. Using default environment" at a booting time.

    Therefore SGX not started too.

     

    I think this is hardware issues or SOM need to load some configuration data from NAND.

     

  • Can you share your complete boot log here?

    If I understand correctly, the above error message is coming due to failure in NAND detection/read.

    Thanks,

    Vaibhav

  • I try to install previous version of PSP: linux-2.6.32-psp03.00.01.06.sdk.

    There is a boot log:

    Texas Instruments X-Loader 1.46 (Jan 22 2011 - 01:46:00)
    Starting X-loader on MMC
    Reading boot sector

    218976 Bytes Read from MMC
    Starting OS Bootloader from MMC...
    Starting OS Bootloader...


    U-Boot 2009.11 (Jan 22 2011 - 01:45:10)

    OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
    AM3517EVM Board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MB
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Die ID #4a3e000100000000015da3940e01c00d
    Net:   davinci_emac_initialize
    Ethernet PHY: GENERIC @ 0x00
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    mmc1 is available
    reading boot.scr

    ** Unable to read "boot.scr" from mmc 0:1 **
    reading uImage

    2308136 bytes read
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Arago/2.6.32-psp03.00.01.06.sdk/
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2308072 Bytes =  2.2 MB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux................................................................................................................................................. done, booti.
    Linux version 2.6.32 (schuyler_2@neo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Tue Jan 25 16:18:32 CST 2011
    CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3517/AM3517 EVM
    Memory policy: ECC disabled, Data cache writeback
    AM3517 ES3.1 (l2cache iva sgx neon isp )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
    Reserving 4194304 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
    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: 256MB = 256MB total
    Memory: 250880KB available (4012K code, 345K data, 164K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:368
    Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    GPMC revision 5.0
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP GPIO hardware version 2.5
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    NET: Registered protocol family 16
    mux: Could not set signal i2c2_scl
    mux: Could not set signal i2c2_sda
    mux: Could not set signal i2c3_scl
    mux: Could not set signal i2c3_sda
    Display initialized successfully
    OMAP DMA hardware revision 4.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c_omap i2c_omap.1: bus 1 rev3.12 at 400 kHz
    regulator: VDCDC1: 1200 mV normal
    regulator: VDCDC2: 3300 mV normal
    regulator: VDCDC3: 1800 mV normal
    regulator: LDO1: 1800 mV normal
    regulator: LDO2: 3300 mV normal
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    tca6416-keypad 3-0020: failed reading register
    tca6416-keypad: probe of 3-0020 failed with error -5
    pca953x 3-0021: failed reading register
    pca953x: probe of 3-0021 failed with error -5
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, cppi4.1-dma, otg (peripheral+host), debug=0
    AM3517 OTG revision 4ea41001, PHY f0036a2, control 00
    musb_hdrc: USB OTG mode controller at d0810000 using DMA, IRQ 71
    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.
    AM3517  Linux PSP version 03.00.01.06 (AM3517EVM)
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    msgmni has been set to 490
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    console [ttyS2] enabled
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000020000000 : "jffs2-nand"
    vcan: Virtual CAN interface driver
    CAN device driver interface
    TI High End CAN Controller Driver 0.7
    failed to get can_stb
    ti_hecc ti_hecc.1: device registered (reg_base=d0870000, irq=24)
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    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: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    g_ether gadget: using random self ethernet address
    g_ether gadget: using random host ethernet address
    usb0: MAC 52:53:12:10:82:71
    usb0: HOST MAC 0a:68:78:1d:b7:db
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: 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.32 musb-hcd
    usb usb2: SerialNumber: musb_hdrc
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    input: TSC2004 Touchscreen as /class/input/input0
    rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    vpfe_init
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
    vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
    vpfe_register_ccdc_device: DM6446 CCDC
    DM6446 CCDC is registered with vpfe.
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    No device for DAI tlv320aic23
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    OMAP3517 / AM3517 EVM SoC init
    AIC23 Audio Codec 0.1
    tlv320aic23_write cannot write 000 to register R15
    asoc: tlv320aic23 <-> omap-mcbsp-dai-0 mapping ok
    tlv320aic23_write cannot write 001 to register R9
    tlv320aic23_write cannot write 004 to register R5
    tlv320aic23_write cannot write 117 to register R0
    tlv320aic23_write cannot write 117 to register R1
    mmc0: new high speed SDHC card at address 0007
    mmcblk0: mmc0:0007 SD4GB 3.67 GiB
     mmcblk0:
    tlv320aic23_write cannot write 010 to register R4
     p1 p2
    tlv320aic23_write cannot write 070 to register R2
    tlv320aic23_write cannot write 070 to register R3
    tlv320aic23_write cannot write 001 to register R9
    ALSA device list:
      #0: am3517evm (tlv320aic23)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Power Management for TI OMAP3.
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    regulator_init_complete: incomplete constraints, leaving LDO2 on
    regulator_init_complete: incomplete constraints, leaving LDO1 on
    davinci_emac_probe: using random MAC addr: 52:87:e5:cf:98:89
    emac-mii: probed
    rtc-s35390a 1-0030: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 1
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 2
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    Freeing init memory: 164K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    Remounting root file system...
    Caching udev devnodes
    Populating dev cache
    logger: mount: mount point /proc/bus/usb does not exist
    ALSA: Restoring mixer settings...
    Configuring network interfaces... No state is present for card am3517evm
    Unknown hardware: "tlv320aic23" "" "" "" ""
    Hardware is initialized using a guess method
    No state is present for card am3517evm
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, id=7c0f1)
    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    Tue Jan 25 22:59:00 UTC 2011
    Configuring update-modules.
    Configuring omap3-sgx-modules.
    Configuring dbus.
     Adding system startup for /etc/init.d/dbus-1.
    Configuring kernel-module-pcbc.
    Configuring kernel-module-ecb.
    Configuring kernel-module-scsi-wait-scan.
    Configuring kernel-image-2.6.32.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Creating Dropbear SSH server RSA host key.
    Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwDGiuS5wq7P84Z2NOtYp36lsQfTAvXMjT+wYJTCUIeHYTgOrOKpZzqI4MTEXAWU14jCluBBR4VJY4TFEQx8zhIkmU7lYRQ5CdQWOjb85oSy1GQm9OHdhHOeuV7FDmuzwr9SOauGh4clm
    Fingerprint: md5 72:a0:c6:03:12:65:b8:52:f0:db:da:f1:91:19:20:5e
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    No SGX hardware, not starting PVR
    Calibrating touchscreen (first time only)xres = 480, yres = 272
    Took 5 samples...
    Top left : X =   34 Y =  195
    Took 5 samples...
    Top right : X =  222 Y =  195
    Took 5 samples...
    Bot right : X =  223 Y =   55
    Took 1 samples...
    Bot left : X =   33 Y =   49
    Took 7 samples...
    Center : X =  126 Y =  121
    -16.437683 2.010357 -0.000680
    281.380341 0.019312 -1.201987
    Calibration constants: -1077260 131750 -44 18440542 1265 -78773 65536
    .
    Starting Matrix GUI application.

     _____                    _____           _         _  
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           

    Arago Project http://arago-project.org am3517-evm ttyS2

    Arago 2010.12 am3517-evm ttyS2

    am3517-evm login:

    The problem with touchscreen was solved in this case, but SGX still not starting.

  • The boot log with linux-2.6.37-psp04.02.00.07 is:

    40X

    Texas Instruments X-Loader 1.51 (Dec  6 2011 - 09:53:29)
    Starting X-loader on MMC
    Reading boot sector

    222512 Bytes Read from MMC
    Starting OS Bootloader from MMC...
    Starting OS Bootloader...


    U-Boot 2010.06 (Dec 06 2011 - 11:42:13)

    OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
    AM3517EVM Board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MiB
    NAND:  HW ECC [Kernel/FS layout] selected
    512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Die ID #4a3e000100000000015da3940e01c00d
    Net:   davinci_emac_initialize
    Ethernet PHY: GENERIC @ 0x00
    DaVinci EMAC
    Hit any key to stop autoboot:  0
    mmc1 is available
    reading boot.scr

    ** Unable to read "boot.scr" from mmc 0:1 **
    reading uImage

    3037252 bytes read
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 82000000 ...
       Image Name:   Linux Kernel 2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3037188 Bytes = 2.9 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 2.6.37 (arthur@arthur-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Tue Dec 6 11:29:18 MSK 2011
    [    0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    [    0.000000] Machine: OMAP3517/AM3517 EVM
    [    0.000000] Reserving 4194304 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM3517 ES1.1 (l2cache iva sgx neon isp )
    [    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64000
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 252MB = 252MB total
    [    0.000000] Memory: 242500k/242500k available, 19644k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc003a000   ( 200 kB)
    [    0.000000]       .text : 0xc003a000 - 0xc05a09a0   (5531 kB)
    [    0.000000]       .data : 0xc05a2000 - 0xc07599a0   (1759 kB)
    [    0.000000] NR_IRQS:375
    [    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    [    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
    [    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
    [    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
    [    0.000000] Reprogramming SDRC clock to 332000000 Hz
    [    0.000000] dpll3_m2_clk rate change failed: -22
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    [    0.000000] Total of 96 interrupts on 1 active controller
    [    0.000000] GPMC revision 5.0
    [    0.000000] Trying to install interrupt handler for IRQ368
    [    0.000000] Trying to install interrupt handler for IRQ369
    [    0.000000] Trying to install interrupt handler for IRQ370
    [    0.000000] Trying to install interrupt handler for IRQ371
    [    0.000000] Trying to install interrupt handler for IRQ372
    [    0.000000] Trying to install interrupt handler for IRQ373
    [    0.000000] Trying to install interrupt handler for IRQ374
    [    0.000000] Trying to install type control for IRQ375
    [    0.000000] Trying to set irq flags for IRQ375
    [    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
    [    0.000000] ... MAX_LOCK_DEPTH:          48
    [    0.000000] ... MAX_LOCKDEP_KEYS:        8191
    [    0.000000] ... CLASSHASH_SIZE:          4096
    [    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
    [    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
    [    0.000000] ... CHAINHASH_SIZE:          16384
    [    0.000000]  memory used by lock dependency info: 3951 kB
    [    0.000000]  per task-struct memory footprint: 2304 bytes
    [    0.000000] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    [    0.000000] pid_max: default: 32768 minimum: 301
    [    0.000000] Security Framework initialized
    [    0.000000] Mount-cache hash table entries: 512
    [    0.000000] CPU: Testing write buffer coherency: ok
    [    0.000000] regulator: core version 0.5
    [    0.000000] regulator: dummy:
    [    0.000000] NET: Registered protocol family 16
    [    0.000000] ------------[ cut here ]------------
    [    0.000000] WARNING: at arch/arm/mach-omap2/pm.c:94 _init_omap_device+0x84/0xa4()
    [    0.000000] _init_omap_device: could not find omap_hwmod for iva
    [    0.000000] Modules linked in:
    [    0.000000] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c0070928>] (warn_slowpath_common+0x4c/0x64)
    [    0.000000] [<c0070928>] (warn_slowpath_common+0x4c/0x64) from [<c00709c0>] (warn_slowpath_fmt+0x2c/0x3c)
    [    0.000000] [<c00709c0>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0051a18>] (_init_omap_device+0x84/0xa4)
    [    0.000000] [<c0051a18>] (_init_omap_device+0x84/0xa4) from [<c00100ec>] (omap2_common_pm_init+0x2c/0x10c)
    [    0.000000] [<c00100ec>] (omap2_common_pm_init+0x2c/0x10c) from [<c003a3b8>] (do_one_initcall+0xc8/0x1a0)
    [    0.000000] [<c003a3b8>] (do_one_initcall+0xc8/0x1a0) from [<c0008690>] (kernel_init+0x94/0x14c)
    [    0.000000] [<c0008690>] (kernel_init+0x94/0x14c) from [<c0045590>] (kernel_thread_exit+0x0/0x8)
    [    0.000000] ---[ end trace 1b75b31a2719ed1c ]---
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.000000] Display initialized successfully
    [    0.000000] _omap_mux_init_gpio: Multiple gpio paths (2) for gpio126
    [    0.000000] NOR: Unable to find configuration in GPMC
    [    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.000000] OMAP DMA hardware revision 4.0
    [    0.132934] bio: create slab <bio-0> at 0
    [    0.141967] SCSI subsystem initialized
    [    0.155731] usbcore: registered new interface driver usbfs
    [    0.157501] usbcore: registered new interface driver hub
    [    0.158721] usbcore: registered new device driver usb
    [    0.165863] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
    [    0.175109] omap_i2c omap_i2c.1: bus 1 rev3.12 at 400 kHz
    [    0.180358] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
    [    0.180725] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
    [    0.186096] pca953x 2-0021: interrupt support not compiled in
    [    0.198364] omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
    [    0.201324] tca6416-keypad 3-0020: tca6416_read_reg failed, reg: 1, error: -121
    [    0.201599] tca6416-keypad: probe of 3-0020 failed with error -121
    [    0.203186] pca953x 3-0021: failed reading register
    [    0.203277] pca953x: probe of 3-0021 failed with error -121
    [    0.211090] Advanced Linux Sound Architecture Driver Version 1.0.23.
    [    0.216278] Switching to clocksource 32k_counter
    [    0.373504] musb-hdrc: version 6.0, otg (peripheral+host), debug=0
    [    0.374145] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.375701] <6>Waiting for PHY clock good...
    [    0.390838] musb-hdrc musb-hdrc.0: USB OTG mode controller at d0810000 using DMA, IRQ 71
    [    0.392974] NET: Registered protocol family 2
    [    0.393676] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.395874] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.396820] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
    [    0.401733] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.401824] TCP reno registered
    [    0.401885] UDP hash table entries: 128 (order: 1, 12288 bytes)
    [    0.402252] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
    [    0.403472] NET: Registered protocol family 1
    [    0.405395] RPC: Registered udp transport module.
    [    0.405426] RPC: Registered tcp transport module.
    [    0.405456] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.406768] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.409698] omap_init_opp_table: no hwmod or odev for iva, [9] cannot add OPPs.
    [    0.413024] AM3517  Linux PSP version 04.02.00.07 (AM3517EVM)
    [    0.578338] VFS: Disk quotas dquot_6.5.2
    [    0.578521] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.581604] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
    [    0.582855] msgmni has been set to 473
    [    0.588317] io scheduler noop registered
    [    0.588348] io scheduler deadline registered
    [    0.588562] io scheduler cfq registered (default)
    [    0.654327] OMAP DSS rev 2.0
    [    0.654449] omapdss supply vdds_dsi not found, using dummy regulator
    [    0.655029] OMAP DISPC rev 3.0
    [    0.655059] omapdss supply vdda_dac not found, using dummy regulator
    [    0.655181] OMAP VENC rev 2
    [    0.656616] OMAP DSI rev 1.0
    [    0.985168] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.995666] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    [    0.998382] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    [    1.000305] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    [    1.824340] console [ttyO2] enabled
    [    1.883209] brd: module loaded
    [    1.912658] loop: module loaded
    [    1.923889] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.932189] omap2-nand driver initializing
    [    1.937194] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron )
    [    1.944366] Creating 5 MTD partitions on "omap2-nand.0":
    [    1.949951] 0x000000000000-0x000000080000 : "xloader-nand"
    [    1.967254] 0x000000080000-0x000000240000 : "uboot-nand"
    [    1.981201] 0x000000240000-0x000000280000 : "params-nand"
    [    1.994659] 0x000000280000-0x000000780000 : "linux-nand"
    [    2.010253] 0x000000780000-0x000020000000 : "jffs2-nand"
    [    2.333801] davinci_mdio davinci_mdio: davinci mdio revision 1.5
    [    2.340087] davinci_mdio davinci_mdio: detected phy mask fffffffe
    [    2.350219] davinci_mdio: probed
    [    2.353607] davinci_mdio davinci_mdio: phy[0]: device ffffffff:00, driver SMSC LAN8710/LAN8720
    [    2.363769] vcan: Virtual CAN interface driver
    [    2.368530] CAN device driver interface
    [    2.372558] TI High End CAN Controller Driver 0.7
    [    2.381134] ti_hecc ti_hecc: device registered (reg_base=d0890000, irq=24)
    [    2.391571] usbcore: registered new interface driver cdc_ether
    [    2.398681] usbcore: registered new interface driver dm9601
    [    2.404693] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    2.411895] ehci-omap.0 supply hsusb0 not found, using dummy regulator
    [    3.419586] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [    3.428161] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [    3.436584] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    [    3.450958] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [    3.458038] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.465240] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.472869] usb usb1: Product: OMAP-EHCI Host Controller
    [    3.478515] usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd
    [    3.484222] usb usb1: SerialNumber: ehci-omap.0
    [    3.495635] hub 1-0:1.0: USB hub found
    [    3.499938] hub 1-0:1.0: 3 ports detected
    [    3.537994] Initializing USB Mass Storage driver...
    [    3.544189] usbcore: registered new interface driver usb-storage
    [    3.550598] USB Mass Storage support registered.
    [    3.556488] usbcore: registered new interface driver usbtest
    [    3.562652] g_ether gadget: using random self ethernet address
    [    3.568878] g_ether gadget: using random host ethernet address
    [    3.577850] usb0: MAC ea:18:33:da:e9:de
    [    3.581909] usb0: HOST MAC 86:05:8b:91:27:c2
    [    3.586578] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [    3.593627] g_ether gadget: g_ether ready
    [    3.597839] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    3.604125] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [    3.613403] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.620635] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.628265] usb usb2: Product: MUSB HDRC host driver
    [    3.633544] usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    [    3.639251] usb usb2: SerialNumber: musb-hdrc.0
    [    3.648651] hub 2-0:1.0: USB hub found
    [    3.652801] hub 2-0:1.0: 1 port detected
    [    3.664794] mice: PS/2 mouse device common for all mice
    [    3.676940] input: TSC2004 Touchscreen as /devices/virtual/input/input0
    [    3.703247] rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
    [    3.711486] i2c /dev entries driver
    [    3.723175] Linux video capture interface: v2.00
    [    3.730957] usbcore: registered new interface driver uvcvideo
    [    3.737091] USB Video Class driver (v1.0.0)
    [    3.741546] vpfe_init
    [    3.744689] vpfe-capture vpfe-capture: v4l2 device registered
    [    3.753601] vpfe-capture vpfe-capture: video device registered
    [    3.763000] tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
    [    3.770568] omap_device: omap_i2c.3: new worst case activate latency 0: 91552
    [    3.778503] tvp514x 3-005c: Write: retry ... 0
    [    3.802703] tvp514x 3-005c: Write: retry ... 1
    [    3.826110] tvp514x 3-005c: Write: retry ... 2
    [    3.849548] tvp514x 3-005c: Write: retry ... 3
    [    3.872985] tvp514x 3-005c: Write: retry ... 4
    [    3.896423] tvp514x 3-005c: Write: retry ... 5
    [    3.919860] tvp514x 3-005c: Write failed. Err[-121]
    [    3.924957] tvp514x 3-005c: Unable to turn on decoder
    [    3.930541] tvp514x 3-005c: Read: retry ... 0
    [    3.951141] tvp514x 3-005c: Read: retry ... 1
    [    3.974548] tvp514x 3-005c: Read: retry ... 2
    [    3.997985] tvp514x 3-005c: Read: retry ... 3
    [    4.021423] tvp514x 3-005c: Read: retry ... 4
    [    4.044860] tvp514x 3-005c: Read: retry ... 5
    [    4.068298] tvp514x 3-005c: Unable to query std
    [    4.073028] vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
    [    4.081634] vpfe_register_ccdc_device: DM6446 CCDC
    [    4.086914] DM6446 CCDC is registered with vpfe.
    [    4.093353] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
    [    4.103454] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    [    4.126770] usbcore: registered new interface driver usbhid
    [    4.132751] usbhid: USB HID core driver
    [    4.141784] usbcore: registered new interface driver snd-usb-audio
    [    4.154418] OMAP3517 / AM3517 EVM SoC init
    [    4.160980] AIC23 Audio Codec 0.1
    [    4.165374] tlv320aic23_write cannot write 000 to register R15
    [    4.172149] tlv320aic23_write cannot write 047 to register R6
    [    4.179534] tlv320aic23_write cannot write 004 to register R5
    [    4.187927] tlv320aic23_write cannot write 117 to register R0
    [    4.194274] tlv320aic23_write cannot write 117 to register R1
    [    4.200531] tlv320aic23_write cannot write 010 to register R4
    [    4.206848] tlv320aic23_write cannot write 070 to register R2
    [    4.213165] tlv320aic23_write cannot write 070 to register R3
    [    4.219543] tlv320aic23_write cannot write 001 to register R9
    [    4.231018] asoc: tlv320aic23-hifi <-> omap-mcbsp-dai.0 mapping ok
    [    4.246582] ALSA device list:
    [    4.249816]   #0: am3517evm
    [    4.252746] oprofile: hardware counters not available
    [    4.258117] oprofile: using timer interrupt.
    [    4.263275] TCP cubic registered
    [    4.266784] Initializing XFRM netlink socket
    [    4.271545] NET: Registered protocol family 17
    [    4.276367] NET: Registered protocol family 15
    [    4.281127] can: controller area network core (rev 20090105 abi 8)
    [    4.288146] NET: Registered protocol family 29
    [    4.292938] can: raw protocol (rev 20090105)
    [    4.297637] can: broadcast manager protocol (rev 20090105 t)
    [    4.304382] Registering the dns_resolver key type
    [    4.310089] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    [    4.323425] ThumbEE CPU extension supported.
    [    4.343780] Power Management for TI OMAP3.
    [    4.398376] clock: disabling unused clocks to save power
    [    4.451080] mmc0: new high speed SDHC card at address 0007
    [    4.460174] mmcblk0: mmc0:0007 SD4GB 3.67 GiB
    [    4.473297]  mmcblk0: p1 p2
    [    4.489990] rtc-s35390a 1-0030: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    4.499328] omap_vout omap_vout: Buffer Size = 3686400
    [    4.508209] omap_vout omap_vout: : registered and initialized video device 1
    [    4.515777] omap_vout omap_vout: Buffer Size = 3686400
    [    4.523986] omap_vout omap_vout: : registered and initialized video device 2
    [    4.547210] EXT3-fs: barriers not enabled
    [    4.554229] kjournald starting.  Commit interval 5 seconds
    [    4.560485] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    5.489807] EXT3-fs (mmcblk0p2): using internal journal
    [    5.496063] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    5.504028] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    5.510589] Freeing init memory: 200K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    WARNING: -e needs -E or -F
    [    6.928802] udevd (646): /proc/646/oom_adj is deprecated, please use /proc/646/oom_score_adj instead.
    Remounting root file system...
    Caching udev devnodes
    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
    Undefined users:
    Skipping /etc/default/volatiles/99_hal
    ALSA: Restoring mixer settings...
    No state is present for card am3517evm
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    [   37.572479] tlv320aic23_write cannot write 014 to register R4
    No state is present for card am3517evm
    Configuring hicolor-icon-theme.
    Configuring dbus.
     Adding system startup for /etc/init.d/dbus-1.
    Configuring pango-module-basic-x.
    Configuring pango-module-basic-fc.
    Configuring ttf-dejavu-common.
    Configuring ttf-dejavu-sans.
    Configuring gdk-pixbuf-loader-png.
    Configuring gdk-pixbuf-loader-jpeg.
    Configuring gdk-pixbuf-loader-gif.
    Configuring gdk-pixbuf-loader-xpm.
    Configuring policykit.
    Configuring gnome-vfs.
    Configuring update-modules.
    Configuring omap3-sgx-modules.
    Configuring kernel-module-gspca-main.
    Configuring gnome-keyring.
    Configuring hal.
    Configuring kernel-module-generic-bl.
    Configuring kernel-module-scsi-wait-scan.
    Configuring kernel-module-g-ether.
    Configuring wpa-supplicant.
    Configuring kernel-image-2.6.37.
    Configuring network interfaces... [  106.088867] davinci_mdio davinci_mdio: resetting idled controller
    [  106.096069] net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=ffffffff:00, id=7c0f1)
    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    Thu Jul  7 13:19:00 UTC 2011
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Hardware abstraction layer hald
    Creating Dropbear SSH server RSA host key.
    Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
    Generating key, this may take a while...
    Public key portion is:
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCftesz23jNJQE/XXbrl8cBPXc+/+HO/N7LredOpEtbTnliRHlYp0UGxLPlABSPwlBLd6RGoF6D1tRXmUljwRp4HNHpzmyo7lNWdGjd8emnRNEImji2+ih+hanesqqVRw7qo+8epET2m
    Fingerprint: md5 6f:55:e4:cd:ce:8f:6d:95:1e:2d:33:ec:70:73:1c:3d
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    No SGX hardware, not starting PVR
    Calibrating touchscreen (first time only)xres = 480, yres = 272
    [  136.389617] omap_device: omap_i2c.1: new worst case activate latency 0: 122070
    Took 1 samples...
    Top left : X =   35 Y =  194
    Took 4 samples...
    Top right : X =   35 Y =  194
    Took 3 samples...
    Bot right : X =  224 Y =   55
    Took 1 samples...
    Bot left : X =  224 Y =   55
    Took 1 samples...
    Center : X =  224 Y =   55
    256.000000 2.000000 0.000000
    -128.000000 1.000000 1.000000
    Calibration constants: 16777216 131072 0 -8388608 65536 65536 65536
    .
    Starting Matrix GUI application.

     _____                    _____           _         _  
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           


    Arago Project http://arago-project.org am3517-evm ttyO2

    Arago 2011.06 am3517-evm ttyO2

    am3517-evm login:

    There is problem with touchscreen and SGX.

  • Only thing which is suspicious to me is,

    [    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
    [    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
    [    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)

     

    As part of support, we have added some patches on top of PSP04.02.00.07 release, which can be accessible form - http://arago-project.org/git/projects/?p=linux-omap3.git;a=shortlog;h=refs/heads/OMAPPSP_04.02.00.07. You may want to try this kernel?

    Thanks,

    Vaibhav

  • And yet it seems to me that the difference in hardware modules.
    Module supplied with the SDK, and works fine in my card and on the EVM.
    Standard modules, which I purchased separately, not working properly on my board as well as on the board of LogicPD.
    Using the same SD card.
    Is it possible that the modules really different? On the modules used by the various processors.
    The module that comes in a set LogicPD, used XAM3517ZCN.
    The standard modules are purchased separately by me, used processor AM3517AZCNA.

  • Oh, I found some difference in boot log.

    Module supplied with the SDK log:

    ...

    Starting Hardware abstraction layer hald
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    [   42.999328]
    [   42.999328] =============================================
    [   43.006561] [ INFO: possible recursive locking detected ]
    [   43.012207] 2.6.37 #1
    [   43.014587] ---------------------------------------------
    [   43.020233] pvrsrvinit/1924 is trying to acquire lock:
    [   43.025604]  (psPVRSRVMutex){+.+.+.}, at: [<bf00bbc8>] PVRMMapRegisterArea+0x14/0x68 [pvrsrvkm]
    [   43.034942]
    [   43.034942] but task is already holding lock:
    [   43.041046]  (psPVRSRVMutex){+.+.+.}, at: [<bf00eb34>] PVRSRV_BridgeDispatchKM+0x20/0x16c [pvrsrvkm]
    [   43.050720]
    [   43.050750] other info that might help us debug this:
    [   43.057586] 1 lock held by pvrsrvinit/1924:
    [   43.061950]  #0:  (psPVRSRVMutex){+.+.+.}, at: [<bf00eb34>] PVRSRV_BridgeDispatchKM+0x20/0x16c [pvrsrvkm]
    [   43.072082]
    [   43.072082] stack backtrace:
    [   43.076690] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c009ecdc>] (__lock_acquire+0xe58/0x17e8)
    [   43.086273] [<c009ecdc>] (__lock_acquire+0xe58/0x17e8) from [<c009f748>] (lock_acquire+0xdc/0x100)
    [   43.095672] [<c009f748>] (lock_acquire+0xdc/0x100) from [<c040fc14>] (mutex_lock_nested+0x60/0x2e4)
    [   43.105255] [<c040fc14>] (mutex_lock_nested+0x60/0x2e4) from [<bf00bbc8>] (PVRMMapRegisterArea+0x14/0x68 [pvrsrvkm])
    [   43.116455] [<bf00bbc8>] (PVRMMapRegisterArea+0x14/0x68 [pvrsrvkm]) from [<bf00e944>] (OSAllocPages_Impl+0x68/0xa4 [pvrsrvkm])
    [   43.128540] [<bf00e944>] (OSAllocPages_Impl+0x68/0xa4 [pvrsrvkm]) from [<bf0052e8>] (BM_ImportMemory+0xe4/0x290 [pvrsrvkm])
    [   43.140350] [<bf0052e8>] (BM_ImportMemory+0xe4/0x290 [pvrsrvkm]) from [<bf009b0c>] (RA_Alloc+0xb4/0x288 [pvrsrvkm])
    [   43.151428] [<bf009b0c>] (RA_Alloc+0xb4/0x288 [pvrsrvkm]) from [<bf004cb0>] (BM_Alloc+0xa8/0x280 [pvrsrvkm])
    [   43.161865] [<bf004cb0>] (BM_Alloc+0xa8/0x280 [pvrsrvkm]) from [<bf00aac0>] (AllocDeviceMem+0x80/0x108 [pvrsrvkm])
    [   43.172851] [<bf00aac0>] (AllocDeviceMem+0x80/0x108 [pvrsrvkm]) from [<bf00afd8>] (_PVRSRVAllocDeviceMemKM+0x80/0x158 [pvrsrvkm])
    [   43.185241] [<bf00afd8>] (_PVRSRVAllocDeviceMemKM+0x80/0x158 [pvrsrvkm]) from [<bf015190>] (PVRSRVAllocDeviceMemBW+0x9c/0x1a0 [pvrsrvkm])
    [   43.198394] [<bf015190>] (PVRSRVAllocDeviceMemBW+0x9c/0x1a0 [pvrsrvkm]) from [<bf012d24>] (BridgedDispatchKM+0xd4/0x12c [pvrsrvkm])
    [   43.210968] [<bf012d24>] (BridgedDispatchKM+0xd4/0x12c [pvrsrvkm]) from [<bf00ec28>] (PVRSRV_BridgeDispatchKM+0x114/0x16c [pvrsrvkm])
    [   43.223632] [<bf00ec28>] (PVRSRV_BridgeDispatchKM+0x114/0x16c [pvrsrvkm]) from [<c01087d4>] (vfs_ioctl+0x20/0x3c)
    [   43.234375] [<c01087d4>] (vfs_ioctl+0x20/0x3c) from [<c0108ed8>] (do_vfs_ioctl+0x510/0x554)
    [   43.243133] [<c0108ed8>] (do_vfs_ioctl+0x510/0x554) from [<c0108f68>] (sys_ioctl+0x4c/0x6c)
    [   43.251892] [<c0108f68>] (sys_ioctl+0x4c/0x6c) from [<c0044540>] (ret_fast_syscall+0x0/0x3c)

    Starting Matrix GUI application.

     _____                    _____           _         _  
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           


    Arago Project http://arago-project.org am3517-evm ttyO2

    Arago 2011.06 am3517-evm ttyO2

    ...

    Standart module log:

    ...

    Starting Hardware abstraction layer hald
    run-parts: /etc/dbus-1/event.d/20hal exited with return code 1
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    No SGX hardware, not starting PVR
    Starting Matrix GUI application.

     _____                    _____           _         _  
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           

    Arago Project http://arago-project.org am3517-evm ttyO2

    Arago 2011.06 am3517-evm ttyO2

    ...

    How do You think, why hald not starting normally?

    Is it a reason of wrong detecting of SGX?


  • LogicPD also said that difference EVM SOM and standard SOM is additional power management circuit in EVM SOM.

    Does it a reason of SGX not starting if kernel configured with power management circuit supply?

  • Some of the new 3517 SOCs have a different revision information - can you try below steps to fix this ? A later version of the kit should have this fixed.

     

    - Locate the file "/usr/bin/cputype" in your filesystem

    - Apply below patch (look at the last line), and run the system again. It should work.

     

    -------------------------------------------

     

    -    sed -e 's/0x00005C00/OMAP3503/' -e 's/0x00001C00/OMAP3515/' -e 's/0x00004C00/OMAP3525/' -e 's/0x00000C00/OMAP3530/'
    +    sed -e 's/0x00005C00/OMAP3503/' -e 's/0x00001C00/OMAP3515/' -e 's/0x00004C00/OMAP3525/' -e 's/0x00000C00/OMAP3530/' -e 's/0x00005E00/OMAP3503/' -e 's/0x00001E00/OMAP3515/' -e 's/0x00004E00/OMAP3525/' -e 's/0x00000E00/OMAP3530/' -e 's/0x00000CC0/OMAP3530/'

    -------------------

  • The problem solved!!!

    Thanks a lot!

     

    Best regards,

    Arthur Markaryan, Research Institute of Microdevices.