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.

AM3517 interface with SPI based Touch Controller SX8652

Other Parts Discussed in Thread: AM3517, TCA6416, TVP5146

Hi All

I am working on customized board based on AM3517evm.

I am using PSP 04.02.00.07, i have successfully modified the code of board-am3517evm.c and included driver for SX8652 in kernel.

During boot time my code gets stuck at calibration of touchscreen, as shown following, i am not able to understand a reason for this:

U-Boot 2010.06 (Apr 02 2012 - 12:13:51)

OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
AM3517EVM Board + LPDDR/NAND
I2C:   ready
DRAM:  256 MiB
NAND:  HW ECC [Kernel/FS layout] selected
No NAND device found!!!
0 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Die ID #62aa0001000000000160ae2c05015012
Net:   davinci_emac_initialize
Ethernet PHY: GENERIC @ 0x00
DaVinci EMAC
Hit any key to stop autoboot:  0
AM3517_EVM # boot
No MMC card found
Booting from tftpboot ...
BOOTP broadcast 1
DHCP client bound to address 10.0.0.13
Using DaVinci EMAC device
TFTP from server 10.0.0.11; our IP address is 10.0.0.13
Filename 'uImage'.
Load address: 0x83000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########
done
Bytes transferred = 3038428 (2e5cdc hex)
## Booting kernel from Legacy Image at 83000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3038364 Bytes = 2.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37 (root@analinearpc-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 Mon Apr 2 15:33:42 IST 2012
[    0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: OMAP3517/AM3517 EVM
[    0.000000] Reserving 4194304 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM3517 ES1.1 (l2cache iva sgx neon isp )
[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 31488
[    0.000000] Kernel command line: mem=128M console=ttyO2,115200n8 noinitrd rw  root=/dev/nfs nfsroot=10.0.0.11:/workdir/filesysm,nolock ip=dhcp rootdelay=3
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 124MB = 124MB total
[    0.000000] Memory: 112552k/112552k available, 18520k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003a000   ( 200 kB)
[    0.000000]       .text : 0xc003a000 - 0xc05a1984   (5535 kB)
[    0.000000]       .data : 0xc05a2000 - 0xc0759b20   (1759 kB)
[    0.000000] NR_IRQS:375
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/96/600 MHz
[    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
[    0.000000] Reprogramming SDRC clock to 96000000 Hz
[    0.000000] dpll3_m2_clk rate change failed: -22
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] GPMC revision 5.0
[    0.000000] Trying to install interrupt handler for IRQ368
[    0.000000] Trying to install interrupt handler for IRQ369
[    0.000000] Trying to install interrupt handler for IRQ370
[    0.000000] Trying to install interrupt handler for IRQ371
[    0.000000] Trying to install interrupt handler for IRQ372
[    0.000000] Trying to install interrupt handler for IRQ373
[    0.000000] Trying to install interrupt handler for IRQ374
[    0.000000] Trying to install type control for IRQ375
[    0.000000] Trying to set irq flags for IRQ375
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3951 kB
[    0.000000]  per task-struct memory footprint: 2304 bytes
[    0.000000] Calibrating delay loop... 601.84 BogoMIPS (lpj=2351104)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Security Framework initialized
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] regulator: core version 0.5
[    0.000000] regulator: dummy:
[    0.000000] NET: Registered protocol family 16
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: at arch/arm/mach-omap2/pm.c:94 _init_omap_device+0x84/0xa4()
[    0.000000] _init_omap_device: could not find omap_hwmod for iva
[    0.000000] Modules linked in:
[    0.000000] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c00713fc>] (warn_slowpath_common+0x4c/0x64)
[    0.000000] [<c00713fc>] (warn_slowpath_common+0x4c/0x64) from [<c0071494>] (warn_slowpath_fmt+0x2c/0x3c)
[    0.000000] [<c0071494>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0051a14>] (_init_omap_device+0x84/0xa4)
[    0.000000] [<c0051a14>] (_init_omap_device+0x84/0xa4) from [<c0010110>] (omap2_common_pm_init+0x2c/0x10c)
[    0.000000] [<c0010110>] (omap2_common_pm_init+0x2c/0x10c) from [<c003a3b8>] (do_one_initcall+0xc8/0x1a0)
[    0.000000] [<c003a3b8>] (do_one_initcall+0xc8/0x1a0) from [<c0008690>] (kernel_init+0x94/0x14c)
[    0.000000] [<c0008690>] (kernel_init+0x94/0x14c) from [<c0045590>] (kernel_thread_exit+0x0/0x8)
[    0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[    0.000000] Display initialized successfully
[    0.000000] _omap_mux_init_gpio: Multiple gpio paths (2) for gpio126
[    0.000000] Found NOR on CS1
[    0.000000] Registering NOR on CS1
[    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.000000] OMAP DMA hardware revision 4.0
[    0.140716] bio: create slab <bio-0> at 0
[    0.151000] SCSI subsystem initialized
[    0.169097] usbcore: registered new interface driver usbfs
[    0.170989] usbcore: registered new interface driver hub
[    0.172698] usbcore: registered new device driver usb
[    0.180694] omap_device: omap_i2c.1: new worst case activate latency 0: 61035
[    0.180908] omap_i2c omap_i2c.1: bus 1 rev3.12 at 400 kHz
[    0.185180] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[    0.185668] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
[    0.190856] pca953x 2-0021: failed reading register
[    0.191040] pca953x: probe of 2-0021 failed with error -121
[    0.191253] omap_device: omap_i2c.2: new worst case deactivate latency 0: 61035
[    0.191680] omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
[    0.195281] tca6416-keypad 3-0020: tca6416_read_reg failed, reg: 1, error: -121
[    0.195404] tca6416-keypad: probe of 3-0020 failed with error -121
[    0.197021] pca953x 3-0021: failed reading register
[    0.197082] pca953x: probe of 3-0021 failed with error -121
[    0.205810] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.211669] Switching to clocksource 32k_counter
[    0.381591] musb-hdrc: version 6.0, host, debug=0
[    0.382293] musb-hdrc musb-hdrc.0: degrade from otg to host-only mode
[    0.382354] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.384460] <6>Waiting for PHY clock good...
[    0.401336] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    0.403442] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    0.404632] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.404663] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.404693] usb usb1: Product: MUSB HDRC host driver
[    0.404693] usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
[    0.404724] usb usb1: SerialNumber: musb-hdrc.0
[    0.411682] hub 1-0:1.0: USB hub found
[    0.412109] hub 1-0:1.0: 1 port detected
[    0.417938] musb-hdrc musb-hdrc.0: USB Host mode controller at c8810000 using DMA, IRQ 71
[    0.420440] NET: Registered protocol family 2
[    0.421386] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.424011] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.424377] TCP bind hash table entries: 4096 (order: 5, 180224 bytes)
[    0.426696] TCP: Hash tables configured (established 4096 bind 4096)
[    0.426818] TCP reno registered
[    0.426849] UDP hash table entries: 64 (order: 0, 6144 bytes)
[    0.427276] UDP-Lite hash table entries: 64 (order: 0, 6144 bytes)
[    0.428558] NET: Registered protocol family 1
[    0.430908] RPC: Registered udp transport module.
[    0.430938] RPC: Registered tcp transport module.
[    0.430969] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.432464] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.436065] omap_init_opp_table: no hwmod or odev for iva, [9] cannot add OPPs.
[    0.443237] AM3517  Linux PSP version 04.02.00.07 (AM3517EVM)
[    0.616149] VFS: Disk quotas dquot_6.5.2
[    0.616302] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.619964] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.621307] msgmni has been set to 219
[    0.627502] io scheduler noop registered
[    0.627563] io scheduler deadline registered
[    0.627838] io scheduler cfq registered (default)
[    0.696655] OMAP DSS rev 2.0
[    0.696838] omapdss supply vdds_dsi not found, using dummy regulator
[    0.697540] OMAP DISPC rev 3.0
[    0.697570] omapdss supply vdda_dac not found, using dummy regulator
[    0.697723] OMAP VENC rev 2
[    0.699462] OMAP DSI rev 1.0
[    1.027984] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.040344] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    1.043151] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    1.045074] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.936279] console [ttyO2] enabled
[    2.001220] brd: module loaded
[    2.033599] loop: module loaded
[    2.045867] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.053253] physmap platform flash device: 08000000 at 08000000
[    2.066986] physmap-flash physmap-flash.0: map_probe failed
[    2.081665] omap2-nand driver initializing
[    2.086669] No NAND device found.
[    2.090515] No NAND device found.
[    2.141723] davinci_mdio davinci_mdio: davinci mdio revision 1.5
[    2.147949] davinci_mdio davinci_mdio: detected phy mask fffffffe
[    2.158233] davinci_mdio: probed
[    2.161621] davinci_mdio davinci_mdio: phy[0]: device ffffffff:00, driver SMSC LAN8710/LAN8720
[    2.171875] vcan: Virtual CAN interface driver
[    2.176635] CAN device driver interface
[    2.180694] TI High End CAN Controller Driver 0.7
[    2.189910] ti_hecc ti_hecc: device registered (reg_base=c8890000, irq=24)
[    2.200805] usbcore: registered new interface driver cdc_ether
[    2.207977] usbcore: registered new interface driver dm9601
[    2.213928] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.221160] ehci-omap.0 supply hsusb0 not found, using dummy regulator
[    3.235351] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.241638] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[    3.250274] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    3.266723] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.273284] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.280456] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.288024] usb usb2: Product: OMAP-EHCI Host Controller
[    3.293609] usb usb2: Manufacturer: Linux 2.6.37 ehci_hcd
[    3.299285] usb usb2: SerialNumber: ehci-omap.0
[    3.309326] hub 2-0:1.0: USB hub found
[    3.313568] hub 2-0:1.0: 3 ports detected
[    3.353820] Initializing USB Mass Storage driver...
[    3.360198] usbcore: registered new interface driver usb-storage
[    3.366577] USB Mass Storage support registered.
[    3.372619] usbcore: registered new interface driver usbtest
[    3.383148] mice: PS/2 mouse device common for all mice
[    3.393707] get_pendown_state from pdata: c005b6f8
[    3.399169] sx8652 spi1.0: touchscreen, irq 225
[    3.406188] input: SX8652 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input0
[    3.433319] rtc-s35390a 1-0030: error resetting chip
[    3.451843] rtc-s35390a: probe of 1-0030 failed with error -5
[    3.458953] i2c /dev entries driver
[    3.470855] Linux video capture interface: v2.00
[    3.478881] usbcore: registered new interface driver uvcvideo
[    3.484863] USB Video Class driver (v1.0.0)
[    3.489318] vpfe_init
[    3.492645] vpfe-capture vpfe-capture: v4l2 device registered
[    3.502044] vpfe-capture vpfe-capture: video device registered
[    3.511535] tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
[    3.519165] omap_device: omap_i2c.3: new worst case activate latency 0: 122070
[    3.527069] tvp514x 3-005c: Write: retry ... 0
[    3.548187] tvp514x 3-005c: Write: retry ... 1
[    3.571533] tvp514x 3-005c: Write: retry ... 2
[    3.594970] tvp514x 3-005c: Write: retry ... 3
[    3.618377] tvp514x 3-005c: Write: retry ... 4
[    3.641815] tvp514x 3-005c: Write: retry ... 5
[    3.665252] tvp514x 3-005c: Write failed. Err[-121]
[    3.670349] tvp514x 3-005c: Unable to turn on decoder
[    3.675872] tvp514x 3-005c: Read: retry ... 0
[    3.696502] tvp514x 3-005c: Read: retry ... 1
[    3.720520] tvp514x 3-005c: Read: retry ... 2
[    3.743408] tvp514x 3-005c: Read: retry ... 3
[    3.766815] tvp514x 3-005c: Read: retry ... 4
[    3.790252] tvp514x 3-005c: Read: retry ... 5
[    3.813690] tvp514x 3-005c: Unable to query std
[    3.818420] vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
[    3.827331] vpfe_register_ccdc_device: DM6446 CCDC
[    3.832702] DM6446 CCDC is registered with vpfe.
[    3.839385] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
[    3.849761] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    3.856231] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[    3.884063] usbcore: registered new interface driver usbhid
[    3.889892] usbhid: USB HID core driver
[    3.899139] usbcore: registered new interface driver snd-usb-audio
[    3.913238] OMAP3517 / AM3517 EVM SoC init
[    3.920684] AIC23 Audio Codec 0.1
[    3.924896] tlv320aic23_write cannot write 000 to register R15
[    3.932006] tlv320aic23_write cannot write 047 to register R6
[    3.938293] tlv320aic23_write cannot write 004 to register R5
[    3.945800] tlv320aic23_write cannot write 117 to register R0
[    3.954223] tlv320aic23_write cannot write 117 to register R1
[    3.960510] tlv320aic23_write cannot write 010 to register R4
[    3.966796] tlv320aic23_write cannot write 070 to register R2
[    3.973083] tlv320aic23_write cannot write 070 to register R3
[    3.979400] tlv320aic23_write cannot write 001 to register R9
[    3.991302] asoc: tlv320aic23-hifi <-> omap-mcbsp-dai.0 mapping ok
[    4.007629] ALSA device list:
[    4.010925]   #0: am3517evm
[    4.013824] oprofile: hardware counters not available
[    4.019134] oprofile: using timer interrupt.
[    4.024658] TCP cubic registered
[    4.028015] Initializing XFRM netlink socket
[    4.032806] NET: Registered protocol family 17
[    4.037628] NET: Registered protocol family 15
[    4.042358] can: controller area network core (rev 20090105 abi 8)
[    4.049438] NET: Registered protocol family 29
[    4.054199] can: raw protocol (rev 20090105)
[    4.058898] can: broadcast manager protocol (rev 20090105 t)
[    4.065643] Registering the dns_resolver key type
[    4.071472] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[    4.082153] ThumbEE CPU extension supported.
[    4.103607] Power Management for TI OMAP3.
[    4.161315] clock: disabling unused clocks to save power
[    4.288940] Console: switching to colour frame buffer device 160x50
[    4.317840] omapdss DPI: Could not find exact pixel clock. Requested 68900 kHz, got 72000 kHz
[    4.393035] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    4.400360] omap_vout omap_vout: Buffer Size = 3686400
[    4.411560] omap_vout omap_vout: : registered and initialized video device 1
[    4.419250] omap_vout omap_vout: Buffer Size = 3686400
[    4.428985] omap_vout omap_vout: : registered and initialized video device 2
[    4.947479] davinci_mdio davinci_mdio: resetting idled controller
[    4.955108] net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=ffffffff:00, id=7c0f1)
[    5.969818] Sending DHCP requests ..
[    9.954650] PHY: ffffffff:00 - Link is Up - 100/Full
[   13.290069] ., OK
[   13.798370] IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.13
[   13.808074] IP-Config: Complete:
[   13.811279]      device=eth0, addr=10.0.0.13, mask=255.255.255.0, gw=10.0.0.1,
[   13.818847]      host=10.0.0.13, domain=, nis-domain=(none),
[   13.824798]      bootserver=0.0.0.0, rootserver=10.0.0.11, rootpath=
[   13.837158] Waiting 3sec before mounting root device...
[   17.115509] VFS: Mounted root (nfs filesystem) on device 0:14.
[   17.122222] Freeing init memory: 200K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[   20.239410] udevd (629): /proc/629/oom_adj is deprecated, please use /proc/629/oom_score_adj instead.
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
ALSA: Restoring mixer settings...
No state is present for card am3517evm
NOT configuring network interfaces: / is an NFS mount
Found hardware: "" "" "" "" ""
Hardware is initialized using a generic method
[   47.797088] omap_device: omap_i2c.2: new worst case activate latency 0: 152587
[   47.805175] tlv320aic23_write cannot write 014 to register R4
No state is present for card am3517evm
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thu Jul  7 13:19:00 UTC 2011
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
No SGX hardware, not starting PVR
Calibrating touchscreen (first time only)xres = 1280, yres = 800

After this i tried changing the filesystem, i changed the filesystem to Angstrom built from narcissus-angstrom

now my code dose not hang.. when touchscreen is touched it gives "division by zero error" every time, and when i try to recalibrate it shows some junk values and dose not wait for the crosshair to be touched, what can be the reason for such a case?

following are the boot messages with angstrom filesystem

U-Boot 2010.06 (Apr 03 2012 - 10:10:50)

OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
AM3517EVM Board + LPDDR/NAND
I2C:   ready
DRAM:  256 MiB
NAND:  HW ECC [Kernel/FS layout] selected
No NAND device found!!!
0 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Die ID #62aa0001000000000160ae2c05015012
Net:   davinci_emac_initialize
Ethernet PHY: GENERIC @ 0x00
DaVinci EMAC
Hit any key to stop autoboot:  0
AM3517_EVM # boot
No MMC card found
Booting from tftpboot ...
BOOTP broadcast 1
DHCP client bound to address 10.0.0.7
Using DaVinci EMAC device
TFTP from server 10.0.0.5; our IP address is 10.0.0.7
Filename 'uImage'.
Load address: 0x83000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########
done
Bytes transferred = 3038428 (2e5cdc hex)
## Booting kernel from Legacy Image at 83000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3038364 Bytes = 2.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37 (root@analinearpc-laptop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #4 Tue Apr 3 09:55:33 IST 2012
[    0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: OMAP3517/AM3517 EVM
[    0.000000] Reserving 4194304 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM3517 ES1.1 (l2cache iva sgx neon isp )
[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 31488
[    0.000000] Kernel command line: mem=128M console=ttyO2,115200n8 noinitrd rw  root=/dev/nfs nfsroot=10.0.0.5:/workdir/filesysm,nolock ip=dhcp rootdelay=3
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 124MB = 124MB total
[    0.000000] Memory: 112552k/112552k available, 18520k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xc8800000 - 0xf8000000   ( 760 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003a000   ( 200 kB)
[    0.000000]       .text : 0xc003a000 - 0xc05a1984   (5535 kB)
[    0.000000]       .data : 0xc05a2000 - 0xc0759b20   (1759 kB)
[    0.000000] NR_IRQS:375
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/96/600 MHz
[    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
[    0.000000] Reprogramming SDRC clock to 96000000 Hz
[    0.000000] dpll3_m2_clk rate change failed: -22
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] GPMC revision 5.0
[    0.000000] Trying to install interrupt handler for IRQ368
[    0.000000] Trying to install interrupt handler for IRQ369
[    0.000000] Trying to install interrupt handler for IRQ370
[    0.000000] Trying to install interrupt handler for IRQ371
[    0.000000] Trying to install interrupt handler for IRQ372
[    0.000000] Trying to install interrupt handler for IRQ373
[    0.000000] Trying to install interrupt handler for IRQ374
[    0.000000] Trying to install type control for IRQ375
[    0.000000] Trying to set irq flags for IRQ375
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3951 kB
[    0.000000]  per task-struct memory footprint: 2304 bytes
[    0.000000] Calibrating delay loop... 601.84 BogoMIPS (lpj=2351104)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Security Framework initialized
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] regulator: core version 0.5
[    0.000000] regulator: dummy:
[    0.000000] NET: Registered protocol family 16
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: at arch/arm/mach-omap2/pm.c:94 _init_omap_device+0x84/0xa4()
[    0.000000] _init_omap_device: could not find omap_hwmod for iva
[    0.000000] Modules linked in:
[    0.000000] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c00713fc>] (warn_slowpath_common+0x4c/0x64)
[    0.000000] [<c00713fc>] (warn_slowpath_common+0x4c/0x64) from [<c0071494>] (warn_slowpath_fmt+0x2c/0x3c)
[    0.000000] [<c0071494>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0051a14>] (_init_omap_device+0x84/0xa4)
[    0.000000] [<c0051a14>] (_init_omap_device+0x84/0xa4) from [<c0010110>] (omap2_common_pm_init+0x2c/0x10c)
[    0.000000] [<c0010110>] (omap2_common_pm_init+0x2c/0x10c) from [<c003a3b8>] (do_one_initcall+0xc8/0x1a0)
[    0.000000] [<c003a3b8>] (do_one_initcall+0xc8/0x1a0) from [<c0008690>] (kernel_init+0x94/0x14c)
[    0.000000] [<c0008690>] (kernel_init+0x94/0x14c) from [<c0045590>] (kernel_thread_exit+0x0/0x8)
[    0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[    0.000000] Display initialized successfully
[    0.000000] _omap_mux_init_gpio: Multiple gpio paths (2) for gpio126
[    0.000000] Found NOR on CS1
[    0.000000] Registering NOR on CS1
[    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.000000] OMAP DMA hardware revision 4.0
[    0.141021] bio: create slab <bio-0> at 0
[    0.151214] SCSI subsystem initialized
[    0.169342] usbcore: registered new interface driver usbfs
[    0.171325] usbcore: registered new interface driver hub
[    0.172943] usbcore: registered new device driver usb
[    0.180908] omap_device: omap_i2c.1: new worst case activate latency 0: 61035
[    0.181152] omap_i2c omap_i2c.1: bus 1 rev3.12 at 400 kHz
[    0.185394] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[    0.185882] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
[    0.191070] pca953x 2-0021: failed reading register
[    0.191284] pca953x: probe of 2-0021 failed with error -121
[    0.191864] omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
[    0.195434] tca6416-keypad 3-0020: tca6416_read_reg failed, reg: 1, error: -121
[    0.195556] tca6416-keypad: probe of 3-0020 failed with error -121
[    0.197174] pca953x 3-0021: failed reading register
[    0.197265] pca953x: probe of 3-0021 failed with error -121
[    0.205963] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.211853] Switching to clocksource 32k_counter
[    0.381530] musb-hdrc: version 6.0, host, debug=0
[    0.382232] musb-hdrc musb-hdrc.0: degrade from otg to host-only mode
[    0.382293] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.384368] <6>Waiting for PHY clock good...
[    0.401519] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    0.403656] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[    0.404846] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.404876] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.404907] usb usb1: Product: MUSB HDRC host driver
[    0.404907] usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
[    0.404937] usb usb1: SerialNumber: musb-hdrc.0
[    0.411926] hub 1-0:1.0: USB hub found
[    0.412322] hub 1-0:1.0: 1 port detected
[    0.418121] musb-hdrc musb-hdrc.0: USB Host mode controller at c8810000 using DMA, IRQ 71
[    0.420654] NET: Registered protocol family 2
[    0.421630] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.424255] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.424621] TCP bind hash table entries: 4096 (order: 5, 180224 bytes)
[    0.426940] TCP: Hash tables configured (established 4096 bind 4096)
[    0.427062] TCP reno registered
[    0.427093] UDP hash table entries: 64 (order: 0, 6144 bytes)
[    0.427520] UDP-Lite hash table entries: 64 (order: 0, 6144 bytes)
[    0.428833] NET: Registered protocol family 1
[    0.431213] RPC: Registered udp transport module.
[    0.431243] RPC: Registered tcp transport module.
[    0.431274] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.432769] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.436431] omap_init_opp_table: no hwmod or odev for iva, [9] cannot add OPPs.
[    0.443664] AM3517  Linux PSP version 04.02.00.07 (AM3517EVM)
[    0.616546] VFS: Disk quotas dquot_6.5.2
[    0.616729] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.620391] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.621734] msgmni has been set to 219
[    0.627960] io scheduler noop registered
[    0.628021] io scheduler deadline registered
[    0.628295] io scheduler cfq registered (default)
[    0.696838] OMAP DSS rev 2.0
[    0.697052] omapdss supply vdds_dsi not found, using dummy regulator
[    0.697723] OMAP DISPC rev 3.0
[    0.697753] omapdss supply vdda_dac not found, using dummy regulator
[    0.697906] OMAP VENC rev 2
[    0.699615] OMAP DSI rev 1.0
[    1.028167] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.040496] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    1.043304] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    1.045257] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.929016] console [ttyO2] enabled
[    1.993957] brd: module loaded
[    2.026306] loop: module loaded
[    2.038574] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.045959] physmap platform flash device: 08000000 at 08000000
[    2.059631] physmap-flash physmap-flash.0: map_probe failed
[    2.074371] omap2-nand driver initializing
[    2.079498] No NAND device found.
[    2.083190] No NAND device found.
[    2.134063] davinci_mdio davinci_mdio: davinci mdio revision 1.5
[    2.140350] davinci_mdio davinci_mdio: detected phy mask fffffffe
[    2.150634] davinci_mdio: probed
[    2.154022] davinci_mdio davinci_mdio: phy[0]: device ffffffff:00, driver SMSC LAN8710/LAN8720
[    2.164337] vcan: Virtual CAN interface driver
[    2.169097] CAN device driver interface
[    2.173156] TI High End CAN Controller Driver 0.7
[    2.182373] ti_hecc ti_hecc: device registered (reg_base=c8890000, irq=24)
[    2.193206] usbcore: registered new interface driver cdc_ether
[    2.200408] usbcore: registered new interface driver dm9601
[    2.206359] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.213592] ehci-omap.0 supply hsusb0 not found, using dummy regulator
[    3.227691] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.233947] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[    3.242584] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    3.259094] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.265655] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.272827] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.280395] usb usb2: Product: OMAP-EHCI Host Controller
[    3.285980] usb usb2: Manufacturer: Linux 2.6.37 ehci_hcd
[    3.291656] usb usb2: SerialNumber: ehci-omap.0
[    3.301696] hub 2-0:1.0: USB hub found
[    3.305938] hub 2-0:1.0: 3 ports detected
[    3.346191] Initializing USB Mass Storage driver...
[    3.352722] usbcore: registered new interface driver usb-storage
[    3.358978] USB Mass Storage support registered.
[    3.365051] usbcore: registered new interface driver usbtest
[    3.375579] mice: PS/2 mouse device common for all mice
[    3.386138] get_pendown_state from pdata: c005b6f8
[    3.391601] sx8652 spi1.0: touchscreen, irq 225
[    3.398620] input: SX8652 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input0
[    3.425689] rtc-s35390a 1-0030: error resetting chip
[    3.444305] rtc-s35390a: probe of 1-0030 failed with error -5
[    3.451416] i2c /dev entries driver
[    3.463287] Linux video capture interface: v2.00
[    3.471313] usbcore: registered new interface driver uvcvideo
[    3.477294] USB Video Class driver (v1.0.0)
[    3.481750] vpfe_init
[    3.485076] vpfe-capture vpfe-capture: v4l2 device registered
[    3.494476] vpfe-capture vpfe-capture: video device registered
[    3.503967] tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
[    3.511596] omap_device: omap_i2c.3: new worst case activate latency 0: 122070
[    3.519531] tvp514x 3-005c: Write: retry ... 0
[    3.540557] tvp514x 3-005c: Write: retry ... 1
[    3.563903] tvp514x 3-005c: Write: retry ... 2
[    3.587341] tvp514x 3-005c: Write: retry ... 3
[    3.610809] tvp514x 3-005c: Write: retry ... 4
[    3.634185] tvp514x 3-005c: Write: retry ... 5
[    3.657623] tvp514x 3-005c: Write failed. Err[-121]
[    3.662689] tvp514x 3-005c: Unable to turn on decoder
[    3.668243] tvp514x 3-005c: Read: retry ... 0
[    3.688873] tvp514x 3-005c: Read: retry ... 1
[    3.712829] tvp514x 3-005c: Read: retry ... 2
[    3.735778] tvp514x 3-005c: Read: retry ... 3
[    3.759185] tvp514x 3-005c: Read: retry ... 4
[    3.782623] tvp514x 3-005c: Read: retry ... 5
[    3.806060] tvp514x 3-005c: Unable to query std
[    3.810791] vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
[    3.819671] vpfe_register_ccdc_device: DM6446 CCDC
[    3.825012] DM6446 CCDC is registered with vpfe.
[    3.831726] omap_device: omap_wdt.-1: new worst case activate latency 0: 61035
[    3.842102] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    3.848571] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[    3.876342] usbcore: registered new interface driver usbhid
[    3.882171] usbhid: USB HID core driver
[    3.891418] usbcore: registered new interface driver snd-usb-audio
[    3.905517] OMAP3517 / AM3517 EVM SoC init
[    3.912994] AIC23 Audio Codec 0.1
[    3.917205] tlv320aic23_write cannot write 000 to register R15
[    3.924316] tlv320aic23_write cannot write 047 to register R6
[    3.930572] tlv320aic23_write cannot write 004 to register R5
[    3.938079] tlv320aic23_write cannot write 117 to register R0
[    3.946472] omap_device: omap_i2c.2: new worst case deactivate latency 0: 91552
[    3.954162] tlv320aic23_write cannot write 117 to register R1
[    3.960449] tlv320aic23_write cannot write 010 to register R4
[    3.966735] tlv320aic23_write cannot write 070 to register R2
[    3.973052] tlv320aic23_write cannot write 070 to register R3
[    3.979309] tlv320aic23_write cannot write 001 to register R9
[    3.991241] asoc: tlv320aic23-hifi <-> omap-mcbsp-dai.0 mapping ok
[    4.007659] ALSA device list:
[    4.010925]   #0: am3517evm
[    4.013824] oprofile: hardware counters not available
[    4.019165] oprofile: using timer interrupt.
[    4.024658] TCP cubic registered
[    4.028045] Initializing XFRM netlink socket
[    4.032806] NET: Registered protocol family 17
[    4.037658] NET: Registered protocol family 15
[    4.042388] can: controller area network core (rev 20090105 abi 8)
[    4.049438] NET: Registered protocol family 29
[    4.054199] can: raw protocol (rev 20090105)
[    4.058898] can: broadcast manager protocol (rev 20090105 t)
[    4.065612] Registering the dns_resolver key type
[    4.071289] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[    4.082000] ThumbEE CPU extension supported.
[    4.103485] Power Management for TI OMAP3.
[    4.161102] clock: disabling unused clocks to save power
[    4.288604] Console: switching to colour frame buffer device 160x50
[    4.317504] omapdss DPI: Could not find exact pixel clock. Requested 68900 kHz, got 72000 kHz
[    4.393188] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    4.400512] omap_vout omap_vout: Buffer Size = 3686400
[    4.411712] omap_vout omap_vout: : registered and initialized video device 1
[    4.419433] omap_vout omap_vout: Buffer Size = 3686400
[    4.429199] omap_vout omap_vout: : registered and initialized video device 2
[    4.947662] davinci_mdio davinci_mdio: resetting idled controller
[    4.955322] net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=ffffffff:00, id=7c0f1)
[    5.970001] Sending DHCP requests ..
[    8.954833] PHY: ffffffff:00 - Link is Up - 100/Full
[   13.704315] ., OK
[   14.212646] IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.0.0.7
[   14.222534] IP-Config: Complete:
[   14.225738]      device=eth0, addr=10.0.0.7, mask=255.255.255.0, gw=10.0.0.1,
[   14.233245]      host=10.0.0.7, domain=, nis-domain=(none),
[   14.239105]      bootserver=0.0.0.0, rootserver=10.0.0.5, rootpath=
[   14.250518] Waiting 3sec before mounting root device...
[   17.737213] VFS: Mounted root (nfs filesystem) on device 0:14.
[   17.743927] Freeing init memory: 200K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[   21.917663] udevd (633): /proc/633/oom_adj is deprecated, please use /proc/633/oom_score_adj instead.
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cache
NOT configuring network interfaces: / is an NFS mount
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Wed Feb  1 07:01:00 GMT 2012
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Starting Dropbear SSH server: dropbear.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting lcd4linux: lcd4linux.
Starting syslogd/klogd: done
[ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Starting GPE display manager: gpe-dm

.-------.                                           
|       |                  .-.                      
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution am3517-evm ttyO2

Angstrom 2010.7-test-20110311 am3517-evm ttyO2

am3517-evm login: root
root@am3517-evm:~# cd /
root@am3517-evm:/# [   72.110168] Division by zero in kernel.
[   72.114318] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.123352] Division by zero in kernel.
[   72.127410] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.135955] Division by zero in kernel.
[   72.139953] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.148529] Division by zero in kernel.
[   72.152526] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.161071] Division by zero in kernel.
[   72.165100] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.173614] Division by zero in kernel.
[   72.177581] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.186096] Division by zero in kernel.
[   72.190093] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.198608] Division by zero in kernel.
[   72.202606] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.211181] Division by zero in kernel.
[   72.215179] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.223693] Division by zero in kernel.
[   72.227691] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.236175] Division by zero in kernel.
[   72.240203] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.248718] Division by zero in kernel.
[   72.252716] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
[   72.261260] Division by zero in kernel.
[   72.265258] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)

root@am3517-evm:/# ts_test
-sh: ts_test: not found
root@am3517-evm:/# ts_calibrate
xres = 1280, yres = 800
selected device is not a touchscreen I understand
Took 2 samples...
Top left : X = -548867996 Y = -548867877
Took 2 samples...
Top right : X = -548867996 Y = -548867877
Took 2 samples...
Bot right : X = -548867996 Y = -548867877
Took 2 samples...
Bot left : X = -548867996 Y = -548867877
Took 2 samples...
Center : X = -548867996 Y = -548867877
-7.359375 -5.433594 5.441406
-4.601562 -3.398438 3.402344
Calibration constants: -482304 -356096 356608 -301568 -222720 222976 65536
root@am3517-evm:/#
root@am3517-evm:/# ts_calibrate
xres = 1280, yres = 800
selected device is not a touchscreen I understand
Took 2 samples...
Top left : X = -547258268 Y = -547258149
Took 2 samples...
Top right : X = -547258268 Y = -547258149
Took 2 samples...
Bot right : X = -547258268 Y = -547258149
Took 2 samples...
Bot left : X = -547258268 Y = -547258149
Took 2 samples...
Center : X = -547258268 Y = -547258149
-0.409406 -0.000019 0.000018
-0.255879 -0.000012 0.000011
Calibration constants: -26830 -1 1 -16769 0 0 65536

Please help me with this

Thanks in advance!!

Best Regards

Kshitij Kumar

  • Look at the message "selected device is not a touchscreen I understand"

    Most probably your EV_VERSION is not matching with the kernel, can you edit the file "include/linux/input.h" and change for

    #define EV_VERSION              0x010001
     To

    #define EV_VERSION              0x010000

    Can you try with this change and let me know?

    Thanks,

    Vaibhav

  • Things are little better now..

    With ts_calibrate now it waits for my input from touchscreen, that is, to touch on the cross-hair, but whenever i do so again those divide by zero error messages i am getting and it is not able to recaliberate.

    messages are as follows


    root@am3517-evm:~# ts_calibrate
    xres = 1280, yres = 800
    [  304.196838] Division by zero in kernel.
    [  304.201049] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.209777] Division by zero in kernel.
    [  304.213806] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.222412] Division by zero in kernel.
    [  304.226440] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.235046] Division by zero in kernel.
    [  304.239074] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.247650] Division by zero in kernel.
    [  304.251678] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.260253] Division by zero in kernel.
    [  304.264282] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.272857] Division by zero in kernel.
    [  304.276885] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.285461] Division by zero in kernel.
    [  304.289489] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.298065] Division by zero in kernel.
    [  304.302093] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.310668] Division by zero in kernel.
    [  304.314697] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.323272] Division by zero in kernel.
    [  304.327301] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.335876] Division by zero in kernel.
    [  304.339904] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.348480] Division by zero in kernel.
    [  304.352508] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.361145] Division by zero in kernel.
    [  304.365173] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.373748] Division by zero in kernel.
    [  304.377777] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.386352] Division by zero in kernel.
    [  304.390380] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.398956] Division by zero in kernel.
    [  304.402984] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.412933] Division by zero in kernel.
    [  304.417022] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.425750] Division by zero in kernel.
    [  304.429779] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.438385] Division by zero in kernel.
    [  304.442413] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.450988] Division by zero in kernel.
    [  304.455017] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.463592] Division by zero in kernel.
    [  304.467620] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.476196] Division by zero in kernel.
    [  304.480224] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.488800] Division by zero in kernel.
    [  304.492828] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.501403] Division by zero in kernel.
    [  304.505432] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.514007] Division by zero in kernel.
    [  304.518035] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.526611] Division by zero in kernel.
    [  304.530639] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.539215] Division by zero in kernel.
    [  304.543243] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.551879] Division by zero in kernel.
    [  304.555908] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)
    [  304.564483] Division by zero in kernel.
    [  304.568511] [<c004a348>] (unwind_backtrace+0x0/0xec) from [<c01f58c4>] (Ldiv0+0x8/0x10)

    what can be the reason for this "Division by zero in kernel"?

    Best Regards

    Kshitij Kumar