problem :Touchscreen 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 startStarting Matrix GUI application.root@omap3evm:/etc/init.d# ts_calibrateCouldnt load module inputNo 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
Does this help with your question? If not, please send back more information. If it answers your question, please click the Verify Answer button.
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/inputdrwxr-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 event0crw-r----- 1 root root 13, 65 Jan 1 2000 event1lrwxrwxrwx 1 root root 6 Jan 1 2000 touchscreen0 -> event1
root@omap3evm:~# cat /proc/bus/input/devicesI: Bus=0019 Vendor=0001 Product=0001 Version=0003N: Name="TWL4030 Keypad"P: Phys=twl4030_keypad/input0S: Sysfs=/devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0U: Uniq=H: Handlers=kbd event0 B: EV=100013B: KEY=1680 0 70032 53840000B: MSC=10I: Bus=0000 Vendor=0000 Product=0000 Version=0000N: Name="ADS7846 Touchscreen"P: Phys=spi1.0/input0S: Sysfs=/devices/platform/omap2_mcspi.1/spi1.0/input/input1U: Uniq=H: Handlers=event1 B: EV=bB: KEY=400 0 0 0 0 0 0 0 0 0 0B: 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" commands3) Does "cat /proc/interrupts" show spi interrupts increment on touching the screen. RegardsGururaja
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:~# dmesgLinux version 2.6.32 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Mon Aug 16 16:32:35 CDT 2010CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7fCPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cacheMachine: OMAP3 EVMMemory policy: ECC disabled, Data cache writebackOn node 0 totalpages: 32768free_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:7OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000Reserving 4194304 bytes SDRAM for VRAMBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 32512Kernel 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:onPID 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 totalMemory: 120816KB available (4200K code, 372K data, 172K init, 0K highmem)Hierarchical RCU implementation.NR_IRQS:402Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHzReprogramming SDRC clock to 332000000 HzGPMC revision 5.0IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interruptsTotal of 96 interrupts on 1 active controllerOMAP GPIO hardware version 2.5OMAP clockevent source: GPTIMER1 at 32768 HzConsole: colour dummy device 80x30Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okregulator: core version 0.5NET: Registered protocol family 16mux: Setting signal i2c2_scl.i2c2_scl 0x0118 -> 0x0100mux: Setting signal i2c2_sda.i2c2_sda 0x0118 -> 0x0100mux: Setting signal i2c3_scl.i2c3_scl 0x0118 -> 0x0100mux: Setting signal i2c3_sda.i2c3_sda 0x0118 -> 0x0100mux: Setting signal etk_d8.gpio22 0x0100 -> 0x011cmux: Setting signal gpmc_nbe1.gpio61 0x0118 -> 0x011cmux: Setting signal etk_d7.gpio21 0x0100 -> 0x011cmux: Setting signal etk_d11.hsusb2_stp 0x0100 -> 0x0003mux: Setting signal etk_d10.hsusb2_clk 0x0100 -> 0x0003mux: Setting signal etk_d12.hsusb2_dir 0x0100 -> 0x010bmux: Setting signal etk_d13.hsusb2_nxt 0x0100 -> 0x010bmux: Setting signal etk_d14.hsusb2_data0 0x0100 -> 0x010bmux: Setting signal etk_d15.hsusb2_data1 0x0100 -> 0x010bmux: Setting signal mcspi1_cs3.hsusb2_data2 0x0108 -> 0x010bmux: Setting signal mcspi2_cs1.hsusb2_data3 0x0108 -> 0x010bmux: Setting signal mcspi2_simo.hsusb2_data4 0x0100 -> 0x010bmux: Setting signal mcspi2_somi.hsusb2_data5 0x0100 -> 0x010bmux: Setting signal mcspi2_cs0.hsusb2_data6 0x0108 -> 0x010bmux: Setting signal mcspi2_clk.hsusb2_data7 0x0100 -> 0x010bmux: Setting signal mcbsp1_fsr.gpio157 0x0018 -> 0x011cmux: Setting signal cam_fld.gpio98 0x0004 -> 0x011comap3evmdc: Driver registration complete OMAP DMA hardware revision 4.0bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbi2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHztwl4030: PIH (irq 7) chaining IRQs 368..375twl4030: power (irq 373) chaining IRQs 376..383twl4030: gpio (irq 368) chaining IRQs 384..401mux: Setting signal gpmc_wait1.gpio63 0x0118 -> 0x0104mux: Setting signal sdmmc1_clk.sdmmc1_clk 0x0018 -> 0x0118mux: Setting signal sdmmc1_cmd.sdmmc1_cmd 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat0.sdmmc1_dat0 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat1.sdmmc1_dat1 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat2.sdmmc1_dat2 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat3.sdmmc1_dat3 0x0118 -> 0x0118regulator: VMMC1: 1850 <--> 3150 mV normal standbyregulator: VDAC: 1800 mV normal standbyregulator: VAUX2_4030: 2800 mV normal standbyregulator: VPLL2: 1800 mV normal standbyregulator: VSIM: 1800 <--> 3000 mV normal standbyi2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHzi2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHzSwitching to clocksource 32k_countermusb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0HS USB OTG: revision 0x33, sysconfig 0x2010, sysstatus 0x1, intrfsel 0x1, simenable 0x0musb_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 4musb_hdrc: 28/31 max ep, 16384/16384 memorymusb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92Registered /proc/driver/musb_hdrcNET: Registered protocol family 2IP 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 registeredUDP hash table entries: 256 (order: 0, 4096 bytes)UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)NET: Registered protocol family 1RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.omap-iommu omap-iommu.0: isp registeredOMAP35x Linux PSP version 03.00.01.06 (OMAP3EVM)NetWinder Floating Point Emulator V0.97 (double precision)VFS: Disk quotas dquot_6.5.2Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.msgmni has been set to 236alg: No test for stdrng (krng)io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)OMAP DSS rev 2.0OMAP DISPC rev 3.0OMAP VENC rev 2OMAP DSI rev 1.0Serial: 8250/16550 driver, 4 ports, IRQ sharing enabledserial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654console [ttyS0] enabledserial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654brd: module loadedloop: module loadedomap2-nand driver initializingNAND 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 initializingomap2-onenand omap2-onenand: Cannot request GPMC CSomap2-onenand: probe of omap2-onenand failed with error -16smsc911x: Driver version 2008-10-21.smsc911x-mdio: probedeth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)net eth0: MAC Address: 00:50:c2:7e:90:95usbcore: registered new interface driver cdc_etherusbcore: registered new interface driver dm9601ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driverehci-omap ehci-omap.0: OMAP-EHCI Host Controllerehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1ehci-omap ehci-omap.0: irq 77, io mem 0x48064800ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00usb usb1: New USB device found, idVendor=1d6b, idProduct=0002usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb1: Product: OMAP-EHCI Host Controllerusb usb1: Manufacturer: Linux 2.6.32 ehci_hcdusb usb1: SerialNumber: ehci-omap.0hub 1-0:1.0: USB hub foundhub 1-0:1.0: 3 ports detectedInitializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.usbcore: registered new interface driver usbtestg_ether gadget: using random self ethernet addressg_ether gadget: using random host ethernet addressusb0: MAC 42:a6:0f:04:7e:f0usb0: HOST MAC 02:4d:eb:43:6c:eeg_ether gadget: Ethernet Gadget, version: Memorial Day 2008g_ether gadget: g_ether readymusb_hdrc musb_hdrc: MUSB HDRC host drivermusb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2usb usb2: New USB device found, idVendor=1d6b, idProduct=0002usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb2: Product: MUSB HDRC host driverusb usb2: Manufacturer: Linux 2.6.32 musb-hcdusb usb2: SerialNumber: musb_hdrchub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedinput: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0ads7846 spi1.0: touchscreen, irq 335input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0twl_rtc twl_rtc: Power up reset detected.twl_rtc twl_rtc: Enabling TWL-RTC.i2c /dev entries driverLinux video capture interface: v2.00tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!omap-iommu omap-iommu.0: isp: version 1.1Saving csi2 contextRestoring csi2 contextSaving csi2 contextusbcore: registered new interface driver uvcvideoUSB Video Class driver (v0.1.0)OMAP Watchdog Timer Rev 0x31: initial timeout 60 secusbcore: registered new interface driver usbhidusbhid: USB HID core driverAdvanced Linux Sound Architecture Driver Version 1.0.21.usbcore: registered new interface driver snd-usb-audioNo device for DAI omap-mcbsp-dai-0No device for DAI omap-mcbsp-dai-1No device for DAI omap-mcbsp-dai-2No device for DAI omap-mcbsp-dai-3No device for DAI omap-mcbsp-dai-4OMAP3 EVM SoC initasoc: twl4030 <-> omap-mcbsp-dai-0 mapping okALSA device list: #0: omap3evm (twl4030)TCP cubic registeredNET: Registered protocol family 17NET: Registered protocol family 15Power Management for TI OMAP3.SmartReflex driver initializedDisabling 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 1twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)Restoring csi2 contexttvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)Saving csi2 contextomapdss DPI error: display already enabledomap_vout omap_vout: 'lcd' Display already enabledomapdss DPI error: display already enabledomap_vout omap_vout: 'lcd' Display already enabledomap_vout omap_vout: Buffer Size = 3686400omap_vout omap_vout: : registered and initialized video device 1omap_vout omap_vout: Buffer Size = 3686400omap_vout omap_vout: : registered and initialized video device 2net eth0: SMSC911x/921x identified at 0xc8860000, IRQ: 336IP-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.56Looking up port of RPC 100005/1 on 192.168.30.56VFS: Mounted root (nfs filesystem) on device 0:12.Freeing init memory: 172Kudev: starting version 141
root@omap3evm:~# exportexport 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 OPIEDIRexport PATH='/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin'export PS1='\u@\h:\w\$ 'export PWD='/home/root'export QPEDIRexport QTDIRexport 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_hdrc335: 38 GPIO ads7846336: 8540 GPIO eth0369: 0 twl4030 twl4030_keypad379: 0 twl4030 rtc0384: 0 twl4030 mmc0Err: 0
>>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-debugand then check the output directly or with dmesg commandRegardsGururaja
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.shlibtoolize: 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 andlibtoolize: 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-debugconfigure: 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 -cchecking whether build environment is sane... yeschecking for arm-linux-gnu-strip... nochecking for strip... stripchecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether the C++ compiler works... noconfigure: error: in `/home/amob/tslib-1.0':configure: error: C++ compiler cannot create executablesSee `config.log' for more details.omap3evm login: rootroot@omap3evm:~# ls -la /lib/tsls: /lib/ts: No such file or directoryroot@omap3evm:~# cd /libroot@omap3evm:/lib# cd ts-sh: cd: can't cd to tsroot@omap3evm:/lib# cat /etc/ts.conf# Uncomment if you wish to use the linux input layer event interfacemodule_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 arctic2module pthres pmin=1module variance delta=30module dejitter delta=100module linearroot@omap3evm:/lib# cdroot@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�Xroot@omap3evm:~# dmesgLinux version 2.6.32 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Mon Aug 16 16:32:35 CDT 2010CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7fCPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cacheMachine: OMAP3 EVMMemory policy: ECC disabled, Data cache writebackOn node 0 totalpages: 32768free_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:7OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp 720m )SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000Reserving 4194304 bytes SDRAM for VRAMBuilt 1 zonelists in Zone order, mobility grouping on. Total pages: 32512Kernel 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:onPID 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 totalMemory: 120816KB available (4200K code, 372K data, 172K init, 0K highmem)Hierarchical RCU implementation.NR_IRQS:402Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHzReprogramming SDRC clock to 332000000 HzGPMC revision 5.0IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interruptsTotal of 96 interrupts on 1 active controllerOMAP GPIO hardware version 2.5OMAP clockevent source: GPTIMER1 at 32768 HzConsole: colour dummy device 80x30Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)Mount-cache hash table entries: 512CPU: Testing write buffer coherency: okregulator: core version 0.5NET: Registered protocol family 16mux: Setting signal i2c2_scl.i2c2_scl 0x0118 -> 0x0100mux: Setting signal i2c2_sda.i2c2_sda 0x0118 -> 0x0100mux: Setting signal i2c3_scl.i2c3_scl 0x0118 -> 0x0100mux: Setting signal i2c3_sda.i2c3_sda 0x0118 -> 0x0100mux: Setting signal etk_d8.gpio22 0x0100 -> 0x011cmux: Setting signal gpmc_nbe1.gpio61 0x0118 -> 0x011cmux: Setting signal etk_d7.gpio21 0x0100 -> 0x011cmux: Setting signal etk_d11.hsusb2_stp 0x0100 -> 0x0003mux: Setting signal etk_d10.hsusb2_clk 0x0100 -> 0x0003mux: Setting signal etk_d12.hsusb2_dir 0x0100 -> 0x010bmux: Setting signal etk_d13.hsusb2_nxt 0x0100 -> 0x010bmux: Setting signal etk_d14.hsusb2_data0 0x0100 -> 0x010bmux: Setting signal etk_d15.hsusb2_data1 0x0100 -> 0x010bmux: Setting signal mcspi1_cs3.hsusb2_data2 0x0108 -> 0x010bmux: Setting signal mcspi2_cs1.hsusb2_data3 0x0108 -> 0x010bmux: Setting signal mcspi2_simo.hsusb2_data4 0x0100 -> 0x010bmux: Setting signal mcspi2_somi.hsusb2_data5 0x0100 -> 0x010bmux: Setting signal mcspi2_cs0.hsusb2_data6 0x0108 -> 0x010bmux: Setting signal mcspi2_clk.hsusb2_data7 0x0100 -> 0x010bmux: Setting signal mcbsp1_fsr.gpio157 0x0018 -> 0x011cmux: Setting signal cam_fld.gpio98 0x0004 -> 0x011comap3evmdc: Driver registration complete OMAP DMA hardware revision 4.0bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbi2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHztwl4030: PIH (irq 7) chaining IRQs 368..375twl4030: power (irq 373) chaining IRQs 376..383twl4030: gpio (irq 368) chaining IRQs 384..401mux: Setting signal gpmc_wait1.gpio63 0x0118 -> 0x0104mux: Setting signal sdmmc1_clk.sdmmc1_clk 0x0018 -> 0x0118mux: Setting signal sdmmc1_cmd.sdmmc1_cmd 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat0.sdmmc1_dat0 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat1.sdmmc1_dat1 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat2.sdmmc1_dat2 0x0118 -> 0x0118mux: Setting signal sdmmc1_dat3.sdmmc1_dat3 0x0118 -> 0x0118regulator: VMMC1: 1850 <--> 3150 mV normal standbyregulator: VDAC: 1800 mV normal standbyregulator: VAUX2_4030: 2800 mV normal standbyregulator: VPLL2: 1800 mV normal standbyregulator: VSIM: 1800 <--> 3000 mV normal standbyi2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHzi2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHzSwitching to clocksource 32k_countermusb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0HS USB OTG: revision 0x33, sysconfig 0x2010, sysstatus 0x1, intrfsel 0x1, simenable 0x0musb_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 4musb_hdrc: 28/31 max ep, 16384/16384 memorymusb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92Registered /proc/driver/musb_hdrcNET: Registered protocol family 2IP 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 registeredUDP hash table entries: 256 (order: 0, 4096 bytes)UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)NET: Registered protocol family 1RPC: Registered udp transport module.RPC: Registered tcp transport module.RPC: Registered tcp NFSv4.1 backchannel transport module.omap-iommu omap-iommu.0: isp registeredOMAP35x Linux PSP version 03.00.01.06 (OMAP3EVM)NetWinder Floating Point Emulator V0.97 (double precision)VFS: Disk quotas dquot_6.5.2Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.msgmni has been set to 236alg: No test for stdrng (krng)io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)OMAP DSS rev 2.0OMAP DISPC rev 3.0OMAP VENC rev 2OMAP DSI rev 1.0Serial: 8250/16550 driver, 4 ports, IRQ sharing enabledserial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654console [ttyS0] enabledserial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654brd: module loadedloop: module loadedomap2-nand driver initializingNAND 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 initializingomap2-onenand omap2-onenand: Cannot request GPMC CSomap2-onenand: probe of omap2-onenand failed with error -16smsc911x: Driver version 2008-10-21.smsc911x-mdio: probedeth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)net eth0: MAC Address: 00:50:c2:7e:90:95usbcore: registered new interface driver cdc_etherusbcore: registered new interface driver dm9601ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driverehci-omap ehci-omap.0: OMAP-EHCI Host Controllerehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1ehci-omap ehci-omap.0: irq 77, io mem 0x48064800ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00usb usb1: New USB device found, idVendor=1d6b, idProduct=0002usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb1: Product: OMAP-EHCI Host Controllerusb usb1: Manufacturer: Linux 2.6.32 ehci_hcdusb usb1: SerialNumber: ehci-omap.0hub 1-0:1.0: USB hub foundhub 1-0:1.0: 3 ports detectedInitializing USB Mass Storage driver...usbcore: registered new interface driver usb-storageUSB Mass Storage support registered.usbcore: registered new interface driver usbtestg_ether gadget: using random self ethernet addressg_ether gadget: using random host ethernet addressusb0: MAC 42:a6:0f:04:7e:f0usb0: HOST MAC 02:4d:eb:43:6c:eeg_ether gadget: Ethernet Gadget, version: Memorial Day 2008g_ether gadget: g_ether readymusb_hdrc musb_hdrc: MUSB HDRC host drivermusb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2usb usb2: New USB device found, idVendor=1d6b, idProduct=0002usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1usb usb2: Product: MUSB HDRC host driverusb usb2: Manufacturer: Linux 2.6.32 musb-hcdusb usb2: SerialNumber: musb_hdrchub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedinput: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0ads7846 spi1.0: touchscreen, irq 335input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0twl_rtc twl_rtc: Power up reset detected.twl_rtc twl_rtc: Enabling TWL-RTC.i2c /dev entries driverLinux video capture interface: v2.00tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!omap-iommu omap-iommu.0: isp: version 1.1Saving csi2 contextRestoring csi2 contextSaving csi2 contextusbcore: registered new interface driver uvcvideoUSB Video Class driver (v0.1.0)OMAP Watchdog Timer Rev 0x31: initial timeout 60 secusbcore: registered new interface driver usbhidusbhid: USB HID core driverAdvanced Linux Sound Architecture Driver Version 1.0.21.usbcore: registered new interface driver snd-usb-audioNo device for DAI omap-mcbsp-dai-0No device for DAI omap-mcbsp-dai-1No device for DAI omap-mcbsp-dai-2No device for DAI omap-mcbsp-dai-3No device for DAI omap-mcbsp-dai-4OMAP3 EVM SoC initasoc: twl4030 <-> omap-mcbsp-dai-0 mapping okALSA device list: #0: omap3evm (twl4030)TCP cubic registeredNET: Registered protocol family 17NET: Registered protocol family 15Power Management for TI OMAP3.SmartReflex driver initializedDisabling 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 1twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)Restoring csi2 contexttvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)Saving csi2 contextomapdss DPI error: display already enabledomap_vout omap_vout: 'lcd' Display already enabledomapdss DPI error: display already enabledomap_vout omap_vout: 'lcd' Display already enabledomap_vout omap_vout: Buffer Size = 3686400omap_vout omap_vout: : registered and initialized video device 1omap_vout omap_vout: Buffer Size = 3686400omap_vout omap_vout: : registered and initialized video device 2net eth0: SMSC911x/921x identified at 0xc8860000, IRQ: 336IP-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.56Looking up port of RPC 100005/1 on 192.168.30.56VFS: Mounted root (nfs filesystem) on device 0:12.Freeing init memory: 172Kudev: starting version 141root@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 directoryWhich 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-debugwhcih means tslib is configured to store the final libs, utils inside /home/amob/targetfswhen configured such way, it should have directories & files inside it as below
ls -laR /home/user/targetfs//home/user/targetfs/:total 24drwxr-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 bindrwxr-xr-x 2 user user 4096 2011-02-18 10:22 etcdrwxr-xr-x 2 user user 4096 2011-02-18 10:22 includedrwxr-xr-x 4 user user 4096 2011-02-18 10:22 lib/home/user/targetfs/bin:total 168drwxr-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 12drwxr-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 12drwxr-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 56drwxr-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.lalrwxrwxrwx 1 user user 18 2011-02-18 10:22 libts.so -> libts-0.0.so.0.1.1drwxr-xr-x 2 user user 4096 2011-02-18 10:22 pkgconfigdrwxr-xr-x 2 user user 4096 2011-02-18 10:22 ts/home/user/targetfs/lib/pkgconfig:total 12drwxr-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 216drwxr-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*.*ReagrdsGururaja
Hi , You are so kind~
How and Where can I copy those *ts*.* files ?
amob@amob-desktop:~/targetfs$ lsbin dev home linuxrc mnt proc srv tmp varboot etc lib media opt sbin sys usr
amob@amob-desktop:~/targetfs/lib$ lsld-2.8.so libgcc_s.so.1 libresolv-2.8.sold-linux.so.3 libm-2.8.so libresolv.so.2libanl-2.8.so libmemusage.so librt-2.8.solibanl.so.1 libm.so.6 librt.so.1libBrokenLocale-2.8.so libnsl-2.8.so libthread_db-1.0.solibBrokenLocale.so.1 libnsl.so.1 libthread_db.so.1libc-2.8.so libnss_compat-2.8.so libudev.so.0libcidn-2.8.so libnss_compat.so.2 libudev.so.0.2.0libcidn.so.1 libnss_dns-2.8.so libutil-2.8.solibcrypt-2.8.so libnss_dns.so.2 libutil.so.1libcrypt.so.1 libnss_files-2.8.so libvolume_id.so.1libc.so.6 libnss_files.so.2 libvolume_id.so.1.1.0libdl-2.8.so libpthread-2.8.so moduleslibdl.so.2 libpthread.so.0 udev
amob@amob-desktop:~/targetfs/etc$ lsalsa fstab mke2fs.conf profile.d servicesangstrom-version group modules protocols skelasound.conf host.conf modules.conf rc0.d syslog.confasound.state hostname motd rc1.d terminfobluetooth hosts mtab rc2.d timestampbusybox.links init.d network rc3.d tinylogin.linksdbus-1 inittab nsswitch.conf rc4.d ts.confdefault inputrc opkg rc5.d udevdevice_table ipkg passwd rc6.d udhcpc.ddevice_table-opkg iproute2 pointercal rcS.d versiondev.tar issue powervr-esrev resolv.conf volatile.cachefb.modes issue.net powervr.ini rpcfilesystems 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 directoryamob@amob-desktop:~$ ls -laR /home/user/targetfs/lib/tsls: 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 installMaking install in etcmake[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 authoritymake[2]: *** [install-sysconfDATA] error 1make[2]:leaving `/home/amob/tslib-1.0/etc'make[1]: *** [install-am] error 2make[1]:leaving `/home/amob/tslib-1.0/etc'make: *** [install-recursive] error 1
>>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
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.shlibtoolize: 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 andlibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.amob@amob-desktop:~/tslib-1.0$ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnuconfigure: 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 -cchecking whether build environment is sane... yeschecking for arm-linux-gnu-strip... nochecking for strip... stripchecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether the C++ compiler works... noconfigure: error: in `/home/amob/tslib-1.0':configure: error: C++ compiler cannot create executablesSee `config.log' for more details.
amob@amob-desktop:~/tslib-1.0$ sudo make installMaking install in etcmake[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 srcmake[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.1libtool: 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.lalibtool: 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/libIf you ever happen to want to link against installed librariesin a given directory, LIBDIR, you must either use libtool, andspecify 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 formore 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 pluginsmake[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.solibtool: install: /usr/bin/install -c .libs/linear.lai /home/amob/targetfs/lib/ts/linear.lalibtool: install: /usr/bin/install -c .libs/dejitter.so /home/amob/targetfs/lib/ts/dejitter.solibtool: install: /usr/bin/install -c .libs/dejitter.lai /home/amob/targetfs/lib/ts/dejitter.lalibtool: install: /usr/bin/install -c .libs/variance.so /home/amob/targetfs/lib/ts/variance.solibtool: install: /usr/bin/install -c .libs/variance.lai /home/amob/targetfs/lib/ts/variance.lalibtool: install: /usr/bin/install -c .libs/pthres.so /home/amob/targetfs/lib/ts/pthres.solibtool: install: /usr/bin/install -c .libs/pthres.lai /home/amob/targetfs/lib/ts/pthres.lalibtool: install: /usr/bin/install -c .libs/ucb1x00.so /home/amob/targetfs/lib/ts/ucb1x00.solibtool: install: /usr/bin/install -c .libs/ucb1x00.lai /home/amob/targetfs/lib/ts/ucb1x00.lalibtool: install: /usr/bin/install -c .libs/corgi.so /home/amob/targetfs/lib/ts/corgi.solibtool: install: /usr/bin/install -c .libs/corgi.lai /home/amob/targetfs/lib/ts/corgi.lalibtool: install: /usr/bin/install -c .libs/collie.so /home/amob/targetfs/lib/ts/collie.solibtool: install: /usr/bin/install -c .libs/collie.lai /home/amob/targetfs/lib/ts/collie.lalibtool: install: /usr/bin/install -c .libs/h3600.so /home/amob/targetfs/lib/ts/h3600.solibtool: install: /usr/bin/install -c .libs/h3600.lai /home/amob/targetfs/lib/ts/h3600.lalibtool: install: /usr/bin/install -c .libs/mk712.so /home/amob/targetfs/lib/ts/mk712.solibtool: install: /usr/bin/install -c .libs/mk712.lai /home/amob/targetfs/lib/ts/mk712.lalibtool: install: /usr/bin/install -c .libs/arctic2.so /home/amob/targetfs/lib/ts/arctic2.solibtool: install: /usr/bin/install -c .libs/arctic2.lai /home/amob/targetfs/lib/ts/arctic2.lalibtool: install: /usr/bin/install -c .libs/linear_h2200.so /home/amob/targetfs/lib/ts/linear_h2200.solibtool: install: /usr/bin/install -c .libs/linear_h2200.lai /home/amob/targetfs/lib/ts/linear_h2200.lalibtool: install: /usr/bin/install -c .libs/input.so /home/amob/targetfs/lib/ts/input.solibtool: install: /usr/bin/install -c .libs/input.lai /home/amob/targetfs/lib/ts/input.lalibtool: 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 testsmake[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.cts_calibrate.c: In function ‘main’:ts_calibrate.c:234: warning: ignoring return value of ‘write’, declared with attribute warn_unused_resultIn 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 argumentsIn 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 argumentsmake[1]: *** [ts_calibrate.o] error 1make[1]:leaving `/home/amob/tslib-1.0/tests'make: *** [install-recursive] error 1
>>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 moduleshost $ sudo apt-get install autogen autoconf libtool
2. setup proper environment variableshost $ export CC=/<link to arm toolchain location>/bin/arm-none-linux-gnueabi-gcchost $ export CXX=/<link to arm toolchain location>/bin/arm-none-linux-gnueabi-g++host $ export CONFIG_SITE=omap3evm.autogen3. download and untar tslib modulehost $ tar xjf tslib-1.0.tar.bz24. setup and configurehost $ cd tslib-1.0host $ ./autogen.shhost $ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnu5. install tslibhost $ makehost $ sudo make installlet me know the output.RegardsGururaja
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-gccamob@amob-desktop:~$ export CXX=/home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++amob@amob-desktop:~$ export CONFIG_SITE=omap3evm.autogenamob@amob-desktop:~$ cd tslib-1.0/amob@amob-desktop:~/tslib-1.0$ ./autogen.shlibtoolize: 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 andlibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.amob@amob-desktop:~/tslib-1.0$ ./configure --prefix=/home/amob/targetfs --host=arm-linux-gnuconfigure: 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 -cchecking whether build environment is sane... yeschecking for arm-linux-gnu-strip... nochecking for strip... stripchecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether the C++ compiler works... yeschecking for C++ compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... yeschecking for suffix of object files... ochecking whether we are using the GNU C++ compiler... yeschecking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ accepts -g... yeschecking for style of include used by make... GNUchecking dependency style of /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++... gcc3checking for arm-linux-gnu-gcc... /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gccchecking whether we are using the GNU C compiler... yeschecking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc accepts -g... yeschecking for /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none neededchecking dependency style of /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc... gcc3checking how to run the C preprocessor... /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc -Echecking whether the C compiler supports -fvisibility=hidden... yeschecking whether to use -fvisibility=hidden... yeschecking whether ln -s works... yeschecking whether make sets $(MAKE)... (cached) yeschecking build system type... i686-pc-linux-gnuchecking host system type... arm-unknown-linux-gnuchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking 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/ldchecking if the linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... nochecking for arm-linux-gnu-dumpbin... nochecking for arm-linux-gnu-link... nochecking for dumpbin... nochecking for link... link -dump -symbolsconfigure: WARNING: using cross tools not prefixed with host tripletchecking the name lister (link -dump -symbols) interface... BSD nmchecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking for /home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld option to reload object files... -rchecking for arm-linux-gnu-objdump... nochecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for arm-linux-gnu-ar... nochecking for ar... archecking for arm-linux-gnu-strip... stripchecking for arm-linux-gnu-ranlib... nochecking for ranlib... ranlibchecking command to parse link -dump -symbols output from /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc object... failedchecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking whether we are using the GNU C++ compiler... (cached) yeschecking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ accepts -g... (cached) yeschecking dependency style of /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++... (cached) gcc3checking how to run the C++ preprocessor... /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ -Echecking for objdir... .libschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... nochecking for /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPICchecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yeschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc static flag -static works... yeschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yeschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yeschecking 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... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking for shl_load... nochecking for shl_load in -ldld... nochecking for dlopen... nochecking for dlopen in -ldl... yeschecking whether a program can dlopen itself... crosschecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... nochecking 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/ldchecking if the linker (/home/amob/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/bin/ld) is GNU ld... yeschecking 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... yeschecking for /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ option to produce PIC... -fPIC -DPICchecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yeschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ static flag -static works... yeschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... yeschecking if /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ supports -c -o file.o... (cached) yeschecking 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... yeschecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking for dlopen in -ldl... (cached) yeschecking for working alloca.h... yeschecking for alloca... yeschecking for ANSI C header files... (cached) yeschecking fcntl.h usability... yeschecking fcntl.h presence... yeschecking for fcntl.h... yeschecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking for stdlib.h... (cached) yeschecking for string.h... (cached) yeschecking sys/ioctl.h usability... yeschecking sys/ioctl.h presence... yeschecking for sys/ioctl.h... yeschecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking for unistd.h... (cached) yeschecking for an ANSI C-conforming const... yeschecking for inline... inlinechecking for size_t... yeschecking whether time.h and sys/time.h may both be included... yeschecking whether /home/amob/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc needs -traditional... nochecking for stdlib.h... (cached) yeschecking for unistd.h... (cached) yeschecking for sys/param.h... yeschecking for getpagesize... yeschecking for working mmap... nochecking sys/select.h usability... yeschecking sys/select.h presence... yeschecking for sys/select.h... yeschecking sys/socket.h usability... yeschecking sys/socket.h presence... yeschecking for sys/socket.h... yeschecking types of arguments for select... int,fd_set *,struct timeval *checking return type of signal handlers... voidchecking whether lstat correctly handles trailing slash... nochecking whether stat accepts an empty string... yeschecking for vprintf... yeschecking for _doprnt... nochecking for bzero... yeschecking for gettimeofday... yeschecking for memmove... yeschecking for memset... yeschecking for munmap... yeschecking for select... yeschecking for strcasecmp... yeschecking for strchr... yeschecking for strdup... yeschecking for strtoul... yeschecking whether linear modules is requested... yeschecking whether dejitter module is requested... yeschecking whether linear-h2200 module is requested... yeschecking whether variance module is requested... yeschecking whether pthres module is requested... yeschecking whether ucb1x00 module is requested... yeschecking whether corgi module is requested... yeschecking whether collie module is requested... yeschecking whether h3600 module is requested... yeschecking whether mk712 module is requested... yeschecking whether arctic2 module is requested... yeschecking whether input module is requested... yeschecking where to place modules... ${libdir}/ts/checking whether to enable debugging... noconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating etc/Makefileconfig.status: creating plugins/Makefileconfig.status: creating src/Makefileconfig.status: creating tests/Makefileconfig.status: creating tslib-0.0.pcconfig.status: creating config.hconfig.status: config.h is unchangedconfig.status: executing depfiles commandsconfig.status: executing libtool commandsamob@amob-desktop:~/tslib-1.0$ makemake all-recursivemake[1]: accessing to `/home/amob/tslib-1.0'Making all in etcmake[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 srcmake[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 outputcollect2: ld returned 1 exit statusmake[2]: *** [libts.la] error 1make[2]:leaving `/home/amob/tslib-1.0/src'make[1]: *** [all-recursive] error 1make[1]:leaving `/home/amob/tslib-1.0'make: *** [all] error 2amob@amob-desktop:~/tslib-1.0$ sudo make installMaking install in etcmake[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 srcmake[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 outputcollect2: ld returned 1 exit statusmake[1]: *** [libts.la] error 1make[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_calibrateNo raw modules loaded.ts_config: Successroot@omap3evm:~#
root@omap3evm:~# <4>omap-dss: Could not find exact pixel clock. Requested 25188 kHz, got 25187 kHzomap-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
Second, I input command cat /proc/bus/input/devices
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
H: Handlers=event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
3th, I input command cat /dev/input/event0 & 1 and touch screen.
root@omap3evm:~# cat /dev/input/event0
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/▒
4th, I input command ls -la /lib/ts
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
5th, I input command cat /etc/ts.conf
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
What is the problem?
Please tell me the solution.
Additional noted items.
root@omap3evm:~# dmesgLinux 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
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_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 "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 "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
Buffer Size = 3686400
omap_vout: registered and initialized video device 0 [v4l2]
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