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.

Touch screen of Medical Imaging Demo Application Starter (MIDAS)

Other Parts Discussed in Thread: ADS7846, SYSCONFIG, TVP5146M2, MIDAS, OMAP3530

problemTouchscreen doesn't work! I can see the menu, but it doesn't respond to touch event !

information on the target is as follows:

root@omap3evm:/etc/init.d# ./matrix-gui  start
Starting Matrix GUI application.
root@omap3evm:/etc/init.d# ts_calibrate
Couldnt load module input
No raw modules loaded.
ts_config: Success

who can solve it will be a great man~  TKS!


  • Hi,

    Have you tried the steps given @ http://processors.wiki.ti.com/index.php/Medical_Imaging_Demo_Application_Starter_%28MIDAS%29#Touchscreen_Setup

    Also, can you give the output of ls -la /dev/input//dev/input/ & cat /proc/bus/input/devices

    Thanks & Regards

    Gururaja

  • Thanks a lot first !

    I have  tried the steps given by @ http://processors.wiki.ti.com/index.php/Medical_Imaging_Demo_Application_Starter_%28MIDAS%29#Touchscreen_Setup

    It didn't work.

    root@omap3evm:~# ls -la /dev/input
    drwxr-xr-x    2 root     root          100 Jan  1  2000 .
    drwxr-xr-x   10 root     root         3100 Aug 16 17:49 ..
    crw-r-----    1 root     root      13,  64 Jan  1  2000 event0
    crw-r-----    1 root     root      13,  65 Jan  1  2000 event1
    lrwxrwxrwx    1 root     root            6 Jan  1  2000 touchscreen0 -> event1


    root@omap3evm:~# cat /proc/bus/input/devices
    I: Bus=0019 Vendor=0001 Product=0001 Version=0003
    N: Name="TWL4030 Keypad"
    P: Phys=twl4030_keypad/input0
    S: Sysfs=/devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
    U: Uniq=
    H: Handlers=kbd event0
    B: EV=100013
    B: KEY=1680 0 70032 53840000
    B: MSC=10

    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="ADS7846 Touchscreen"
    P: Phys=spi1.0/input0
    S: Sysfs=/devices/platform/omap2_mcspi.1/spi1.0/input/input1
    U: Uniq=
    H: Handlers=event1
    B: EV=b
    B: KEY=400 0 0 0 0 0 0 0 0 0 0
    B: ABS=1000003

  • Hi,

    Try the below command while touching the screen. do you get any output.

    cat /dev/input/event0

    Also,

    1) In the "ts.conf" file make sure "module_raw input" is un-commented .
    2) Could you give the output of  "dmesg" & "export" commands
    3) Does "cat /proc/interrupts" show spi interrupts increment on touching the screen.

    Regards
    Gururaja

  • Thanks again.  We can exchange via e-mail if you like:  ckxp223400@163.com

    1.  root@omap3evm:~# cat /dev/input/event0 

    There is no response when I touched the screen.

    2.  I have comment the line ‘AC_FUNC_MALLOC’ in ~/tslib-1.0/configure.ac

    3.  root@omap3evm:~# dmesg
    Linux version 2.6.32 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Mon Aug 16 16:32:35 CDT 2010
    CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 EVM
    Memory policy: ECC disabled, Data cache writeback
    On node 0 totalpages: 32768
    free_area_init_node: node 0, pgdat c04aaaa8, node_mem_map c04c7000
      Normal zone: 256 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 32512 pages, LIFO batch:7
    OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
    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: 32512
    Kernel command line: console=ttyS0,115200n8 rw root=/dev/nfs nfsroot=192.168.30.56:/home/amob/targetfs ip=192.168.30.240:192.168.30.56:192.168.30.1:255.255.255.0:omap3evm:eth0:on
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 120816KB available (4200K code, 372K data, 172K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    Reprogramming SDRC clock to 332000000 Hz
    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: Setting signal i2c2_scl.i2c2_scl 0x0118 -> 0x0100
    mux: Setting signal i2c2_sda.i2c2_sda 0x0118 -> 0x0100
    mux: Setting signal i2c3_scl.i2c3_scl 0x0118 -> 0x0100
    mux: Setting signal i2c3_sda.i2c3_sda 0x0118 -> 0x0100
    mux: Setting signal etk_d8.gpio22 0x0100 -> 0x011c
    mux: Setting signal gpmc_nbe1.gpio61 0x0118 -> 0x011c
    mux: Setting signal etk_d7.gpio21 0x0100 -> 0x011c
    mux: Setting signal etk_d11.hsusb2_stp 0x0100 -> 0x0003
    mux: Setting signal etk_d10.hsusb2_clk 0x0100 -> 0x0003
    mux: Setting signal etk_d12.hsusb2_dir 0x0100 -> 0x010b
    mux: Setting signal etk_d13.hsusb2_nxt 0x0100 -> 0x010b
    mux: Setting signal etk_d14.hsusb2_data0 0x0100 -> 0x010b
    mux: Setting signal etk_d15.hsusb2_data1 0x0100 -> 0x010b
    mux: Setting signal mcspi1_cs3.hsusb2_data2 0x0108 -> 0x010b
    mux: Setting signal mcspi2_cs1.hsusb2_data3 0x0108 -> 0x010b
    mux: Setting signal mcspi2_simo.hsusb2_data4 0x0100 -> 0x010b
    mux: Setting signal mcspi2_somi.hsusb2_data5 0x0100 -> 0x010b
    mux: Setting signal mcspi2_cs0.hsusb2_data6 0x0108 -> 0x010b
    mux: Setting signal mcspi2_clk.hsusb2_data7 0x0100 -> 0x010b
    mux: Setting signal mcbsp1_fsr.gpio157 0x0018 -> 0x011c
    mux: Setting signal cam_fld.gpio98 0x0004 -> 0x011c
    omap3evmdc: Driver registration complete
    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 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    mux: Setting signal gpmc_wait1.gpio63 0x0118 -> 0x0104
    mux: Setting signal sdmmc1_clk.sdmmc1_clk 0x0018 -> 0x0118
    mux: Setting signal sdmmc1_cmd.sdmmc1_cmd 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat0.sdmmc1_dat0 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat1.sdmmc1_dat1 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat2.sdmmc1_dat2 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat3.sdmmc1_dat3 0x0118 -> 0x0118
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VAUX2_4030: 2800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    HS USB OTG: revision 0x33, sysconfig 0x2010, sysstatus 0x1, intrfsel 0x1, simenable  0x0
    musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb_hdrc: MHDRC RTL version 1.400
    musb_hdrc: setup fifo_mode 4
    musb_hdrc: 28/31 max ep, 16384/16384 memory
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    Registered /proc/driver/musb_hdrc
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    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.
    omap-iommu omap-iommu.0: isp registered
    OMAP35x  Linux PSP version 03.00.01.06 (OMAP3EVM)
    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 236
    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
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 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-0x000010000000 : "jffs2-nand"
    OneNAND driver initializing
    omap2-onenand omap2-onenand: Cannot request GPMC CS
    omap2-onenand: probe of omap2-onenand failed with error -16
    smsc911x: Driver version 2008-10-21.
    smsc911x-mdio: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
    net eth0: MAC Address: 00:50:c2:7e:90:95
    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 42:a6:0f:04:7e:f0
    usb0: HOST MAC 02:4d:eb:43:6c:ee
    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: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
    ads7846 spi1.0: touchscreen, irq 335
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    twl_rtc twl_rtc: Power up reset detected.
    twl_rtc twl_rtc: Enabling TWL-RTC.
    i2c /dev entries driver
    Linux video capture interface: v2.00
    tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    Saving csi2 context
    Restoring csi2 context
    Saving csi2 context
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    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 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
    OMAP3 EVM SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    SmartReflex driver initialized
    Disabling unused clock "sr2_fck"
    Disabling unused clock "sr1_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "gpt2_ick"
    Disabling unused clock "gpt3_ick"
    Disabling unused clock "gpt4_ick"
    Disabling unused clock "gpt5_ick"
    Disabling unused clock "gpt6_ick"
    Disabling unused clock "gpt7_ick"
    Disabling unused clock "gpt8_ick"
    Disabling unused clock "gpt9_ick"
    Disabling unused clock "wdt3_ick"
    Disabling unused clock "wdt3_fck"
    Disabling unused clock "gpio2_dbck"
    Disabling unused clock "gpio3_dbck"
    Disabling unused clock "gpio4_dbck"
    Disabling unused clock "gpio5_dbck"
    Disabling unused clock "gpt9_fck"
    Disabling unused clock "gpt8_fck"
    Disabling unused clock "gpt7_fck"
    Disabling unused clock "gpt6_fck"
    Disabling unused clock "gpt5_fck"
    Disabling unused clock "gpt4_fck"
    Disabling unused clock "gpt3_fck"
    Disabling unused clock "gpt2_fck"
    Disabling unused clock "gpt12_ick"
    Disabling unused clock "wdt1_ick"
    Disabling unused clock "gpio1_dbck"
    Disabling unused clock "des1_ick"
    Disabling unused clock "sha11_ick"
    Disabling unused clock "rng_ick"
    Disabling unused clock "aes1_ick"
    Disabling unused clock "ssi_ick"
    Disabling unused clock "mailboxes_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "gpt10_ick"
    Disabling unused clock "gpt11_ick"
    Disabling unused clock "hdq_ick"
    Disabling unused clock "mspro_ick"
    Disabling unused clock "des2_ick"
    Disabling unused clock "sha12_ick"
    Disabling unused clock "aes2_ick"
    Disabling unused clock "icr_ick"
    Disabling unused clock "pka_ick"
    Disabling unused clock "ssi_ssr_fck"
    Disabling unused clock "hdq_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mspro_fck"
    Disabling unused clock "gpt11_fck"
    Disabling unused clock "gpt10_fck"
    Disabling unused clock "sad2d_ick"
    Disabling unused clock "dpll4_m6x2_ck"
    Disabling unused clock "dpll3_m3x2_ck"
    Disabling unused clock "sys_clkout1"
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    Restoring csi2 context
    tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
    Saving csi2 context
    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
    net eth0: SMSC911x/921x identified at 0xc8860000, IRQ: 336
    IP-Config: Complete:
         device=eth0, addr=192.168.30.240, mask=255.255.255.0, gw=192.168.30.1,
         host=omap3evm, domain=, nis-domain=(none),
         bootserver=192.168.30.56, rootserver=192.168.30.56, rootpath=
    Looking up port of RPC 100003/2 on 192.168.30.56
    Looking up port of RPC 100005/1 on 192.168.30.56
    VFS: Mounted root (nfs filesystem) on device 0:12.
    Freeing init memory: 172K
    udev: starting version 141

    root@omap3evm:~# export
    export EDITOR='/bin/vi'
    export GST_TI_TIAuddec_DISABLE='1'
    export GST_TI_TIImgdec_DISABLE='1'
    export GST_TI_TIImgenc_DISABLE='1'
    export GST_TI_TIViddec_DISABLE='1'
    export GST_TI_TIVidenc_DISABLE='1'
    export HOME='/home/root'
    export LOGNAME='root'
    export MAIL='/var/mail/root'
    export OLDPWD='/etc/init.d'
    export OPIEDIR
    export PATH='/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin'
    export PS1='\u@\h:\w\$ '
    export PWD='/home/root'
    export QPEDIR
    export QTDIR
    export QWS_MOUSE_PROTO='Tslib:/dev/input/event1'
    export SHELL='/bin/sh'
    export TERM='linux'
    export TSLIB_CALIBFILE='/etc/pointercal'
    export TSLIB_CONFFILE='/etc/ts.conf'
    export TSLIB_CONSOLEDEVICE='none'
    export TSLIB_FBDEVICE='/dev/fb0'
    export TSLIB_PLUGINDIR='/lib/ts'
    export TSLIB_TSDEVICE='/dev/input/event1'
    export TZ='UTC'

    4. root@omap3evm:~# cat /proc/interrupts
               CPU0
      7:          0        INTC  TWL4030-PIH
     11:          0        INTC  prcm
     12:          1        INTC  DMA
     21:          1        INTC  SGX ISR
     24:          0        INTC  omap-iommu.0, Omap 3 Camera ISP
     25:          2        INTC  OMAP DSS
     37:      17385        INTC  gp timer
     56:        541        INTC  i2c_omap
     57:          0        INTC  i2c_omap
     61:         70        INTC  i2c_omap
     72:       1276        INTC  serial idle, serial
     73:          1        INTC  serial idle
     74:          1        INTC  serial idle
     77:          0        INTC  ehci_hcd:usb1
     83:          0        INTC  mmc0
     92:          1        INTC  musb_hdrc
     93:          0        INTC  musb_hdrc
    335:         38        GPIO  ads7846
    336:       8540        GPIO  eth0
    369:          0     twl4030  twl4030_keypad
    379:          0     twl4030  rtc0
    384:          0     twl4030  mmc0
    Err:          0

  • Hi,

    >>1.  root@omap3evm:~# cat /dev/input/event0 

    >>There is no response when I touched the screen.

    Sorry. Could you try

    cat /dev/input/event1 

    and what is the output of

    ls -la /lib/ts and cat /etc/ts.conf

     

    also If possible, can you recompile tslib library with --enable-debug option

    ./configure --prefix=/home/<username>/workdir/filesys --host=arm-linux-gnu --enable-debug

    and then check the output directly or with dmesg command

    Regards
    Gururaja
  • Thanks so much~

    I have done what you taught to me and the following are the echo result.  Especially when typed "cat /dev/input/event1  " , after my touching on the screen each time  the response are disordered codes .

     

    amob@amob-desktop:~$ cd tslib-1.0/
    amob@amob-desktop:~/tslib-1.0$ ./autogen.sh
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./config.guess'
    libtoolize: copying file `./config.sub'
    libtoolize: copying file `./install-sh'
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in `m4/internal'.
    libtoolize: copying file `m4/internal/libtool.m4'
    libtoolize: copying file `m4/internal/ltoptions.m4'
    libtoolize: copying file `m4/internal/ltsugar.m4'
    libtoolize: copying file `m4/internal/ltversion.m4'
    libtoolize: copying file `m4/internal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    amob@amob-desktop:~/tslib-1.0$ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnu --enable-debug
    configure: WARNING: If you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used.
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-linux-gnu-strip... no
    checking for strip... strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether the C++ compiler works... no
    configure: error: in `/home/amob/tslib-1.0':
    configure: error: C++ compiler cannot create executables
    See `config.log' for more details.


    omap3evm login: root
    root@omap3evm:~# ls -la /lib/ts
    ls: /lib/ts: No such file or directory
    root@omap3evm:~# cd /lib
    root@omap3evm:/lib# cd ts
    -sh: cd: can't cd to ts
    root@omap3evm:/lib# cat /etc/ts.conf
    # Uncomment if you wish to use the linux input layer event interface
    module_raw input

    # Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
    # module_raw collie

    # Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
    # module_raw corgi

    # Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
    # module_raw ucb1x00

    # Uncomment if you're using an HP iPaq h3600 or similar
    # module_raw h3600

    # Uncomment if you're using a Hitachi Webpad
    # module_raw mk712

    # Uncomment if you're using an IBM Arctic II
    # module_raw arctic2

    module pthres pmin=1
    module variance delta=30
    module dejitter delta=100
    module linear
    root@omap3evm:/lib# cd
    root@omap3evm:~#
    root@omap3evm:~# cat /dev/input/event1
    �ziLeaJ�ziLea��ziLea(�ziLea�ziLea�ziL����ziL��'�ziL��~�ziL���ziLT���ziLT�*�ziLT���ziLT��ziL����ziL��0�ziL��}�ziL���ziL_�J�ziL}��ziL}��ziLw�J�ziLw���ziLw���ziLw���ziLw��ziL5J��ziL5J��ziL5J�ziL<p��ziL<p��ziL<p��ziL<p�ziL���ziL���ziL��ziL���ziL���ziL���ziL��ziL�XJ�ziL�X�ziL�X

    root@omap3evm:~# dmesg
    Linux version 2.6.32 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Mon Aug 16 16:32:35 CDT 2010
    CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 EVM
    Memory policy: ECC disabled, Data cache writeback
    On node 0 totalpages: 32768
    free_area_init_node: node 0, pgdat c04aaaa8, node_mem_map c04c7000
      Normal zone: 256 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 32512 pages, LIFO batch:7
    OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )
    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: 32512
    Kernel command line: console=ttyS0,115200n8 rw root=/dev/nfs nfsroot=192.168.30.56:/home/amob/targetfs ip=192.168.30.240:192.168.30.56:192.168.30.1:255.255.255.0:omap3evm:eth0:on
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 120816KB available (4200K code, 372K data, 172K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    Reprogramming SDRC clock to 332000000 Hz
    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: Setting signal i2c2_scl.i2c2_scl 0x0118 -> 0x0100
    mux: Setting signal i2c2_sda.i2c2_sda 0x0118 -> 0x0100
    mux: Setting signal i2c3_scl.i2c3_scl 0x0118 -> 0x0100
    mux: Setting signal i2c3_sda.i2c3_sda 0x0118 -> 0x0100
    mux: Setting signal etk_d8.gpio22 0x0100 -> 0x011c
    mux: Setting signal gpmc_nbe1.gpio61 0x0118 -> 0x011c
    mux: Setting signal etk_d7.gpio21 0x0100 -> 0x011c
    mux: Setting signal etk_d11.hsusb2_stp 0x0100 -> 0x0003
    mux: Setting signal etk_d10.hsusb2_clk 0x0100 -> 0x0003
    mux: Setting signal etk_d12.hsusb2_dir 0x0100 -> 0x010b
    mux: Setting signal etk_d13.hsusb2_nxt 0x0100 -> 0x010b
    mux: Setting signal etk_d14.hsusb2_data0 0x0100 -> 0x010b
    mux: Setting signal etk_d15.hsusb2_data1 0x0100 -> 0x010b
    mux: Setting signal mcspi1_cs3.hsusb2_data2 0x0108 -> 0x010b
    mux: Setting signal mcspi2_cs1.hsusb2_data3 0x0108 -> 0x010b
    mux: Setting signal mcspi2_simo.hsusb2_data4 0x0100 -> 0x010b
    mux: Setting signal mcspi2_somi.hsusb2_data5 0x0100 -> 0x010b
    mux: Setting signal mcspi2_cs0.hsusb2_data6 0x0108 -> 0x010b
    mux: Setting signal mcspi2_clk.hsusb2_data7 0x0100 -> 0x010b
    mux: Setting signal mcbsp1_fsr.gpio157 0x0018 -> 0x011c
    mux: Setting signal cam_fld.gpio98 0x0004 -> 0x011c
    omap3evmdc: Driver registration complete
    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 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    mux: Setting signal gpmc_wait1.gpio63 0x0118 -> 0x0104
    mux: Setting signal sdmmc1_clk.sdmmc1_clk 0x0018 -> 0x0118
    mux: Setting signal sdmmc1_cmd.sdmmc1_cmd 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat0.sdmmc1_dat0 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat1.sdmmc1_dat1 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat2.sdmmc1_dat2 0x0118 -> 0x0118
    mux: Setting signal sdmmc1_dat3.sdmmc1_dat3 0x0118 -> 0x0118
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VAUX2_4030: 2800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    HS USB OTG: revision 0x33, sysconfig 0x2010, sysstatus 0x1, intrfsel 0x1, simenable  0x0
    musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb_hdrc: MHDRC RTL version 1.400
    musb_hdrc: setup fifo_mode 4
    musb_hdrc: 28/31 max ep, 16384/16384 memory
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    Registered /proc/driver/musb_hdrc
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    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.
    omap-iommu omap-iommu.0: isp registered
    OMAP35x  Linux PSP version 03.00.01.06 (OMAP3EVM)
    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 236
    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
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 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-0x000010000000 : "jffs2-nand"
    OneNAND driver initializing
    omap2-onenand omap2-onenand: Cannot request GPMC CS
    omap2-onenand: probe of omap2-onenand failed with error -16
    smsc911x: Driver version 2008-10-21.
    smsc911x-mdio: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
    net eth0: MAC Address: 00:50:c2:7e:90:95
    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 42:a6:0f:04:7e:f0
    usb0: HOST MAC 02:4d:eb:43:6c:ee
    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: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
    ads7846 spi1.0: touchscreen, irq 335
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    twl_rtc twl_rtc: Power up reset detected.
    twl_rtc twl_rtc: Enabling TWL-RTC.
    i2c /dev entries driver
    Linux video capture interface: v2.00
    tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    Saving csi2 context
    Restoring csi2 context
    Saving csi2 context
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    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 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
    OMAP3 EVM SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    SmartReflex driver initialized
    Disabling unused clock "sr2_fck"
    Disabling unused clock "sr1_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "gpt2_ick"
    Disabling unused clock "gpt3_ick"
    Disabling unused clock "gpt4_ick"
    Disabling unused clock "gpt5_ick"
    Disabling unused clock "gpt6_ick"
    Disabling unused clock "gpt7_ick"
    Disabling unused clock "gpt8_ick"
    Disabling unused clock "gpt9_ick"
    Disabling unused clock "wdt3_ick"
    Disabling unused clock "wdt3_fck"
    Disabling unused clock "gpio2_dbck"
    Disabling unused clock "gpio3_dbck"
    Disabling unused clock "gpio4_dbck"
    Disabling unused clock "gpio5_dbck"
    Disabling unused clock "gpt9_fck"
    Disabling unused clock "gpt8_fck"
    Disabling unused clock "gpt7_fck"
    Disabling unused clock "gpt6_fck"
    Disabling unused clock "gpt5_fck"
    Disabling unused clock "gpt4_fck"
    Disabling unused clock "gpt3_fck"
    Disabling unused clock "gpt2_fck"
    Disabling unused clock "gpt12_ick"
    Disabling unused clock "wdt1_ick"
    Disabling unused clock "gpio1_dbck"
    Disabling unused clock "des1_ick"
    Disabling unused clock "sha11_ick"
    Disabling unused clock "rng_ick"
    Disabling unused clock "aes1_ick"
    Disabling unused clock "ssi_ick"
    Disabling unused clock "mailboxes_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "mcbsp_ick"
    Disabling unused clock "gpt10_ick"
    Disabling unused clock "gpt11_ick"
    Disabling unused clock "hdq_ick"
    Disabling unused clock "mspro_ick"
    Disabling unused clock "des2_ick"
    Disabling unused clock "sha12_ick"
    Disabling unused clock "aes2_ick"
    Disabling unused clock "icr_ick"
    Disabling unused clock "pka_ick"
    Disabling unused clock "ssi_ssr_fck"
    Disabling unused clock "hdq_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mcbsp_fck"
    Disabling unused clock "mspro_fck"
    Disabling unused clock "gpt11_fck"
    Disabling unused clock "gpt10_fck"
    Disabling unused clock "sad2d_ick"
    Disabling unused clock "dpll4_m6x2_ck"
    Disabling unused clock "dpll3_m3x2_ck"
    Disabling unused clock "sys_clkout1"
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    Restoring csi2 context
    tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
    Saving csi2 context
    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
    net eth0: SMSC911x/921x identified at 0xc8860000, IRQ: 336
    IP-Config: Complete:
         device=eth0, addr=192.168.30.240, mask=255.255.255.0, gw=192.168.30.1,
         host=omap3evm, domain=, nis-domain=(none),
         bootserver=192.168.30.56, rootserver=192.168.30.56, rootpath=
    Looking up port of RPC 100003/2 on 192.168.30.56
    Looking up port of RPC 100005/1 on 192.168.30.56
    VFS: Mounted root (nfs filesystem) on device 0:12.
    Freeing init memory: 172K
    udev: starting version 141
    root@omap3evm:~#

  • Hi,

    1.
    >> cat /dev/input/event1  " , after my touching on the screen each time  the response are disordered codes .
    Thats a good sign. This means that the Touch Screen is working and resposnding for touch events.

    2. From your previous post
    >> root@omap3evm:~# export
    >> ....
    >> ....
    >> ....
    >>export TSLIB_FBDEVICE='/dev/fb0'
    >>export TSLIB_PLUGINDIR='/lib/ts'


    tslibs looks for the input library at this location.
    tslib libraries like input.[la/so] , linear.[la/so], variance.[la/so], pthres.[la/so] etc stays in this directory

    >>root@omap3evm:~# ls -la /lib/ts
    >>ls: /lib/ts: No such file or directory

    Which means the touch screen libs are not copied to /lib/ts.

    >>amob@amob-desktop:~/tslib-1.0$ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnu --enable-debug

    whcih means tslib is configured  to store the final libs, utils inside /home/amob/targetfs
    when configured such way, it should have directories & files inside it as below


    ls -laR /home/user/targetfs/
    /home/user/targetfs/:
    total 24
    drwxr-xr-x  6 useruser 4096 2011-02-18 10:22 .
    drwxr-xr-x 27 user user 4096 2011-02-18 10:21 ..
    drwxr-xr-x  2 user user 4096 2011-02-18 10:22 bin
    drwxr-xr-x  2 user user 4096 2011-02-18 10:22 etc
    drwxr-xr-x  2 user user 4096 2011-02-18 10:22 include
    drwxr-xr-x  4 user user 4096 2011-02-18 10:22 lib

    /home/user/targetfs/bin:
    total 168
    drwxr-xr-x 2 user user  4096 2011-02-18 10:22 .
    drwxr-xr-x 6 user user  4096 2011-02-18 10:22 ..
    -rwxr-xr-x 1 user user 49545 2011-02-18 10:22 ts_calibrate
    -rwxr-xr-x 1 user user 43835 2011-02-18 10:22 ts_harvest
    -rwxr-xr-x 1 user user  9924 2011-02-18 10:22 ts_print
    -rwxr-xr-x 1 user user  9944 2011-02-18 10:22 ts_print_raw
    -rwxr-xr-x 1 user user 40335 2011-02-18 10:22 ts_test

    /home/user/targetfs/etc:
    total 12
    drwxr-xr-x 2 user user 4096 2011-02-18 10:22 .
    drwxr-xr-x 6 user user 4096 2011-02-18 10:22 ..
    -rw-r--r-- 1 user user  647 2011-02-18 10:22 ts.conf

    /home/user/targetfs/include:
    total 12
    drwxr-xr-x 2 user user 4096 2011-02-18 10:22 .
    drwxr-xr-x 6 user user 4096 2011-02-18 10:22 ..
    -rw-r--r-- 1 user user 1869 2011-02-18 10:22 tslib.h

    /home/user/targetfs/lib:
    total 56
    drwxr-xr-x 4 user user  4096 2011-02-18 10:22 .
    drwxr-xr-x 6 user user  4096 2011-02-18 10:22 ..
    lrwxrwxrwx 1 user user    18 2011-02-18 10:22 libts-0.0.so.0 -> libts-0.0.so.0.1.1
    -rwxr-xr-x 1 user user 33307 2011-02-18 10:22 libts-0.0.so.0.1.1
    -rwxr-xr-x 1 user user   951 2011-02-18 10:22 libts.la
    lrwxrwxrwx 1 user user    18 2011-02-18 10:22 libts.so -> libts-0.0.so.0.1.1
    drwxr-xr-x 2 user user  4096 2011-02-18 10:22 pkgconfig
    drwxr-xr-x 2 user user  4096 2011-02-18 10:22 ts

    /home/user/targetfs/lib/pkgconfig:
    total 12
    drwxr-xr-x 2 user user 4096 2011-02-18 10:22 .
    drwxr-xr-x 4 user user 4096 2011-02-18 10:22 ..
    -rw-r--r-- 1 user user  222 2011-02-18 10:22 tslib-0.0.pc

    /home/user/targetfs/lib/ts:
    total 216
    drwxr-xr-x 2 user user  4096 2011-02-18 10:22 .
    drwxr-xr-x 4 user user  4096 2011-02-18 10:22 ..
    -rwxr-xr-x 1 user user   941 2011-02-18 10:22 arctic2.la
    -rwxr-xr-x 1 user user 10140 2011-02-18 10:22 arctic2.so
    -rwxr-xr-x 1 user user   935 2011-02-18 10:22 collie.la
    -rwxr-xr-x 1 user user 14703 2011-02-18 10:22 collie.so
    -rwxr-xr-x 1 user user   929 2011-02-18 10:22 corgi.la
    -rwxr-xr-x 1 user user  9922 2011-02-18 10:22 corgi.so
    -rwxr-xr-x 1 user user   947 2011-02-18 10:22 dejitter.la
    -rwxr-xr-x 1 user user 12721 2011-02-18 10:22 dejitter.so
    -rwxr-xr-x 1 user user   929 2011-02-18 10:22 h3600.la
    -rwxr-xr-x 1 user user  9914 2011-02-18 10:22 h3600.so
    -rwxr-xr-x 1 user user   929 2011-02-18 10:22 input.la
    -rwxr-xr-x 1 user user 13339 2011-02-18 10:22 input.so
    -rwxr-xr-x 1 user user   971 2011-02-18 10:22 linear_h2200.la
    -rwxr-xr-x 1 user user 10496 2011-02-18 10:22 linear_h2200.so
    -rwxr-xr-x 1 user user   935 2011-02-18 10:22 linear.la
    -rwxr-xr-x 1 user user 15076 2011-02-18 10:22 linear.so
    -rwxr-xr-x 1 user user   929 2011-02-18 10:22 mk712.la
    -rwxr-xr-x 1 user user  9974 2011-02-18 10:22 mk712.so
    -rwxr-xr-x 1 user user   935 2011-02-18 10:22 pthres.la
    -rwxr-xr-x 1 user user 11423 2011-02-18 10:22 pthres.so
    -rwxr-xr-x 1 user user   941 2011-02-18 10:22 ucb1x00.la
    -rwxr-xr-x 1 user user 10052 2011-02-18 10:22 ucb1x00.so
    -rwxr-xr-x 1 user user   947 2011-02-18 10:22 variance.la
    -rwxr-xr-x 1 user user 11642 2011-02-18 10:22 variance.so

    seems in your issue, the required files are not properly copied.
    kindly copy all the required files to the correct directories and check.

    can you list the content of

    ls -laR /home/user/targetfs/lib/ts

    &

    ls -laR /home/user/targetfs/lib/*ts*.*

    Reagrds
    Gururaja

  • Hi ,  You are so kind~ 

    How and Where can I copy those *ts*.* files ?

     

    amob@amob-desktop:~/targetfs$ ls
    bin   dev  home  linuxrc  mnt  proc  srv  tmp  var
    boot  etc  lib   media    opt  sbin  sys  usr

    amob@amob-desktop:~/targetfs/lib$ ls
    ld-2.8.so               libgcc_s.so.1         libresolv-2.8.so
    ld-linux.so.3           libm-2.8.so           libresolv.so.2
    libanl-2.8.so           libmemusage.so        librt-2.8.so
    libanl.so.1             libm.so.6             librt.so.1
    libBrokenLocale-2.8.so  libnsl-2.8.so         libthread_db-1.0.so
    libBrokenLocale.so.1    libnsl.so.1           libthread_db.so.1
    libc-2.8.so             libnss_compat-2.8.so  libudev.so.0
    libcidn-2.8.so          libnss_compat.so.2    libudev.so.0.2.0
    libcidn.so.1            libnss_dns-2.8.so     libutil-2.8.so
    libcrypt-2.8.so         libnss_dns.so.2       libutil.so.1
    libcrypt.so.1           libnss_files-2.8.so   libvolume_id.so.1
    libc.so.6               libnss_files.so.2     libvolume_id.so.1.1.0
    libdl-2.8.so            libpthread-2.8.so     modules
    libdl.so.2              libpthread.so.0       udev

    amob@amob-desktop:~/targetfs/etc$ ls
    alsa               fstab      mke2fs.conf    profile.d       services
    angstrom-version   group      modules        protocols       skel
    asound.conf        host.conf  modules.conf   rc0.d           syslog.conf
    asound.state       hostname   motd           rc1.d           terminfo
    bluetooth          hosts      mtab           rc2.d           timestamp
    busybox.links      init.d     network        rc3.d           tinylogin.links
    dbus-1             inittab    nsswitch.conf  rc4.d           ts.conf
    default            inputrc    opkg           rc5.d           udev
    device_table       ipkg       passwd         rc6.d           udhcpc.d
    device_table-opkg  iproute2   pointercal     rcS.d           version
    dev.tar            issue      powervr-esrev  resolv.conf     volatile.cache
    fb.modes           issue.net  powervr.ini    rpc
    filesystems        localtime  profile        scsi_id.config

    amob@amob-desktop:~$ ls -laR /home/amob/targetfs/lib/*ts*.*
    ls: inaccessible   /home/amob/targetfs/lib/*ts*.*: No such file or directory
    amob@amob-desktop:~$ ls -laR /home/user/targetfs/lib/ts
    ls: inaccessible  /home/user/targetfs/lib/ts:No such file or directory

     

    I reinstalled tslib again, it didn't work.    as follows:

    amob@amob-desktop:~/tslib-1.0$ make install
    Making install in etc
    make[1]: accessing to `/home/amob/tslib-1.0/etc'
    make[2]: accessing to `/home/amob/tslib-1.0/etc'
    test -z "/home/amob/targetfs/etc" || /bin/mkdir -p "/home/amob/targetfs/etc"
     /usr/bin/install -c -m 644 ts.conf '/home/amob/targetfs/etc'
    /usr/bin/install: can not delete "/home/amob/targetfs/etc/ts.conf": out of authority
    make[2]: *** [install-sysconfDATA] error 1
    make[2]:leaving  `/home/amob/tslib-1.0/etc'
    make[1]: *** [install-am] error 2
    make[1]:leaving  `/home/amob/tslib-1.0/etc'
    make: *** [install-recursive] error 1



  • Hi,

    >>amob@amob-desktop:~/tslib-1.0$ make install
    >>Making install in etc
    >>make[1]: accessing to `/home/amob/tslib-1.0/etc'
    >>make[2]: accessing to `/home/amob/tslib-1.0/etc'
    >>test -z "/home/amob/targetfs/etc" || /bin/mkdir -p "/home/amob/targetfs/etc"
    >> /usr/bin/install -c -m 644 ts.conf '/home/amob/targetfs/etc'
    >>/usr/bin/install: can not delete "/home/amob/targetfs/etc/ts.conf": out of authority
    >>make[2]: *** [install-sysconfDATA] error 1

     

    looking at the above output clearly means the user doesnt have the rights/authority to install at the mentioned directory(/home/amob/targetfs).

    Either use sudo method or login to console as root and install.

    I have attached "make install" output i am getting here

     

    Regards

    Gururaja

     

    4278.tslib_make_install_output.txt

  • Hi

    I use sudo method to "make install"  again ,it still didn't work. I was so depressed

    amob@amob-desktop:~/tslib-1.0$ ./autogen.sh
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./config.guess'
    libtoolize: copying file `./config.sub'
    libtoolize: copying file `./install-sh'
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in `m4/internal'.
    libtoolize: copying file `m4/internal/libtool.m4'
    libtoolize: copying file `m4/internal/ltoptions.m4'
    libtoolize: copying file `m4/internal/ltsugar.m4'
    libtoolize: copying file `m4/internal/ltversion.m4'
    libtoolize: copying file `m4/internal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    amob@amob-desktop:~/tslib-1.0$ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnu
    configure: WARNING: If you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used.
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-linux-gnu-strip... no
    checking for strip... strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether the C++ compiler works... no
    configure: error: in `/home/amob/tslib-1.0':
    configure: error: C++ compiler cannot create executables
    See `config.log' for more details.

    amob@amob-desktop:~/tslib-1.0$ sudo make install
    Making install in etc
    make[1]: accessing to `/home/amob/tslib-1.0/etc'
    make[2]:
    accessing to `/home/amob/tslib-1.0/etc'
    test -z "/home/amob/targetfs/etc" || /bin/mkdir -p "/home/amob/targetfs/etc"
     /usr/bin/install -c -m 644 ts.conf '/home/amob/targetfs/etc'
    make[2]: 
    nothing could do for `install-data-am'。
    make[2]:leaving `/home/amob/tslib-1.0/etc'
    make[1]:
    leaving `/home/amob/tslib-1.0/etc'
    Making install in src
    make[1]:
    accessing to `/home/amob/tslib-1.0/src'
    make[2]:
    accessing to `/home/amob/tslib-1.0/src'
    test -z "/home/amob/targetfs/lib" || /bin/mkdir -p "/home/amob/targetfs/lib"
     /bin/sh ../libtool   --mode=install /usr/bin/install -c   libts.la '/home/amob/targetfs/lib'
    libtool: install: /usr/bin/install -c .libs/libts-0.0.so.0.1.1 /home/amob/targetfs/lib/libts-0.0.so.0.1.1
    libtool: install: (cd /home/amob/targetfs/lib && { ln -s -f libts-0.0.so.0.1.1 libts-0.0.so.0 || { rm -f libts-0.0.so.0 && ln -s libts-0.0.so.0.1.1 libts-0.0.so.0; }; })
    libtool: install: (cd /home/amob/targetfs/lib && { ln -s -f libts-0.0.so.0.1.1 libts.so || { rm -f libts.so && ln -s libts-0.0.so.0.1.1 libts.so; }; })
    libtool: install: /usr/bin/install -c .libs/libts.lai /home/amob/targetfs/lib/libts.la
    libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /home/amob/targetfs/lib
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /home/amob/targetfs/lib

    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'

    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    test -z "/home/amob/targetfs/include" || /bin/mkdir -p "/home/amob/targetfs/include"
     /usr/bin/install -c -m 644 tslib.h '/home/amob/targetfs/include'
    make[2]:
    leaving `/home/amob/tslib-1.0/src'
    make[1]:
    leaving `/home/amob/tslib-1.0/src'
    Making install in plugins
    make[1]:
    accessing to `/home/amob/tslib-1.0/plugins'
    make[2]:
    accessing to `/home/amob/tslib-1.0/plugins'
    test -z "/home/amob/targetfs/lib/ts/" || /bin/mkdir -p "/home/amob/targetfs/lib/ts/"
     /bin/sh ../libtool   --mode=install /usr/bin/install -c   linear.la dejitter.la variance.la pthres.la ucb1x00.la corgi.la collie.la h3600.la mk712.la arctic2.la linear_h2200.la input.la '/home/amob/targetfs/lib/ts/'
    libtool: install: /usr/bin/install -c .libs/linear.so /home/amob/targetfs/lib/ts/linear.so
    libtool: install: /usr/bin/install -c .libs/linear.lai /home/amob/targetfs/lib/ts/linear.la
    libtool: install: /usr/bin/install -c .libs/dejitter.so /home/amob/targetfs/lib/ts/dejitter.so
    libtool: install: /usr/bin/install -c .libs/dejitter.lai /home/amob/targetfs/lib/ts/dejitter.la
    libtool: install: /usr/bin/install -c .libs/variance.so /home/amob/targetfs/lib/ts/variance.so
    libtool: install: /usr/bin/install -c .libs/variance.lai /home/amob/targetfs/lib/ts/variance.la
    libtool: install: /usr/bin/install -c .libs/pthres.so /home/amob/targetfs/lib/ts/pthres.so
    libtool: install: /usr/bin/install -c .libs/pthres.lai /home/amob/targetfs/lib/ts/pthres.la
    libtool: install: /usr/bin/install -c .libs/ucb1x00.so /home/amob/targetfs/lib/ts/ucb1x00.so
    libtool: install: /usr/bin/install -c .libs/ucb1x00.lai /home/amob/targetfs/lib/ts/ucb1x00.la
    libtool: install: /usr/bin/install -c .libs/corgi.so /home/amob/targetfs/lib/ts/corgi.so
    libtool: install: /usr/bin/install -c .libs/corgi.lai /home/amob/targetfs/lib/ts/corgi.la
    libtool: install: /usr/bin/install -c .libs/collie.so /home/amob/targetfs/lib/ts/collie.so
    libtool: install: /usr/bin/install -c .libs/collie.lai /home/amob/targetfs/lib/ts/collie.la
    libtool: install: /usr/bin/install -c .libs/h3600.so /home/amob/targetfs/lib/ts/h3600.so
    libtool: install: /usr/bin/install -c .libs/h3600.lai /home/amob/targetfs/lib/ts/h3600.la
    libtool: install: /usr/bin/install -c .libs/mk712.so /home/amob/targetfs/lib/ts/mk712.so
    libtool: install: /usr/bin/install -c .libs/mk712.lai /home/amob/targetfs/lib/ts/mk712.la
    libtool: install: /usr/bin/install -c .libs/arctic2.so /home/amob/targetfs/lib/ts/arctic2.so
    libtool: install: /usr/bin/install -c .libs/arctic2.lai /home/amob/targetfs/lib/ts/arctic2.la
    libtool: install: /usr/bin/install -c .libs/linear_h2200.so /home/amob/targetfs/lib/ts/linear_h2200.so
    libtool: install: /usr/bin/install -c .libs/linear_h2200.lai /home/amob/targetfs/lib/ts/linear_h2200.la
    libtool: install: /usr/bin/install -c .libs/input.so /home/amob/targetfs/lib/ts/input.so
    libtool: install: /usr/bin/install -c .libs/input.lai /home/amob/targetfs/lib/ts/input.la
    libtool: install: warning: remember to run `libtool --finish /home/amob/targetfs/lib/ts/'
    make[2]: nothing could do for `install-data-am'。
    make[2]:
    leaving `/home/amob/tslib-1.0/plugins'
    make[1]:
    leaving `/home/amob/tslib-1.0/plugins'
    Making install in tests
    make[1]:
    accessing to `/home/amob/tslib-1.0/tests'
    gcc -DHAVE_CONFIG_H -I. -I.. -I../src    -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -MT ts_calibrate.o -MD -MP -MF .deps/ts_calibrate.Tpo -c -o ts_calibrate.o ts_calibrate.c
    ts_calibrate.c: In function ‘main’:
    ts_calibrate.c:234: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
    In file included from /usr/include/fcntl.h:205,
                     from /usr/include/sys/fcntl.h:1,
                     from ts_calibrate.c:20:
    In function ‘open’,
        inlined from ‘main’ at ts_calibrate.c:227:
    /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
    In function ‘open’,
        inlined from ‘main’ at ts_calibrate.c:229:
    /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
    make[1]: *** [ts_calibrate.o] error 1
    make[1]:
    leaving `/home/amob/tslib-1.0/tests'
    make: *** [install-recursive] error 1

  • Hi,

    >>I use sudo method to "make install"  again ,it still didn't work. I was so depressed

    Now you are able to install.

    >>checking whether the C++ compiler works... no

    But the wrong thing is that you are not cross compiling it.


    Try the Below steps exactly

    1. Install required modules
    host $ sudo apt-get install autogen autoconf libtool
    2. setup proper environment variables
    host $ export CC=/<link to arm toolchain location>/bin/arm-none-linux-gnueabi-gcc
    host $ export CXX=/<link to arm toolchain location>/bin/arm-none-linux-gnueabi-g++
    host $ export CONFIG_SITE=omap3evm.autogen


    3. download and untar tslib module
    host $ tar xjf tslib-1.0.tar.bz2

    4. setup and configure
    host $ cd tslib-1.0
    host $ ./autogen.sh
    host $ ./configure
    --prefix=/home/amob/targetfs --host=arm-linux-gnu

    5. install tslib
    host $ make
    host $ sudo make install


    let me know the output.

    Regards
    Gururaja



  • Hi   touch screen remains failure .    the output :

    amob@amob-desktop:~$ sudo apt-get install autogen autoconf libtool
    正在读取软件包列表... completed
    正在分析软件包的依赖关系树      
    正在读取状态信息... completed      
    autogen 已经是最新的版本了。
    autoconf 已经是最新的版本了。
    libtool 已经是最新的版本了。
    下列软件包是自动安装的并且现在不需要了:
      linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic
    使用'apt-get autoremove'来删除它们
    升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
    amob@amob-desktop:~$ export CC=/home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
    amob@amob-desktop:~$ export CXX=/home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++
    amob@amob-desktop:~$ export CONFIG_SITE=omap3evm.autogen

    amob@amob-desktop:~$ cd tslib-1.0/
    amob@amob-desktop:~/tslib-1.0$ ./autogen.sh
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./config.guess'
    libtoolize: copying file `./config.sub'
    libtoolize: copying file `./install-sh'
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in `m4/internal'.
    libtoolize: copying file `m4/internal/libtool.m4'
    libtoolize: copying file `m4/internal/ltoptions.m4'
    libtoolize: copying file `m4/internal/ltsugar.m4'
    libtoolize: copying file `m4/internal/ltversion.m4'
    libtoolize: copying file `m4/internal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    amob@amob-desktop:~/tslib-1.0$ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnu
    configure: WARNING: If you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used.
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-linux-gnu-strip... no
    checking for strip... strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... yes
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++... gcc3
    checking for arm-linux-gnu-gcc... /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
    checking whether we are using the GNU C compiler... yes
    checking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc accepts -g... yes
    checking for /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
    checking dependency style of /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc... gcc3
    checking how to run the C preprocessor... /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -E
    checking whether the C compiler supports -fvisibility=hidden... yes
    checking whether to use -fvisibility=hidden... yes
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... arm-unknown-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc... /home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld
    checking if the linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... no
    checking for arm-linux-gnu-dumpbin... no
    checking for arm-linux-gnu-link... no
    checking for dumpbin... no
    checking for link... link -dump -symbols
    configure: WARNING: using cross tools not prefixed with host triplet
    checking the name lister (link -dump -symbols) interface... BSD nm
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld option to reload object files... -r
    checking for arm-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for arm-linux-gnu-ar... no
    checking for ar... ar
    checking for arm-linux-gnu-strip... strip
    checking for arm-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking command to parse link -dump -symbols output from /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc object... failed
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ accepts -g... (cached) yes
    checking dependency style of /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++... (cached) gcc3
    checking how to run the C++ preprocessor... /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ -E
    checking for objdir... .libs
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
    checking for /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc static flag -static works... yes
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yes
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
    checking whether the /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... cross
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for ld used by /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++... /home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld
    checking if the linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
    checking whether the /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
    checking for /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ static flag -static works... yes
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... yes
    checking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
    checking whether the /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for dlopen in -ldl... (cached) yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for ANSI C header files... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for size_t... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc needs -traditional... no
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... yes
    checking for getpagesize... yes
    checking for working mmap... no
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking types of arguments for select... int,fd_set *,struct timeval *
    checking return type of signal handlers... void
    checking whether lstat correctly handles trailing slash... no
    checking whether stat accepts an empty string... yes
    checking for vprintf... yes
    checking for _doprnt... no
    checking for bzero... yes
    checking for gettimeofday... yes
    checking for memmove... yes
    checking for memset... yes
    checking for munmap... yes
    checking for select... yes
    checking for strcasecmp... yes
    checking for strchr... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking whether linear modules is requested... yes
    checking whether dejitter module is requested... yes
    checking whether linear-h2200 module is requested... yes
    checking whether variance module is requested... yes
    checking whether pthres module is requested... yes
    checking whether ucb1x00 module is requested... yes
    checking whether corgi module is requested... yes
    checking whether collie module is requested... yes
    checking whether h3600 module is requested... yes
    checking whether mk712 module is requested... yes
    checking whether arctic2 module is requested... yes
    checking whether input module is requested... yes
    checking where to place modules... ${libdir}/ts/
    checking whether to enable debugging... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating etc/Makefile
    config.status: creating plugins/Makefile
    config.status: creating src/Makefile
    config.status: creating tests/Makefile
    config.status: creating tslib-0.0.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    amob@amob-desktop:~/tslib-1.0$ make
    make  all-recursive
    make[1]: accessing to  `/home/amob/tslib-1.0'
    Making all in etc
    make[2]: accessing to `/home/amob/tslib-1.0/etc'
    make[2]: nothing could do for `all'。
    make[2]:leaving `/home/amob/tslib-1.0/etc'
    Making all in src
    make[2]: accessing to `/home/amob/tslib-1.0/src'
    /bin/sh ../libtool --tag=CC   --mode=link /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -DPLUGIN_DIR=\"/home/amob/targetfs/lib/ts/\" -DTS_CONF=\"/home/amob/targetfs/etc/ts.conf\"  -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -version-info 1:1:1 -release 0.0 -export-dynamic  -o libts.la -rpath /home/amob/targetfs/lib ts_attach.lo ts_close.lo ts_config.lo ts_error.lo ts_fd.lo ts_load_module.lo ts_open.lo ts_parse_vars.lo ts_read.lo ts_read_raw.lo -ldl -ldl
    libtool: link: /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -shared  .libs/ts_attach.o .libs/ts_close.o .libs/ts_config.o .libs/ts_error.o .libs/ts_fd.o .libs/ts_load_module.o .libs/ts_open.o .libs/ts_parse_vars.o .libs/ts_read.o .libs/ts_read_raw.o   -ldl    -Wl,-soname -Wl,libts-0.0.so.0 -o .libs/libts-0.0.so.0.1.1
    /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: unknown architecture of input file `.libs/ts_fd.o' is incompatible with arm output
    collect2: ld returned 1 exit status
    make[2]: *** [libts.la] error 1
    make[2]:leaving `/home/amob/tslib-1.0/src'
    make[1]: *** [all-recursive] error 1
    make[1]:leaving `/home/amob/tslib-1.0'
    make: *** [all] error 2
    amob@amob-desktop:~/tslib-1.0$ sudo make install
    Making install in etc
    make[1]: accessing to `/home/amob/tslib-1.0/etc'
    make[2]: accessing to `/home/amob/tslib-1.0/etc'
    test -z "/home/amob/targetfs/etc" || /bin/mkdir -p "/home/amob/targetfs/etc"
     /usr/bin/install -c -m 644 ts.conf '/home/amob/targetfs/etc'
    make[2]: nothing could for `install-data-am'。
    make[2]:leaving `/home/amob/tslib-1.0/etc'
    make[1]:leaving `/home/amob/tslib-1.0/etc'
    Making install in src
    make[1]: accessing to `/home/amob/tslib-1.0/src'
    /bin/sh ../libtool --tag=CC   --mode=link /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -DPLUGIN_DIR=\"/home/amob/targetfs/lib/ts/\" -DTS_CONF=\"/home/amob/targetfs/etc/ts.conf\"  -DTSLIB_INTERNAL -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -O2 -Wall -W -version-info 1:1:1 -release 0.0 -export-dynamic  -o libts.la -rpath /home/amob/targetfs/lib ts_attach.lo ts_close.lo ts_config.lo ts_error.lo ts_fd.lo ts_load_module.lo ts_open.lo ts_parse_vars.lo ts_read.lo ts_read_raw.lo -ldl -ldl
    libtool: link: /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -shared  .libs/ts_attach.o .libs/ts_close.o .libs/ts_config.o .libs/ts_error.o .libs/ts_fd.o .libs/ts_load_module.o .libs/ts_open.o .libs/ts_parse_vars.o .libs/ts_read.o .libs/ts_read_raw.o   -ldl    -Wl,-soname -Wl,libts-0.0.so.0 -o .libs/libts-0.0.so.0.1.1
    /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: unknown architecture of input file `.libs/ts_fd.o' is incompatible with arm output
    collect2: ld returned 1 exit status
    make[1]: *** [libts.la] error 1
    make[1]:leaving `/home/amob/tslib-1.0/src'
    make: *** [install-recursive] error 1


  • I try MIDAS v2.0 following web site http://processors.wiki.ti.com/index.php/MIDAS_Ultrasound_v2.0_Demo

    I think that I succeeded compile in everything except touch screen.

    I try Touchscreen Setup follow web site blow.

    Touchscreen Setup

    MIDAS utilizes the tslib library for touchscreen support on the OMAP3530 EVM. This section will guide you through setting up tslib.

           1. Install required packages on host

                       host $ sudo apt-get install autogen autoconf libtool

            2. For cross-compiling, define environment variables in ~/.bashrc on host as:

                         export CC=/home/<username>/arm-2009q1/bin/arm-none-linux-gnueabi-gcc
                         export CXX=/home/<username/arm-2009q1/bin/arm-none-linux-gnueabi-g++
                         export CONFIG_SITE=omap3evm.autogen

            3. Download the source files for tslib from here and save it at ~

             4. Untar the source

                           host $ cd ~host $ tar xjf tslib-1.0.tar.bz2

               5. Configure tslib

                            host $ cd ~/tslib-1.0
                            host $ ./autogen.sh
                            host $ ./configure --prefix=/home/<username>/workdir/filesys --host=arm-linux-gnu

               6. Comment the line ‘AC_FUNC_MALLOC’ in ~/tslib-1.0/configure.ac

               7. Comment ‘#define malloc rpl_malloc’ in ~/tslib-1.0/config.h if it exists

           

               8. Build and install tslib

                              host $ make
                              host $ make install

     

                 9. Edit ~/workdir/filesys/etc/ts.conf to use linux layer event interface by uncommenting ‘module_raw input’

                 10. Modify the device’s startup script to export the required touchscreen related environment variables.

                      Add these lines to the file ~/development/workdir/filesys/etc/profile:

                                   export QWS_MOUSE_PROTO='Tslib:/dev/input/event1'
                                   export TSLIB_CALIBFILE='/etc/pointercal'
                                   export TSLIB_CONFFILE='/etc/ts.conf'
                                   export TSLIB_CONSOLEDEVICE='none'
                                   export TSLIB_FBDEVICE='/dev/fb0'
                                   export TSLIB_PLUGINDIR='/lib/ts'
                                   export TSLIB_TSDEVICE='/dev/input/event1'

                     11. Remember to run ‘ts_calibrate’ on the target the first time you start the board, to calibrate the touch screen.

    I inputed command ts_calibrate and I get some message blow.

    omap3evm login: root

    root@omap3evm:~# ts_calibrate
    No raw modules loaded.
    ts_config: Success
    root@omap3evm:~#

    root@omap3evm:~# <4>omap-dss: Could not find exact pixel clock. Requested 25188 kHz, got 25187 kHz
    omap-dss: Could not find exact pixel clock. Requested 25188 kHz, got 25187 kHz

    I'm looking for "Could not find exacpt pixel clock" at google and e2e.ti.com.

    I found a TI member as same error message. ( http://e2e.ti.com/support/dsp/omap_applications_processors/f/447/t/94126.aspx )

    But I didn't get enough answer.

    So I try that as indicated.

    First, I input command ls -la /dev/input.

    root@omap3evm:~#

    root@omap3evm:~# ls -la /dev/input/

    drwxr-xr-x 2 root root 100 Jan 1 1970 .

    drwxr-xr-x 10 root root 3060 Sep 11 16:17 ..

    crw-r----- 1 root root 13, 64 Jan 1 1970 event0

    crw-r----- 1 root root 13, 65 Jan 1 1970 event1

    lrwxrwxrwx 1 root root 6 Jan 1 1970 touchscreen0 -> event1

    root@omap3evm:~#

    root@omap3evm:~#

    Second, I input command cat /proc/bus/input/devices

    root@omap3evm:~#

    root@omap3evm:~# cat /proc/bus/input/devices

    I: Bus=0019 Vendor=0001 Product=0001 Version=0003

    N: Name="omap_twl4030keypad"

    P: Phys=omap_twl4030keypad/input0

    S: Sysfs=/class/input/input0

    U: Uniq=

    H: Handlers=kbd event0

    B: EV=100003

    B: KEY=1680 0 70032 53840000

    I: Bus=0000 Vendor=0000 Product=0000 Version=0000

    N: Name="ADS784x Touchscreen"

    P: Phys=spi1.0/input0

    S: Sysfs=/class/input/input1

    U: Uniq=

    H: Handlers=event1

    B: EV=b

    B: KEY=400 0 0 0 0 0 0 0 0 0 0

    B: ABS=1000003

    root@omap3evm:~#

    3th, I input command cat /dev/input/event0 & 1 and touch screen.

    root@omap3evm:~# cat /dev/input/event0


    There is no response when I touched the screen.

    I input command cat /dev/input/event1 & touch screen.

    There is something reactions.

    root@omap3evm:~# cat /dev/input/event1

    }z▒JǗ~z▒J▒J~z▒J▒~z▒Jz▒J▒:z▒Jz▒J▒:

    z▒J▒:z▒J▒z▒Jz▒J▒d

    ▒J▒dz▒J▒dPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTz▒Jz▒J▒▒

    z▒J▒▒z▒J▒z▒J]

    z▒J]z▒Jz▒J>▒z▒J>▒▒ z▒J>▒z▒J>z▒J▒z▒J▒▒ z▒J▒z▒Jz▒J▒9z▒J:▒ z▒Jz▒J▒yz▒J▒yv z▒J▒yz▒J▒z▒J▒▒z▒JΚh z▒JΚz▒Jz▒J▒▒z▒J▒▒> z▒J▒z▒Jz▒J6m z▒J6z▒Jz▒Jgz▒Jz▒Jgz▒Jz▒J▒

    z▒J▒

    z▒J▒

    z▒J▒

    z▒J▒▒ z▒J▒▒ z▒J▒▒ z▒J▒▒ z▒J▒ z▒J▒ z▒J/▒

    4th, I input command ls -la /lib/ts

    root@omap3evm:~#

    root@omap3evm:~# ls -la /lib/ts/

    drwxr-xr-x 2 1000 1000 4096 Apr 27 2012 .

    drwxr-xr-x 6 1000 root 4096 Apr 27 2012 ..

    -rwxr-xr-x 1 1000 1000 944 Apr 27 2012 arctic2.la

    -rwxr-xr-x 1 1000 1000 5631 Apr 27 2012 arctic2.so

    -rwxr-xr-x 1 1000 1000 938 Apr 27 2012 collie.la

    -rwxr-xr-x 1 1000 1000 10498 Apr 27 2012 collie.so

    -rwxr-xr-x 1 1000 1000 932 Apr 27 2012 corgi.la

    -rwxr-xr-x 1 1000 1000 5597 Apr 27 2012 corgi.so

    -rwxr-xr-x 1 1000 1000 950 Apr 27 2012 dejitter.la

    -rwxr-xr-x 1 1000 1000 6658 Apr 27 2012 dejitter.so

    -rwxr-xr-x 1 1000 1000 932 Apr 27 2012 h3600.la

    -rwxr-xr-x 1 1000 1000 5625 Apr 27 2012 h3600.so

    -rwxr-xr-x 1 1000 1000 932 Apr 27 2012 input.la

    -rwxr-xr-x 1 1000 1000 7163 Apr 27 2012 input.so

    -rwxr-xr-x 1 1000 1000 938 Apr 27 2012 linear.la

    -rwxr-xr-x 1 1000 1000 8810 Apr 27 2012 linear.so

    -rwxr-xr-x 1 1000 1000 974 Apr 27 2012 linear_h2200.la

    -rwxr-xr-x 1 1000 1000 6368 Apr 27 2012 linear_h2200.so

    -rwxr-xr-x 1 1000 1000 932 Apr 27 2012 mk712.la

    -rwxr-xr-x 1 1000 1000 5629 Apr 27 2012 mk712.so

    -rwxr-xr-x 1 1000 1000 938 Apr 27 2012 pthres.la

    -rwxr-xr-x 1 1000 1000 6479 Apr 27 2012 pthres.so

    -rwxr-xr-x 1 1000 1000 944 Apr 27 2012 ucb1x00.la

    -rwxr-xr-x 1 1000 1000 5535 Apr 27 2012 ucb1x00.so

    -rwxr-xr-x 1 1000 1000 950 Apr 27 2012 variance.la

    -rwxr-xr-x 1 1000 1000 6545 Apr 27 2012 variance.so

    root@omap3evm:~#

    5th, I input command cat /etc/ts.conf


    root@omap3evm:~#

    root@omap3evm:~# cat /etc/ts.conf

    # Uncomment if you wish to use the linux input layer event interface

    # module_raw input

    # Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d

    # module_raw collie

    # Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860

    # module_raw corgi

    # Uncomment if you're using a device with a UCB1200/1300/1400 TS interface

    # module_raw ucb1x00

    # Uncomment if you're using an HP iPaq h3600 or similar

    # module_raw h3600

    # Uncomment if you're using a Hitachi Webpad

    # module_raw mk712

    # Uncomment if you're using an IBM Arctic II

    # module_raw arctic2

    module pthres pmin=1

    module variance delta=30

    module dejitter delta=100

    module linear

    root@omap3evm:~#


    What is the problem?

    Please tell me the solution.

    Additional noted items.

    root@omap3evm:~# dmesg
    Linux version 2.6.29-rc3-omap1 (won@ubuntu) (gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)) #6 Thu Apr 26 19:45:05 KST 2012

    CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f

    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

    Machine: OMAP3 EVM

    Memory policy: ECC disabled, Data cache writeback

    On node 0 totalpages: 58112

    free_area_init_node: node 0, pgdat c0440c24, node_mem_map c0465000

    Normal zone: 512 pages used for memmap

    Normal zone: 0 pages reserved

    Normal zone: 57600 pages, LIFO batch:15

    OMAP3530 ES3.1 (full speed SGX, IVA2)

    SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000

    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 57600

    Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.168.1.100:/home/won/workdir/filesys,nolock mem=99M@0x80000000 mem=128M@0x88000000 mpurate=600 omapfb.rotate=1 omapfb.rotate_type=1 omap_vout.vid1_static_vrfb_alloc=y

    Clocking rate (Crystal/DPLL/MPU core): 26.0/332/500 MHz

    IVA2 clocking rate: 360 MHz

    Reprogramming SDRC

    GPMC revision 5.0

    IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts

    Total of 96 interrupts on 1 active controller

    OMAP34xx GPIO hardware version 2.5

    PID hash table entries: 1024 (order: 10, 4096 bytes)

    OMAP clockevent source: GPTIMER1 at 32768 Hz

    Console: colour dummy device 80x30

    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    Memory: 99MB 128MB = 227MB total

    Memory: 225664KB available (3928K code, 370K data, 156K init)

    Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)

    Mount-cache hash table entries: 512

    CPU: Testing write buffer coherency: ok

    net_namespace: 520 bytes

    NET: Registered protocol family 16

    MUX: setup AF26_34XX_GPIO0 (0xd80021e0): 0x011c -> 0x0118

    MUX: setup L8_34XX_GPIO63 (0xd80020ce): 0x0118 -> 0x0004

    MUX: setup AF9_34XX_GPIO22 (0xd80025ec): 0x0100 -> 0x011c

    MUX: setup U3_34XX_GPIO61 (0xd80020c8): 0x0118 -> 0x011c

    MUX: setup AH14_34XX_GPIO21 (0xd80025ea): 0x0100 -> 0x011c

    MUX: setup AA10_3430_USB2HS_PHY_STP (0xd80025f2): 0x0100 -> 0x0003

    MUX: setup AA8_3430_USB2HS_PHY_CLK (0xd80025f0): 0x0100 -> 0x0003

    MUX: setup AA9_3430_USB2HS_PHY_DIR (0xd80025f4): 0x0100 -> 0x010b

    MUX: setup AB11_3430_USB2HS_PHY_NXT (0xd80025f6): 0x0100 -> 0x010b

    MUX: setup AB10_3430_USB2HS_PHY_D0 (0xd80025f8): 0x0100 -> 0x010b

    MUX: setup AB9_3430_USB2HS_PHY_D1 (0xd80025fa): 0x0100 -> 0x010b

    MUX: setup W3_3430_USB2HS_PHY_D2 (0xd80021d4): 0x0108 -> 0x010b

    MUX: setup T4_3430_USB2HS_PHY_D3 (0xd80021de): 0x0108 -> 0x010b

    MUX: setup T3_3430_USB2HS_PHY_D4 (0xd80021d8): 0x0100 -> 0x010b

    MUX: setup R3_3430_USB2HS_PHY_D5 (0xd80021da): 0x0100 -> 0x010b

    MUX: setup R4_3430_USB2HS_PHY_D6 (0xd80021dc): 0x0108 -> 0x010b

    MUX: setup T2_3430_USB2HS_PHY_D7 (0xd80021d6): 0x0100 -> 0x010b

    twl4030: client 1 is not initialized

    twl4030: client 1 is not initialized

    MUX: setup AA21_34XX_GPIO157 (0xd800218e): 0x0018 -> 0x011c

    MUX: setup C23_34XX_GPIO98 (0xd8002114): 0x0004 -> 0x011c

    omap3evmdc: Driver registration complete

    Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz

    IVA2 clocking rate: 430 MHz

    Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)

    OMAP DMA hardware revision 4.0

    USB: No board-specific platform config found

    OMAP DSS rev 2.0

    OMAP DISPC rev 3.0

    OMAP VENC rev 2

    OMAP DSI rev 1.0

    bio: create slab <bio-0> at 0

    i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz

    twl4030: PIH (irq 7) chaining IRQs 368..375

    twl4030: power (irq 373) chaining IRQs 376..383

    twl4030: gpio (irq 368) chaining IRQs 384..401

    i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz

    i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz

    SCSI subsystem initialized

    usbcore: registered new interface driver usbfs

    usbcore: registered new interface driver hub

    usbcore: registered new device driver usb

    musb_hdrc: version 6.0, musb-dma, host, debug=0

    HS USB OTG: revision 0x33, sysconfig 0x2011, sysstatus 0x1, intrfsel 0x1, simenable 0x0

    musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx (X), HB-ISO Tx (X), SoftConn)

    musb_hdrc: MHDRC RTL version 1.400

    musb_hdrc: setup fifo_mode 4

    musb_hdrc: 29/31 max ep, 16384/16384 memory

    musb_hdrc: hw_ep 0shared, max 64

    musb_hdrc: hw_ep 1tx, max 512

    musb_hdrc: hw_ep 1rx, max 512

    musb_hdrc: hw_ep 2tx, max 512

    musb_hdrc: hw_ep 2rx, max 512

    musb_hdrc: hw_ep 3tx, max 512

    musb_hdrc: hw_ep 3rx, max 512

    musb_hdrc: hw_ep 4tx, max 512

    musb_hdrc: hw_ep 4rx, max 512

    musb_hdrc: hw_ep 5tx, max 512

    musb_hdrc: hw_ep 5rx, max 512

    musb_hdrc: hw_ep 6tx, max 512

    musb_hdrc: hw_ep 6rx, max 512

    musb_hdrc: hw_ep 7tx, max 512

    musb_hdrc: hw_ep 7rx, max 512

    musb_hdrc: hw_ep 8tx, max 512

    musb_hdrc: hw_ep 8rx, max 64

    musb_hdrc: hw_ep 9tx, max 512

    musb_hdrc: hw_ep 9rx, max 64

    musb_hdrc: hw_ep 10tx, max 512

    musb_hdrc: hw_ep 10rx, max 64

    musb_hdrc: hw_ep 11tx, max 256

    musb_hdrc: hw_ep 11rx, max 256

    musb_hdrc: hw_ep 12tx, max 256

    musb_hdrc: hw_ep 12rx, max 256

    musb_hdrc: hw_ep 13tx, max 256

    musb_hdrc: hw_ep 13rx, max 4096

    musb_hdrc: hw_ep 14shared, max 1024

    musb_hdrc: hw_ep 15shared, max 1024

    musb_hdrc: USB Host mode controller at d80ab000 using DMA, IRQ 92

    musb_hdrc musb_hdrc: MUSB HDRC host driver

    musb_hdrc musb_hdrc: 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.29-rc3-omap1 musb-hcd

    usb usb1: SerialNumber: musb_hdrc

    usb usb1: configuration #1 chosen from 1 choice

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 1 port detected

    Registered /proc/driver/musb_hdrc

    NET: Registered protocol family 2

    Switched to high resolution mode on CPU 0

    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

    NET: Registered protocol family 1

    OMAP35x Linux PSP version 02.01.03.11 (OMAP3EVM)

    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 441

    alg: No test for stdrng (krng)

    io scheduler noop registered

    io scheduler anticipatory registered (default)

    io scheduler deadline registered

    io scheduler cfq registered

    Generic Backlight Driver Initialized.

    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654

    console [ttyS0] enabled

    serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654

    serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654

    brd: module loaded

    loop: module loaded

    smsc911x: Driver version 2008-10-21.

    smsc911x-mdio: probed

    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)

    net eth0: MAC Address: 00:50:c2:7e:98:67

    Linux video capture interface: v2.00

    usbcore: registered new interface driver uvcvideo

    USB Video Class driver (v0.1.0)

    i2c /dev entries driver

    Driver 'sd' needs updating - please use bus_type methods

    omap2-nand driver initializing

    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 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-0x000010000000 : "jffs2-nand"

    OneNAND driver initializing

    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 2

    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800

    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00

    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: OMAP-EHCI Host Controller

    usb usb2: Manufacturer: Linux 2.6.29-rc3-omap1 ehci_hcd

    usb usb2: SerialNumber: ehci-omap.0

    usb usb2: configuration #1 chosen from 1 choice

    hub 2-0:1.0: USB hub found

    hub 2-0:1.0: 3 ports detected

    Initializing USB Mass Storage driver...

    usbcore: registered new interface driver usb-storage

    USB Mass Storage support registered.

    input: omap_twl4030keypad as /class/input/input0

    ads7846 spi1.0: touchscreen, irq 335

    input: ADS784x Touchscreen as /class/input/input1

    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec

    cpuidle: using governor ladder

    cpuidle: using governor menu

    usbcore: registered new interface driver usbhid

    usbhid: v2.6:USB HID core driver

    Advanced Linux Sound Architecture Driver Version 1.0.19.

    usbcore: registered new interface driver snd-usb-audio

    No device for DAI twl4030

    No device for DAI twl4030 Voice

    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

    OMAP3 EVM SoC init

    TWL4030 Audio Codec init

    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok

    ALSA device list:

    #0: omap3evm (twl4030)

    TCP cubic registered

    NET: Registered protocol family 17

    NET: Registered protocol family 15

    RPC: Registered udp transport module.

    RPC: Registered tcp transport module.

    Power Management for TI OMAP3.

    SmartReflex driver initialized

    Disabling unused clock "sr2_fck"

    Disabling unused clock "sr1_fck"

    Disabling unused clock "mcbsp_fck"

    Disabling unused clock "mcbsp_fck"

    Disabling unused clock "mcbsp_fck"

    Disabling unused clock "mcbsp_ick"

    Disabling unused clock "mcbsp_ick"

    Disabling unused clock "mcbsp_ick"

    Disabling unused clock "gpt2_ick"

    Disabling unused clock "gpt3_ick"

    Disabling unused clock "gpt4_ick"

    Disabling unused clock "gpt5_ick"

    Disabling unused clock "gpt6_ick"

    Disabling unused clock "gpt7_ick"

    Disabling unused clock "gpt8_ick"

    Disabling unused clock "gpt9_ick"

    Disabling unused clock "wdt3_ick"

    Disabling unused clock "wdt3_fck"

    Disabling unused clock "gpio2_dbck"

    Disabling unused clock "gpio3_dbck"

    Disabling unused clock "gpio4_dbck"

    Disabling unused clock "gpio5_dbck"

    Disabling unused clock "gpt9_fck"

    Disabling unused clock "gpt8_fck"

    Disabling unused clock "gpt7_fck"

    Disabling unused clock "gpt6_fck"

    Disabling unused clock "gpt5_fck"

    Disabling unused clock "gpt4_fck"

    Disabling unused clock "gpt3_fck"

    Disabling unused clock "gpt2_fck"

    Disabling unused clock "gpt12_ick"

    Disabling unused clock "wdt1_ick"

    Disabling unused clock "wdt2_ick"

    Disabling unused clock "wdt2_fck"

    Disabling unused clock "gpio1_dbck"

    Disabling unused clock "des1_ick"

    Disabling unused clock "sha11_ick"

    Disabling unused clock "rng_ick"

    Disabling unused clock "aes1_ick"

    Disabling unused clock "ssi_ick"

    Disabling unused clock "mailboxes_ick"

    Disabling unused clock "mcbsp_ick"

    Disabling unused clock "mcbsp_ick"

    Disabling unused clock "gpt10_ick"

    Disabling unused clock "gpt11_ick"

    Disabling unused clock "hdq_ick"

    Disabling unused clock "mspro_ick"

    Disabling unused clock "des2_ick"

    Disabling unused clock "sha12_ick"

    Disabling unused clock "aes2_ick"

    Disabling unused clock "icr_ick"

    Disabling unused clock "pka_ick"

    Disabling unused clock "ssi_ssr_fck"

    Disabling unused clock "hdq_fck"

    Disabling unused clock "mcbsp_fck"

    Disabling unused clock "mcbsp_fck"

    Disabling unused clock "mspro_fck"

    Disabling unused clock "gpt11_fck"

    Disabling unused clock "sad2d_ick"

    Disabling unused clock "dpll4_m6x2_ck"

    Disabling unused clock "dpll3_m3x2_ck"

    Disabling unused clock "sys_clkout1"

    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1

    GPIO-153 autorequested

    omap-dss DISPC error: Requested pixel clock not possible with the current OMAP2_DSS_MIN_FCK_PER_PCK setting. Turning the constraint off.

    omap-dss: Could not find exact pixel clock. Requested 25190 kHz, got 25189 kHz

    Display already enabled

    Display already enabled

    Buffer Size = 3686400

    omap_vout: registered and initialized video device 0 [v4l2]

    Buffer Size = 3686400

    omap_vout: registered and initialized video device 1 [v4l2]

    display->updated

    net eth0: SMSC911x/921x identified at 0xd085c000, IRQ: 336

    Sending DHCP requests .., OK

    IP-Config: Got DHCP answer from 192.168.1.100, my address is 192.168.1.10

    IP-Config: Complete:

    device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=192.168.1.1,

    host=192.168.1.10, domain=, nis-domain=(none),

    bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=/home/won/workdir/filesys

    Looking up port of RPC 100003/2 on 192.168.1.100

    Looking up port of RPC 100005/1 on 192.168.1.100

    VFS: Mounted root (nfs filesystem) on device 0:12.

    Freeing init memory: 156K

    udev: starting version 141

    udev: deprecated sysfs layout; update the kernel or disable CONFIG_SYSFS_DEPRECATED; some udev features will not work correctly

    omap-dss: Could not find exact pixel clock. Requested 25189 kHz, got 25188 kHz

    omap-dss: Could not find exact pixel clock. Requested 25188 kHz, got 25187 kHz

    root@omap3evm:~#