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.

UART load issue in am335x

Other Parts Discussed in Thread: AM3352, AM3357, AM3356, AM3354, AM3359, AM3358

Hi,

I am continuously reading data from UART and displaying in my application using Linux 3.12 with Qt 4.8.4.

after a period of time my CPU load is reaching it to 90-100%. then my Qt application is hangs and my cursor movement is very very slow.

why is there any serial driver setting are making any issue, any patches. I have enabled only OMAP serial port support (Device Drivers  --->    Character devices  --->     Serial drivers  ---> ).

I have enabled the serial driver settings in my menuconfig, Find the below settings with snapshot.

How to reduce my CPU load and to improve my system using UARt related application. It is only problem when i tried to read the data from UART based only is giving issue..

Regards,

Anil

  • Hi,

    I will forward this to the software team.
  • Hi,

    Which AM335x device are you using: AM3352, AM3354, AM3356, AM3357, AM3358 or AM3359?

    Have in mind that your device may not have a GPU integrated in the SoC. In this case I recommend checking your environment with (ps, top or valgrind) to see if you have any memory leaks in your gui applications. If you've made any modifications to the kernel, it may also be a good idea to enable the kernel memory leak detector.

    If your device has GPU, then see if you've enabled the graphics support in your kernel (that is the graphics sdk component), and again check for any memory leaks in your GUI apps.

    Best Regards,
    Yordan
  • Hi,

    I am using AM3354 platform and running my system Linux 3.12 (SDK7). Find my ps, top, lsmod status and suggest me where it is going wrong.

    Regards,

    Anil

    Mem: 50892K used, 457504K free, 0K shrd, 2284K buff, 16036K cached
    CPU:   1% usr   3% sys   0% nic  95% idle   0% io   0% irq   0% sirq
    Load average: 0.11 0.06 0.05 1/53 32724
      PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
     2144     1 root     S    43428   9%   1% /home/pda/app/slLauncher -qws -display
    32667  2178 root     R     2124   0%   0% top
    23883     1 nobody   S <   4164   1%   0% gpsd /dev/ttyUSB1 -F /var/run/gpsd.soc
     2178     1 root     S     2736   1%   0% -sh
     1393     1 root     S     2620   1%   0% /lib/udev/udevd -d
     1559  1393 root     S     2616   1%   0% /lib/udev/udevd -d
     1560  1393 root     S     2616   1%   0% /lib/udev/udevd -d
     2075     1 messageb S     2304   0%   0% /usr/bin/dbus-daemon --system
     1848     1 root     S     2276   0%   0% {rc} /bin/sh /etc/init.d/rc S
     2129     1 root     S     2232   0%   0% /usr/sbin/lighttpd -f /etc/lighttpd.co
     2091     1 root     S     1836   0%   0% /sbin/klogd -n
     2090     1 root     S     1836   0%   0% /sbin/syslogd -n -O /var/log/messages
    32691  1848 root     S     1704   0%   0% sleep 10
     2179     1 root     S     1572   0%   0% /sbin/getty 38400 tty1
        1     0 root     S     1324   0%   0% init [5]
     2082     1 root     S     1176   0%   0% /usr/bin/uim -f /sys/./devices/kim.12
      457     2 root     SW       0   0%   0% [kworker/0:2]
        3     2 root     SW       0   0%   0% [ksoftirqd/0]
     1358     2 root     SW       0   0%   0% [mmcqd/1]
     1197     2 root     SW       0   0%   0% [kworker/u2:2]
    root@am335x-evm:/home# ps
      PID USER       VSZ STAT COMMAND
        1 root      1324 S    init [5]
        2 root         0 SW   [kthreadd]
        3 root         0 SW   [ksoftirqd/0]
        5 root         0 SW<  [kworker/0:0H]
        7 root         0 SW<  [khelper]
        8 root         0 SW   [kdevtmpfs]
        9 root         0 SW   [kworker/u2:1]
       43 root         0 SW   [kworker/0:1]
      238 root         0 SW<  [writeback]
      240 root         0 SW<  [bioset]
      242 root         0 SW<  [kblockd]
      340 root         0 SW   [khubd]
      451 root         0 SW<  [rpciod]
      457 root         0 SW   [kworker/0:2]
      468 root         0 SW   [kswapd0]
      469 root         0 SW   [fsnotify_mark]
      470 root         0 SW<  [nfsiod]
      471 root         0 SW<  [crypto]
     1042 root         0 SW<  [OMAP UART0]
     1044 root         0 SW<  [OMAP UART1]
     1046 root         0 SW<  [OMAP UART2]
     1197 root         0 SW   [kworker/u2:2]
     1238 root         0 SW<  [deferwq]
     1284 root         0 SW   [irq/86-44e0b000]
     1314 root         0 SW   [irq/201-tca8418]
     1320 root         0 SW   [irq/87-4802a000]
     1344 root         0 SW   [irq/150-mmc1]
     1358 root         0 SW   [mmcqd/1]
     1363 root         0 SW<  [kworker/0:1H]
     1364 root         0 SW   [kjournald]
     1393 root      2620 S    /lib/udev/udevd -d
     1509 root         0 SW<  [pvr_timer]
     1559 root      2616 S    /lib/udev/udevd -d
     1560 root      2616 S    /lib/udev/udevd -d
     1812 root         0 SW<  [cfg80211]
     1818 root         0 SW<  [wl12xx_wq]
     1820 root         0 SW   [irq/259-wl12xx]
     1836 root         0 SW<  [phy0]
     1848 root      2276 S    {rc} /bin/sh /etc/init.d/rc S
     1857 root         0 SW   [file-storage]
     2075 messageb  2304 S    /usr/bin/dbus-daemon --system
     2082 root      1176 S    /usr/bin/uim -f /sys/./devices/kim.12
     2090 root      1836 S    /sbin/syslogd -n -O /var/log/messages
     2091 root      1836 S    /sbin/klogd -n
     2129 root      2232 S    /usr/sbin/lighttpd -f /etc/lighttpd.conf
     2144 root     43428 S    /home/pda/app/slLauncher -qws -display transformed:R
     2178 root      2736 S    -sh
     2179 root      1572 S    /sbin/getty 38400 tty1
    23883 nobody    4164 S <  gpsd /dev/ttyUSB1 -F /var/run/gpsd.sock
    32691 root      1704 S    sleep 10
    32725 root      2124 R    ps
    root@am335x-evm:/home# lsmod
    Module                  Size  Used by
    g_mass_storage          1787  0
    usb_f_mass_storage     32479  2 g_mass_storage
    libcomposite           30114  2 usb_f_mass_storage,g_mass_storage
    configfs               19119  3 libcomposite,usb_f_mass_storage
    wl12xx                 53037  0
    wlcore                166046  1 wl12xx
    mac80211              251723  2 wl12xx,wlcore
    cfg80211              163054  2 mac80211,wlcore
    musb_dsps               6511  0
    musb_hdrc              42838  1 musb_dsps
    pvrsrvkm              175491  0
    wlcore_sdio             4233  0
    musb_am335x             1199  0
    root@am335x-evm:/home#

     

  • Hi Anil,

    Your processor does have a GPU & the graphics seem to be utilizing it.

    However a single execution of ps or top won't give much info about memory consumption. What happens if you run your QT api on background & then run ps/top? Do you notice increase in memory usage by your application?

    As I said valgrind is also useful to track memory leaks in user space applications.

    Best Regards,
    Yordan

  • Hi,

    This is the case, i run the same application and ported in Linux 3.2 with SDK6 it is nicely running. But when i tried to run in SDK7 with Linux 3.12 with the same application it is giving slow in my qt application.

    My app is very slopw and when i see top it is reaching 100% to CPU performance..

    I have run my qt app using Valgrind and it is giving the below status.

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

    ==6607==

    ==6607== LEAK SUMMARY:

    ==6607==    definitely lost: 1,245 bytes in 17 blocks

    ==6607==    indirectly lost: 7,979 bytes in 40 blocks

    ==6607==      possibly lost: 594,582 bytes in 3,122 blocks

    ==6607==    still reachable: 1,860,226 bytes in 8,153 blocks

    ==6607==         suppressed: 0 bytes in 0 blocks

    ==6607==

    ==6607== For counts of detected and suppressed errors, rerun with: -v

    ==6607== Use --track-origins=yes to see where uninitialised values come from

    ==6607== ERROR SUMMARY: 667 errors from 11 contexts (suppressed: 0 from 0)

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

    This issue when i tried to read the data from UART it is giving issue in my application. I am using USB hub from that i have placed CP2102 USB to UART and got the interface as /dev/ttyUSB1.

    from this USB1 i am reading the data from GPS.

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

    root@am335x-evm:/media/card/valgrind# lsusb

    Bus 002 Device 002: ID 04b4:6572 Cypress Semiconductor Corp.

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 002 Device 009: ID 14cd:125c Super Top

    Bus 002 Device 003: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light

    Bus 002 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light

    Bus 002 Device 005: ID 090c:f37d Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)

     

    root@am335x-evm:/media/card/valgrind# cat /proc/tty/driver/usbserial

    usbserinfo:1.0 driver:2.0

    0: name:"cp210x" vendor:10c4 product:ea60 num_ports:1 port:0 path:usb-musb-hdrc.2.auto-1.2

    1: name:"cp210x" vendor:10c4 product:ea60 num_ports:1 port:0 path:usb-musb-hdrc.2.auto-1.3

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

    Please help me, how to clear my issue.

    Regards,

    Anil

  • Hi

    Still i am facing the same slow issue using my qt apps. I ma not using pvrsrvkm.ko driver in my SDK7 linux 3.12 version.

    Because of this pvr, Is there any qt apps are running slow.

    Regards,

    Anil

  • Hi Anil,

    anil kumar23 said:
    I ma not using pvrsrvkm.ko driver in my SDK7 linux 3.12 version.

    Actually you should be using the pvr driver, have a look at the init scripts in /etc/init.d. The driver should be insmoded at boot up. If it doesn't, then this could be the root cause of your qt apps running slow, since qt apps are graphics apps and if gpu is not utilized to offload the arm, it could result in slowing your system.

    Best Regards, 

    Yordan

  • Hi,

    I am feeling Linux SDK6 linux 3.2 is good and running apps are nicely. But while i run my apps in SDK7 linux 3.12 is giving very slow and performance is very very poor.

    Plz any one look at my issue why it is giving very slow...

    Regards,
    Anil
  • Could you provide the boot logs of your system? Bootlog of your board running SDK7 (kernel 3.12) & bootlog from SDK6 (kernel 3.2), this could give me some additional ideas.

    Best Regards,
    Yordan
  • Hi,

    I have tried to modify my kernel customization for my board and run in my am335x PVR driver is not running. the below message displays:

    Starting thttpd.
    [ 28.983105] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f8844c
    No SGX hardware, not starting PVR

    When i tried with prebuilt images (boot & file system) it is successfully loaded the pvr.
    Starting thttpd.
    Starting PVR

    Please let us know how to start PVR driver in my kernel menu config and any configuration required to run PVR.
    i am not using any SGX SDK as of now, is it required for this pvr???.

    Guide me how to run PVR drivers in my platform.

    Regards,
    Anil
  • Hi,

    Find attached log, now it seems my system is booted with PVR driver. But sill my qt apps are running very slow in my SDK7.

    my qt is 4.8.4 version. which is not configured with Graphics link. Normally i configured qt and created executable and running in our target.

    Still Slowness issue is replicating. Qt 4.8.4 is it stable version or any issue. Please suggest me.,

    Regards,

    Anil

    U-Boot 2013.10 (Sep 25 2015 - 19:05:48)
    
    I2C:   ready
    DRAM:  512 MiB
    NAND:  1024 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Incorrect magic number (0xffffffff) in EEPROM
    Could not get board ID.
    Net:   Incorrect magic number (0xffffffff) in EEPROM
    Could not get board ID.
    Could not get PHY for cpsw: addr 0
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    Booting from nand ...
    
    NAND read: device 0 offset 0x200000, size 0x80000
     524288 bytes read: OK
    
    NAND read: device 0 offset 0x480000, size 0x700000
     7340032 bytes read: OK
    Kernel image @ 0x80200000 [ 0x000000 - 0x3ddef0 ]
    ## Flattened Device Tree blob at 80f80000
       Booting using the fdt blob at 0x80f80000
       Loading Device Tree to 9f31f000, end 9f32c6c0 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.12.10-ti2013.12.01 (root@am335xsdk78-virtual-machine) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #18 Thu Oct 29 17:22:10 IST 2015
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x EVM
    [    0.000000] cma: CMA: reserved 24 MiB at 9d800000
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129280
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:NAND.file-system rw ubi.mtd=9,4096 rootfstype=ubifs rootwait=1
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 483152K/521216K available (5443K kernel code, 542K rwdata, 1832K rodata, 709K init, 214K bss, 38064K 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 : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc072304c   (7277 kB)
    [    0.000000]       .init : 0xc0724000 - 0xc07d5430   ( 710 kB)
    [    0.000000]       .data : 0xc07d6000 - 0xc085dbd8   ( 543 kB)
    [    0.000000]        .bss : 0xc085dbd8 - 0xc0893600   ( 215 kB)
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    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: timer2 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000271] Calibrating delay loop... 663.55 BogoMIPS (lpj=3317760)
    [    0.049736] pid_max: default: 32768 minimum: 301
    [    0.049822] Security Framework initialized
    [    0.049868] Mount-cache hash table entries: 512
    [    0.057403] CPU: Testing write buffer coherency: ok
    [    0.057786] Setting up static identity map for 0xc0557328 - 0xc0557398
    [    0.058562] devtmpfs: initialized
    [    0.060004] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.119988] omap_hwmod: debugss: _wait_target_disable failed
    [    0.120640] pinctrl core: initialized pinctrl subsystem
    [    0.121389] regulator-dummy: no parameters
    [    0.123557] NET: Registered protocol family 16
    [    0.125388] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.127459] cpuidle: using governor ladder
    [    0.127474] cpuidle: using governor menu
    [    0.133928] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.134786] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.135835] OMAP GPIO hardware version 0.1
    [    0.143558] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe
    [    0.143586] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
    [    0.143888] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [    0.147040] DSS not supported on this SoC
    [    0.147056] No ATAGs?
    [    0.147066] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.163593] bio: create slab <bio-0> at 0
    [    0.174991] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.175776] vbat: 5000 mV
    [    0.176094] lis3_reg: no parameters
    [    0.176480] wlan-en-regulator: 1800 mV
    [    0.179054] vgaarb: loaded
    [    0.180145] SCSI subsystem initialized
    [    0.180787] usbcore: registered new interface driver usbfs
    [    0.180933] usbcore: registered new interface driver hub
    [    0.181109] usbcore: registered new device driver usb
    [    0.182002] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [    0.182026] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.182047] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c1_pins, deferring probe
    [    0.182059] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
    [    0.182260] media: Linux media interface: v0.10
    [    0.182398] Linux video capture interface: v2.00
    [    0.182598] pps_core: LinuxPPS API ver. 1 registered
    [    0.182605] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.182707] PTP clock support registered
    [    0.184779] Switched to clocksource timer1
    [    0.199574] NET: Registered protocol family 2
    [    0.200136] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [    0.200202] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.200240] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.200311] TCP: reno registered
    [    0.200322] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.200337] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.200512] NET: Registered protocol family 1
    [    0.200864] RPC: Registered named UNIX socket transport module.
    [    0.200876] RPC: Registered udp transport module.
    [    0.200881] RPC: Registered tcp transport module.
    [    0.200887] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.201710] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.202272] PM: Loading am335x-pm-firmware.bin
    [    0.312528] VFS: Disk quotas dquot_6.5.2
    [    0.312593] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.313140] NFS: Registering the id_resolver key type
    [    0.313235] Key type id_resolver registered
    [    0.313242] Key type id_legacy registered
    [    0.313279] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.313428] msgmni has been set to 991
    [    0.314692] NET: Registered protocol family 38
    [    0.314740] io scheduler noop registered
    [    0.314747] io scheduler deadline registered
    [    0.314767] io scheduler cfq registered (default)
    [    0.316668] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.365521] Console: switching to colour frame buffer device 100x30
    [    0.463905] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    1.103976] console [ttyO0] enabled
    [    1.108434] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
    [    1.118795] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [    1.129146] Initializing Nozomi driver 2.1d
    [    1.141636] brd: module loaded
    [    1.149063] loop: module loaded
    [    1.153009] (stk) :sysfs entries created
    [    1.157278] (stk) : debugfs entries created
    [    1.165246] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.175367] PPP generic driver version 2.4.2
    [    1.180278] PPP BSD Compression module registered
    [    1.185255] PPP Deflate Compression module registered
    [    1.190609] PPP MPPE Compression module registered
    [    1.195803] usbcore: registered new interface driver asix
    [    1.201664] usbcore: registered new interface driver ax88179_178a
    [    1.208196] usbcore: registered new interface driver cdc_ether
    [    1.214458] usbcore: registered new interface driver r815x
    [    1.220356] usbcore: registered new interface driver smsc95xx
    [    1.226531] usbcore: registered new interface driver net1080
    [    1.232613] usbcore: registered new interface driver cdc_subset
    [    1.238946] usbcore: registered new interface driver zaurus
    [    1.245002] usbcore: registered new interface driver cdc_ncm
    [    1.251320] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.258196] ehci-pci: EHCI PCI platform driver
    [    1.263022] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.269359] usbcore: registered new interface driver cdc_wdm
    [    1.275493] usbcore: registered new interface driver usb-storage
    [    1.282153] usbcore: registered new interface driver usbserial
    [    1.288429] usbcore: registered new interface driver cp210x
    [    1.294409] usbserial: USB Serial support registered for cp210x
    [    1.300742] usbcore: registered new interface driver pl2303
    [    1.306719] usbserial: USB Serial support registered for pl2303
    [    1.313870] mousedev: PS/2 mouse device common for all mice
    [    1.320599] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [    1.330643] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.338225] 44e3e000.rtc: already running
    [    1.343147] i2c /dev entries driver
    [    1.347145] Driver for 1-wire Dallas network protocol.
    [    1.354756] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.363699] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    1.370977] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    1.378177] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [    1.385063] edma-dma-engine edma-dma-engine.0: freeing channel for 24
    [    1.391824] edma-dma-engine edma-dma-engine.0: freeing channel for 25
    [    1.401765] omap_hwmod: gpio1: _wait_target_disable failed
    [    1.407590] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [    1.415236] edma-dma-engine edma-dma-engine.0: allocated channel for 0:13
    [    1.422368] edma-dma-engine edma-dma-engine.0: allocated channel for 0:12
    [    1.538899] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.545604] mmc0: card claims to support voltages below the defined range. These will be ignored.
    [    1.554989] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
    [    1.562163] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    1.569332] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    1.575499] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
    [    1.582561] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
    [    1.591230] usbcore: registered new interface driver usbhid
    [    1.597109] usbhid: USB HID core driver
    [    1.603233] oprofile: no performance counters
    [    1.608227] oprofile: using timer interrupt.
    [    1.613007] TCP: cubic registered
    [    1.616519] Initializing XFRM netlink socket
    [    1.621043] NET: Registered protocol family 17
    [    1.625781] NET: Registered protocol family 15
    [    1.630511] 8021q: 802.1Q VLAN Support v1.8
    [    1.635005] Key type dns_resolver registered
    [    1.640072] cpu cpu0: cpu0 regulator not ready, retry
    [    1.645500] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    1.653843] ThumbEE CPU extension supported.
    [    1.659541] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.666631] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.672054] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.679924] ONFI param page 0 valid
    [    1.683592] ONFI flash detected
    [    1.686936] NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP), 1024MiB, page size: 4096, OOB size: 224
    [    1.699080] omap2-nand: detected x8 NAND flash
    [    1.703741] using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    1.708895] omap2-nand: using custom ecc layout
    [    1.713867] 10 ofpart partitions found on MTD device omap2-nand.0
    [    1.720280] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.725977] 0x000000000000-0x000000080000 : "NAND.SPL"
    [    1.732896] 0x000000080000-0x000000100000 : "NAND.SPL.backup1"
    [    1.739226] mmc0: new SDIO card at address 0001
    [    1.746933] 0x000000100000-0x000000180000 : "NAND.SPL.backup2"
    [    1.754248] 0x000000180000-0x000000200000 : "NAND.SPL.backup3"
    [    1.761607] 0x000000200000-0x000000280000 : "NAND.u-boot-spl-os"
    [    1.769043] 0x000000280000-0x000000380000 : "NAND.u-boot"
    [    1.775895] 0x000000380000-0x000000400000 : "NAND.u-boot-env"
    [    1.782999] 0x000000400000-0x000000480000 : "NAND.u-boot-env.backup1"
    [    1.790980] 0x000000480000-0x000000b80000 : "NAND.kernel"
    [    1.798496] 0x000000b80000-0x000040000000 : "NAND.file-system"
    [    1.911483] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.919502] vrtc: 1800 mV
    [    1.922597] vrtc: supplied by vbat
    [    1.927357] vio: at 1800 mV
    [    1.930441] vio: supplied by vbat
    [    1.935231] vdd_mpu: 912 <--> 1375 mV at 1325 mV
    [    1.940231] vdd_mpu: supplied by vbat
    [    1.945310] vdd_core: 912 <--> 1150 mV at 1137 mV
    [    1.950394] vdd_core: supplied by vbat
    [    1.955252] vdd3: 5000 mV
    [    1.959112] vdig1: at 1800 mV
    [    1.962374] vdig1: supplied by vbat
    [    1.967113] vdig2: at 1800 mV
    [    1.970370] vdig2: supplied by vbat
    [    1.975102] vpll: at 1800 mV
    [    1.978277] vpll: supplied by vbat
    [    1.982886] vdac: at 1800 mV
    [    1.986067] vdac: supplied by vbat
    [    1.990687] vaux1: at 1800 mV
    [    1.993949] vaux1: supplied by vbat
    [    1.998693] vaux2: at 3300 mV
    [    2.001954] vaux2: supplied by vbat
    [    2.006707] vaux33: at 3300 mV
    [    2.010056] vaux33: supplied by vbat
    [    2.014871] vmmc: 1800 <--> 3300 mV at 3300 mV
    [    2.019677] vmmc: supplied by vbat
    [    2.025084] GETTING--07-- : tca8418_keypad_probe
    [    2.031159] input: tca8418 as /devices/ocp.2/44e0b000.i2c/i2c-0/0-0034/input/input1
    [    2.040252] edt_ft5x06 0-0038: touchscreen probe failed
    [    2.046045] edt_ft5x06: probe of 0-0038 failed with error -121
    [    2.052593] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    2.080809] lis3lv02d: 16 bits lis331dlh sensor found
    [    2.175120] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input3
    [    2.185338] tsl2550 1-0039: standard operating mode
    [    2.191179] tsl2550 1-0039: support ver. 1.2 enabled
    [    2.197469] lm75 1-0048: hwmon1: sensor 'tmp275'
    [    2.203646] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    2.210326] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
    [    2.217514] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
    [    2.266047] UBI: attaching mtd9 to ubi0
    [    4.246345] UBI: scanning is finished
    [    4.259702] UBI: attached mtd9 (name "NAND.file-system", size 1012 MiB) to ubi0
    [    4.267453] UBI: PEB size: 524288 bytes (512 KiB), LEB size: 516096 bytes
    [    4.274580] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 1024
    [    4.281618] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
    [    4.288838] UBI: good PEBs: 2025, bad PEBs: 0, corrupted PEBs: 0
    [    4.295143] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    4.302630] UBI: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 1829345865
    [    4.312126] UBI: available PEBs: 0, total reserved PEBs: 2025, PEBs reserved for bad PEB handling: 40
    [    4.321816] UBI: background thread "ubi_bgt0d" started, PID 1344
    [    4.384822] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    4.391232] davinci_mdio 4a101000.mdio: no live phy, scanning all
    [    4.398021] davinci_mdio: probe of 4a101000.mdio failed with error -5
    [    4.405594] Detected MACID = 68:c9:0b:a9:0e:66
    [    4.424834] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    4.434292] omap_vout:Could not register Video driver
    [    4.502253] UBIFS: background thread "ubifs_bgt0_0" started, PID 1355
    [    4.668586] UBIFS: mounted UBI device 0, volume 0, name "NAND.file-system"
    [    4.675892] UBIFS: LEB size: 516096 bytes (504 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
    [    4.685489] UBIFS: FS size: 1016709120 bytes (969 MiB, 1970 LEBs), journal size 33546240 bytes (31 MiB, 65 LEBs)
    [    4.696172] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
    [    4.702294] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 0D90FBEE-4B7C-4014-BBF0-DDEC811144FC, small LPT model
    [    4.715419] VFS: Mounted root (ubifs filesystem) on device 0:13.
    [    4.724191] devtmpfs: mounted
    [    4.728318] Freeing unused kernel memory: 708K (c0724000 - c07d5000)
    INIT: version 2.88 booting
    Starting udev
    [    5.706348] udevd[1384]: starting version 182
    [    6.694484] PM: CM3 Firmware Version = 0x186
    [    6.871601] Bluetooth: Core ver 2.16
    [    6.950829] NET: Registered protocol family 31
    [    6.955600] Bluetooth: HCI device and connection manager initialized
    [    7.270483] Bluetooth: HCI socket layer initialized
    [    7.352940] Bluetooth: L2CAP socket layer initialized
    [    7.416873] Bluetooth: SCO socket layer initialized
    [    7.428850] Error: Driver 'lm75' is already registered, aborting...
    [    7.449684] Error: Driver 'lis3lv02d_i2c' is already registered, aborting...
    [    7.533588] davinci_evm sound.3: ASoC: CPU DAI (null) not registered
    [    7.557180] (stc):  chnl_id list empty :4
    [    7.561611] (stk) : st_kim_start(stk) :ldisc_install = 1[    7.744988] davinci_evm sound.3: snd_soc_register_card failed (-517)
    [    7.752019] platform sound.3: Driver davinci_evm requests probe deferral
    [    7.886211] davinci_evm sound.3:  tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [    8.674879] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [    9.674926] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1
    [   10.795259] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [   11.795400] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1[   11.936532] cfg80211: Calling CRDA to update world regulatory domain
    [   11.996416] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
    [   12.003307] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [   12.056447] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
    [   12.085251] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [   12.092694] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.100581] usb usb1: Product: MUSB HDRC host driver
    [   12.105804] usb usb1: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
    [   12.113028] usb usb1: SerialNumber: musb-hdrc.1.auto
    [   12.227271] hub 1-0:1.0: USB hub found
    [   12.235213] hub 1-0:1.0: 1 port detected
    [   12.256136] musb-hdrc musb-hdrc.2.auto: Enabled SW babble control
    [   12.263019] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
    [   12.315760] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 2
    [   12.345421] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   12.352627] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.360576] usb usb2: Product: MUSB HDRC host driver
    [   12.365800] usb usb2: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
    [   12.373025] usb usb2: SerialNumber: musb-hdrc.2.auto
    [   12.476125] hub 2-0:1.0: USB hub found
    [   12.559939] hub 2-0:1.0: 1 port detected
    [   12.673200] cfg80211: World regulatory domain updated:
    [   12.678972] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   12.687853] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.696268] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   12.704677] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   12.713092] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.721509] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.814549] cryptodev: driver 1.6 loaded.
    [   12.914971] (stk) :ldisc installation timeout(stk) :ldisc_install = 0[   12.975242] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [   12.990424] wlcore: loaded
    [   12.993301] wlcore: driver version: ti2013.12.01-dirty
    [   12.998771] wlcore: compilation time: Sun Mar 30 20:56:08 2014
    [   13.117445] usb 2-1: New USB device found, idVendor=04b4, idProduct=6572
    [   13.124867] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [   13.132640] usb 2-1: Product: USB2.0 Hub
    [   13.144139] hub 2-1:1.0: USB hub found
    [   13.155877] hub 2-1:1.0: 4 ports detected
    [   13.435377] usb 2-1.2: new full-speed USB device number 3 using musb-hdrc
    [   13.538954] usb 2-1.2: New USB device found, idVendor=10c4, idProduct=ea60
    [   13.546253] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [   13.554211] usb 2-1.2: Product: CP2102 USB to UART Bridge Controller
    [   13.560894] usb 2-1.2: Manufacturer: Silicon Labs
    [   13.565838] usb 2-1.2: SerialNumber: 0001
    [   13.576698] cp210x 2-1.2:1.0: cp210x converter detected
    [   13.665343] usb 2-1.2: reset full-speed USB device number 3 using musb-hdrc
    [   13.770816] usb 2-1.2: cp210x converter now attached to ttyUSB0
    [   13.855369] usb 2-1.3: new full-speed USB device number 4 using musb-hdrc
    
    [   13.914873] (stk) : timed out waiting for ldisc to be un-installed(stk) :ldisc_install = 1[   14.058668] usb 2-1.3: New USB device found, idVendor=10c4, idProduct=ea60
    [   14.065970] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [   14.073949] usb 2-1.3: Product: CP2102 USB to UART Bridge Controller
    [   14.080632] usb 2-1.3: Manufacturer: Silicon Labs
    [   14.085860] usb 2-1.3: SerialNumber: 0001
    [   14.096827] cp210x 2-1.3:1.0: cp210x converter detected
    [   14.185445] usb 2-1.3: reset full-speed USB device number 4 using musb-hdrc
    [   14.291618] usb 2-1.3: cp210x converter now attached to ttyUSB1
    [   14.535333] usb 2-1.4: new high-speed USB device number 5 using musb-hdrc
    [   14.638782] usb 2-1.4: New USB device found, idVendor=090c, idProduct=f37d
    [   14.646045] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [   14.654002] usb 2-1.4: Product: SMI
    [   14.657672] usb 2-1.4: Manufacturer: SMI
    [   14.700268] videobuf2_vmalloc: Unknown symbol vb2_get_contig_userptr (err 0)
    [   14.708098] videobuf2_vmalloc: Unknown symbol vb2_common_vm_ops (err 0)
    [   14.715416] videobuf2_vmalloc: Unknown symbol vb2_put_vma (err 0)
    [   14.729984] videobuf2_vmalloc: Unknown symbol vb2_get_contig_userptr (err 0)
    [   14.737824] videobuf2_vmalloc: Unknown symbol vb2_common_vm_ops (err 0)
    [   14.744866] videobuf2_vmalloc: Unknown symbol vb2_put_vma (err 0)
    
    [   15.034971] (stk) :ldisc installation timeout(stk) :ldisc_install = 0Error: could not load module /lib/ads7828.ko: No such file or directory
    SUCCESSFULLY OPENED
    Received GPS Packet is:
    Executed command : Hardware Information:
    [   15.192242] Number of LUNs=8
    [   15.195341] Mass Storage Function, version: 2009/09/11
    [   15.201045] LUN: removable file: (no medium)
    [   15.205836] Number of LUNs=1
    [   15.208990] lun0: unable to open backing file: /dev/mmcblk0p1
    [   15.215402] g_mass_storage musb-hdrc.1.auto: failed to start g_mass_storage: -2
    ERROR: could not insert 'g_mass_storage': Unknown symbol in module, or unknown parameter (see dmesg)
    
    [   15.260827] (stc):  chnl_id 3 not registered[   15.265704] Bluetooth: st_unregister(3) failed with error -93
    [   15.272029] (stc):  chnl_id 2 not registered
    [   15.276335] Bluetooth: st_unregister(2) failed with error -93
    [   15.282827] (stc):  chnl_id 4 not registered
    [   15.287129] Bluetooth: st_unregister(4) failed with error -93
    GPS packets are : $GNRMC,132835.00,V,,,,,,,201115,,,N*6B
    
    
    System Local Time       : Fri Nov 20 18:58:35 2015
    
    [   16.034941] (stk) : timed out waiting for ldisc to be un-installed
    [   16.153886] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   17.158092] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   18.273130] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   19.277913] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   20.282242] Bluetooth: st_register failed -22
    [   20.298118] NET: Unregistered protocol family 31
    [   20.316096] cryptodev: driver unloaded.
    Starting Bootlog daemon: bootlogd.
    Configuring network interfaces... [   21.727856] net eth0: initializing cpsw version 1.12 (0)
    [   21.735061] libphy: PHY 4a101000.mdio:00 not found
    [   21.740089] net eth0: phy 4a101000.mdio:00 not found on slave 0
    [   21.754272] 8021q: adding VLAN 0 to HW filter on device eth0
    udhcpc (v1.20.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, failing
    done.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    UIM SYSFS Node Found at /sys/./devices/kim.12/install
    Starting uim-sysfs daemon.
    uim:@ main
    uim:install = /sys/./devices/kim.12/install
    uim:dev_name = /sys/./devices/kim.12/dev_name
    uim:baud_rate = /sys/./devices/kim.12/baud_rate
    uim:flow_cntrl = /sys/./devices/kim.12/flow_cntrl
    uim:begin polling...
    Starting syslogd/klogd: done
    Starting PVR
    GPS Date & Time Updation
    Fri Nov 20 18:58:00 UTC 2015
    Starting Lighttpd Web Server: lighttpd.
    2015-11-20 18:58:00: (log.c.166) server started
    Fri Nov 20 18:58:00 UTC 2015
    /
    Starting Matrix GUI application.
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyO0
    
    Arago 2013.12 am335x-evm ttyO0
    
    am335x-evm login: root
    root@am335x-evm:~# lsmod
    Module                  Size  Used by
    bufferclass_ti          5405  0
    omaplfb                11426  0
    usb_f_mass_storage     32479  0
    libcomposite           30114  1 usb_f_mass_storage
    configfs               19119  3 libcomposite,usb_f_mass_storage
    wl12xx                 53037  0
    wlcore                166046  1 wl12xx
    mac80211              251723  2 wl12xx,wlcore
    pvrsrvkm              175491  2 bufferclass_ti,omaplfb
    musb_dsps               6511  0
    cfg80211              163054  2 mac80211,wlcore
    musb_hdrc              42838  1 musb_dsps
    wlcore_sdio             4233  0
    musb_am335x             1199  0

  • Hi,

    Could you find my attached log and suggest me.

    Regards,

    Anil

  • Hi

    find attached my dmesg log in my linux 3.2. Still i am not understanding why it is giving very slow in my system (3.12).

    Is there any touchscreen inputs is creating any delay to process the inputs in qt applications.

    Please help me how to overcome my slowness issue.

    Regards,

    Anil

     

    [    0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #79 Wed Sep 16 13:41:33 IST 2015
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] On node 0 totalpages: 131072
    [    0.000000] free_area_init_node: node 0, pgdat c06a7790, node_mem_map c06de000
    [    0.000000]   Normal zone: 1024 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 130048 pages, LIFO batch:31
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    [    0.000000] Kernel command line: console=ttyO0,115200n8 rootfstype=ext3 root=/dev/mmcblk0p2 mem=512M rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 512720k/512720k available, 11568k 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 : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05bb000   (5836 kB)
    [    0.000000]       .init : 0xc05bb000 - 0xc0653000   ( 608 kB)
    [    0.000000]       .data : 0xc0654000 - 0xc06b0aa8   ( 371 kB)
    [    0.000000]        .bss : 0xc06b0acc - 0xc06dd154   ( 178 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: GPTIMER2 at 24000000 Hz
    [    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
    [    0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000165] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
    [    0.087772] pid_max: default: 32768 minimum: 301
    [    0.087874] Security Framework initialized
    [    0.087958] Mount-cache hash table entries: 512
    [    0.088299] CPU: Testing write buffer coherency: ok
    [    0.088955] devtmpfs: initialized
    [    0.107407] omap_hwmod: gfx: failed to hardreset
    [    0.123167] omap_hwmod: pruss: failed to hardreset
    [    0.124267] print_constraints: dummy: 
    [    0.124556] NET: Registered protocol family 16
    [    0.126276] OMAP GPIO hardware version 0.1
    [    0.128299] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.130092]  omap_i2c.1: alias fck already exists
    [    0.130823]  omap2_mcspi.1: alias fck already exists
    [    0.130993]  omap2_mcspi.2: alias fck already exists
    [    0.131200]  edma.0: alias fck already exists
    [    0.131215]  edma.0: alias fck already exists
    [    0.131229]  edma.0: alias fck already exists
    [    0.150492] bio: create slab <bio-0> at 0
    [    0.152335] SCSI subsystem initialized
    [    0.153640] usbcore: registered new interface driver usbfs
    [    0.153904] usbcore: registered new interface driver hub
    [    0.154069] usbcore: registered new device driver usb
    [    0.154196] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.154421] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.155281] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.156698] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.159011] print_constraints: VRTC: 
    [    0.160390] print_constraints: VIO: at 1800 mV 
    [    0.162610] print_constraints: VDD1: 600 <--> 1500 mV at 1325 mV normal 
    [    0.164816] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
    [    0.165746] print_constraints: VDD3: 5000 mV 
    [    0.167082] print_constraints: VDIG1: at 1800 mV 
    [    0.168431] print_constraints: VDIG2: at 1800 mV 
    [    0.169784] print_constraints: VPLL: at 1800 mV 
    [    0.171133] print_constraints: VDAC: at 1800 mV 
    [    0.172489] print_constraints: VAUX1: at 1800 mV 
    [    0.173845] print_constraints: VAUX2: at 3300 mV 
    [    0.175202] print_constraints: VAUX33: at 3300 mV 
    [    0.176545] print_constraints: VMMC: at 3300 mV 
    [    0.176948] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.178275] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.179273] Switching to clocksource gp timer
    [    0.193039] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.193198] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.193485] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    0.193502] musb-hdrc: MHDRC RTL version 2.0 
    [    0.193511] musb-hdrc: setup fifo_mode 4
    [    0.193536] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    0.193908] musb-hdrc musb-hdrc.0: USB OTG mode controller at e081c000 using PIO, IRQ 18
    [    0.194049] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.194309] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    0.194324] musb-hdrc: MHDRC RTL version 2.0 
    [    0.194331] musb-hdrc: setup fifo_mode 4
    [    0.194352] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    0.194381] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.194446] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.194559] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.194570] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.194580] usb usb1: Product: MUSB HDRC host driver
    [    0.194588] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    0.194595] usb usb1: SerialNumber: musb-hdrc.1
    [    0.195321] hub 1-0:1.0: USB hub found
    [    0.195346] hub 1-0:1.0: 1 port detected
    [    0.195818] musb-hdrc musb-hdrc.1: USB Host mode controller at e081e800 using PIO, IRQ 19
    [    0.196192] NET: Registered protocol family 2
    [    0.196365] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.196631] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.196844] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.196971] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.196980] TCP reno registered
    [    0.196989] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.197007] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.197167] NET: Registered protocol family 1
    [    0.197373] RPC: Registered named UNIX socket transport module.
    [    0.197384] RPC: Registered udp transport module.
    [    0.197390] RPC: Registered tcp transport module.
    [    0.197397] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.197589] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.217126] VFS: Disk quotas dquot_6.5.2
    [    0.217181] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.218341] msgmni has been set to 1001
    [    0.218995] io scheduler noop registered
    [    0.219004] io scheduler deadline registered
    [    0.219059] io scheduler cfq registered (default)
    [    0.220169] usbcore: registered new interface driver udlfb
    [    0.310609] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.960260] console [ttyO0] enabled
    [    0.964518] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.972353] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.980141] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.987878] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.995641] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    1.011124] brd: module loaded
    [    1.018270] loop: module loaded
    [    1.021879] i2c-core: driver [tsl2550] using legacy suspend method
    [    1.028341] i2c-core: driver [tsl2550] using legacy resume method
    [    1.034781] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.119355] No daughter card found
    [    1.122952] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    1.132313] Board name: A33515BB
    [    1.135682] Board version: 1.4A
    [    1.138960] SKU: SKU#01
    [    1.141524] The board is general purpose EVM in profile 0
    [    1.147163] Found invalid GP EVM revision, falling back to Rev1.1A
    [    1.177904] buzzzz##01 - pwm backlight - enable_ecap0
    [    1.199389]  da8xx_lcdc.0: alias fck already exists
    [    1.205002] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    1.226024] Console: switching to colour frame buffer device 100x30
    [    1.244893] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    1.249969] Registering NAND on CS0
    [    1.254239]  omap_i2c.2: alias fck already exists
    [    1.259372] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    1.266570] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    1.273150] tsl2550 2-0039: standard operating mode
    [    1.278940] tsl2550 2-0039: support ver. 1.2 enabled
    [    1.284552] buzzzz - static void mmc2_wl12xx_init(int evm_id, int profile) - 00
    [    1.292401]  omap_hsmmc.0: alias fck already exists
    [    1.297780]  omap_hsmmc.2: alias fck already exists
    [    1.303155] buzzzz - static void wl12xx_init(int evm_id, int profile) - 00
    [    1.310362] buzzzz - static void wl12xx_init(int evm_id, int profile) - 01
    [    1.317553] Configure Bluetooth Enable pin...
    [    1.322121] buzzzz - gp_evm_revision == GP_EVM_REV_IS_1_1A - 00
    [    1.337234] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
    [    1.344911] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
    [    1.373332] lis3lv02d: 8 bits 3DLH sensor found
    [    1.410598] usb 1-1: New USB device found, idVendor=04b4, idProduct=6572
    [    1.417608] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    1.425089] usb 1-1: Product: USB2.0 Hub
    [    1.430261] hub 1-1:1.0: USB hub found
    [    1.434508] hub 1-1:1.0: 4 ports detected
    [    1.459640] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
    [    1.471083] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.478268] omap2-nand driver initializing
    [    1.482893] ONFI flash detected
    [    1.486293] ONFI param page 0 valid
    [    1.489964] NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP)
    [    1.498333] chipsize = 1024 MB, writesize = 4096, busw = 0, oobsize = 224, erasesize = 524288
    [    1.507256] >>> chip->ecc.mode = 2, mtd->oobsize = 224
    [    1.512819] Creating 8 MTD partitions on "omap2-nand.0":
    [    1.518382] 0x000000000000-0x000000080000 : "SPL"
    [    1.524617] 0x000000080000-0x000000100000 : "SPL.backup1"
    [    1.531466] 0x000000100000-0x000000180000 : "SPL.backup2"
    [    1.538222] 0x000000180000-0x000000200000 : "SPL.backup3"
    [    1.545420] 0x000000200000-0x000000300000 : "U-Boot"
    [    1.552064] 0x000000300000-0x000000380000 : "U-Boot Env"
    [    1.558789] 0x000000380000-0x000000d00000 : "Kernel"
    [    1.565999] 0x000000d00000-0x000040000000 : "File System"
    [    1.676820] OneNAND driver initializing
    [    1.729318] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.735789] davinci_mdio davinci_mdio.0: no live phy, scanning all
    [    1.742550] davinci_mdio: probe of davinci_mdio.0 failed with error -5
    [    1.749543] PPP generic driver version 2.4.2
    [    1.754122] usb 1-1.2: new full-speed USB device number 3 using musb-hdrc
    [    1.761587] PPP BSD Compression module registered
    [    1.766509] PPP Deflate Compression module registered
    [    1.772238] PPP MPPE Compression module registered
    [    1.777529] usbcore: registered new interface driver zd1201
    [    1.783570] usbcore: registered new interface driver cdc_ether
    [    1.789869] usbcore: registered new interface driver cdc_eem
    [    1.795958] usbcore: registered new interface driver dm9601
    [    1.801841] cdc_ncm: 04-Aug-2011
    [    1.805349] usbcore: registered new interface driver cdc_ncm
    [    1.811279] Initializing USB Mass Storage driver...
    [    1.816576] usbcore: registered new interface driver usb-storage
    [    1.822877] USB Mass Storage support registered.
    [    1.828058] usbcore: registered new interface driver usbserial
    [    1.834175] usbserial: USB Serial Driver core
    [    1.838843] USB Serial support registered for cp210x
    [    1.844200] usbcore: registered new interface driver cp210x
    [    1.850039] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
    [    1.857278] USB Serial support registered for pl2303
    [    1.862721] usbcore: registered new interface driver pl2303
    [    1.868546] pl2303: Prolific PL2303 USB to serial adaptor driver
    [    1.875354] mousedev: PS/2 mouse device common for all mice
    [    1.881862] adp5588_keys 1-0034: Read Error
    [    1.886270] adp5588_keys: probe of 1-0034 failed with error -121
    [    1.893822] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input1
    [    1.901555] usb 1-1.2: New USB device found, idVendor=10c4, idProduct=ea60
    [    1.908744] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    1.916406] usb 1-1.2: Product: CP2102 USB to UART Bridge Controller
    [    1.923056] usb 1-1.2: Manufacturer: Silicon Labs
    [    1.927972] usb 1-1.2: SerialNumber: 0001
    [    1.932727] ==ft5x0x_ts_init==
    [    1.935969] ==ft5x0x_ts_probe=
    [    1.939156] ==kzalloc=
    [    1.942315] input: ft5x0x_ts as /devices/virtual/input/input2
    [    1.950051] cp210x 1-1.2:1.0: cp210x converter detected
    [    1.999492] msg ft5x0x_read_reg i2c read error: -121
    [    2.004679] [FST] FT55x0x Firmware version = 0xa6
    [    2.009615] ==probe over =
    [    2.012679] ret=0
    [    2.015386] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    2.022319] i2c /dev entries driver
    [    2.026586] Linux video capture interface: v2.00
    [    2.031877] usb 1-1.2: reset full-speed USB device number 3 using musb-hdrc
    [    2.040238] lm75 2-0048: hwmon1: sensor 'tmp275'
    [    2.140467] usb 1-1.2: cp210x converter now attached to ttyUSB0
    [    2.219815] usb 1-1.3: new full-speed USB device number 4 using musb-hdrc
    [    2.228392] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    2.239447] cpuidle: using governor ladder
    [    2.244288] cpuidle: using governor menu
    [    2.248520] sdhci: Secure Digital Host Controller Interface driver
    [    2.254989] sdhci: Copyright(c) Pierre Ossman
    [    2.265089] usbcore: registered new interface driver usbhid
    [    2.270957] usbhid: USB HID core driver
    [    2.276373] HMC5843 initialized
    [    2.280491] i2c-core: driver [hmc5843] using legacy suspend method
    [    2.286944] i2c-core: driver [hmc5843] using legacy resume method
    [    2.294050] usbcore: registered new interface driver snd-usb-audio
    [    2.300535] ALSA device list:
    [    2.303624]   No soundcards found.
    [    2.307163] oprofile: hardware counters not available
    [    2.312434] oprofile: using timer interrupt.
    [    2.316923] nf_conntrack version 0.5.0 (8011 buckets, 32044 max)
    [    2.323781] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    2.329467] TCP cubic registered
    [    2.332840] NET: Registered protocol family 17
    [    2.337598] Bridge firewalling registered
    [    2.341848] lib80211: common routines for IEEE802.11 drivers
    [    2.347748] lib80211_crypt: registered algorithm 'NULL'
    [    2.347759] lib80211_crypt: registered algorithm 'WEP'
    [    2.347769] lib80211_crypt: registered algorithm 'CCMP'
    [    2.347778] lib80211_crypt: registered algorithm 'TKIP'
    [    2.347790] Registering the dns_resolver key type
    [    2.352752] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    2.360755] ThumbEE CPU extension supported.
    [    2.365269] mux: Failed to setup hwmod io irq -22
    [    2.370843] Power Management for AM33XX family
    [    2.375679] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    2.382367] Copied the M3 firmware to UMEM
    [    2.386652] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
    [    2.404163] clock: disabling unused clocks to save power
    [    2.412122] Detected MACID=68:c9:b:a9:d6:cf
    [    2.418132] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    2.427600] Waiting for root device /dev/mmcblk0p2...
    [    2.450962] usb 1-1.3: New USB device found, idVendor=10c4, idProduct=ea60
    [    2.458141] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.465778] usb 1-1.3: Product: CP2102 USB to UART Bridge Controller
    [    2.472409] usb 1-1.3: Manufacturer: Silicon Labs
    [    2.477308] usb 1-1.3: SerialNumber: 0001
    [    2.483274] cp210x 1-1.3:1.0: cp210x converter detected
    [    2.498504] mmc0: new high speed SDHC card at address 59b4
    [    2.504958] mmcblk0: mmc0:59b4 SS08G 7.40 GiB 
    [    2.511422]  mmcblk0: p1 p2
    [    2.515587] buzzzz - wl12xx_set_power ON status 00 : 1
    [    2.520989] buzzzz - wl12xx_set_power ON status 01
    [    2.596167] usb 1-1.3: reset full-speed USB device number 4 using musb-hdrc
    [    2.633839] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    2.652816] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    2.659432] mmc1: new SDIO card at address 0001
    [    2.664564] buzzzz - wl12xx_set_power ON status 00 : 0
    [    2.669948] buzzzz - wl12xx_set_power ON status 02
    [    2.700695] usb 1-1.3: cp210x converter now attached to ttyUSB1
    [    4.648743] kjournald starting.  Commit interval 5 seconds
    [    4.691462] EXT3-fs (mmcblk0p2): using internal journal
    [    4.696913] EXT3-fs (mmcblk0p2): recovery complete
    [    4.741221] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    4.748452] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    4.755593] Freeing init memory: 608K
    [    6.408858] Disabling lock debugging due to kernel taint
    [    6.415418] buzzzz - wl12xx_set_power ON status 00 : 1
    [    6.420821] buzzzz - wl12xx_set_power ON status 01
    [    9.152257] buzzzz - wl12xx_set_power ON status 00 : 0
    [    9.157626] buzzzz - wl12xx_set_power ON status 02
    [    9.454887] cfg80211: Calling CRDA to update world regulatory domain
    [   10.106656] wl12xx: driver version: ol_R5.SP4.01-2-g1aa2c8e
    [   10.112523] wl12xx: compilation time: Sat Jan 10 12:45:07 2015
    [   10.149855] buzzzz - wl12xx_set_power ON status 00 : 1
    [   10.155267] buzzzz - wl12xx_set_power ON status 01
    [   10.340034] cfg80211: World regulatory domain updated:
    [   10.345457] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   10.354203] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   10.362466] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   10.370728] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   10.378979] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   10.387242] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   10.504409] buzzzz - wl12xx_set_power ON status 00 : 0
    [   10.509805] buzzzz - wl12xx_set_power ON status 02
    [   10.533155] wl12xx: loaded
    [   10.710853]  lun0: unable to open backing file: /dev/mmcblk0p3
    [   10.717039] g_mass_storage musb-hdrc.0: failed to start g_mass_storage: -2
    [   12.845145] PHY 0:00 not found
    [   12.848355] PHY 0:01 not found
    [   22.392991] buzzzz - wl12xx_set_power ON status 00 : 1
    [   22.398367] buzzzz - wl12xx_set_power ON status 01
    [   22.529802] buzzzz - wl12xx_set_power ON status 00 : 0
    [   22.535213] buzzzz - wl12xx_set_power ON status 02
    [   22.675354] buzzzz - wl12xx_set_power ON status 00 : 1
    [   22.680798] buzzzz - wl12xx_set_power ON status 01
    [   22.839371] buzzzz - wl12xx_set_power ON status 00 : 1
    [   22.844746] buzzzz - wl12xx_set_power ON status 01
    [   23.182156] buzzzz - wl12xx_set_power ON status 00 : 0
    [   23.187520] buzzzz - wl12xx_set_power ON status 02
    [   23.202592] wl12xx: loaded
    [   30.348935]  gadget: Mass Storage Function, version: 2009/09/11
    [   30.355207]  gadget: Number of LUNs=1
    [   30.359035]  lun0: LUN: removable file: /dev/mmcblk0p1
    [   30.364439]  gadget: Mass Storage Gadget, version: 2009/09/11
    [   30.370448]  gadget: userspace failed to provide iSerialNumber
    [   30.376542]  gadget: g_mass_storage ready
    [   30.380751] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   30.386326] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [   30.394169] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [   30.401262] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   30.408789] usb usb2: Product: MUSB HDRC host driver
    [   30.413974] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [   30.419524] usb usb2: SerialNumber: musb-hdrc.0
    [   30.425455] hub 2-0:1.0: USB hub found
    [   30.429450] hub 2-0:1.0: 1 port detected
    [   30.542341] msg ft5x0x_i2c_rxdata i2c read error: -121
    [   30.547902] ft5x0x_read_data read_data i2c_rxdata failed: -121
    

  • Are you using DDR3? If so you could be running into a problem others have seen. Back in 3.12 and 3.14 there was some contention between the A8 and the M3 that caused a slowdown. See this post http://e2e.ti.com/support/embedded/linux/f/354/p/401863/1434940#pi317016=3.  Try out my suggestion where I comment out some code. This has been fixed in newer SDKs.

    Steve K.

  • Hi Steve,

    Thanks for your response. I am using DDR2 with 512MB (2*256mb). I am taking am335x evm reference and don't have DDR3.

    I am using Linux 3.12 and in my Linux tree under arch/arm/mach-omap2/cpuidle33xx.c mentioned my ddr2 state as below:

    struct cpuidle_state am33xx_ddr2_states[] = {
    {
    .exit_latency = 72,
    .target_residency = 150,
    .power_usage = 625,
    .flags = CPUIDLE_FLAG_TIME_VALID,
    .enter = am33xx_enter_idle,
    .name = "C0",
    .desc = "WFI",
    },
    {
    .exit_latency = 176,
    .target_residency = 300,
    .power_usage = 562,
    .flags = CPUIDLE_FLAG_TIME_VALID | AM33XX_FLAG_MPU_PLL,
    .enter = am33xx_enter_idle,
    .name = "C1",
    .desc = "Bypass MPU PLL",
    },
    {
    .exit_latency = 390,
    .target_residency = 500,
    .power_usage = 529,
    .flags = CPUIDLE_FLAG_TIME_VALID | AM33XX_FLAG_MPU_PLL |
    AM33XX_FLAG_SELF_REFRESH,
    .enter = am33xx_enter_idle,
    .name = "C1+SR",
    .desc = "Bypass MPU PLL + DDR SR",
    },
    };

    which one one i need to comment for getting more speed. really i am very disappoint for addressing the problem for slowness in my 3.12.

    Please guide me where should i comment?

    Regards,
    Anil
  • I've never seen the issue with DDR2. Let's see if this is the same problem as what we saw with DDR3. When your system slows down, can you go to a console and type in

    devmem2 0x44e00488

    And post the result. If the last few bits are 7, it's not the same problem. If it's 5, it's the same problemSteve K.

  • Hi Steve,

    Please find the results:

    root@am335x-evm:~# devmem2 0x44e00488
    /dev/mem opened.
    Memory mapped at address 0xb6f6c000.
    Read at address 0x44E00488 (0xb6f6c488): 0x00000007

    based on my reults, Please suggest me

    Regards,

    Anil

  • Hi,
    One more thing i am using script for reading from tty port with GPS data and stop the script for 5 sec and reading the values and display in the forma of polar plot and tables (%) level are showing in my application. when i am going in this it is hang my system. the same logic i have worked in my 3.2 it is working. i amusing there are also OMAP serial port driver. what could be the reason. is there any graphics related stuff need to compile my apps with openGles.

    the slowness is coming when i read the data from UART continuously it is giving system slow

    help me how to solve my issue.
    regards,
    Anil
  • Hi,

    I am using USB to serial port which is /dev/ttyUSB0 port. Is there any issues over usb to serial.

    Thanks,

    Anil