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/AM5718: Weston input device issue

Part Number: AM5718
Other Parts Discussed in Thread: PMP

Tool/software: Linux

Hi,

using latest Linux SDK 4.2.0.9

root@am57xx-evm:/var/log# cat weston.log 

Date: 2017-12-23 UTC

[13:46:20.936] weston 1.11.0

               http://wayland.freedesktop.org

               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&versi0

               Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 for the official release (2016-05-)

[13:46:20.936] OS: Linux, 4.9.59-ga75d8e9305, #2 SMP PREEMPT Sat Dec 23 10:02:24 EST 2017, armv7l

[13:46:20.938] Using config file '/etc//weston.ini'

[13:46:20.944] Output repaint window is 7 ms maximum.

[13:46:20.957] Loading module '/usr/lib/weston/drm-backend.so'

[13:46:21.007] initializing drm backend

[13:46:21.055] using /dev/dri/card0

[13:46:21.062] Loading module '/usr/lib/weston/gl-renderer.so'

failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory

failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory

loaded module : gbm_pvr.so

found valid GBM backend : gbm_pvr.so

[13:46:21.190] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eg.

[13:46:21.212] warning: EGL_EXT_buffer_age not supported. Performance could be affected.

[13:46:21.212] Retrieving EGL client extension string failed.

[13:46:21.213] warning: no input devices on entering Weston. Possible causes:

        - no permissions to read /dev/input/event*

        - seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)

[13:46:21.213] failed to create input devices

[13:46:21.317] fatal: failed to create compositor backend

 

 

Interestingly on dmesg |tail I was expecting a mouse enumeration when plugging it into the USB Host port. But nothing. I bet on the IDK if the enumeration worked, weston would work too.

 

This is all I got on USB

root@am57xx-evm:/var/log# dmesg |grep USB

[    0.631470] LDOUSB: supplied by VMAIN

[   12.618525] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1

[   12.620431] hub 1-0:1.0: USB hub found

[   12.620744] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2

[   12.636406] hub 2-0:1.0: USB hub found

root@am57xx-evm:/var/log# lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

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

 

Plugging the mouse in won't change anything. Maybe should I try with powered USB hub and mouse plugged into that?

Regards,

--Gunter

  • Hi,

    Bin Liu suggested to use the following patch, to revert a pinmux setting

    e2e.ti.com/.../2472698


    Regards,
    --Gunter
  • Hi,

    I applied the above patch, but now the kernel log does not complete to the login, there is a reset occurring in the middle:

    git log ++++++++++

    commit 25d7c3203bd24a28d8482445c44bbe79b1c67124

    Author: Bin Liu <b-liu@ti.com>

    Date:   Thu Mar 15 07:09:21 2018 -0500

       Revert "arm: dts: add cpts 1pps latch input pins"

       This reverts commit e16c3535b0e91be8968adbfb5979d755e49ee0a9.

       The reverted commit changes USB1_DRVVBUS pinmux to gpio, which breaks

       the USB function.

    commit 068d2a4c726b778d6026d29866a606f8d03458c3

    Author: Texas Instruments SDK Builder <>

    Date:   Sat Dec 23 09:37:36 2017 -0500

       Create local branch

       The below commit is used for this local branch and is the one used by

       this sdk:

       a75d8e93056181d512f6c818e8627bd4554aaf92.

       To reduce the size of the SDK installer only a portion of the git commit

       history has been preserved. Also links to remote branches and tags do

       not exist in this copy of the repository.

       To fix this please run the unshallow-repositories.sh

       script located in the sdk's bin directory

       The script may take several minutes but you will then have a full copy of

       the git repository including its entire git history.

    But now the AM5718 IDK boots but in the middle of the kernel log it reboots, I think it has to do with the PRU. It stays in a continuous reboot cycle ...

    Here is the kernel log with the reset location highlighted:

    U-Boot 2017.01-g340fb36f04 (Dec 23 2017 - 11:25:49 -0500)

    CPU  : DRA722-GP ES2.0

    Model: TI AM5718 IDK

    Board: AM571x IDK REV 1.3B

    DRAM:  1 GiB

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    ** First descriptor is NOT a primary desc on 1:1 **

    *** Warning - bad CRC, using default environment

    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

    part_get_info_efi: *** ERROR: Invalid GPT ***

    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

    part_get_info_efi: *** ERROR: Invalid Backup GPT ***

    SCSI:  SATA link 0 timeout.

    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode

    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst

    scanning bus for devices...

    Found 0 device(s).

    Net:   <ethaddr> not set. Validating first E-fuse MAC

    cpsw

    Hit any key to stop autoboot:  0

    switch to partitions #0, OK

    mmc0 is current device

    SD/MMC found on device 0

    reading boot.scr

    ** Unable to read file boot.scr **

    reading uEnv.txt

    574 bytes read in 3 ms (186.5 KiB/s)

    Loaded env from uEnv.txt

    Importing environment from mmc0 ...

    switch to partitions #0, OK

    mmc0 is current device

    SD/MMC found on device 0

    3751960 bytes read in 203 ms (17.6 MiB/s)

    102974 bytes read in 71 ms (1.4 MiB/s)

    ## Flattened Device Tree blob at 88000000

      Booting using the fdt blob at 0x88000000

      Loading Device Tree to 8ffe3000, end 8ffff23d ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 4.9.59-ga75d8e9305 (gunter@gunter-Latitude-E7450) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.118

    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d

    [    0.000000] CPU: div instructions available: patching division code

    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache

    [    0.000000] OF: fdt:Machine model: TI AM5718 IDK

    [    0.000000] efi: Getting EFI parameters from FDT:

    [    0.000000] efi: UEFI not found.

    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB

    [    0.000000] OF: reserved mem: initialized node ipu2_cma@95800000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB

    [    0.000000] OF: reserved mem: initialized node dsp1_cma@99000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB

    [    0.000000] OF: reserved mem: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool

    [    0.000000] cma: Reserved 24 MiB at 0x00000000be400000

    [    0.000000] Memory policy: Data cache writealloc

    [    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier

    [    0.000000] DRA722 ES2.0

    [    0.000000] percpu: Embedded 13 pages/cpu @ef645000 s22156 r8192 d22900 u53248

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 210496

    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=000b48da-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: 644568K/848896K available (8192K kernel code, 316K rwdata, 2432K rodata, 2048K init, 304K bss, 24104K reser)

    [    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 - 0xc0a00000   (10208 kB)

    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)

    [    0.000000]       .data : 0xc1000000 - 0xc104f240   ( 317 kB)

    [    0.000000]        .bss : 0xc1051000 - 0xc109d130   ( 305 kB)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

    [    0.000000] Preemptible hierarchical RCU implementation.

    [    0.000000]  Build-time adjustment of leaf fanout to 32.

    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.

    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1

    [    0.000000] NR_IRQS:16 nr_irqs:16 16

    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz

    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).

    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns

    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns

    [    0.000015] Switching to timer-based delay loop, resolution 162ns

    [    0.000320] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns

    [    0.000327] OMAP clocksource: 32k_counter at 32768 Hz

    [    0.000734] Console: colour dummy device 80x30

    [    0.000751] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'

    [    0.000757] This ensures that you still see kernel messages. Please

    [    0.000763] update your kernel commandline.

    [    0.000779] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)

    [    0.000792] pid_max: default: 32768 minimum: 301

    [    0.000893] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.000903] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.001523] CPU: Testing write buffer coherency: ok

    [    0.001731] /cpus/cpu@0 missing clock-frequency property

    [    0.001744] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

    [    0.001759] Setting up static identity map for 0x80200000 - 0x80200060

    [    0.080033] EFI services will not be available.

    [    0.099921] Brought up 1 CPUs

    [    0.099931] SMP: Total of 1 processors activated (12.29 BogoMIPS).

    [    0.099938] CPU: All CPU(s) started in HYP mode.

    [    0.099944] CPU: Virtualization extensions available.

    [    0.100325] devtmpfs: initialized

    [    0.130074] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0

    [    0.130323] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

    [    0.130339] futex hash table entries: 256 (order: 2, 16384 bytes)

    [    0.133688] pinctrl core: initialized pinctrl subsystem

    [    0.134543] NET: Registered protocol family 16

    [    0.135401] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.136404] omap_hwmod: l3_main_2 using broken dt data from ocp

    [    0.360274] cpuidle: using governor ladder

    [    0.390296] cpuidle: using governor menu

    [    0.400516] OMAP GPIO hardware version 0.1

    [    0.415307] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !

    [    0.440055] No ATAGs?

    [    0.440074] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

    [    0.440083] hw-breakpoint: maximum watchpoint size is 8 bytes.

    [    0.440498] omap4_sram_init:Unable to allocate sram needed to handle errata I688

    [    0.440509] omap4_sram_init:Unable to get sram pool needed to handle errata I688

    [    0.441061] OMAP DMA hardware revision 0.0

    [    0.521041] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)

    [    0.522360] edma 43300000.edma: memcpy is disabled

    [    0.527104] edma 43300000.edma: TI EDMA DMA engine driver

    [    0.530915] omap-iommu 40d01000.mmu: 40d01000.mmu registered

    [    0.531099] omap-iommu 40d02000.mmu: 40d02000.mmu registered

    [    0.531256] omap-iommu 58882000.mmu: 58882000.mmu registered

    [    0.531415] omap-iommu 55082000.mmu: 55082000.mmu registered

    [    0.534274] palmas 0-0058: Irq flag is 0x00000004

    [    0.562407] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0

    [    0.565517] SMPS3: supplied by VMAIN

    [    0.568713] SMPS6: supplied by VMAIN

    [    0.570406] SMPS7: supplied by VMAIN

    [    0.572251] SMPS8: supplied by VMAIN

    [    0.573549] SMPS9: supplied by VMAIN

    [    0.574451] V3_3D: supplied by smps9

    [    0.574683] vtt_fixed: supplied by V3_3D

    [    0.574785] LDO1: supplied by VMAIN

    [    0.581497] LDO2: supplied by VMAIN

    [    0.581600] random: fast init done

    [    0.591375] LDO3: supplied by VMAIN

    [    0.601386] LDO4: supplied by VMAIN

    [    0.613469] LDO9: supplied by VMAIN

    [    0.621776] LDOLN: supplied by VMAIN

    [    0.631494] LDOUSB: supplied by VMAIN

    [    0.644570] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz

    [    0.644772] media: Linux media interface: v0.10

    [    0.644824] Linux video capture interface: v2.00

    [    0.644858] pps_core: LinuxPPS API ver. 1 registered

    [    0.644866] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.644885] PTP clock support registered

    [    0.644917] EDAC MC: Ver: 3.0.0

    [    0.651414] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400

    [    0.651712] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400

    [    0.652002] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400

    [    0.652193] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400

    [    0.652537] Advanced Linux Sound Architecture Driver Initialized.

    [    0.661021] clocksource: Switched to clocksource arch_sys_counter

    [    0.670669] NET: Registered protocol family 2

    [    0.671229] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

    [    0.671292] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

    [    0.671417] TCP: Hash tables configured (established 8192 bind 8192)

    [    0.671466] UDP hash table entries: 512 (order: 2, 16384 bytes)

    [    0.671497] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

    [    0.671675] NET: Registered protocol family 1

    [    0.692040] RPC: Registered named UNIX socket transport module.

    [    0.692049] RPC: Registered udp transport module.

    [    0.692057] RPC: Registered tcp transport module.

    [    0.692063] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.693020] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available

    [    0.705693] workingset: timestamp_bits=14 max_order=18 bucket_order=4

    [    0.713135] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.723889] NFS: Registering the id_resolver key type

    [    0.723915] Key type id_resolver registered

    [    0.723922] Key type id_legacy registered

    [    0.723960] ntfs: driver 2.1.32 [Flags: R/O].

    [    0.725379] bounce: pool size: 64 pages

    [    0.725531] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)

    [    0.725541] io scheduler noop registered

    [    0.725549] io scheduler deadline registered

    [    0.725679] io scheduler cfq registered (default)

    [    0.731127] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128

    [    0.731200] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>

    [    0.731277] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts

    [    0.731288] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4

    [    0.743993] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3

    [    0.744322] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:

    [    0.744334] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]

    [    0.744368] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000

    [    0.744389] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000

    [    1.741080] dra7-pcie 51000000.pcie: phy link never came up

    [    1.741248] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00

    [    1.741261] pci_bus 0000:00: root bus resource [bus 00-ff]

    [    1.741271] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]

    [    1.741280] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]

    [    1.741650] PCI: bus0: Fast back to back transfers disabled

    [    1.741763] PCI: bus1: Fast back to back transfers enabled

    [    1.741886] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]

    [    1.741902] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]

    [    1.741916] pci 0000:00:00.0: PCI bridge to [bus 01]

    [    1.742153] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt

    [    1.798637] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled

    [    1.802070] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250

    [    2.782750] console [ttyS2] enabled

    [    2.788133] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20

    [    2.794911] [drm] Initialized

    [    2.799622] OMAP DSS rev 6.1

    [    2.802995] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)

    [    2.811523] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)

    [    2.992365] brd: module loaded

    [    3.080782] loop: module loaded

    [    3.088102] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)

    [    3.093195] 7 ofpart partitions found on MTD device spi0.0

    [    3.098704] Creating 7 MTD partitions on "spi0.0":

    [    3.103533] 0x000000000000-0x000000040000 : "QSPI.SPL"

    [    3.119678] 0x000000040000-0x000000140000 : "QSPI.u-boot"

    [    3.136097] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"

    [    3.153086] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"

    [    3.169795] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"

    [    3.187233] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"

    [    3.203587] 0x0000009e0000-0x000002000000 : "QSPI.file-system"

    [    3.221003] libphy: Fixed MDIO Bus: probed

    [    3.281059] davinci_mdio 48485000.mdio: davinci mdio revision 1.6

    [    3.287183] davinci_mdio 48485000.mdio: detected phy mask fffffffc

    [    3.307838] libphy: 48485000.mdio: probed

    [    3.311924] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY

    [    3.321661] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY

    [    3.332137] cpsw 48484000.ethernet: Detected MACID = 5c:f8:21:5e:e6:6c

    [    3.338789] cpsw 48484000.ethernet: device node lookup for pps timer input failed

    [    3.346394] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)

    [    3.354603] cpsw 48484000.ethernet: cpsw: Detected MACID = 5c:f8:21:5e:e6:6d

    [    3.363195] mousedev: PS/2 mouse device common for all mice

    [    3.369068] i2c /dev entries driver

    [    3.379348] omap_hsmmc 4809c000.mmc: Got CD GPIO

    [    3.451466] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode

    [    3.457847] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode

    [    3.532092] ledtrig-cpu: registered to indicate activity on CPUs

    [    3.552098] NET: Registered protocol family 10

    [    3.567213] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

    [    3.581416] NET: Registered protocol family 17

    [    3.586025] Key type dns_resolver registered

    [    3.590399] omap_voltage_late_init: Voltage driver support not added

    [    3.611097] Power Management for TI OMAP4+ devices.

    [    3.616184] Registering SWP/SWPB emulation handler

    [    3.639552] dmm 4e000000.dmm: workaround for errata i878 in use

    [    3.662347] dmm 4e000000.dmm: initialized all PAT entries

    [    3.681826] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

    [    3.688467] [drm] No driver support for vblank timestamp query.

    [    3.809417] mmc1: new DDR MMC card at address 0001

    [    3.824629] mmcblk1: mmc1:0001 R1J56L 13.8 GiB

    [    3.839372] mmcblk1boot0: mmc1:0001 R1J56L partition 1 4.00 MiB

    [    3.853590] mmc0: host does not support reading read-only switch, assuming write-enable

    [    3.861796] mmcblk1boot1: mmc1:0001 R1J56L partition 2 4.00 MiB

    [    3.873211] mmc0: new ultra high speed DDR50 SDHC card at address aaaa

    [    3.890174] mmcblk0: mmc0:aaaa SL16G 14.8 GiB

    [    3.899578]  mmcblk0: p1 p2

    [    4.016802] [drm] Enabling DMM ywrap scrolling

    [    4.053107] Console: switching to colour frame buffer device 240x67

    [    4.073479] omapdrm omapdrm.0: fb0: omapdrm frame buffer device

    [    4.102364] hctosys: unable to open rtc device (rtc0)

    [    4.108311] ALSA device list:

    [    4.111338]   No soundcards found.

    [    4.219294] EXT4-fs (mmcblk0p2): recovery complete

    [    4.225376] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

    [    4.233565] VFS: Mounted root (ext4 filesystem) on device 179:50.

    [    4.245095] devtmpfs: mounted

    [    4.249302] Freeing unused kernel memory: 2048K

    [    4.396452] systemd[1]: System time before build time, advancing clock.

    [    4.420050] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRY)

    [    4.438591] systemd[1]: Detected architecture arm.

    Welcome to Arago 2017.10!

    [    4.479297] systemd[1]: Set hostname to <am57xx-evm>.

    [    4.771584] systemd[1]: Listening on Network Service Netlink Socket.

    [  OK  ] Listening on Network Service Netlink Socket.

    [    4.812412] systemd[1]: Created slice System Slice.

    [  OK  ] Created slice System Slice.

    [    4.848008] systemd[1]: Listening on Process Core Dump Socket.

    [  OK  ] Listening on Process Core Dump Socket.

    [    4.881231] systemd[1]: Listening on udev Control Socket.

    [  OK  ] Listening on udev Control Socket.

    [    4.911128] systemd[1]: Reached target Remote File Systems.

    [  OK  ] Reached target Remote File Systems.

    [    4.941747] systemd[1]: Created slice system-getty.slice.

    [  OK  ] Created slice system-getty.slice.

    [    4.971140] systemd[1]: Reached target Swap.

    [  OK  ] Reached target Swap.

    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.

    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.

    [  OK  ] Created slice system-serial\x2dgetty.slice.

    [  OK  ] Listening on udev Kernel Socket.

    [  OK  ] Started Forward Password Requests to Wall Directory Watch.

    [  OK  ] Reached target Paths.

    [  OK  ] Listening on Journal Socket (/dev/log).

    [  OK  ] Listening on Syslog Socket.

    [  OK  ] Listening on Journal Socket.

            Mounting POSIX Message Queue File System...

            Starting alignment.service...

            Starting Setup Virtual Console...

            Starting Create list of required st... nodes for the current kernel...

            Starting Load Kernel Modules...

            Mounting Temporary Directory...

    [    5.450941] cmemk: loading out-of-tree module taints kernel.

    [    5.459738] CMEMK module: reference Linux version 4.9.59

    [    5.465915] cmemk initialized

            Starting Remount Root and Kernel File Systems...

    [    5.489132] cryptodev: driver 1.8 loaded.

    [    5.508506] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

            Mounting Debug File System...

            Starting Journal Service...

    [  OK  ] Created slice User and Session Slice.

    [  OK  ] Reached target Slices.

    [  OK  ] Mounted POSIX Message Queue File System.

    [  OK  ] Mounted Debug File System.

    [  OK  ] Mounted Temporary Directory.

    [  OK  ] Started Journal Service.

    [  OK  ] Started alignment.service.

    [  OK  ] Started Setup Virtual Console.

    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.

    [  OK  ] Started Load Kernel Modules.

    [  OK  ] Started Remount Root and Kernel File Systems.

            Starting udev Coldplug all Devices...

            Mounting Configuration File System...

            Starting Apply Kernel Variables...

            Starting Create Static Device Nodes in /dev...

            Starting Flush Journal to Persistent Storage...

    [  OK  ] Mounted Configuration File System.

    [  OK  ] Started Apply Kernel Variables.

    [  OK  ] Started Create Static Device Nodes in /dev.

    [    6.181324] systemd-journald[126]: Received request to flush runtime journal from PID 1

    [  OK  ] Started Flush Journal to Persistent Storage.

            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.

    [  OK  ] Started udev Kernel Device Manager.

            Starting Load/Save Random Seed...

    [  OK  ] Reached target Local File Systems.

            Starting Create Volatile Files and Directories...

    [  OK  ] Started Load/Save Random Seed.

    [  OK  ] Started Create Volatile Files and Directories.

            Starting Update UTMP about System Boot/Shutdown...

            Starting Network Time Synchronization...

    [  OK  ] Started Update UTMP about System Boot/Shutdown.

    [  OK  ] Started Network Time Synchronization.

    [  OK  ] Reached target System Time Synchronized.

    [    7.029382] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000

    [    7.115815] remoteproc remoteproc0: 58820000.ipu is available

    [    7.150033] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000

    [    7.254254] remoteproc remoteproc1: 55020000.ipu is available

    [  OK  ] Started udev Coldplug all Devices.

    [  OK  ] Reached target System Initialization.

    [    7.309504] remoteproc remoteproc0: powering up 58820000.ipu

    [[    7.341593] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4687356

     OK  ] Listening on RPCbind Server Activation Socket.

    [    7.349705] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000

    [    7.349789] remoteproc remoteproc2: 40800000.dsp is available

    [    7.475765] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2

    [    7.483477] omap-des 480a5000.des: will run requests pump with realtime priority

    [    7.511623] ov2659 0-0030: Found OV2656 sensor

    [    7.531756] ov2659 0-0030: ov2659 0-0030 sensor driver registered !!

    [    7.664653] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc0

    [    7.671444] omap_gpio 4805b000.gpio: Could not set line 7 debounce to 20000 microseconds (-22)

    [    7.779650] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc1

    [    7.892644] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin

    [    8.051483] vip 48970000.vip: loading firmware vpdma-1b8.bin

    [[    8.220755] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1

     OK  ] Started Daily Cleanup of Temporary Directories.

    [  OK  ] Reached target Timers.

    [  OK  ] Listening on dropbear.socket.

    [  OK  ] Listening on D-Bus System Message Bus Socket.

    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activati[    8.334230] SCSI subsystem initialized

    on Socket.

    [    8.361336] vpe 489d0000.vpe: Device registered as /dev/video0

    [    8.371109] vip 48970000.vip: VPDMA firmware loaded

    [    8.371298] vip1-s0: Port B: Using subdev ov2659 0-0030 for capture

    [    8.371530] vip1-s0: device registered as video1

    [    8.377877] virtio_rpmsg_bus virtio0: rpmsg host is online

    [    8.377904] remoteproc remoteproc0: registered virtio0 (type 7)

    [    8.377909] remoteproc remoteproc0: remote processor 58820000.ipu is now up

    [    8.380686] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32

    [    8.380819] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33

    [    8.380906] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c

    [    8.380986] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65

    [    8.416340] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [    8.466298] CAN device driver interface

    [    8.499735] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3

    [    8.507821] omap-aes 4b500000.aes: will run requests pump with realtime priority

    [    8.512767] remoteproc remoteproc1: powering up 55020000.ipu

    [    8.512776] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3738980

    [    8.512850] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

    [    8.540031] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3

    [    8.546341] omap-aes 4b700000.aes: will run requests pump with realtime priority

    [    8.547716] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=352)

    [    8.549656] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3

    [    8.898949] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    [    8.903695] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1

    [    9.080989] remoteproc remoteproc2: powering up 40800000.dsp

    [    9.080999] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 19467560

    [    9.087715] omap_hwmod: mmu0_dsp1: _wait_target_disable failed

    [    9.087748] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0

    [    9.087781] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0

    [    9.121210] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok

    [    9.135748] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices

    [    9.185048] virtio_rpmsg_bus virtio1: rpmsg host is online

    [    9.185072] remoteproc remoteproc1: registered virtio1 (type 7)

    [    9.185077] remoteproc remoteproc1: remote processor 55020000.ipu is now up

    [    9.191074] davinci_mdio 4b232400.mdio: davinci mdio revision 1.6

    [    9.191077] libphy: 4b232400.mdio: probed

    [    9.207044] davinci_mdio 4b232400.mdio: phy[0]: device 4b232400.mdio:00, driver TI TLK10X 10/100 Mbps PHY

    [    9.207048] davinci_mdio 4b232400.mdio: phy[1]: device 4b232400.mdio:01, driver TI TLK10X 10/100 Mbps PHY

    [    9.207184] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices

    [    9.235642] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65

    [    9.235744] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66

    0��

    U-Boot SPL 2017.01-g340fb36f04 (Dec 23 2017 - 11:25:49)

    DRA722-GP ES2.0

    Trying to boot from MMC1

    ** First descriptor is NOT a primary desc on 1:1 **

    *** Warning - bad CRC, using default environment

    reading u-boot.img

    reading u-boot.img

    reading u-boot.img

    reading u-boot.img

    U-Boot 2017.01-g340fb36f04 (Dec 23 2017 - 11:25:49 -0500)

    CPU  : DRA722-GP ES2.0

    Model: TI AM5718 IDK

    Board: AM571x IDK REV 1.3B

    DRAM:  1 GiB

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    ** First descriptor is NOT a primary desc on 1:1 **

    *** Warning - bad CRC, using default environment

    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

    part_get_info_efi: *** ERROR: Invalid GPT ***

    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645

    part_get_info_efi: *** ERROR: Invalid Backup GPT ***

    SCSI:  SATA link 0 timeout.

    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode

    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst

    scanning bus for devices...

    Found 0 device(s).

    Net:   <ethaddr> not set. Validating first E-fuse MAC

    cpsw

    Hit any key to stop autoboot:  1

    Regards,

    --Gunter

  • Hi,


    BTW removing this patch


    commit 25d7c3203bd24a28d8482445c44bbe79b1c67124

    Author: Bin Liu <b-liu@ti.com>

    Date: Thu Mar 15 07:09:21 2018 -0500

    Revert "arm: dts: add cpts 1pps latch input pins"

    This reverts commit e16c3535b0e91be8968adbfb5979d755e49ee0a9.

    The reverted commit changes USB1_DRVVBUS pinmux to gpio, which breaks

    the USB function.


    and the kernel boots fine ...


    Regards,
    --Gunter
  • Is this resolved? Please let us know so we can close the thread.
  • Hi,

    the issue was solved by using the latest Linux SDK 4.3.

    Somehow the patch to revert the pin mux settings, mentioned earlier had other side effects, causing a reboot during bootup. This issue does not exist with the latest SDK.

    Regards,

    --Gunter