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.

AM335x EVM touchscreen not working on Linux

Other Parts Discussed in Thread: DA8XX, TMP275, WL1271, TMDXEVM3358, TPS65910

Hello

The touchscreen has stopped working in my AM335x EVM running Linux. I'm sure it's a software problem because the touchscreen does work with Android, but it does not work with 2 different Linux configs:

* Boot from NFS (ti-sdk-am335x-evm-05.05.01.00-Linux).

* Boot from original SD card (ti-sdk-am335x-evm-05.03.03.00-Linux)

AM335x EVM switches are configured to boot from SD/MMC.

Bot log:

U-Boot# boot
reading uImage

2922160 bytes read
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Arago/3.1.0-psp04.06.00.03.sdk/a
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2922096 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.1.0 (jenkins@sdit-build01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Feb 9 14:58:49 CST 2012
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyO0,115200 root=/dev/mmcblk0p2 rw rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 253724k/253724k available, 8420k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffa00000 - 0xffe00000   (   4 MB)
[    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0534000   (5296 kB)
[    0.000000]       .init : 0xc0534000 - 0xc056d000   ( 228 kB)
[    0.000000]       .data : 0xc056e000 - 0xc05c2d80   ( 340 kB)
[    0.000000]        .bss : 0xc05c2da4 - 0xc05fd320   ( 234 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER1 at 19200000 Hz
[    0.000000] OMAP clocksource: GPTIMER2 at 19200000 Hz
[    0.000000] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every 223696ms
[    0.000000] Console: colour dummy device 80x30
[    0.000269] Calibrating delay loop... 574.66 BogoMIPS (lpj=2873344)
[    0.118846] pid_max: default: 32768 minimum: 301
[    0.118993] Security Framework initialized
[    0.119123] Mount-cache hash table entries: 512
[    0.119577] CPU: Testing write buffer coherency: ok
[    0.125222] print_constraints: dummy:
[    0.125691] NET: Registered protocol family 16
[    0.126117] GPMC revision 6.0
[    0.128619] OMAP GPIO hardware version 0.1
[    0.131388] omap_l3_smx omap_l3_smx.0: couldn't find resource
[    0.131997] omap_mux_init: Add partition: #1: core, flags: 0
[    0.135828]  omap_i2c.1: alias fck already exists
[    0.137706]  omap2_mcspi.1: alias fck already exists
[    0.137985]  omap2_mcspi.2: alias fck already exists
[    0.166003] bio: create slab <bio-0> at 0
[    0.168164] SCSI subsystem initialized
[    0.170981] usbcore: registered new interface driver usbfs
[    0.171390] usbcore: registered new interface driver hub
[    0.171636] usbcore: registered new device driver usb
[    0.188953] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
[    0.191397] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.192699] Switching to clocksource gp timer
[    0.198884] Switched to NOHz mode on CPU #0
[    0.211524] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.211758] musb-hdrc musb-hdrc.0: dma type: pio
[    0.212901] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18
[    0.213759] musb-hdrc musb-hdrc.1: dma type: pio
[    0.214773] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19
[    0.215272] NET: Registered protocol family 2
[    0.215520] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.215888] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.216082] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.216201] TCP: Hash tables configured (established 8192 bind 8192)
[    0.216216] TCP reno registered
[    0.216232] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.216261] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.216494] NET: Registered protocol family 1
[    0.216843] RPC: Registered named UNIX socket transport module.
[    0.216862] RPC: Registered udp transport module.
[    0.216872] RPC: Registered tcp transport module.
[    0.216884] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.217154] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.217956] ------------[ cut here ]------------
[    0.218020] WARNING: at arch/arm/mach-omap2/opp.c:86 omap_init_opp_table+0x148/0x254()
[    0.218038] omap_init_opp_table: round_rate for clock dpll_mpu_ck failed
[    0.218051] Modules linked in:
[    0.218063] Backtrace:
[    0.218110] [<c0017990>] (dump_backtrace+0x0/0x110) from [<c03e6c7c>] (dump_stack+0x18/0x1c)
[    0.218129]  r6:c04b523c r5:00000056 r4:cf81bf28 r3:c058e250
[    0.218174] [<c03e6c64>] (dump_stack+0x0/0x1c) from [<c003d670>] (warn_slowpath_common+0x5c/0x6c)
[    0.218202] [<c003d614>] (warn_slowpath_common+0x0/0x6c) from [<c003d724>] (warn_slowpath_fmt+0x38/0x40)
[    0.218219]  r8:00000000 r7:cf844400 r6:00000004 r5:00000000 r4:c0564bd4
[    0.218244] r3:00000009
[    0.218267] [<c003d6ec>] (warn_slowpath_fmt+0x0/0x40) from [<c053de34>] (omap_init_opp_table+0x148/0x254)
[    0.218285]  r3:c03eaeec r2:c04b52b8
[    0.218312] [<c053dcec>] (omap_init_opp_table+0x0/0x254) from [<c053df8c>] (omap3_opp_init+0x4c/0x68)
[    0.218329]  r7:00000000 r6:cf81a000 r5:c056ca28 r4:c05c2dc0
[    0.218364] [<c053df40>] (omap3_opp_init+0x0/0x68) from [<c0008794>] (do_one_initcall+0x3c/0x180)
[    0.218391] [<c0008758>] (do_one_initcall+0x0/0x180) from [<c0534884>] (kernel_init+0x9c/0x130)
[    0.218421] [<c05347e8>] (kernel_init+0x0/0x130) from [<c004076c>] (do_exit+0x0/0x6a0)
[    0.218437]  r5:c05347e8 r4:00000000
[    0.218492] ---[ end trace 65f8ea860415c04f ]---
[    0.233332] VFS: Disk quotas dquot_6.5.2
[    0.233418] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.234077] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.234429] msgmni has been set to 495
[    0.235369] io scheduler noop registered
[    0.235385] io scheduler deadline registered
[    0.235478] io scheduler cfq registered (default)
[    0.239332] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.241411] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.992937] console [ttyO0] enabled
[    0.998176] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    1.007903] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    1.017517] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    1.027089] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    1.036664] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    1.057146] brd: module loaded
[    1.067154] loop: module loaded
[    1.071456] i2c-core: driver [tsl2550] using legacy suspend method
[    1.079561] i2c-core: driver [tsl2550] using legacy resume method
[    1.087580] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.097288] Detected a daughter card on AM335x EVM..
[    1.103603] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    1.120370] Board name: A33515BB
[    1.124588] Board version: 1.1A
[    1.128669] SKU: SKU#01
[    1.132382] The board is general purpose EVM in profile 0
[    1.140679] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
[    1.166465] Console: switching to colour frame buffer device 100x30
[    1.181976] TSC connected to beta GP EVM
[    1.188504]  omap_i2c.2: alias fck already exists
[    1.212810] omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
[    1.220746] tsl2550 2-0039: standard operating mode
[    1.227801] tsl2550 2-0039: support ver. 1.2 enabled
[    1.235238]  omap_hsmmc.0: alias fck already exists
[    1.241944]  omap_hsmmc.2: alias fck already exists
[    1.248713] Configure Bluetooth Enable pin...
[    1.254495] _omap_mux_get_by_name: Could not find signal gpmc_a8.gpio1_22
[    1.265191] lis3lv02d: 8 bits 3DLH sensor found
[    1.343243] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[    1.356687] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.365453] omap2-nand driver initializing
[    1.371278] No NAND device found.
[    1.375897] No NAND device found.
[    1.380500] OneNAND driver initializing
[    1.432769] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    1.440833] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    1.449755] davinci_mdio.0: probed
[    1.454222] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    1.463609] CAN device driver interface
[    1.468596] CAN bus driver for Bosch D_CAN controller 1.0
[    1.476567] usbcore: registered new interface driver cdc_ether
[    1.484427] usbcore: registered new interface driver cdc_subset
[    1.492196] Initializing USB Mass Storage driver...
[    1.498805] usbcore: registered new interface driver usb-storage
[    1.506649] USB Mass Storage support registered.
[    1.512722] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.519745] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    1.529529] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.538389] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.547801] usb usb1: Product: MUSB HDRC host driver
[    1.554279] usb usb1: Manufacturer: Linux 3.1.0 musb-hcd
[    1.561190] usb usb1: SerialNumber: musb-hdrc.1
[    1.568157] hub 1-0:1.0: USB hub found
[    1.573128] hub 1-0:1.0: 1 port detected
[    1.579577] mousedev: PS/2 mouse device common for all mice
[    1.588119] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
[    1.599093] tsc tsc: clock input less than min clock requirement
[    1.606981] Trying disable clock adc_tsc_fck with 0 usecount
[    1.614344] ------------[ cut here ]------------
[    1.620378] WARNING: at arch/arm/plat-omap/clock.c:70 clk_disable+0x84/0x88()
[    1.629661] Modules linked in:
[    1.633633] Backtrace:
[    1.636845] [<c0017990>] (dump_backtrace+0x0/0x110) from [<c03e6c7c>] (dump_stack+0x18/0x1c)
[    1.647824]  r6:c04bb88c r5:00000046 r4:00000000 r3:c058e250
[    1.655226] [<c03e6c64>] (dump_stack+0x0/0x1c) from [<c003d670>] (warn_slowpath_common+0x5c/0x6c)
[    1.666781] [<c003d614>] (warn_slowpath_common+0x0/0x6c) from [<c003d6a4>] (warn_slowpath_null+0x24/0x2c)
[    1.679231]  r8:c058bfa4 r7:cf3e6c00 r6:c058ce78 r5:00000000 r4:a0000013
[    1.687742] r3:00000009
[    1.691161] [<c003d680>] (warn_slowpath_null+0x0/0x2c) from [<c0030e70>] (clk_disable+0x84/0x88)
[    1.702604] [<c0030dec>] (clk_disable+0x0/0x88) from [<c03e5a98>] (tscadc_probe+0x504/0x558)
[    1.713584]  r4:cf3e8bc0 r3:c058e250
[    1.718257] [<c03e5594>] (tscadc_probe+0x0/0x558) from [<c02313d0>] (platform_drv_probe+0x20/0x24)
[    1.729923] [<c02313b0>] (platform_drv_probe+0x0/0x24) from [<c022fee4>] (driver_probe_device+0x168/0x2b4)
[    1.742492] [<c022fd7c>] (driver_probe_device+0x0/0x2b4) from [<c02300c4>] (__driver_attach+0x94/0x98)
[    1.754597]  r8:00000000 r7:00000000 r6:c058c024 r5:c05afb60 r4:c058bff0
[    1.763347] [<c0230030>] (__driver_attach+0x0/0x98) from [<c022eda0>] (bus_for_each_dev+0x58/0x84)
[    1.775003]  r6:00000000 r5:c0230030 r4:c05afb60 r3:c0230030
[    1.782391] [<c022ed48>] (bus_for_each_dev+0x0/0x84) from [<c022fa34>] (driver_attach+0x24/0x28)
[    1.793823]  r6:cf3e9840 r5:c05a4598 r4:c05afb60
[    1.799849] [<c022fa10>] (driver_attach+0x0/0x28) from [<c022f6a0>] (bus_add_driver+0x19c/0x26c)
[    1.811289] [<c022f504>] (bus_add_driver+0x0/0x26c) from [<c0230668>] (driver_register+0x80/0x144)
[    1.822958] [<c02305e8>] (driver_register+0x0/0x144) from [<c02318a8>] (platform_driver_register+0x5c/0x60)
[    1.835633]  r8:00000000 r7:00000000 r6:cf81a000 r5:c056ca28 r4:c05c2dc0
[    1.844141] r3:00000000
[    1.847574] [<c023184c>] (platform_driver_register+0x0/0x60) from [<c0555c50>] (ti_tsc_init+0x18/0x1c)
[    1.859692] [<c0555c38>] (ti_tsc_init+0x0/0x1c) from [<c0008794>] (do_one_initcall+0x3c/0x180)
[    1.870906] [<c0008758>] (do_one_initcall+0x0/0x180) from [<c0534884>] (kernel_init+0x9c/0x130)
[    1.882236] [<c05347e8>] (kernel_init+0x0/0x130) from [<c004076c>] (do_exit+0x0/0x6a0)
[    1.892537]  r5:c05347e8 r4:00000000
[    1.897191] ---[ end trace 65f8ea860415c050 ]---
[    1.903290] Trying to free nonexistent resource <0000000044e0d000-0000000044e0efff>
[    1.914347] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[    1.922994] i2c /dev entries driver
[    1.929327] lm75 2-0048: hwmon0: sensor 'tmp275'
[    1.938740] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.947223] cpuidle: using governor ladder
[    1.953217] cpuidle: using governor menu
[    1.963516] usbcore: registered new interface driver usbhid
[    1.970776] usbhid: USB HID core driver
[    1.976994] usbcore: registered new interface driver snd-usb-audio
[    1.987543] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    1.997322] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    2.006917] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    2.016499] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    2.068356] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    2.076771] mmc0: new high speed SDHC card at address 1234
[    2.085161] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[    2.093162] ALSA device list:
[    2.097077]   #0: AM335X EVM
[    2.100817] oprofile: hardware counters not available
[    2.107436] oprofile: using timer interrupt.
[    2.113040] nf_conntrack version 0.5.0 (3964 buckets, 15856 max)
[    2.121495] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.128584] TCP cubic registered
[    2.132806] NET: Registered protocol family 17
[    2.138598] can: controller area network core (rev 20090105 abi 8)
[    2.146782] NET: Registered protocol family 29
[    2.152560] can: raw protocol (rev 20090105)
[    2.158131] can: broadcast manager protocol (rev 20090105 t)
[    2.165564] Registering the dns_resolver key type
[    2.171794] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.181797] ThumbEE CPU extension supported.
[    2.188359] _regulator_get: mpu.0 supply mpu not found, using dummy regulator
[    2.197832] omap2_set_init_voltage: Fail set voltage-mpu(f=600000000 v=1200000)on vddmpu
[    2.208384] omap2_set_init_voltage: unable to set vdd_mpu
[    2.216184] usb 1-1: new low speed USB device number 2 using musb-hdrc
[    2.224963]  mmcblk0: p1 p2 p3
[    2.232065] Detected MACID=d4:94:a1:91:6b:aa
[    2.311220] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    2.320906] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    2.339805] kjournald starting.  Commit interval 5 seconds
[    2.347073] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[    2.363969] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    2.377691] EXT3-fs (mmcblk0p2): using internal journal
[    2.384541] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    2.393569] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    2.401870] Freeing init memory: 228K
[    2.411334] usb 1-1: New USB device found, idVendor=046d, idProduct=c018
[    2.420132] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.429430] usb 1-1: Product: USB Optical Mouse
[    2.435337] usb 1-1: Manufacturer: Logitech
[    2.450438] input: Logitech USB Optical Mouse as /devices/platform/omap/ti81xx-usbss/musb-hdrc.1/usb1/1-1/1-1:1.0/input/input3
[    2.466839] generic-usb 0003:046D:C018.0001: input: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-musb-hdrc.1-1/input0
[    2.483372] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    2.492197] mmc1: new SDIO card at address 0001
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[    3.204325] udevd (612): /proc/612/oom_adj is deprecated, please use /proc/612/oom_score_adj instead.
[    4.758002] cfg80211: Calling CRDA to update world regulatory domain
[    9.416298] cfg80211: World regulatory domain updated:
[    9.423099] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.433997] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.444348] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.454671] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.464989] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.475304] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.558786] wl1271: loaded
[   10.171930] kjournald starting.  Commit interval 5 seconds
[   10.179260] EXT3-fs (mmcblk0p3): warning: maximal mount count reached, running e2fsck is recommended
[   11.099135] EXT3-fs (mmcblk0p3): using internal journal
[   11.106027] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
[   11.215329] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
Remounting root file system...
Caching udev devnodes
ALSA: Restoring mixer settings...
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
eth0      No such device

ifconfig: SIOCGIFFLAGS: No such device
done.
Setting up IP spoofing protection: rp_filter.
Thu Nov 15 21:51:00 UTC 2012
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting network benchmark server: netserver.
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
Starting Lighttpd Web Server: lighttpd.
2012-11-15 21:51:02: (log.c.166) server started
/
/
Starting Matrix GUI application.
[   22.871825]  gadget: Mass Storage Function, version: 2009/09/11
[   22.879726]  gadget: Number of LUNs=2
[   22.884529]  lun0: LUN: removable file: /dev/mmcblk0p1
[   22.891218]  lun1: LUN: removable file: /dev/mmcblk0p3
[   22.897971]  gadget: Mass Storage Gadget, version: 2009/09/11
[   22.905488]  gadget: userspace failed to provide iSerialNumber
[   22.913122]  gadget: g_mass_storage ready
[   22.918364] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[   22.925349] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[   22.935147] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   22.944008] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   22.953430] usb usb2: Product: MUSB HDRC host driver
[   22.959892] usb usb2: Manufacturer: Linux 3.1.0 musb-hcd
[   22.966813] usb usb2: SerialNumber: musb-hdrc.0
[   22.973453] hub 2-0:1.0: USB hub found
[   22.978365] hub 2-0:1.0: 1 port detected
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages:
        binutils-dev
        binutils-symlinks
        binutils
        gdbserver

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If th� package is a
 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am335x-evm ttyO0

Arago 2011.09 am335x-evm ttyO0

am335x-evm login: root

Devices:
root@am335x-evm:~# ls /dev
bc_cat              ram4                tty41
bccat0              ram5                tty42
block               ram6                tty43
bus                 ram7                tty44
char                ram8                tty45
console             ram9                tty46
cpu_dma_latency     random              tty47
disk                rfkill              tty48
fb                  rtc                 tty49
fb0                 rtc0                tty5
full                shm                 tty50
i2c-1               snd                 tty51
i2c-2               tty                 tty52
initctl             tty0                tty53
input               tty1                tty54
kmem                tty10               tty55
kmsg                tty11               tty56
log                 tty12               tty57
loop-control        tty13               tty58
loop0               tty14               tty59
loop1               tty15               tty6
loop2               tty16               tty60
loop3               tty17               tty61
loop4               tty18               tty62
loop5               tty19               tty63
loop6               tty2                tty7
loop7               tty20               tty8
mem                 tty21               tty9
mmcblk0             tty22               ttyO0
mmcblk0p1           tty23               ttyO1
mmcblk0p2           tty24               ttyO2
mmcblk0p3           tty25               ttyO3
network_latency     tty26               ttyO4
network_throughput  tty27               ttyO5
null                tty28               ttyS0
psaux               tty29               ttyS1
ptmx                tty3                ttyS2
pts                 tty30               ttyS3
pvrsrvkm            tty31               ubi_ctrl
ram0                tty32               udev_network_queue
ram1                tty33               urandom
ram10               tty34               vcs
ram11               tty35               vcs1
ram12               tty36               vcs4
ram13               tty37               vcsa
ram14               tty38               vcsa1
ram15               tty39               vcsa4
ram2                tty4                watchdog
ram3                tty40               zero
root@am335x-evm:~# ls /dev/input
by-id    by-path  event0   event1   event2   event3   mice     mouse0
root@am335x-evm:~# export
export EDITOR='/bin/vi'
export HOME='/home/root'
export LOGNAME='root'
export MAIL='/var/mail/root'
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 SHELL='/bin/sh'
export TERM='linux'
export TSLIB_TSDEVICE='/dev/input/touchscreen0'
export TZ='UTC'
root@am335x-evm:~#

SD card:

root@am335x-evm:~# ls /media/mmcblk0p1
MLO                             u-boot.img
autorun.inf                     uEnv.txt
beaglebone-quickstartguide.pdf  uImage
pointercal                      windows_users
quickstartguide.pdf
root@am335x-evm:~# ls /media/mmcblk0p2
Settings    etc         lost+found  proc        tmp
bin         home        media       sbin        usr
boot        lib         mnt         srv         var
dev         linuxrc     opt         sys         www
root@am335x-evm:~# ls /media/mmcblk0p3
CCS
START_HERE.sh
beaglebone-quickstartguide.pdf
ccs_install.sh
lost+found
quickstartguide.pdf
setup.htm
ti-sdk-am335x-evm-05.03.03.00-Linux-x86-Install

root@am335x-evm:~# cat /media/mmcblk0p1/uEnv.txt
bootargs=console=ttyO0,115200n8 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait init=/init ip=off
bootcmd=mmc rescan ; fatload mmc 0 82000000 uImage ; bootm 82000000
uenvcmd=boot

I copied uEnv.txt from the Android SD card to Linux SD card because it was missing, but the touchscreen does not work with or without uEnv.txt.

I don't know where u-boot stores its config, but I modify bootargs and bootcmd to boot from SD/MMC or NFS.

Why does the touchscreen does not work with Linux?

Thank you in advance

  • Hi,

    Even for me too touchscreen is not working. Apart from that there is no Gui on the display.

    Is it also the case with you?

    Regards,

    Amar

  • I can use the matrix GUI with a mouse, the display works fine but touchscreen does not work with Linux SD card, only Android SD card. Some months ago it worked fine with Linux SD, maybe I changed something in the EVM, but I don't know what I did.

    How can I get back the EVM to the factory state?

    Regards

  • Hi,

    How many partitions did you create in SD Card and how did you launch the matrix App?

    Regards,

    Amar

  • The SD card has 3 partitions, it is the card made by Texas Instruments, I didn't create it or modify it.

    I insert the SD card into the AM335xEVM and turn it on, Matrix application runs automatically.

    I think your board is not the same as mine, mine is AM335xEVM (http://www.ti.com/tool/tmdxevm3358), yours is AM335xSK (http://www.ti.com/tool/tmdssk3358).


    How can I get back the EVM to the factory state?, I hope the touchscreen will work this way.

    Regards

  • There is some information about Touchscreen calibration if its not working, in link below.

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

    Check if it helps.

    As about me, I had created only 2 partitions and the board is am335xSK and I am not getting any Gui on display.

    Have you ever tried booting on am335xSK?

  • Thank you, but recalibration does not work in my EVM.

    - Delete pointercal file --> nothing happens.

    - root@am335x-evm:~# ts_calibrate
      ts_open: No such file or directory
    In my first post you can see /dev/input, there is no "touchscreen0" file.

    Amar, I don't have an AM335x SK, only EVM.

    Regards

  • Hi FordFairlane,

    Here you are my Boot log:

    TFTP from server 192.168.3.58; our IP address is 192.168.3.83                  
    Filename 'uImage-am335x-evm.bin'.                                              
    Load address: 0x82000000                                                       
    Loading: ##########T ###########################################T ############ 
             ################################T T T T T #############################
    ####                                                                           
             ############################T #####################################   
             #####################                                                 
    done                                                                           
    Bytes transferred = 3163680 (304620 hex)                                       
    ## Booting kernel from Legacy Image at 82000000 ...                            
       Image Name:   Arago/3.2.0-psp04.06.00.08.sdk/a                              
       Image Type:   ARM Linux Kernel Image (uncompressed)                         
       Data Size:    3163616 Bytes = 3 MiB                                         
       Load Address: 80008000                                                      
       Entry Point:  80008000                                                      
       Verifying Checksum ... OK                                                   
       Loading Kernel Image ... OK                                                 
    OK                                                                             
                                                                                   
    Starting kernel ...                                                            
                                                                                   
    Uncompressing Linux... done, booting the kernel.                               
    [    0.000000] Linux version 3.2.0 (jenkins@sdit-build01) (gcc version 4.5.3 201
    10311 (prerelease) (GCC) ) #1 Thu Jul 26 17:16:27 CDT 2012                     
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d 
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
    n cache                                                                        
    [    0.000000] Machine: am335xevm                                              
    [    0.000000] Memory policy: ECC disabled, Data cache writeback               
    [    0.000000] AM335X ES1.0 (sgx neon )                                        
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
    es: 65024                                                                      
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot
    =192.168.3.58:/home/sst/sitara/targetNFS,nolock rw ip=dhcp                     
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)             
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) 
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)   
    [    0.000000] Memory: 256MB = 256MB total                                     
    [    0.000000] Memory: 253256k/253256k available, 8888k reserved, 0K highmem   
    [    0.000000] Virtual kernel memory layout:                                   
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)               
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)               
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)               
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)               
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)               
    [    0.000000]       .text : 0xc0008000 - 0xc059d000   (5716 kB)               
    [    0.000000]       .init : 0xc059d000 - 0xc05db000   ( 248 kB)               
    [    0.000000]       .data : 0xc05dc000 - 0xc0644198   ( 417 kB)               
    [    0.000000]        .bss : 0xc06441bc - 0xc0671024   ( 180 kB)               
    [    0.000000] NR_IRQS:396                                                     
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup
    ts                                                                             
    [    0.000000] Total of 128 interrupts on 1 active controller                  
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz                 
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz                          
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 13
    1071999ms                                                                      
    [    0.000000] Console: colour dummy device 80x30                              
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)         
    [    0.058929] pid_max: default: 32768 minimum: 301                            
    [    0.059051] Security Framework initialized                                  
    [    0.059173] Mount-cache hash table entries: 512                             
    [    0.059539] CPU: Testing write buffer coherency: ok                         
    [    0.079467] omap_hwmod: pruss: failed to hardreset                          
    [    0.080566] print_constraints: dummy:                                       
    [    0.080932] NET: Registered protocol family 16                              
    [    0.083007] OMAP GPIO hardware version 0.1                                  
    [    0.085571] omap_mux_init: Add partition: #1: core, flags: 0                
    [    0.087768]  omap_i2c.1: alias fck already exists                           
    [    0.088653]  omap2_mcspi.1: alias fck already exists                        
    [    0.088867]  omap2_mcspi.2: alias fck already exists                        
    [    0.089660]  edma.0: alias fck already exists                               
    [    0.089691]  edma.0: alias fck already exists                               
    [    0.089691]  edma.0: alias fck already exists                               
    [    0.116302] bio: create slab <bio-0> at 0                                   
    [    0.118499] SCSI subsystem initialized                                      
    [    0.120178] usbcore: registered new interface driver usbfs                  
    [    0.120483] usbcore: registered new interface driver hub                    
    [    0.120666] usbcore: registered new device driver usb                       
    [    0.120819] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3  
    [    0.121093] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1  
    [    0.139007] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz                  
    [    0.140899] tps65910 1-002d: JTAGREVNUM 0x0                                 
    [    0.143280] print_constraints: VRTC:                                        
    [    0.144714] print_constraints: VIO: at 1500 mV                              
    [    0.147003] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal     
    [    0.149322] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal     
    [    0.150329] print_constraints: VDD3: 5000 mV                                
    [    0.151733] print_constraints: VDIG1: at 1800 mV                            
    [    0.153167] print_constraints: VDIG2: at 1800 mV                            
    [    0.154571] print_constraints: VPLL: at 1800 mV                             
    [    0.156005] print_constraints: VDAC: at 1800 mV                             
    [    0.157409] print_constraints: VAUX1: at 1800 mV                            
    [    0.158843] print_constraints: VAUX2: at 3300 mV                            
    [    0.160278] print_constraints: VAUX33: at 3300 mV                           
    [    0.161712] print_constraints: VMMC: at 3300 mV                             
    [    0.162200] tps65910 1-002d: No interrupt support, no core IRQ              
    [    0.163421] Advanced Linux Sound Architecture Driver Version 1.0.24.        
    [    0.164550] Switching to clocksource gp timer                               
    [    0.179840] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)            
    [    0.180023] musb-hdrc musb-hdrc.0: dma type: pio                            
    [    0.180328] MUSB0 controller's USBSS revision = 4ea20800                    
    [    0.180877] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using
    PIO, IRQ 18                                                                    
    [    0.181030] musb-hdrc musb-hdrc.1: dma type: pio                            
    [    0.181335] MUSB1 controller's USBSS revision = 4ea20800                    
    [    0.181457] musb-hdrc musb-hdrc.1: MUSB HDRC host driver                    
    [    0.181518] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
    r 1                                                                            
    [    0.181640] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002   
    [    0.181671] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                              
    [    0.181671] usb usb1: Product: MUSB HDRC host driver                        
    [    0.181701] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd                    
    [    0.181701] usb usb1: SerialNumber: musb-hdrc.1                             
    [    0.182464] hub 1-0:1.0: USB hub found                                      
    [    0.182495] hub 1-0:1.0: 1 port detected                                    
    [    0.183044] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using
     PIO, IRQ 19                                                                   
    [    0.183441] NET: Registered protocol family 2                               
    [    0.183624] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)  
    [    0.183929] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.184082] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)       
    [    0.184173] TCP: Hash tables configured (established 8192 bind 8192)        
    [    0.184173] TCP reno registered                                             
    [    0.184204] UDP hash table entries: 256 (order: 0, 4096 bytes)              
    [    0.184234] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)         
    [    0.184387] NET: Registered protocol family 1                               
    [    0.184722] RPC: Registered named UNIX socket transport module.             
    [    0.184753] RPC: Registered udp transport module.                           
    [    0.184753] RPC: Registered tcp transport module.                           
    [    0.184753] RPC: Registered tcp NFSv4.1 backchannel transport module.       
    [    0.185028] NetWinder Floating Point Emulator V0.97 (double precision)      
    [    0.196289] VFS: Disk quotas dquot_6.5.2                                    
    [    0.196350] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)      
    [    0.196868] msgmni has been set to 494                                      
    [    0.200012] alg: No test for stdrng (krng)                                  
    [    0.200683] io scheduler noop registered                                    
    [    0.200683] io scheduler deadline registered                                
    [    0.200744] io scheduler cfq registered (default)                           
    [    0.201904] Could not set LED4 to fully on                                  
    [    0.203674] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.825286] console [ttyO0] enabled                                         
    [    0.829559] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.837371] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.845184] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.852966] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.860748] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.877868] brd: module loaded                                              
    [    0.885925] loop: module loaded                                             
    [    0.889373] i2c-core: driver [tsl2550] using legacy suspend method          
    [    0.895843] i2c-core: driver [tsl2550] using legacy resume method           
    [    0.902252] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write 
    [    0.965118] No daughter card found                                          
    [    0.968688] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write 
    [    0.983886] Board name: A335X_SK                                            
    [    0.987243] Board version: 1.2B                                             
    [    0.990539] The board is a AM335x Starter Kit.                              
    [    0.995422]  omap_hsmmc.0: alias fck already exists                         
    [    1.000946]  omap_hsmmc.1: alias fck already exists                         
    [    1.006988]  da8xx_lcdc.0: alias fck already exists                         
    [    1.012451] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel    
    [    1.027740] Console: switching to colour frame buffer device 60x34          
    [    1.040588]  davinci-mcasp.1: alias fck already exists                      
    [    1.046478] Configure Bluetooth Enable pin...                               
    [    1.051940] registered am33xx_sr device                                     
    [    1.056182] _regulator_get: 1-0018 supply Vdd not found, using dummy regulato
    r                                                                              
    [    1.063781] _regulator_get: 1-0018 supply Vdd_IO not found, using dummy regul
    ator                                                                           
    [    1.092254] lis3lv02d: 8 bits 3DLH sensor found                             
    [    1.185546] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d
    /input/input0                                                                  
    [    1.196380] mtdoops: mtd device (mtddev=name/number) must be supplied       
    [    1.203521] omap2-nand driver initializing                                  
    [    1.208038] OneNAND driver initializing                                     
    [    1.213256] CAN device driver interface                                     
    [    1.217315] CAN bus driver for Bosch D_CAN controller 1.0                   
    [    1.265167] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6          
    [    1.271606] davinci_mdio davinci_mdio.0: detected phy mask fffffffc         
    [    1.279815] davinci_mdio.0: probed                                          
    [    1.283386] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.290771] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    1.298461] usbcore: registered new interface driver zd1201                 
    [    1.304473] usbcore: registered new interface driver cdc_ether              
    [    1.310729] usbcore: registered new interface driver cdc_eem                
    [    1.316802] usbcore: registered new interface driver dm9601                 
    [    1.322662] cdc_ncm: 04-Aug-2011                                            
    [    1.326202] usbcore: registered new interface driver cdc_ncm                
    [    1.332092] Initializing USB Mass Storage driver...                         
    [    1.337432] usbcore: registered new interface driver usb-storage            
    [    1.343688] USB Mass Storage support registered.                            
    [    1.348999] mousedev: PS/2 mouse device common for all mice                 
    [    1.356201] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input1   
    [    1.364624] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0        
    [    1.371276] omap_rtc: already running                                       
    [    1.375305] i2c /dev entries driver                                         
    [    1.379333] Linux video capture interface: v2.00                            
    [    1.384490] usbcore: registered new interface driver uvcvideo               
    [    1.390502] USB Video Class driver (1.1.1)                                  
    [    1.396820] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec            
    [    1.405364] cpuidle: using governor ladder                                  
    [    1.410125] cpuidle: using governor menu                                    
    [    1.418945] omap4_aes_mod_init: loading AM33X AES driver                    
    [    1.424591] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02               
    [    1.431152] omap4_aes_probe: probe() done                                   
    [    1.435821] omap4_sham_mod_init: loading AM33X SHA/MD5 driver               
    [    1.441955] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03         
    [    1.453399] omap4_sham_probe: probe() done                                  
    [    1.463470] usbcore: registered new interface driver usbhid                 
    [    1.469360] usbhid: USB HID core driver                                     
    [    1.473968] usbcore: registered new interface driver snd-usb-audio          
    [    1.485534] _regulator_get: 1-001b supply IOVDD not found, using dummy regula
    tor                                                                            
    [    1.493316] _regulator_get: 1-001b supply DVDD not found, using dummy regulat
    or                                                                             
    [    1.501007] _regulator_get: 1-001b supply AVDD not found, using dummy regulat
    or                                                                             
    [    1.508666] _regulator_get: 1-001b supply DRVDD not found, using dummy regula
    tor                                                                            
    [    1.519134] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok           
    [    1.526916] ALSA device list:                                               
    [    1.529998]   #0: AM335X EVM                                                
    [    1.533020] oprofile: hardware counters not available                       
    [    1.538299] oprofile: using timer interrupt.                                
    [    1.542785] nf_conntrack version 0.5.0 (3957 buckets, 15828 max)            
    [    1.549560] ip_tables: (C) 2000-2006 Netfilter Core Team                    
    [    1.555236] TCP cubic registered                                            
    [    1.558593] NET: Registered protocol family 17                              
    [    1.563232] can: controller area network core (rev 20090105 abi 8)          
    [    1.569793] NET: Registered protocol family 29                              
    [    1.574432] can: raw protocol (rev 20090105)                                
    [    1.578887] can: broadcast manager protocol (rev 20090105 t)                
    [    1.584808] Registering the dns_resolver key type                           
    [    1.589813] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
     rev 3                                                                         
    [    1.597839] ThumbEE CPU extension supported.                                
    [    1.602325] mux: Failed to setup hwmod io irq -22                           
    [    1.607879] Power Management for AM33XX family                              
    [    1.612701] Trying to load am335x-pm-firmware.bin (60 secs timeout)         
    [    1.619415] Copied the M3 firmware to UMEM                                  
    [    1.623870] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from E
    FUSE                                                                           
    [    1.631713] smartreflex: probe of smartreflex failed with error -22         
    [    1.638854] sr_init: platform driver register failed                        
    [    1.649017] clock: disabling unused clocks to save power                    
    [    1.667938] Detected MACID=0:18:31:e1:fc:42                                 
    [    1.673431] cpsw: Detected MACID = 00:18:31:e1:fc:43                        
    [    1.679046] mmc0: host does not support reading read-only switch. assuming wr
    ite-enable.                                                                    
    [    1.688995] input: gpio-keys as /devices/platform/gpio-keys/input/input2    
    [    1.696380] mmc0: new high speed SDHC card at address aaaa                  
    [    1.703063] omap_rtc omap_rtc: setting system clock to 2012-07-29 15:52:26 UT
    C (1343577146)                                                                 
    [    1.712219] mmcblk0: mmc0:aaaa SU04G 3.69 GiB                               
    [    1.722198] net eth0: CPSW phy found : id is : 0x4dd074                     
    [    1.729187]  mmcblk0: p1 p2 p3                                              
    [    1.736236] net eth1: CPSW phy found : id is : 0x4dd074                     
    [    1.849822] mmc1: card claims to support voltages below the defined range. Th
    ese will be ignored.                                                           
    [    1.868927] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)                  
    [    1.875549] mmc1: new SDIO card at address 0001                             
    [    3.716674] PHY: 0:00 - Link is Up - 100/Full                               
    [    3.745758] Sending DHCP requests .                                         
    [    4.751312] DHCP/BOOTP: Ignoring delayed packet                             
    [    5.736633] PHY: 0:01 - Link is Up - 100/Full                               
    [    6.645782] ..... timed out!                                                
    [   86.057922] IP-Config: Retrying forever (NFS root)...                       
    [   86.067413] net eth0: CPSW phy found : id is : 0x4dd074                     
    [   86.077087] net eth1: CPSW phy found : id is : 0x4dd074                     
    [   88.066741] PHY: 0:00 - Link is Up - 100/Full                               
    [   88.076873] PHY: 0:01 - Link is Up - 100/Full                               
    [   88.095794] Sending DHCP requests ...... timed out!                         
    [  171.827850] IP-Config: Retrying forever (NFS root)...                       
    [  171.837341] net eth0: CPSW phy found : id is : 0x4dd074                     
    [  171.847076] net eth1: CPSW phy found : id is : 0x4dd074                     
    [  173.836761] PHY: 0:00 - Link is Up - 100/Full                               
    [  173.846893] PHY: 0:01 - Link is Up - 100/Full                               
    [  173.865783] Sending DHCP requests ...... timed out!                         
    [  252.157806] IP-Config: Retrying forever (NFS root)...                       
    [  252.167297] net eth0: CPSW phy found : id is : 0x4dd074                     
    [  252.177001] net eth1: CPSW phy found : id is : 0x4dd074                     
    [  254.166717] PHY: 0:00 - Link is Up - 100/Full                               
    [  254.176849] PHY: 0:01 - Link is Up - 100/Full                               
    [  254.195770] Sending DHCP requests ...... timed out!                         
    [  343.067840] IP-Config: Retrying forever (NFS root)...                       
    [  343.077301] net eth0: CPSW phy found : id is : 0x4dd074                     
    [  343.086975] net eth1: CPSW phy found : id is : 0x4dd074                     
    [  345.076721] PHY: 0:00 - Link is Up - 100/Full                               
    [  345.086914] PHY: 0:01 - Link is Up - 100/Full                               
    [  345.105773] Sending DHCP requests ...                                       
    [  353.076568] PHY: 0:00 - Link is Down                                        
    [  354.455780] , OK                                                            
    [  354.466247] IP-Config: Got DHCP answer from 192.168.3.1, my address is 192.16
    8.3.84                                                                         
    [  354.474731] IP-Config: Complete:                                            
    [  354.478118]      device=eth1, addr=192.168.3.84, mask=255.255.255.0, gw=192.1
    68.3.1,                                                                        
    [  354.485931]      host=192.168.3.84, domain=labornetz corp.trumpf.com, nis-dom
    ain=(none),                                                                    
    [  354.494384]      bootserver=192.168.3.1, rootserver=192.168.3.58, rootpath= 
    [  354.591552] VFS: Mounted root (nfs filesystem) on device 0:14.              
    [  354.598022] Freeing init memory: 248K                                       
    INIT: version 2.86 booting                                                     
    Please wait: booting...                                                        
    Starting udev                                                                  
    WARNING: -e needs -E or -F                                                     
    [  357.746368] Disabling lock debugging due to kernel taint                    
    [  358.841125] cfg80211: Calling CRDA to update world regulatory domain        
    [  359.503295] cfg80211: World regulatory domain updated:                      
    [  359.508758] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_g
    ain, max_eirp)                                                                 
    [  359.517578] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi,
    2000 mBm)                                                                      
    [  359.525848] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi,
    2000 mBm)                                                                      
    [  359.534118] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi,
    2000 mBm)                                                                      
    [  359.542388] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi,
    2000 mBm)                                                                      
    [  359.550628] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi,
    2000 mBm)                                                                      
    [  359.967407] wl12xx: driver version: ol_R5.00.17                             
    [  359.972167] wl12xx: compilation time: Thu May 17 05:25:00 2012              
    [  360.428497] wl12xx: loaded                                                  
    [  360.623748] alignment: ignoring faults is unsafe on this CPU.  Defaulting to
    fixup mode.                                                                    
    Root filesystem already rw, not remounting                                     
    Caching udev devnodes                                                          
    Undefined users:                                                               
    Skipping /etc/default/volatiles/99_hal                                         
    Undefined users:                                                               
    Skipping /etc/default/volatiles/volatiles.04_pulse                             
    ALSA: Restoring mixer settings...                                              
    No state is present for card EVM                                               
    Found hardware: "AM335X_EVM" "" "" "" ""                                       
    Hardware is initialized using a generic method                                 
    No state is present for card EVM                                               
    Configuring dbus.                                                              
     Adding system startup for /etc/init.d/dbus-1.                                 
    Configuring hicolor-icon-theme.                                                
    # GdkPixbuf Image Loader Modules file                                          
    # Automatically generated file, do not edit                                    
    # Created by gdk-pixbuf-query-loaders from gtk+-2.20.1                         
    #                                                                              
    g_module_open() failed for /--update-cache: /--update-cache.so: cannot open shar
    ed object file: No such file or directory                                      
    Configuring pango-module-basic-x.                                              
    Configuring pango-module-basic-fc.                                             
    Configuring ttf-dejavu-common.                                                 
    Configuring ttf-dejavu-sans.                                                   
    Configuring gdk-pixbuf-loader-png.                                             
    Configuring gdk-pixbuf-loader-jpeg.                                            
    Configuring gdk-pixbuf-loader-gif.                                             
    Configuring gdk-pixbuf-loader-xpm.                                             
    Configuring policykit.                                                         
    Configuring gnome-vfs.                                                         
    Configuring update-modules.                                                    
    Configuring kernel-module-g-mass-storage.                                      
    Configuring omap3-sgx-modules.                                                 
    Configuring gnome-keyring.                                                     
    Configuring hal.                                                               
    Undefined users:                                                               
    Skipping /etc/default/volatiles/volatiles.04_pulse                             
    Configuring wpa-supplicant.                                                    
    Configuring kernel-module-tcrypt.                                              
    Configuring kernel-module-scsi-wait-scan.                                      
    Configuring kernel-module-g-file-storage.                                      
    Configuring kernel-module-g-ether.                                             
    Configuring kernel-module-hid-logitech-dj.                                     
    Configuring pulseaudio-server.                                                 
    addgroup: pulse: group already in use                                          
                                                                                   
    Configuring ti-compat-bluetooth.                                               
    Configuring kernel-image-3.2.0.                                                
    Configuring ti-compat-wireless-wl12xx.                                         
    Configuring bt-enable.                                                         
    NOT configuring network interfaces: / is an NFS mount                          
    INIT: Entering runlevel: 5                                                     
    Starting system message bus: dbus.                                             
    Starting Hardware abstraction layer hald                                       
    Creating Dropbear SSH server RSA host key.                                     
    Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'   
    Generating key, this may take a while...                                       
    Public key portion is:                                                         
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwDWw6o4zxLHDO+gukGy6NMsSubVdASgb5zzGlChLsy2
    uFLz+JuNv7JYLELlqpo1Mql2hp3eGMJrtNjogxbUMEtJnWoPh5wITYAAZ4I2jsaa/yYNcmzpJzKb1Eqg
    lL7Yvf5lNMoOz24WWbi5MCck5XFjD5azQUNTWNZzeUC7u4ihrWwF root@am335x-evm           
    Fingerprint: md5 6b:bb:76:b9:3c:f9:a0:8a:6b:bb:e4:d7:e3:85:b4:d8               
    Starting Dropbear SSH server: dropbear.                                        
    Starting telnet daemon.                                                        
    Starting network benchmark server: netserver.                                  
    Starting syslogd/klogd: done                                                   
    Starting thttpd.                                                               
    Starting PVR                                                                   
    Starting SGX fixup for ES8.x                                                   
    Starting Lighttpd Web Server: lighttpd.                                        
    2012-07-29 15:58:54: (log.c.166) server started                                
    [  390.425170] kjournald starting.  Commit interval 5 seconds                  
    [  390.432769] EXT3-fs (mmcblk0p2): using internal journal                     
    [  390.438262] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode  
    [  390.689208] kjournald starting.  Commit interval 5 seconds                  
    [  390.696899] EXT3-fs (mmcblk0p3): using internal journal                     
    [  390.702362] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode  
    /                                                                              
    Starting Matrix GUI application.                                               
    [  391.194488]  gadget: Mass Storage Function, version: 2009/09/11             
    [  391.201568]  gadget: Number of LUNs=2                                       
    [  391.205383]  lun0: LUN: removable file: /dev/mmcblk0p1                      
    [  391.210784]  lun1: LUN: removable file: /dev/mmcblk0p3                      
    [  391.216186]  gadget: Mass Storage Gadget, version: 2009/09/11               
    [  391.222198]  gadget: userspace failed to provide iSerialNumber              
    [  391.228302]  gadget: g_mass_storage ready                                   
    [  391.232482] musb-hdrc musb-hdrc.0: MUSB HDRC host driver                    
    [  391.238067] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numbe
    r 2                                                                            
    [  391.245910] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002   
    [  391.252990] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                              
    [  391.260559] usb usb2: Product: MUSB HDRC host driver                        
    [  391.265716] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd                    
    [  391.271270] usb usb2: SerialNumber: musb-hdrc.0                             
    [  391.276641] hub 2-0:1.0: USB hub found                                      
    [  391.280548] hub 2-0:1.0: 1 port detected                                    
    ***************************************************************                
    ***************************************************************                
    NOTICE: This file system contains the followin GPLv3 packages:                  
            binutils-symlinks                                                      
            binutils                                                               
            gdbserver                                                               
                                                                                   
    If you do not wish to distribute GPLv3 components please remove                
    the above packages prior to distribution.  This can be done using              
    the opkg remove command.  i.e.:                                                
        opkg remove <package>                                                      
    Where <package> is the name printed in the list above                          
                                                                                   
    NOTE: If the package is a dependency of another package you                    
          will be notified of the dependent packages.  You should                  
          use the --force-removal-of-dependent-packages option to                  
          also remove the dependent packages as well                               
    ***************************************************************                
    ***************************************************************                
                                                                                   
     _____                    _____           _         _                          
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                        
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                       
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                         
                  |___|                    |___|                                   
                                                                                   
    Arago Project http://arago-project.org am335x-evm ttyO0                        
                                                                                   
    Arago 2011.09 am335x-evm ttyO0                      

     

    I hope that this can help you

  •  Hi FordFairlane,

    I have compared both Boot logs and one of the differences it is on GPLv3 packcages and

    "in the Adding system startup for /etc/init.d/dbus-1." that I think that it would be the Touch screen, but I don't sure.

    I am afraid that I can help you a lot

    -Regards

  • Thank you Breixo, I'll check it.

    Gracias

  • Hi FordFarlane,

    In the dev I saw crypto that you don't have it.
    root@am335x-evm:/# ls dev                                                      
    bc_cat              ram4                tty4                                   
    bccat0              ram5                tty40                                  
    block               ram6                tty41                                  
    bus                 ram7                tty42                                  
    char                ram8                tty43                                  
    console             ram9                tty44                                  
    cpu_dma_latency     random              tty45                                  
    crypto              rfkill              tty46                                  
    disk                rtc                 tty47                                  
    fb                  rtc0                tty48                                  
    fb0                 shm                 tty49                                  
    fd                  snd                 tty5                                   
    full                stderr              tty50                                  
    i2c-1               stdin               tty51                                  
    initctl             stdout              tty52                                  
    input               tty                 tty53                                  
    kmem                tty0                tty54                                  
    kmsg                tty1                tty55                                  
    log                 tty10               tty56                                  
    loop-control        tty11               tty57                                  
    loop0               tty12               tty58                                  
    loop1               tty13               tty59                                  
    loop2               tty14               tty6                                   
    loop3               tty15               tty60                                  
    loop4               tty16               tty61                                  
    loop5               tty17               tty62                                  
    loop6               tty18               tty63                                  
    loop7               tty19               tty7                                   
    mem                 tty2                tty8                                   
    mmcblk0             tty20               tty9                                   
    mmcblk0p1           tty21               ttyO0                                  
    mmcblk0p2           tty22               ttyO1                                  
    mmcblk0p3           tty23               ttyO2                                  
    network_latency     tty24               ttyO3                                  
    network_throughput  tty25               ttyO4                                  
    null                tty26               ttyO5                                  
    psaux               tty27               ubi_ctrl                               
    ptmx                tty28               udev_network_queue                     
    pts                 tty29               urandom                                
    pvrsrvkm            tty3                usbdev1.1                              
    ram0                tty30               vcs                                    
    ram1                tty31               vcs1                                   
    ram10               tty32               vcs2                                   
    ram11               tty33               vcs4                                   
    ram12               tty34               vcsa                                   
    ram13               tty35               vcsa1                                  
    ram14               tty36               vcsa2                                  
    ram15               tty37               vcsa4                                  
    ram2                tty38               watchdog                               
    ram3                tty39               zero                                   

  • Here it is the export file

    root@am335-evm# export                                                      
    export EDITOR='/bin/vi'                                                        
    export HOME='/home/root'                                                       
    export LOGNAME='root'                                                          
    export MAIL='/var/mail/root'                                                   
    export OLDPWD='/media'                                                         
    export OPIEDIR                                                                 
    export PATH='/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin'     
    export PS1='\u@\h:\w\$ '                                                       
    export PWD='/'                                                                 
    export QPEDIR                                                                  
    export QTDIR                                                                   
    export QWS_MOUSE_PROTO='Tslib:/dev/input/touchscreen0'                         
    export SHELL='/bin/sh'                                                         
    export TERM='linux'                                                            
    export TSLIB_TSDEVICE='/dev/input/touchscreen0'                                
    export TZ='UTC'

  • Hi, sorry for the delay, I've been on holiday.

    In my kernel boot log I posted long time ago:

    [    1.588119] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
    [    1.599093] tsc tsc: clock input less than min clock requirement
    [    1.606981] Trying disable clock adc_tsc_fck with 0 usecount

    In my kernel boot log today:

    [    1.666491] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
    [    1.677416] tsc tsc: clock input less than min clock requirement
    [    1.685338] tsc: probe of tsc failed with error -22

    It seems there is an error with clock input for touch screen controller, so tsc module is not loaded and touch screen does not work, any idea how to solve it?.

    Could it be a hardware related problem?, I think it is not because it works using android.

    Thank you in advance


  • Error "tsc tsc: clock input less than min clock requirement" "tsc: probe of tsc failed with error -22" is generated by ti-sdk-am335x-evm-05.05.01.00/board-support/linux-3.2.0-psp04.06.00.08.sdk/drivers/input/touchscreen/ti_tscadc.c:

    static    int __devinit tscadc_probe(struct platform_device *pdev)
    {
    (...)
        clk = clk_get(&pdev->dev, "adc_tsc_fck");
        if (IS_ERR(clk)) {
            dev_err(&pdev->dev, "failed to get TSC fck\n");
            err = PTR_ERR(clk);
            goto err_free_irq;
        }
        clock_rate = clk_get_rate(clk);
        clk_put(clk);
        clk_value = clock_rate / ADC_CLK;
        if (clk_value < 7) {
            dev_err(&pdev->dev, "clock input less than min clock requirement\n");
            err = -EINVAL;
            goto err_fail;
        }
        /* TSCADC_CLKDIV needs to be configured to the value minus 1 */
        clk_value = clk_value - 1;
        tscadc_writel(ts_dev, TSCADC_REG_CLKDIV, clk_value);
    (...)

    I have modified this function to ignore this error:

    static    int __devinit tscadc_probe(struct platform_device *pdev)
    {
    (...)
        clk = clk_get(&pdev->dev, "adc_tsc_fck");
        if (IS_ERR(clk)) {
            dev_err(&pdev->dev, "failed to get TSC fck\n");
            err = PTR_ERR(clk);
            goto err_free_irq;
        }
        clock_rate = clk_get_rate(clk);
        clk_put(clk);
    //    clk_value = clock_rate / ADC_CLK;
    //    if (clk_value < 7) {
    //        dev_err(&pdev->dev, "clock input less than min clock requirement\n");
    //        err = -EINVAL;
    //        goto err_fail;
    //    }
        clk_value = 7;

        /* TSCADC_CLKDIV needs to be configured to the value minus 1 */
        clk_value = clk_value - 1;
        tscadc_writel(ts_dev, TSCADC_REG_CLKDIV, clk_value);
    (...)

    Now the touchscreen works ok, could anybody explain why now it works?, why does not with the EVM SD card provided by TI?

    Thank you in advance