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.

Linux/PROCESSOR-SDK-AM437X: Touchscreen doesn't work on GP EVM

Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: AM4372, ADS7846, TSC2046, TPS65218

Tool/software: Linux

Hi,

I download SDK ti-processor-sdk-linux-am437x-evm-05.01.00.11-Linux-x86-Install.bin and update  old SDK  tl-processor-sdk-linux-am437-evm-01.00.00.03, in my am437x-gp-evm board,  then the Touch screen cann't work. I did following:

1)modifed the dts file, added follow lines (from the old dts file)in the dts file:

    spi2_pins: spi2_pins {           /*4 wire touch screen driver chip */
        pinctrl-single,pins = <
            AM4372_IOPAD(0xa60, INPUT_EN | MUX_MODE0)  /* mcspi2_sclk mode 0*/
            AM4372_IOPAD(0xa64, INPUT_EN | MUX_MODE0)  /* 268 mcspi2_d0 mode 0*/
            AM4372_IOPAD(0xa68, INPUT_EN | MUX_MODE0)  /* 264 mcspi2_d1 mode 0*/
            AM4372_IOPAD(0xa6c, PIN_OUTPUT_PULLUP | MUX_MODE0)  /* mcspi2_cs0 mode 0*/
        >;
    };

    ads7846_pins: ads7846_pins {
        pinctrl-single,pins = <
            AM4372_IOPAD(0xa5c, PIN_INPUT_PULLUP | MUX_MODE7)  /* spi4_cs0..gpio5_7 */
        >;
    };
    edt_ft5x06_pins: edt_ft5x06_pins {
        pinctrl-single,pins = <
            AM4372_IOPAD(0xa78, PIN_INPUT_PULLUP | MUX_MODE7)  /* H20:clkreq..gpio0_24 */
        >;
    };
&spi2 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&spi2_pins>;

    ads7846@0 {
        pinctrl-names = "default";
        pinctrl-0 = <&ads7846_pins>;

        compatible = "ti,ads7846";
        vcc-supply = <&ads7846reg>;

        reg = <0>;            /* CS0 */
        spi-max-frequency = <1500000>;

        interrupt-parent = <&gpio5>;
        interrupts = <7 0>;        /* gpio5_7 */
        pendown-gpio = <&gpio5 7 0>;

        ti,x-min = /bits/ 16 <0x0>;
        ti,x-max = /bits/ 16 <0x0fff>;
        ti,y-min = /bits/ 16 <0x0>;
        ti,y-max = /bits/ 16 <0x0fff>;

        ti,x-plate-ohms = /bits/ 16 <180>;
        ti,pressure-max = /bits/ 16 <255>;

        ti,debounce-max = /bits/ 16 <10>;
        ti,debounce-tol = /bits/ 16 <30>;
        ti,debounce-rep = /bits/ 16 <1>;

        ti,settle-delay-usec = /bits/ 16 <150>;
        ti,keep-vref-on = <1>;

        linux,wakeup;
    };
};

2)configed kernel: Device Driver->Input device support->Touchscreens->    <M>ADS7846/TSC2046/AD7837 and AD(s)7843 based touchscreens

<*>EDT FocalTech FT5x06 I2C Touchscreen support 

<M> TI Touchscreen Interface

3)save the config and compile the kernel to get zImage and modules

4)put the modules to filesystem

When update the system and reboot, the Touchscreen cann't work yet. when lsmod, there is no ads7846 in the list.

I attachment my dts file here.

Bests Regards,

7484.am437x-gp-evm.rar

  • Did you make modifications to your hardware? If you did not modify the hardware, why are you modifying the dts file of the updated software?

    Regards,
    Nick
  • Hi Nick,

    I don't modifify hardware. the  new SDK( version 05.01.00.11) DTS file only support capactive touch screen which is I2C controlled, Our hardware is from old SDK which support resistence touch screen  which is controlled by spi2 conection(ADS7846). So I want to modified the DTS according to the old DTS to support the resistence touch screen.

    Bests Regards,

  • Hi Nick,
    I have resolved this issue, There are errors in the DTS file. Thank you for your response!
  • Part Number: PROCESSOR-SDK-AM437X

    Tool/software: Linux

    Hi,

    Our am437x board support touchscreen with ads7846 module, now I update my system from SDK-01-00-00-03 to  SDK-05.01.00.11.  the new SDK's DTS file only support capactive touch, so I modified the DTS file and  configed kernel driver to support ads7846 module, add following  node in DTS file:

        spi2_pins: spi2_pins {           /*4 wire touch screen driver chip */
            pinctrl-single,pins = <
                AM4372_IOPAD(0xa60, INPUT_EN | MUX_MODE0)  /* mcspi2_sclk mode 0*/
                AM4372_IOPAD(0xa64, INPUT_EN | MUX_MODE0)  /* 268 mcspi2_d0 mode 0*/
                AM4372_IOPAD(0xa68, INPUT_EN | MUX_MODE0)  /* 264 mcspi2_d1 mode 0*/
                AM4372_IOPAD(0xa6c, PIN_OUTPUT_PULLUP | MUX_MODE0)  /* mcspi2_cs0 mode 0*/
            >;
        };

        ads7846_pins: ads7846_pins {
            pinctrl-single,pins = <
                AM4372_IOPAD(0xa5c, PIN_INPUT_PULLUP | MUX_MODE7)  /* spi4_cs0..gpio5_7 */
            >;
        };
        edt_ft5x06_pins: edt_ft5x06_pins {
            pinctrl-single,pins = <
                AM4372_IOPAD(0xa78, PIN_INPUT_PULLUP | MUX_MODE7)  /* H20:clkreq..gpio0_24 */
            >;
        };
    &spi2 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&spi2_pins>;

        ads7846@0 {
            pinctrl-names = "default";
            pinctrl-0 = <&ads7846_pins>;

            compatible = "ti,ads7846";
            vcc-supply = <&ads7846reg>;

            reg = <0>;            /* CS0 */
            spi-max-frequency = <1500000>;

            interrupt-parent = <&gpio5>;
            interrupts = <7 0>;        /* gpio5_7 */
            pendown-gpio = <&gpio5 7 0>;

            ti,x-min = /bits/ 16 <0x0>;
            ti,x-max = /bits/ 16 <0x0fff>;
            ti,y-min = /bits/ 16 <0x0>;
            ti,y-max = /bits/ 16 <0x0fff>;

            ti,x-plate-ohms = /bits/ 16 <180>;
            ti,pressure-max = /bits/ 16 <255>;

            ti,debounce-max = /bits/ 16 <10>;
            ti,debounce-tol = /bits/ 16 <30>;
            ti,debounce-rep = /bits/ 16 <1>;

            ti,settle-delay-usec = /bits/ 16 <150>;
            ti,keep-vref-on = <1>;

            linux,wakeup;
        };
    };

    I update DTB , zImage and filesystem  files, when  system up, I can find in /dev:

    root@am437x-evm:/dev/input# ls
    by-path       event0        event1        touchscreen0

    the modules loaded:

    root@am437x-evm:/dev/input# lsmod
    Module                  Size  Used by
    xhci_plat_hcd          16384  0
    xhci_hcd              122880  1 xhci_plat_hcd
    usbcore               204800  2 xhci_plat_hcd,xhci_hcd
    pru_rproc              20480  0
    pruss_intc             16384  1 pru_rproc
    pruss                  16384  1 pru_rproc
    dwc3                   73728  0
    udc_core               28672  1 dwc3
    usb_common             16384  3 udc_core,usbcore,dwc3
    ti_am335x_adc          16384  0
    ti_am335x_tsc          16384  0
    snd_soc_simple_card    16384  0
    snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
    bc_example             16384  0
    pm33xx                 16384  0
    pvrsrvkm              413696  1 bc_example
    omap_des               20480  0
    omap_aes_driver        24576  0
    des_generic            28672  1 omap_des
    omap_sham              28672  0
    crypto_engine          16384  2 omap_des,omap_aes_driver
    omap_crypto            16384  2 omap_des,omap_aes_driver
    pruss_soc_bus          16384  0
    ti_emif_sram           16384  1 pm33xx
    ads7846                20480  0
    dwc3_omap              16384  0
    snd_soc_tlv320aic3x    57344  1
    wkup_m3_ipc            16384  1 pm33xx
    wkup_m3_rproc          16384  1
    rtc_omap               20480  2
    ti_am335x_tscadc       16384  2 ti_am335x_adc,ti_am335x_tsc
    remoteproc             40960  3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
    omap_wdt               16384  0
    sch_fq_codel           20480  3
    cryptodev              45056  0

    but the TS is not responsed to input when ts-calibrate.

    I cat /dev/input/touchscreen0, there is no changing.

    I check the console log, there are something wrong:

    root@am437x-evm:/dev/input# dmesg | grep 7846  

    [    0.174812] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ads7846-reg[0]'
    [    3.655424] ads7846-reg: disabling
    [   11.568338] ads7846 spi1.0: not using DMA for McSPI (-19)
    [   11.568587] of_get_named_gpiod_flags: parsed 'pendown-gpio' property of node '/ocp@44000000/spi@481a2000/ads7846@0[0]' - status (0)
    [   11.580604] ads7846 spi1.0: touchscreen, irq 97
    [   11.591868] input: ADS7846 Touchscreen as /devices/platform/44000000.ocp/481a2000.spi/spi_master/spi1/spi1.0/input/input0
    root@am437x-evm:/dev/input#

    What is wrong? I attachment my dts file here.

    Best Regards,

    7455.am437x-gp-evm.rar

  • Maybe it would be useful to see the difference in console output between SDK 1.0 and SDK 5.1 so we can see what a "good" boot looks like compared to a "bad" boot? (with the understanding that there are huge differences between those Linux versions). If possible, a full boot log is preferred.

    I do not have that touchscreen hardware on my side, so I will not be able to run tests.

    Regards,
    Nick
  • Hi Nick,

    I attachment the 'bad' and 'good' boot console output here. I also attachment the old SDK' DTS file.

    Best Regards,

    am437x-gp-evm(SDK1.0).rar

    SDK1.0(good).log
    U-Boot SPL 2018.01-00444-ge782a78ca9-dirty (Feb 16 2019 - 10:11:27)
    Trying to boot from NAND
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    
    
    U-Boot 2018.01-00444-ge782a78ca9-dirty (Feb 16 2019 - 10:11:27 +0800)
    
    CPU  : AM437X-GP rev 1.2
    Model: TI AM437x GP EVM
    DRAM:  1 GiB
    PMIC:  TPS65218
    NAND:  512 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - bad CRC, using default environment
    
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4593000 bytes read in 243 ms (18 MiB/s)
    50704 bytes read in 15 ms (3.2 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff0000, end 8ffff60f ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.14.43-g064c28b (root@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #14 Wed Jul 18 11:01:50 CST 2018
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM437x GP EVM
    [    0.000000] cma: CMA: reserved 24 MiB at ae000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260112
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00af1348-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1003400K/1046528K available (6231K kernel code, 313K rwdata, 2244K rodata, 269K init, 233K bss, 43128K reserved, 268288K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc084f0c4   (8477 kB)
    [    0.000000]       .init : 0xc0850000 - 0xc0893654   ( 270 kB)
    [    0.000000]       .data : 0xc0894000 - 0xc08e2500   ( 314 kB)
    [    0.000000]        .bss : 0xc08e2500 - 0xc091cbd0   ( 234 kB)
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] GIC CPU mask not found - kernel will fail to boot.
    [    0.000000] GIC CPU mask not found - kernel will fail to boot.
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [    0.000046] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000284] Console: colour dummy device 80x30
    [    0.000318] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000326] This ensures that you still see kernel messages. Please
    [    0.000331] update your kernel commandline.
    [    0.000364] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.059105] pid_max: default: 32768 minimum: 301
    [    0.059238] Security Framework initialized
    [    0.059305] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059323] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.065927] CPU: Testing write buffer coherency: ok
    [    0.066359] Setting up static identity map for 0x8061c260 - 0x8061c2b8
    [    0.066473] L310 cache controller enabled
    [    0.066492] l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x7e030000, Cache size: 256 kB
    [    0.067221] devtmpfs: initialized
    [    0.069541] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.077188] omap_hwmod: tptc0 using broken dt data from edma
    [    0.077257] omap_hwmod: tptc1 using broken dt data from edma
    [    0.077317] omap_hwmod: tptc2 using broken dt data from edma
    [    0.137984] omap_hwmod: dss_dispc: cannot be enabled for reset (3)
    [    0.141347] omap_hwmod: dss_rfbi: cannot be enabled for reset (3)
    [    0.141948] pinctrl core: initialized pinctrl subsystem
    [    0.142794] regulator-dummy: no parameters
    [    0.144486] NET: Registered protocol family 16
    [    0.145833] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.147790] cpuidle: using governor ladder
    [    0.147799] cpuidle: using governor menu
    [    0.153177] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107f3] registered
    [    0.154488] platform 49000000.edma: alias fck already exists
    [    0.154509] platform 49000000.edma: alias fck already exists
    [    0.154519] platform 49000000.edma: alias fck already exists
    [    0.157309] OMAP GPIO hardware version 0.1
    [    0.168330] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nand_flash_x8_default, deferring probe
    [    0.168356] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
    [    0.174317] No ATAGs?
    [    0.174340] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.174349] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.196415] bio: create slab <bio-0> at 0
    [    0.209582] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.210584] evm_v3_3d: 3300 mV 
    [    0.211067] vmmcwl_fixed: 1800 mV 
    [    0.211440] ads7846-reg: 3300 mV 
    [    0.214711] vgaarb: loaded
    [    0.215147] i2c-core: driver [palmas] using legacy suspend method
    [    0.215155] i2c-core: driver [palmas] using legacy resume method
    [    0.215731] SCSI subsystem initialized
    [    0.216958] usbcore: registered new interface driver usbfs
    [    0.217108] usbcore: registered new interface driver hub
    [    0.217277] usbcore: registered new device driver usb
    [    0.218187] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/i2c0_pins, deferring probe
    [    0.218209] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.218232] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/i2c1_pins_default, deferring probe
    [    0.218243] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
    [    0.218275] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/i2c2_pins, deferring probe
    [    0.218285] platform 4819c000.i2c: Driver omap_i2c requests probe deferral
    [    0.218672] pps_core: LinuxPPS API ver. 1 registered
    [    0.218681] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.218792] PTP clock support registered
    [    0.220408] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.221404] Advanced Linux Sound Architecture Driver Initialized.
    [    0.222694] cfg80211: Calling CRDA to update world regulatory domain
    [    0.223451] Switched to clocksource timer1
    [    0.238982] NET: Registered protocol family 2
    [    0.239633] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.239706] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.239770] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.239903] TCP: reno registered
    [    0.239914] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.239934] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.240092] NET: Registered protocol family 1
    [    0.240425] RPC: Registered named UNIX socket transport module.
    [    0.240436] RPC: Registered udp transport module.
    [    0.240441] RPC: Registered tcp transport module.
    [    0.240445] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.243529] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.357675] bounce pool size: 64 pages
    [    0.357845] VFS: Disk quotas dquot_6.5.2
    [    0.357890] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.358276] NFS: Registering the id_resolver key type
    [    0.358335] Key type id_resolver registered
    [    0.358341] Key type id_legacy registered
    [    0.358371] jffs2: version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
    [    0.358491] msgmni has been set to 1483
    [    0.359658] NET: Registered protocol family 38
    [    0.359690] io scheduler noop registered
    [    0.359696] io scheduler deadline registered
    [    0.359719] io scheduler cfq registered (default)
    [    0.363425] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.367352] backlight supply power not found, using dummy regulator
    [    0.369016] OMAP DSS rev 2.0
    [    0.374803] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.378547] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.379079] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 104, base_baud = 3000000) is a 8250
    [    1.106655] console [ttyS0] enabled
    [    1.110642] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [    1.119207] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 76, base_baud = 3000000) is a 8250
    [    1.128444] omap8250 481a8000.serial: No clock speed specified: using default: 48000000
    [    1.136981] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 77, base_baud = 3000000) is a 8250
    [    1.147598] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.154726] [drm] Initialized drm 1.1.0 20060810
    [    1.167682] brd: module loaded
    [    1.175225] loop: module loaded
    [    1.178664] (stk) :sysfs entries created
    [    1.182627] (stk) : debugfs entries created 
    [    1.187053] (hci_tty): inside hci_tty_init
    [    1.191751] (hci_tty): allocated 250, 0
    [    1.200661] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.212412] PPP generic driver version 2.4.2
    [    1.217402] usbcore: registered new interface driver asix
    [    1.223022] usbcore: registered new interface driver ax88179_178a
    [    1.229310] usbcore: registered new interface driver cdc_ether
    [    1.235348] usbcore: registered new interface driver smsc95xx
    [    1.241272] usbcore: registered new interface driver net1080
    [    1.247092] usbcore: registered new interface driver cdc_subset
    [    1.253181] usbcore: registered new interface driver zaurus
    [    1.258948] usbcore: registered new interface driver cdc_ncm
    [    1.265119] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.271679] ehci-pci: EHCI PCI platform driver
    [    1.276356] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.282164] usbcore: registered new interface driver cdc_wdm
    [    1.288064] usbcore: registered new interface driver usb-storage
    [    1.294478] usbcore: registered new interface driver usbserial
    [    1.300489] usbcore: registered new interface driver usbserial_generic
    [    1.307180] usbserial: USB Serial support registered for generic
    [    1.313362] usbcore: registered new interface driver option
    [    1.319076] usbserial: USB Serial support registered for GSM modem (1-port)
    [    1.327236] mousedev: PS/2 mouse device common for all mice
    [    1.334419] input: ti-tsc as /devices/44000000.ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [    1.344525] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [    1.351001] i2c-core: driver [rtc-ds1307] using legacy resume method
    [    1.358097] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [    1.366232] i2c /dev entries driver
    [    1.369885] Driver for 1-wire Dallas network protocol.
    [    1.377466] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.429638] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.436185] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [    1.446054] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [    1.453060] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [    1.460524] usbcore: registered new interface driver usbhid
    [    1.466165] usbhid: USB HID core driver
    [    1.470288] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [    1.480548] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    1.488590] oprofile: no performance counters
    [    1.493316] oprofile: using timer interrupt.
    [    1.497950] TCP: cubic registered
    [    1.501297] Initializing XFRM netlink socket
    [    1.505636] NET: Registered protocol family 17
    [    1.510144] NET: Registered protocol family 15
    [    1.514733] Key type dns_resolver registered
    [    1.519727] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    1.528511] cpu cpu0: cpu0 clock notifier not ready, retry
    [    1.534069] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    1.542278] PM: bootloader does not support rtc-only!
    [    1.547428] ThumbEE CPU extension supported.
    [    1.551736] Registering SWP/SWPB emulation handler
    [    1.558290] ads7846-reg: disabling
    [    1.561874] vmmcwl_fixed: disabling
    [    1.565458] regulator-dummy: disabling
    [    1.570811] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.577386] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    1.586734] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.593417] [drm] No driver support for vblank timestamp query.
    [    1.599533] mmc0: new high speed SDHC card at address aaaa
    [    1.609628] mmcblk0: mmc0:aaaa SS08G 7.40 GiB 
    [    1.620053]  mmcblk0: p1 p2
    [    1.657716] Console: switching to colour frame buffer device 100x30
    [    1.670990] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.676945] omapdrm omapdrm.0: registered panic notifier
    [    1.682295] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    1.688515] Error: Driver 'tfp410' is already registered, aborting...
    [    1.696390] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.701561] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.708658] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
    [    1.715097] nand: AMD/Spansion S34ML04G2
    [    1.719037] nand: 512MiB, SLC, page size: 2048, OOB size: 128
    [    1.724816] using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    1.729923] 10 ofpart partitions found on MTD device omap2-nand.0
    [    1.736079] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.741505] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    1.748244] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    1.755542] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    1.762751] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    1.770065] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [    1.777766] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    1.785234] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [    1.792324] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    1.800234] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [    1.812594] 0x000000a00000-0x000020000000 : "NAND.file-system"
    [    2.233779] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24
    [    2.242904] vdd_core: 920 <--> 1140 mV at 1100 mV 
    [    2.248313] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24
    [    2.256937] vdd_mpu: 920 <--> 1375 mV at 1330 mV 
    [    2.261787] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24
    [    2.272119] vdcdc3: 1500 mV 
    [    2.275140] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24
    [    2.284357] v1_0bat: 1000 mV 
    [    2.287854] tps65218 0-0024: 44e0b000.i2c:tps65218@24:regulator-dcdc5 regulator can used OFF (freshness seal is broken)
    [    2.298746] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24
    [    2.307517] v1_8bat: 1800 mV 
    [    2.310579] tps65218 0-0024: 44e0b000.i2c:tps65218@24:regulator-dcdc6 regulator can used OFF (freshness seal is broken)
    [    2.321475] prom_parse: Bad cell count for /ocp/i2c@44e0b000/tps65218@24
    [    2.330492] LDO1: 1800 mV 
    [    2.334239] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    2.342379] edt_ft5x06 1-0038: touchscreen probe failed
    [    2.347696] edt_ft5x06: probe of 1-0038 failed with error -121
    [    2.353594] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    2.360598] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
    [    2.366869]  remoteproc0: wkup_m3 is available
    [    2.371338]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    2.380367]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    2.390873]  remoteproc0: Direct firmware load failed with error -2
    [    2.397188]  remoteproc0: Falling back to user helper
    [    2.402836] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.410321] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    2.421389] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.493499] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    2.499632] davinci_mdio 4a101000.mdio: detected phy mask ffffffce
    [    2.507437] libphy: 4a101000.mdio: probed
    [    2.511476] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [    2.519549] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver unknown
    [    2.527598] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver unknown
    [    2.536208] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.544189] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    2.550670] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
    [    2.557487] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    2.563971] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [    2.570702] cpsw 4a100000.ethernet: Detected MACID = 7c:38:66:21:be:7e
    [    2.577687] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.585915] cpsw 4a100000.ethernet: cpsw: Detected MACID = 7c:38:66:21:c8:00
    [    2.594244] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.602830] input: user_keys@0 as /devices/user_keys@0/input/input2
    [    2.610133] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    2.617762] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
    [    2.629132] ALSA device list:
    [    2.632133]   No soundcards found.
    [    3.563079] EXT4-fs (mmcblk0p2): recovery complete
    [    3.569585] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.577799] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.587746] devtmpfs: mounted
    [    3.591215] Freeing unused kernel memory: 268K (c0850000 - c0893000)
    INIT: version 2.88 booting
    Starting udev
    [    4.277540] udevd[998]: starting version 182
    [    4.760513] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    4.879108] cryptodev: driver 1.6 loaded.
    [    4.924728] CAN device driver interface
    [    4.991304] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=84)
    [    5.062275] media: Linux media interface: v0.10
    [    5.154222] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    5.169146] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=81)
    [    5.225768]  remoteproc0: powering up wkup_m3
    [    5.230824]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154408
    [    5.257115] Linux video capture interface: v2.00
    [    5.274730] platform sound@0: Driver asoc-simple-card requests probe deferral
    [    5.366660] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [    5.411536] PM: CM3 Firmware Version = 0x190
    [    5.422939] at24 2-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
    [    5.468894] ads7846 spi1.0: touchscreen, irq 423
    [    5.478373] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [    5.553973]  remoteproc0: remote processor wkup_m3 is now up
    [    5.571496] input: ADS7846 Touchscreen as /devices/44000000.ocp/481a2000.spi/spi_master/spi1/spi1.0/input/input3
    Starting Bootlog daemon: [    5.811680] ov2659 0-0030: ov2659_probe: debug: 0
    [    5.910027] ov2659 0-0030: Sensor detection failed (3030, 0)
    [    5.946410] ov2659 1-0030: ov2659_probe: debug: 0
    [    6.017804] Bluetooth: Core ver 2.18
    [    6.021494] NET: Registered protocol family 31
    [    6.026069] Bluetooth: HCI device and connection manager initialized
    [    6.034819] ov2659 1-0030: Sensor detection failed (3030, 0)
    bootlogd: cannot allocate pseudo tty: No such file or directory
    bootlogd.
    [    6.172274] Bluetooth: HCI socket layer initialized
    [    6.206812] Bluetooth: L2CAP socket layer initialized
    [    6.272821] Bluetooth: SCO socket layer initialized
    [    6.309150] random: dd urandom read with 101 bits of entropy available
    [    6.348383] (stc):  chnl_id list empty :4 
    [    6.352327] (stk) : st_kim_start(stk) :ldisc_install = 1
    [    7.453539] (stk) :ldisc installation timeout(stk) :ldisc_install = 0
    [    7.782058] random: nonblocking pool is initialized
    
    udevadm settle - timeout of 3 seconds reached, the event queue contains:
      /sys/devices/44000000.ocp/48060000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p1 (934)
      /sys/devices/44000000.ocp/48060000.mmc/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p2 (935)
      /sys/devices/virtual/mtd/mtd4/mtdblock4 (1180)
      /sys/devices/virtual/mtd/mtd5/mtdblock5 (1183)
      /sys/devices/virtual/mtd/mtd6/mtdblock6 (1186)
      /sys/devices/virtual/mtd/mtd7/mtdblock7 (1189)
      /sys/devices/virtual/mtd/mtd8/mtdblock8 (1192)
      /sys/devices/virtual/mtd/mtd9/mtdblock9 (1195)
      /sys/devices/44000000.ocp/481cc000.can/net/can0 (1210)
      /sys/devices/44000000.ocp/481cc000.can/net/can0/queues/tx-0 (1211)
      /sys/devices/44000000.ocp/48380000.omap_dwc3/48390000.usb (1215)
      /sys/devices/44000000.ocp/483c0000.omap_dwc3/483d0000.usb (1216)
      /sys/devices/44000000.ocp/481d0000.can/net/can1 (1218)
      /sys/devices/44000000.ocp/481d0000.can/net/can1/queues/tx-0 (1219)
      /sys/devices/sound@0/sound/card0/controlC0 (1243)
      /sys/class/bluetooth (1261)
      /sys/module/btwilink (1263)
    [    8.453539] (stk) : timed out waiting for ldisc to be un-installed
    [    8.566377] (stk) :ldisc_install = 1[    8.728834] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    9.815387] (stk) :ldisc installation timeout
    [    9.819603] (stk) :ldisc_install = 0[    9.942214] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
    [    9.949721] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
    [    9.956692] dwc3 48390000.usb: otg: can't start till gadget registers
    ALSA: Restoring mixer settings...
    [    9.975831] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    9.987993] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   10.015572] xhci-hcd xhci-hcd.1.auto: irq 206, io mem 0x483d0000
    No state is present for card AM437xGPEVM
    Found hardware: "AM437x-GP-EVM" "" "" "" ""
    Hardware is initialized using a generic method
    [   10.039681] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    No state is present for card AM437xGPEVM
    [   10.047123] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.058014] usb usb1: Product: xHCI Host Controller
    [   10.062912] usb usb1: Manufacturer: Linux 3.14.43-g064c28b xhci-hcd
    [   10.069213] usb usb1: SerialNumber: xhci-hcd.1.auto
    [   10.079373] hub 1-0:1.0: USB hub found
    [   10.083190] hub 1-0:1.0: 1 port detected
    [   10.087505] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   10.093416] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   10.101412] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [   10.108279] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   10.115555] usb usb2: Product: xHCI Host Controller
    [   10.120453] usb usb2: Manufacturer: Linux 3.14.43-g064c28b xhci-hcd
    [   10.126759] usb usb2: SerialNumber: xhci-hcd.1.auto
    [   10.142409] hub 2-0:1.0: USB hub found
    [   10.146285] hub 2-0:1.0: 1 port detected
    Tue Sep 15 08:35:00 UTC 2015
    INIT: Entering runlevel: 5
    Configuring network interfaces... [   10.448372] net eth0: initializing cpsw version 1.15 (0)
    [   10.533965] net eth0: phy found : id is : 0x1cc916
    udhcpc (v1.22.1) started
    Sending discover...
    [   10.813485] (stk) : timed out waiting for ldisc to be un-installed
    [   10.926304] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   11.926406] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   13.035129] (stk) :ldisc_install = 1Sending discover...
    (stk) :ldisc installation timeout
    [   14.036461] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   15.145143] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   16.146419] (stk) :ldisc_install = 0Sending discover...
    (stk) : timed out waiting for ldisc to be un-installed
    [   17.255160] (stk) :ldisc_install = 1(stk) :ldisc installation timeout
    [   18.256398] (stk) :ldisc_install = 0(stk) : timed out waiting for ldisc to be un-installed
    [   19.260242] Bluetooth: st_register failed -22
    No lease, forking to background
    done.
    Starting system message bus: dbus.
    UIM SYSFS Node Found at /sys/./devices/kim/install
    Starting uim-sysfs daemon.
    Starting Dropbear SSH server: uim:@ main
    uim:install = /sys/./devices/kim/install
    uim:dev_name = /sys/./devices/kim/dev_name
    uim:baud_rate = /sys/./devices/kim/baud_rate
    uim:flow_cntrl = /sys/./devices/kim/flow_cntrl
    uim:begin polling...
    dropbear.
    Starting telnet daemon.
    Starting rpcbind daemon...rpcbind: cannot create socket for udp6
    rpcbind: cannot create socket for tcp6
    done.
    creating NFS state directory: done
    starting statd: done
    Starting syslogd/klogd: done
    Starting thttpd.
    ioctl FBIOPUT_VSCREENINFO: Invalid argument
    Starting PVR
    Starting Lighttpd Web Server: lighttpd.
    2015-09-15 08:35:11: (/home/teddy/tl437x/openembedded/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa9t2hf-vfp-neon-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started 
    /
    Starting Matrix GUI application.
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    [   22.534350] libphy: 4a101000.mdio:04 - Link is Up - 100/Full
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            autoconf
            binutils
            cpp-symlinks
            cpp
            g++-symlinks
            g++
            gcc-symlinks
            gcc
            gdbserver
            gstreamer1.0-libav
            libgmp10
            libmpc3
            libmpfr4
            make
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org AM437x-Tronlong ttyO0
    
    Arago 2015.05 AM437x-Tronlong ttyO0
    
    AM437x-Tronlong login: root (automatic login)
    
    SDK5.1(bad).log
    t/input0
    U-Boot SPL 2018.01-00444-ge782a78ca9-dirty (Feb 16 2019 - 10:11:27)
    Trying to boot from NAND
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    
    
    U-Boot 2018.01-00444-ge782a78ca9-dirty (Feb 16 2019 - 10:11:27 +0800)
    
    CPU  : AM437X-GP rev 1.2
    Model: TI AM437x GP EVM
    DRAM:  1 GiB
    PMIC:  TPS65218
    NAND:  512 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - bad CRC, using default environment
    
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0 
    MMC: no card present
    MMC: no card present
    MMC: no card present
    MMC: no card present
    starting USB...
    USB0:   Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    
    Device 0: device type unknown
    ... is now current device
    MMC: no card present
    ** Bad device mmc 0 **
    ** Bad device usb 0 **
    Booting from nand ...
    
    NAND read: device 0 offset 0x100000, size 0x80000
     524288 bytes read: OK
    
    NAND read: device 0 offset 0x300000, size 0x700000
     7340032 bytes read: OK
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff0000, end 8ffff6d5 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.67-gd315a9bb00 (root@cr) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Thu May 9 16:02:57 CST 2019
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM437x GP EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 976240K/1048576K available (8192K kernel code, 328K rwdata, 2492K rodata, 1024K init, 276K bss, 23184K reserved, 49152K cma-reserved, 212992K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d52390   ( 329 kB)
    [    0.000000]        .bss : 0xc0d52390 - 0xc0d975fc   ( 277 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000028] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000036] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000410] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000419] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000795] Console: colour dummy device 80x30
    [    0.000823] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000828] This ensures that you still see kernel messages. Please
    [    0.000833] update your kernel commandline.
    [    0.000858] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.060147] pid_max: default: 32768 minimum: 301
    [    0.060314] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060336] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.061004] CPU: Testing write buffer coherency: ok
    [    0.061736] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.061878] Hierarchical SRCU implementation.
    [    0.062195] EFI services will not be available.
    [    0.063028] devtmpfs: initialized
    [    0.071230] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.071628] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.071897] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.071917] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.075161] pinctrl core: initialized pinctrl subsystem
    [    0.075837] DMI not present or invalid.
    [    0.076215] NET: Registered protocol family 16
    [    0.077786] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.147584] cpuidle: using governor ladder
    [    0.147621] cpuidle: using governor menu
    [    0.153098] OMAP GPIO hardware version 0.1
    [    0.158659] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/nand_flash_x8, deferring probe
    [    0.161722] No ATAGs?
    [    0.161747] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.161761] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.173371] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.177153] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
    [    0.177213] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferring probe
    [    0.177322] media: Linux media interface: v0.10
    [    0.177357] Linux video capture interface: v2.00
    [    0.177454] pps_core: LinuxPPS API ver. 1 registered
    [    0.177461] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.177481] PTP clock support registered
    [    0.177511] EDAC MC: Ver: 3.0.0
    [    0.177937] dmi: Firmware registration failed.
    [    0.178254] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.178610] Advanced Linux Sound Architecture Driver Initialized.
    [    0.179607] clocksource: Switched to clocksource timer1
    [    0.186666] NET: Registered protocol family 2
    [    0.187264] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.187330] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.187404] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.187566] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.187588] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.187742] NET: Registered protocol family 1
    [    0.188140] RPC: Registered named UNIX socket transport module.
    [    0.188153] RPC: Registered udp transport module.
    [    0.188158] RPC: Registered tcp transport module.
    [    0.188163] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.190192] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.193572] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.194216] NFS: Registering the id_resolver key type
    [    0.194251] Key type id_resolver registered
    [    0.194258] Key type id_legacy registered
    [    0.194294] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.196185] bounce: pool size: 64 pages
    [    0.196269] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.196281] io scheduler noop registered
    [    0.196287] io scheduler deadline registered
    [    0.196471] io scheduler cfq registered (default)
    [    0.196481] io scheduler mq-deadline registered
    [    0.196487] io scheduler kyber registered
    [    0.199296] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.202148] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.243171] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.245321] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.245916] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.945767] console [ttyS0] enabled
    [    0.951046] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    0.958312] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [    0.967749] DSS: OMAP DSS rev 2.0
    [    0.971902] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    0.980966] panel-dpi display: display supply vcc not found, using dummy regulator
    [    1.000426] brd: module loaded
    [    1.011619] loop: module loaded
    [    1.016953] spi spi1.0: not using DMA for McSPI (-19)
    [    1.023155] libphy: Fixed MDIO Bus: probed
    [    1.099668] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.107367] davinci_mdio 4a101000.mdio: detected phy mask ffffffce
    [    1.116210] libphy: 4a101000.mdio: probed
    [    1.120343] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver RTL8211F Gigabit Ethernet
    [    1.129992] davinci_mdio 4a101000.mdio: phy[4]: device 4a101000.mdio:04, driver RTL8211F Gigabit Ethernet
    [    1.139691] davinci_mdio 4a101000.mdio: phy[5]: device 4a101000.mdio:05, driver RTL8211F Gigabit Ethernet
    [    1.150199] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    1.156679] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
    [    1.163538] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
    [    1.170031] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
    [    1.176763] cpsw 4a100000.ethernet: Detected MACID = 7c:38:66:21:be:7e
    [    1.183408] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.189809] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.195089] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.202953] cpsw 4a100000.ethernet: cpsw: Detected MACID = 7c:38:66:21:c8:00
    [    1.211187] i2c /dev entries driver
    [    1.215105] IR NEC protocol handler initialized
    [    1.219839] IR RC5(x/sz) protocol handler initialized
    [    1.224915] IR RC6 protocol handler initialized
    [    1.229462] IR JVC protocol handler initialized
    [    1.234028] IR Sony protocol handler initialized
    [    1.238661] IR SANYO protocol handler initialized
    [    1.243392] IR Sharp protocol handler initialized
    [    1.248113] IR MCE Keyboard/mouse protocol handler initialized
    [    1.253977] IR XMP protocol handler initialized
    [    1.260071] cpuidle: enable-method property 'ti,am4372' found operations
    [    1.267162] sdhci: Secure Digital Host Controller Interface driver
    [    1.273413] sdhci: Copyright(c) Pierre Ossman
    [    1.278090] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.284323] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.293561] NET: Registered protocol family 10
    [    1.299256] Segment Routing with IPv6
    [    1.303114] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.309720] NET: Registered protocol family 17
    [    1.314461] Key type dns_resolver registered
    [    1.318944] omap_voltage_late_init: Voltage driver support not added
    [    1.331508] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.338353] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.345105] [drm] No driver support for vblank timestamp query.
    [    1.425415] Console: switching to colour frame buffer device 128x48
    [    1.449852] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.456463] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [    1.464211] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.469382] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.477181] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
    [    1.483676] nand: AMD/Spansion S34ML04G2
    [    1.487620] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
    [    1.495438] using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    1.500443] 10 ofpart partitions found on MTD device omap2-nand.0
    [    1.506562] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.512030] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    1.518228] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    1.525020] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    1.531818] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    1.538499] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [    1.545611] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    1.552307] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [    1.558865] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    1.566246] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [    1.576245] 0x000000a00000-0x000020000000 : "NAND.file-system"
    [    1.855583] omap-gpmc 50000000.gpmc: invalid wait-pin: 1
    [    1.860992] omap-gpmc 50000000.gpmc: failed to probe DT child 'fpga2': -16
    [    1.889650] NOHZ: local_softirq_pending 02
    [    1.909933] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.916865] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.924023] ubi0: attaching mtd9
    [    1.948116] random: fast init done
    [    3.553236] ubi0: scanning is finished
    [    3.569168] ubi0: attached mtd9 (name "NAND.file-system", size 502 MiB)
    [    3.576196] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [    3.583218] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    3.590030] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [    3.597092] ubi0: good PEBs: 4016, bad PEBs: 0, corrupted PEBs: 0
    [    3.603401] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
    [    3.610701] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 483543900
    [    3.619802] ubi0: available PEBs: 0, total reserved PEBs: 4016, PEBs reserved for bad PEB handling: 80
    [    3.629163] ubi0: background thread "ubi_bgt0d" started, PID 49
    [    3.635474] hctosys: unable to open rtc device (rtc0)
    [    3.636123] evm_v3_3d: disabling
    [    3.636129] vmmcwl_fixed: disabling
    [    3.636134] ads7846-reg: disabling
    [    3.636143] ALSA device list:
    [    3.636146]   No soundcards found.
    [    3.669754] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 50
    [    3.689652] NOHZ: local_softirq_pending 40
    [    3.693906] UBIFS (ubi0:0): recovery needed
    [    4.180767] UBIFS (ubi0:0): recovery completed
    [    4.185339] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    4.194398] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    4.206248] UBIFS (ubi0:0): FS size: 497872896 bytes (474 MiB, 3921 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [    4.218893] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [    4.226618] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID DA387024-4273-4CAF-8B35-ABCD669B30F6, small LPT model
    [    4.244891] VFS: Mounted root (ubifs filesystem) on device 0:15.
    [    4.258074] devtmpfs: mounted
    [    4.264443] Freeing unused kernel memory: 1024K
    [    4.339660] NOHZ: local_softirq_pending 40
    [    4.359659] NOHZ: local_softirq_pending 40
    [    4.363801] NOHZ: local_softirq_pending 40
    [    4.449659] NOHZ: local_softirq_pending 40
    [    4.515890] systemd[1]: System time before build time, advancing clock.
    [    4.549652] NOHZ: local_softirq_pending 40
    [    4.553807] NOHZ: local_softirq_pending 40
    [    4.569650] NOHZ: local_softirq_pending 202
    [    4.573894] NOHZ: local_softirq_pending 202
    [    4.605741] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    4.627359] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.08!
    
    [    4.672242] systemd[1]: Set hostname to <am437x-evm>.
    [    5.285274] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.293728] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    5.330549] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.337475] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.371206] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.378247] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.410781] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.440055] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.470796] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.500179] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Created slice System Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting POSIX Message Queue File System...
    [  OK  ] Created slice system-getty.slice.
             Starting Remount Root and Kernel File Systems...
             Mounting Kernel Debug File System...
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
             Mounting Temporary Directory (/tmp)...
             Starting Load Kernel Modules...
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [    6.100052] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Mounted Kernel Debug File System.
    [    6.128407] cryptodev: driver 1.9 loaded.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Load Kernel Modules.
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Create System Users...
             Starting Rebuild Hardware Database...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create System Users.
             Starting Create Static Device Nodes in /dev...
    [    6.701116] systemd-journald[68]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    6.819770] random: crng init done
    [    6.823205] random: 7 urandom warning(s) missed due to ratelimiting
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
             Starting Rebuild Dynamic Linker Cache...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rebuild Hardware Database.
             Starting Update is Completed...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [   11.154403] remoteproc remoteproc0: wkup_m3 is available
    [   11.163979] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   11.192059] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting RPC Bind Service...
    [   11.473794] remoteproc remoteproc0: powering up wkup_m3
    [  OK  ] Reached target Containers.
    [  OK  ] Started Kernel Logging Service.
             Starting rc.pvr.service...
    [   11.668526] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224624
    [  OK  ] Started Daily Cleanup of Temporary Directorie[   11.802552] remoteproc remoteproc0: remote processor wkup_m3 is now up
    s.
    [   11.813675] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   11.824260] ads7846 spi1.0: not using DMA for McSPI (-19)
    [   11.830197] ads7846 spi1.0: touchscreen, irq 96
    [   11.831249] input: ADS7846 Touchscreen as /devices/platform/44000000.ocp/481a2000.spi/spi_master/spi1/spi1.0/input/input0
    [  OK  ] Started D-Bus System Message Bus.
    [   12.242010] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [   12.454996] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [   12.531780] omap-aes 53501000.aes: will run requests pump with realtime priority
    [   12.661638] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [   12.692897] omap-des 53701000.des: will run requests pump with realtime priority
    [   12.816896] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1
    [   13.321075] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started System Logging Service.
             Starting Login Service...
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting Network Service...
             Starting Print notice about GPLv3 packages...
    [   14.075051] PM: bootloader does not support rtc-only!
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timers.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Found device /dev/ttyS0.
    [   14.336252] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   14.441958] asoc-simple-card sound0: ASoC: no DMI vendor name!
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Network Service.
    [   15.670562] net eth1: initializing cpsw version 1.15 (0)
    [   15.881623] RTL8211F Gigabit Ethernet 4a101000.mdio:05: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=4a101000.mdio:05, irq=POLL)
    [   16.053637] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   16.272556] net eth0: initializing cpsw version 1.15 (0)
    [   16.461704] RTL8211F Gigabit Ethernet 4a101000.mdio:04: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=4a101000.mdio:04, irq=POLL)
    [   16.573936] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight鈥ghtness of backlight:backlight...
             Starting telnetd.service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Synchronize System and HW clocks.
             Starting thttpd.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [   19.672452] input: ti-tsc as /devices/platform/44000000.ocp/44e0d000.tscadc/44e0d000.tscadc:tsc/input/input1
    [   19.956227] pruss 54400000.pruss: creating PRU cores and other child platform devices
    [   20.059156] pruss 54440000.pruss: creating PRU cores and other child platform devices
    [   20.357790] remoteproc remoteproc1: 54434000.pru is available
    [   20.453881] pru-rproc 54434000.pru: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@0/pru@34000 probed successfully
    [   20.519103] usbcore: registered new interface driver usbfs
    [   20.519418] usbcore: registered new interface driver hub
    [   20.520883] usbcore: registered new device driver usb
    [   20.608766] remoteproc remoteproc2: 54438000.pru is available
    [   20.626728] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   20.626766] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [   20.642290] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
    [   20.642348] xhci-hcd xhci-hcd.3.auto: irq 94, io mem 0x48390000
    [   20.652548] hub 1-0:1.0: USB hub found
    [   20.652682] hub 1-0:1.0: 1 port detected
    [   20.654418] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   20.654767] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [   20.654790] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0  SuperSpeed
    [   20.660864] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   20.665006] hub 2-0:1.0: USB hub found
    [   20.665143] hub 2-0:1.0: 1 port detected
    [   20.672717] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [   20.672749] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
    [   20.683170] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
    [   20.683226] xhci-hcd xhci-hcd.4.auto: irq 95, io mem 0x483d0000
    [   20.685343] hub 3-0:1.0: USB hub found
    [   20.685398] hub 3-0:1.0: 1 port detected
    [   20.692075] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [   20.692097] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
    [   20.692120] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0  SuperSpeed
    [   20.693113] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [   20.705870] hub 4-0:1.0: USB hub found
    [   20.706019] hub 4-0:1.0: 1 port detected
    [   21.252294] pru-rproc 54438000.pru: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@0/pru@38000 probed successfully
    [   21.327851] remoteproc remoteproc3: 54474000.pru is available
    [   21.340881] pru-rproc 54474000.pru: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@40000/pru@74000 probed successfully
    [   21.408206] remoteproc remoteproc4: 54478000.pru is available
    [   21.440457] pru-rproc 54478000.pru: PRU rproc node /ocp@44000000/pruss_soc_bus@54426000/pruss@40000/pru@78000 probed successfully
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            bash
            binutils
            cifs-utils
            cpio
            dosfstools
            elfutils
            gawk
            gzip
            libdw1
            libelf1
            libreadline7
            m4
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am437x-evm ttyS0
    
    Arago 2018.08 am437x-evm ttyS0
    
    am437x-evm login: [   29.051389] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   29.059551] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    

  • Hello,

    I am not super familiar with SPI, so we are learning together here.

    1) Other than the device tree file you modified, are you using the default device tree files in SDK 5.1? (e.g., is file am4372.dtsi from SDK 5.1 and not sdk 1.0?) - this relates to a potential SPI issue brought up in this post: e2e.ti.com/.../2345031 and e2e.ti.com/.../701141

    2) Could you post the corrected DTS file?

    3) Are you observing the expected voltage on the SPI pins?

    Regards,
    Nick
  • Hi Nick,

    1)My modified DTS file is from SDK5.1, only with SPI2 node from SDK1.0.

    2)I attachment the default DTS files in SDK5.1 here. As the touchscreen is changed in my custom board. there seem no correct DTS file.

    3)When inputing( touching screen), I can observe the wave ( the expected voltage) on the SPi pins with oscilloscope.

    Best Regards,

    0876.am437x-gp-evm.rar

  • Ok, so the signal is arriving at the board.

    Have you have checked that the pinmuxing during runtime is as you expect?
    CTRL_CONF_SPI2_SCLK 0x44E10A60
    CTRL_CONF_SPI2_D0 0x44E10A64
    CTRL_CONF_SPI2_D1 0x44E10A68
    CTRL_CONF_SPI2_CS0 0x44E10A6C

    You mentioned in an earlier post that there was an issue in one of the device tree files that you posted, and you had corrected the device tree. I was curious to see what had changed.

    Regards,
    Nick
  • Hi Nick,

    1)the 4 signals is appeared as my expected.

    2)I commented following lines in unused_pins node in the DTS file which is pinmuxed with spi2 in the DTS:

        /*        AM4372_IOPAD(0xa60, PIN_INPUT | PULL_DISABLE | MUX_MODE7) */
        /*        AM4372_IOPAD(0xa68, PIN_INPUT_PULLDOWN | MUX_MODE7) */
    then I can find ads7846.ko when lsmod.

  • Hi Nick,

    I check the four signals today again, when touching screen, the 4 signals appear as following:

    1)SPI2_MOSI has wave when touching;

    2)SPI2_MISO stay low;

    3)SPI2_CS0 stay high;

    4)SPI2_SCLK stay low.

    I compare these with old SDK1.0 in the same board, they almost the same, the only difference is the SPI2_MOSI wave which has more variation in SDK1.0.

    I added following bold lines in DTS for dma:

    &spi2 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&spi2_pins>;
        
        dmas = <&edma 16 0
            &edma 17 0>;
        dma-names = "tx0", "rx0";

        ads7846@0 {
            pinctrl-names = "default";
            pinctrl-0 = <&ads7846_pins>;
            
            compatible = "ti,ads7846";
            vcc-supply = <&ads7846reg>;

            reg = <0>;            /* CS0 */
            spi-max-frequency = <1500000>;

            interrupt-parent = <&gpio5>;
            interrupts = <7 0>;        /* gpio5_7 */
            pendown-gpio = <&gpio5 7 0>;

            ti,x-min = /bits/ 16 <0x0>;
            ti,x-max = /bits/ 16 <0x0fff>;
            ti,y-min = /bits/ 16 <0x0>;
            ti,y-max = /bits/ 16 <0x0fff>;

            ti,x-plate-ohms = /bits/ 16 <180>;
            ti,pressure-max = /bits/ 16 <255>;

            ti,debounce-max = /bits/ 16 <10>;
            ti,debounce-tol = /bits/ 16 <30>;
            ti,debounce-rep = /bits/ 16 <1>;

            ti,settle-delay-usec = /bits/ 16 <150>;
            ti,keep-vref-on = <1>;

            linux,wakeup;
        };
    };
     

    when update,I check the console.log:

    root@am437x-evm:/dev/input# dmesg |grep 7846
    [    0.174441] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ads7846-reg[0]'
    [    3.642747] ads7846-reg: disabling
    [   11.737958] of_get_named_gpiod_flags: parsed 'pendown-gpio' property of node '/ocp@44000000/spi@481a2000/ads7846@0[0]' - status (0)
    [   11.751848] ads7846 spi1.0: touchscreen, irq 94
    [   11.753470] input: ADS7846 Touchscreen as /devices/platform/44000000.ocp/481a2000.spi/spi_master/spi1/spi1.0/input/input0
    root@am437x-evm:/dev/input#

    There  almost no errors about ads7846,  but the touchscreen is stll not work.

    Best Regards,

  • Hi,

    I check the /proc when touching screen:

    root@am437x-evm:/proc# cat interrupts
               CPU0       
     16:       2948     WUGEN  68 Level     gp_timer
     18:       7271     GIC-0  29 Edge      twd
    ...
     95:         37  48322000.gpio   7 Edge      ads7846

    touching the screen, then

    root@am437x-evm:/proc# cat interrupts
               CPU0       
     16:       3504     WUGEN  68 Level     gp_timer
     18:       9145     GIC-0  29 Edge      twd
    ...

     95:         58  48322000.gpio   7 Edge      ads7846

    the interrupts is increasing when touching

    It seems that the spi2 pinmuxing is correct.

    but the cat /dev/input/touchscreen0 is  not responsed yet.

    By the way, I cann't config kernel "Devie Drivers->Input device support->TI Touchscreen Interface" with built-in, only with modularizes in linux 4.14.67 which can be set to built-in in linux 3.14.43.

    Best Regards,

  • Part Number: PROCESSOR-SDK-AM437X

    Tool/software: Linux

    Hi,

    I update my custom board SDK from 1.1 to 5.1, the touchscreen cann't work.

    I check following:

    root@am437x-evm:/dev/input# dmesg |grep input
    [   11.701615] input: ADS7846 Touchscreen as /devices/platform/44000000.ocp/481a2000.spi/spi_master/spi1/spi1.0/input/input0
    [   18.484728] input: ti-tsc as /devices/platform/44000000.ocp/44e0d000.tscadc/44e0d000.tscadc:tsc/input/input1


    root@am437x-evm:/dev/input# dmesg |grep 7846
    [    0.174472] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/ads7846-reg[0]'
    [    3.650398] ads7846-reg: disabling
    [   11.677132] of_get_named_gpiod_flags: parsed 'pendown-gpio' property of node '/ocp@44000000/spi@481a2000/ads7846@0[0]' - status (0)
    [   11.701093] ads7846 spi1.0: touchscreen, irq 96
    [   11.701615] input: ADS7846 Touchscreen as /devices/platform/44000000.ocp/481a2000.spi/spi_master/spi1/spi1.0/input/input0


    root@am437x-evm:/dev/input# cat /proc/interrupts
               CPU0       
     16:       5864     WUGEN  68 Level     gp_timer
     18:      14568     GIC-0  29 Edge      twd
     20:          0     WUGEN   9 Level     l3-dbg-irq
     21:          0     WUGEN  10 Level     l3-app-irq
     23:          1     WUGEN  78 Level     wkup_m3_txev
     24:      24896     WUGEN  12 Level     49000000.edma_ccint
     26:          0     WUGEN  14 Level     49000000.edma_ccerrint
     30:       1018     WUGEN  72 Level     44e09000.serial
     31:          0     WUGEN  77 Level     wkup_m3
     32:          0     WUGEN  75 Level     rtc0
     33:          0     WUGEN  76 Level     rtc0
     35:          0     WUGEN  98 Level     4804c000.gpio
     36:          0     WUGEN  62 Level     481ae000.gpio
     37:          0     WUGEN 106 Level     48320000.gpio
     38:       3225     WUGEN 148 Level     48322000.gpio
     39:       1332     WUGEN  70 Level     44e0b000.i2c
     40:          0     WUGEN  71 Level     4802a000.i2c
     43:       2080     WUGEN  41 Level     4a100000.ethernet
     44:         64     WUGEN  42 Level     4a100000.ethernet
     46:          0     WUGEN  16 Level     TI-am335x-tsc, 44e0d000.tscadc:adc
     47:          0     WUGEN 109 Level     53100000.sham
     50:          0     WUGEN 111 Level     48310000.rng
     51:          0     WUGEN  82 Level     4803c000.mcasp_tx
     52:          0     WUGEN  83 Level     4803c000.mcasp_rx
     53:          0     WUGEN   4 Level     48080000.elm
     54:          0     WUGEN 100 Level     gpmc
     55:          7     WUGEN 172 Level     dwc3-omap, dwc3-otg
     56:          5     WUGEN 178 Level     dwc3-omap
     58:        618     WUGEN 127 Level     OMAP DISPC
     68:          0      PRCM     Edge      pinctrl
     93:          0     WUGEN   7 Edge      tps65218
     94:          0     WUGEN 168 Level     xhci-hcd:usb1
     95:          0     WUGEN 174 Level     xhci-hcd:usb3
     96:       3225  48322000.gpio   7 Edge      ads7846
    Err:          0
    root@am437x-evm:/dev/input# cat /proc/interrupts
               CPU0       
     16:       5886     WUGEN  68 Level     gp_timer
     18:      18251     GIC-0  29 Edge      twd
     20:          0     WUGEN   9 Level     l3-dbg-irq
     21:          0     WUGEN  10 Level     l3-app-irq
     23:          1     WUGEN  78 Level     wkup_m3_txev
     24:      24896     WUGEN  12 Level     49000000.edma_ccint
     26:          0     WUGEN  14 Level     49000000.edma_ccerrint
     30:       1061     WUGEN  72 Level     44e09000.serial
     31:          0     WUGEN  77 Level     wkup_m3
     32:          0     WUGEN  75 Level     rtc0
     33:          0     WUGEN  76 Level     rtc0
     35:          0     WUGEN  98 Level     4804c000.gpio
     36:          0     WUGEN  62 Level     481ae000.gpio
     37:          0     WUGEN 106 Level     48320000.gpio
     38:       4809     WUGEN 148 Level     48322000.gpio
     39:       1356     WUGEN  70 Level     44e0b000.i2c
     40:          0     WUGEN  71 Level     4802a000.i2c
     43:       2130     WUGEN  41 Level     4a100000.ethernet
     44:         64     WUGEN  42 Level     4a100000.ethernet
     46:          0     WUGEN  16 Level     TI-am335x-tsc, 44e0d000.tscadc:adc
     47:          0     WUGEN 109 Level     53100000.sham
     50:          0     WUGEN 111 Level     48310000.rng
     51:          0     WUGEN  82 Level     4803c000.mcasp_tx
     52:          0     WUGEN  83 Level     4803c000.mcasp_rx
     53:          0     WUGEN   4 Level     48080000.elm
     54:          0     WUGEN 100 Level     gpmc
     55:          7     WUGEN 172 Level     dwc3-omap, dwc3-otg
     56:          5     WUGEN 178 Level     dwc3-omap
     58:        618     WUGEN 127 Level     OMAP DISPC
     68:          0      PRCM     Edge      pinctrl
     93:          0     WUGEN   7 Edge      tps65218
     94:          0     WUGEN 168 Level     xhci-hcd:usb1
     95:          0     WUGEN 174 Level     xhci-hcd:usb3
     96:       4809  48322000.gpio   7 Edge      ads7846
    Err:          0

    The interrupts are increased when I touching the screen. But the touchscreen0 which is as event in tslib in /dev/input  is not responsed:

    root@am437x-evm:/dev/input# ls
    by-path       event0        event1        mice          mouse0        mouse1        touchscreen0
    root@am437x-evm:/dev/input# cat touchscreen0

    the 4 spi signals are correct I measured them with oscilloscope when touching screen.

    I donn't konw what should do now. all the module seem ok:

    root@am437x-evm:/dev/input# lsmod
    Module                  Size  Used by
    xhci_plat_hcd          16384  0
    xhci_hcd              122880  1 xhci_plat_hcd
    usbcore               204800  2 xhci_plat_hcd,xhci_hcd
    pru_rproc              20480  0
    pruss_intc             16384  1 pru_rproc
    pruss                  16384  1 pru_rproc
    dwc3                   73728  0
    udc_core               28672  1 dwc3
    usb_common             16384  3 udc_core,usbcore,dwc3
    ti_am335x_adc          16384  0
    ti_am335x_tsc          16384  0
    snd_soc_simple_card    16384  0
    snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
    pm33xx                 16384  0
    omap_des               20480  0
    omap_aes_driver        24576  0
    des_generic            28672  1 omap_des
    crypto_engine          16384  2 omap_des,omap_aes_driver
    pruss_soc_bus          16384  0
    omap_crypto            16384  2 omap_des,omap_aes_driver
    omap_sham              28672  0
    ti_emif_sram           16384  1 pm33xx
    ads7846                20480  0
    dwc3_omap              16384  0
    snd_soc_tlv320aic3x    57344  1
    wkup_m3_ipc            16384  1 pm33xx
    wkup_m3_rproc          16384  1
    rtc_omap               20480  2
    remoteproc             40960  3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
    omap_wdt               16384  0
    ti_am335x_tscadc       16384  2 ti_am335x_adc,ti_am335x_tsc
    sch_fq_codel           20480  3
    cryptodev              45056  0
    root@am437x-evm:/dev/input#

    In the kernel(linux 4.14.67) config menu, I cann't set /device drivers->input device support->Touchscreens->Ti Touchscreen Interface to <*>, only to <M> or < >, In old SDK , the kernel(linux 3.14.43)can be set to <*>, Is this related ?

    Best Regards,

  • Hello,

    I am sorry for the delayed response. I would not expect that adding support for a module (M) rather than <*> would make a difference.

    As far as I understand it, you should NOT be using ti_am335x_tsc driver for your touchscreen. I think that driver would only be used if you connected your resistive touchscreen directly to the ADC input pins rather than connected through SPI.

    Regards,
    Nick