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.

DRA71XEVM: Unable to detect Deserializer as i2c slave

Part Number: DRA71XEVM
Other Parts Discussed in Thread: DS90UB960-Q1, DRA742, DRA752, PMP, DRA71, DRA72, TDA2E

Hello, 

We are using the following SDK on Ubuntu 14.04 version.

ti-processor-sdk-linux-automotive-dra7xx-evm-6.00.00.03

We have connected the external Deserializer (DS90UB960-Q1) board to DRA71X EVM, and tried to detect it after root login using one of the i2c-tools command "i2cdetect -y 1". 

But we are unable detect the Deserializer's slave id with that command.

Do we need to do any other modifications in the software (Ex: .dts)? If yes, pls let us know what piece of code we need to detect it?

  • Hi Prasad,

    Which i2c instances is the Deserializer connected to?
    Have you checked the pin muxing is done right for that particular i2c instance?

    - Keerthy

  • Hello Keerthy,

    Thanks for the prompt reply.

    We have connected the  board on our Dra71x EVM on i2c5 instance.

    With respect to pinmuxing we have'nt modified anything. 

    Request you to let us know what king of modifications we need to do for detect this Deserializer EVM board.

  • Hi,

    In your u-boot:

    File: board/ti/dra7xx/mux_data.h

    {MCASP1_AXR0, (M10 | PIN_INPUT_SLEW)}, /* mcasp1_axr0.i2c5_sda */
    {MCASP1_AXR1, (M10 | PIN_INPUT_SLEW)}, /* mcasp1_axr1.i2c5_scl */

    This should take care of pin muxing.

    Can you try:

    i2cdump -f -y 0x4 deseralizer_Slave_ID?

    Also can you share the output of i2cdetect?

    - Keerthy

  • Hello Keerthy,

    Pls find the output of the commands your asked to execute below

    root@dra7xx-evm:~# i2cdump -f -y 0x4 0x30
    No size specified (using byte-data access)
    Error: Could not open file `/dev/i2c-4' or `/dev/i2c/4': No such file or directory
    root@dra7xx-evm:~# i2cdump -f -y 0x5 0x30
    No size specified (using byte-data access)
    Error: Could not open file `/dev/i2c-5' or `/dev/i2c/5': No such file or directory
    root@dra7xx-evm:~# i2cdetect -l
    i2c-1 i2c OMAP I2C adapter I2C adapter
    i2c-2 i2c OMAP I2C adapter I2C adapter
    i2c-0 i2c OMAP I2C adapter I2C adapter
    root@dra7xx-evm:~# i2cdetect -y 5
    Error: Could not open file `/dev/i2c-5' or `/dev/i2c/5': No such file or directory
    root@dra7xx-evm:~#

    Note: We have loaded the pre-existing images into the EVM to execute above commands, hope the code you have mentioned would be part of those pre-existing images.

  • Hi Prasad,

    Seems like devices are not registered for some reason. Can you share your complete boot logs?
    From SPL to prompt? that will help me analyze.

    Best Regards,
    Keerthy

  • Hello Keerthy,

    Pls find the logs below

    U-Boot SPL 2019.01-ga0ff74425a (Dec 11 2019 - 13:57:25 +0000)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    no pinctrl state for default mode
    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    U-Boot 2019.01-ga0ff74425a (Dec 11 2019 - 13:57:25 +0000)

    CPU : DRA752-GP ES2.0
    Model: TI DRA742
    Board: DRA74x EVM REV H.0
    DRAM: 4 GiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    Net:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    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 **
    234 bytes read in 1 ms (228.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
    4403712 bytes read in 99 ms (42.4 MiB/s)
    95378 bytes read in 3 ms (30.3 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe5000, end 8ffff491 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.73-g31275c05a1 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Wed Dec 11 12:53:11 UTC 2019
    [ 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 DRA742
    [ 0.000000] bootconsole [earlycon0] enabled
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, s ize 56 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatib le id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, s ize 64 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatib le id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, s ize 32 MiB
    [ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatib le id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, s ize 8 MiB
    [ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatib le id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, s ize 256 MiB
    [ 0.000000] OF: reserved mem: initialized node gpu-memory@c0000000, compatibl e id shared-dma-pool
    [ 0.000000] cma: Reserved 128 MiB at 0x00000000b0000000
    [ 0.000000] OMAP4: Map 0x000000027fd00000 to (ptrval) for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [ 0.000000] percpu: Embedded 16 pages/cpu s36492 r8192 d20852 u65536
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1041984
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 elevator=noop root=PA RTUUID=854dd4fd-02 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblan k=0 cma=128M@0xB0000000 rootfstype=ext4 snd.slots_reserved=1,1
    [ 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: 3562420K/4174848K available (10240K kernel code, 341K rwdata, 2800K rodata, 2048K init, 269K bss, 55372K reserved, 557056K cma-reserved, 2995200K 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 : 0x(ptrval) - 0x(ptrval) (12256 kB)
    [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
    [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 342 kB)
    [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 270 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] arch_timer: 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.008214] Switching to timer-based delay loop, resolution 162ns
    [ 0.014728] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.024893] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.030534] Console: colour dummy device 80x30
    [ 0.035100] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.041803] This ensures that you still see kernel messages. Please
    [ 0.048226] update your kernel commandline.
    [ 0.052547] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.063089] pid_max: default: 32768 minimum: 301
    [ 0.067939] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.074739] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.082514] CPU: Testing write buffer coherency: ok
    [ 0.087559] CPU0: Spectre v2: using ICIALLU workaround
    [ 0.093028] /cpus/cpu@0 missing clock-frequency property
    [ 0.098502] /cpus/cpu@1 missing clock-frequency property
    [ 0.103952] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.169904] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.176714] rcu: Hierarchical SRCU implementation.
    [ 0.201853] EFI services will not be available.
    [ 0.221721] smp: Bringing up secondary CPUs ...
    [ 0.282047] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.282053] CPU1: Spectre v2: using ICIALLU workaround
    [ 0.293239] smp: Brought up 1 node, 2 CPUs
    [ 0.297442] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.303814] CPU: All CPU(s) started in HYP mode.
    [ 0.308546] CPU: Virtualization extensions available.
    [ 0.314358] devtmpfs: initialized
    [ 0.335172] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.343278] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.353386] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.368377] pinctrl core: initialized pinctrl subsystem
    [ 0.374279] DMI not present or invalid.
    [ 0.378484] NET: Registered protocol family 16
    [ 0.384298] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.392260] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.593089] cpuidle: using governor ladder
    [ 0.597317] cpuidle: using governor menu
    [ 0.611728] OMAP GPIO hardware version 0.1
    [ 0.643407] No ATAGs?
    [ 0.643483] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.654031] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.660522] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.668126] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.676346] OMAP DMA hardware revision 0.0
    [ 0.691836] edma 43300000.edma: memcpy is disabled
    [ 0.699983] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.712529] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.723788] evm_3v3: supplied by evm_12v0
    [ 0.728178] evm_5v0: supplied by evm_12v0
    [ 0.732629] evm_3v6: supplied by evm_5v0
    [ 0.739866] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.745855] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.751906] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.757949] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.764116] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.770102] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.776182] iommu: Adding device 58820000.ipu to group 1
    [ 0.781719] iommu: Adding device 55020000.ipu to group 2
    [ 0.787286] iommu: Adding device 40800000.dsp to group 0
    [ 0.792987] iommu: Adding device 41000000.dsp to group 3
    [ 0.799654] SCSI subsystem initialized
    [ 0.804738] palmas 0-0058: IRQ missing: skipping irq request
    [ 0.833877] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
    [ 0.840905] SMPS123: supplied by regulator-dummy
    [ 0.847542] SMPS45: supplied by regulator-dummy
    [ 0.854032] SMPS6: supplied by regulator-dummy
    [ 0.860316] SMPS7: supplied by regulator-dummy
    [ 0.866737] SMPS8: supplied by regulator-dummy
    [ 0.873012] SMPS9: supplied by regulator-dummy
    [ 0.878557] LDO1: supplied by regulator-dummy
    [ 0.893857] LDO2: supplied by regulator-dummy
    [ 0.903715] LDO3: supplied by regulator-dummy
    [ 0.913735] LDO4: supplied by regulator-dummy
    [ 0.918459] random: fast init done
    [ 0.922408] LDO5: supplied by regulator-dummy
    [ 0.927603] LDO6: supplied by regulator-dummy
    [ 0.932782] LDO7: supplied by regulator-dummy
    [ 0.937982] LDO8: supplied by regulator-dummy
    [ 0.943168] LDO9: supplied by regulator-dummy
    [ 0.958322] LDOLN: supplied by regulator-dummy
    [ 0.968345] LDOUSB: supplied by regulator-dummy
    [ 0.980974] pcf857x 0-0020: probed
    [ 0.985023] pcf857x 0-0021: probed
    [ 0.988703] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 1.018816] GPIO line 465 (vin6_sel_s0) hogged as output/low
    [ 1.024797] pcf857x 1-0026: probed
    [ 1.028429] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [ 1.034551] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [ 1.040484] media: Linux media interface: v0.10
    [ 1.045175] videodev: Linux video capture interface: v2.00
    [ 1.050859] pps_core: LinuxPPS API ver. 1 registered
    [ 1.055963] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 1.065339] PTP clock support registered
    [ 1.069396] EDAC MC: Ver: 3.0.0
    [ 1.073396] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 1.079899] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 1.086654] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.093769] clocksource: Switched to clocksource arch_sys_counter
    [ 1.108640] NET: Registered protocol family 2
    [ 1.113676] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [ 1.121602] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 1.128907] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 1.135669] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.142245] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.148363] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.155046] NET: Registered protocol family 1
    [ 1.159948] RPC: Registered named UNIX socket transport module.
    [ 1.166044] RPC: Registered udp transport module.
    [ 1.170865] RPC: Registered tcp transport module.
    [ 1.175703] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.183702] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 1.191248] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 1.200636] Initialise system trusted keyrings
    [ 1.205362] workingset: timestamp_bits=14 max_order=20 bucket_order=6
    [ 1.216942] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 1.223381] NFS: Registering the id_resolver key type
    [ 1.228624] Key type id_resolver registered
    [ 1.232913] Key type id_legacy registered
    [ 1.237114] ntfs: driver 2.1.32 [Flags: R/O].
    [ 1.243255] Key type asymmetric registered
    [ 1.247499] Asymmetric key parser 'x509' registered
    [ 1.252539] bounce: pool size: 64 pages
    [ 1.256518] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 1.264169] io scheduler noop registered (default)
    [ 1.269083] io scheduler deadline registered
    [ 1.273547] io scheduler cfq registered
    [ 1.277505] io scheduler mq-deadline registered
    [ 1.282150] io scheduler kyber registered
    [ 1.292094] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [ 1.312259] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [ 1.320376] dra7-pcie 51000000.pcie: WA for Errata i870 not applied
    [ 1.326908] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [ 1.334633] dra7-pcie 51000000.pcie: IO 0x20003000..0x20012fff -> 0x00000000
    [ 1.342148] dra7-pcie 51000000.pcie: MEM 0x20013000..0x2fffffff -> 0x20013000
    [ 2.343900] dra7-pcie 51000000.pcie: Phy link never came up
    [ 2.349737] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [ 2.356195] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 2.361820] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 2.368172] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 2.381164] PCI: bus0: Fast back to back transfers disabled
    [ 2.392400] PCI: bus1: Fast back to back transfers enabled
    [ 2.398076] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [ 2.405596] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [ 2.411262] pcieport 0000:00:00.0: Signaling PME with IRQ 181
    [ 2.417297] pcieport 0000:00:00.0: AER enabled with IRQ 181
    [ 2.427290] evm_1v8: supplied by smps9
    [ 2.431392] evm_3v3_sw: supplied by sysen1
    [ 2.435843] aic_dvdd: supplied by evm_3v3_sw
    [ 2.440298] vtt_fixed: supplied by sysen2
    [ 2.493451] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 2.503602] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 45, base_baud = 3000000) is a 8250
    [ 2.512626] console [ttyS0] enabled
    [ 2.512626] console [ttyS0] enabled
    [ 2.519720] bootconsole [earlycon0] disabled
    [ 2.519720] bootconsole [earlycon0] disabled
    [ 2.529322] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 46, base_baud = 3000000) is a 8250
    [ 2.538948] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 47, base_baud = 3000000) is a 8250
    [ 2.550085] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 2.550346] random: crng init done
    [ 2.560612] omapdss_dss 58000000.dss: Linked as a consumer to regulator.25
    [ 2.567663] DSS: OMAP DSS rev 6.1
    [ 2.573995] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.18
    [ 2.581503] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.18
    [ 2.601940] brd: module loaded
    [ 2.611175] loop: module loaded
    [ 2.620480] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
    [ 2.625645] 10 fixed-partitions partitions found on MTD device spi0.0
    [ 2.632117] Creating 10 MTD partitions on "spi0.0":
    [ 2.637048] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [ 2.642901] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [ 2.649419] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [ 2.655929] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [ 2.662405] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [ 2.668499] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [ 2.675207] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [ 2.681607] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [ 2.688750] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [ 2.694847] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [ 2.701917] libphy: Fixed MDIO Bus: probed
    [ 2.763808] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [ 2.771503] davinci_mdio 48485000.mdio: detected phy mask fffffff3
    [ 2.781723] libphy: 48485000.mdio: probed
    [ 2.785777] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
    [ 2.793838] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
    [ 2.802594] cpsw 48484000.ethernet: Detected MACID = f0:b5:d1:0f:98:04
    [ 2.809216] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [ 2.815620] cpsw 48484000.ethernet: ALE Table size 1024
    [ 2.820908] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 2.828937] cpsw 48484000.ethernet: cpsw: Detected MACID = f0:b5:d1:0f:98:05
    [ 2.837630] i2c /dev entries driver
    [ 2.846504] cpu cpu0: Linked as a consumer to regulator.10
    [ 2.852088] cpu cpu0: Linked as a consumer to regulator.32
    [ 2.859279] sdhci: Secure Digital Host Controller Interface driver
    [ 2.865593] sdhci: Copyright(c) Pierre Ossman
    [ 2.871331] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.877884] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [ 2.886987] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 2.891753] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.31
    [ 2.898797] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.16
    [ 2.905677] sdhci-omap 4809c000.mmc: Dropping the link to regulator.16
    [ 2.912450] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.16
    [ 2.919333] sdhci-omap 4809c000.mmc: Dropping the link to regulator.16
    [ 2.925957] sdhci-omap 4809c000.mmc: Dropping the link to regulator.31
    [ 2.932992] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [ 2.939772] sdhci-omap 480b4000.mmc: Dropping the link to regulator.2
    [ 2.946319] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [ 2.977612] mmc0: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [ 2.985446] ti-iodelay 4844a000.padconf: Set reg 0x840 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 2.994403] ti-iodelay 4844a000.padconf: Set reg 0x848 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.003345] ti-iodelay 4844a000.padconf: Set reg 0x84c Delay(a: 307 g: 0), Elements(C=0 F=8)0x29008
    [ 3.012521] ti-iodelay 4844a000.padconf: Set reg 0x850 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.021496] ti-iodelay 4844a000.padconf: Set reg 0x854 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.030572] ti-iodelay 4844a000.padconf: Set reg 0x870 Delay(a: 785 g: 0), Elements(C=1 F=8)0x29028
    [ 3.039793] ti-iodelay 4844a000.padconf: Set reg 0x874 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.048859] ti-iodelay 4844a000.padconf: Set reg 0x878 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.057905] ti-iodelay 4844a000.padconf: Set reg 0x87c Delay(a: 613 g: 0), Elements(C=1 F=3)0x29023
    [ 3.067159] ti-iodelay 4844a000.padconf: Set reg 0x880 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.076207] ti-iodelay 4844a000.padconf: Set reg 0x884 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.085284] ti-iodelay 4844a000.padconf: Set reg 0x888 Delay(a: 683 g: 0), Elements(C=1 F=5)0x29025
    [ 3.094507] ti-iodelay 4844a000.padconf: Set reg 0x88c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.103563] ti-iodelay 4844a000.padconf: Set reg 0x890 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.112628] ti-iodelay 4844a000.padconf: Set reg 0x894 Delay(a: 835 g: 0), Elements(C=1 F=9)0x29029
    [ 3.121775] ti-iodelay 4844a000.padconf: Set reg 0x898 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.130713] ti-iodelay 4844a000.padconf: Set reg 0x89c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.139850] sdhci-omap 480d1000.mmc: Linked as a consumer to regulator.8
    [ 3.146659] sdhci-omap 480d1000.mmc: Dropping the link to regulator.8
    [ 3.153191] sdhci-omap 480d1000.mmc: Linked as a consumer to regulator.7
    [ 3.159994] sdhci-omap 480d1000.mmc: Linked as a consumer to regulator.8
    [ 3.192552] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 274 g: 0), Elements(C=0 F=7)0x29007
    [ 3.201671] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 162 g: 0), Elements(C=0 F=4)0x29004
    [ 3.210786] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 401 g: 0), Elements(C=0 F=11)0x2900b
    [ 3.219980] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 73 g: 0), Elements(C=0 F=2)0x29002
    [ 3.229000] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 465 g: 0), Elements(C=0 F=12)0x2900c
    [ 3.238196] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 115 g: 0), Elements(C=0 F=3)0x29003
    [ 3.247302] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 633 g: 0), Elements(C=1 F=3)0x29023
    [ 3.256422] sdhci-omap 480d1000.mmc: no pinctrl state for sdr104 mode
    [ 3.262893] sdhci-omap 480d1000.mmc: no pinctrl state for ddr50 mode
    [ 3.269306] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 47 g: 0), Elements(C=0 F=1)0x29001
    [ 3.278335] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 935 g: 280), Elements(C=1 F=16)0x29030
    [ 3.278344] sdhci-omap 480d1000.mmc: no pinctrl state for sdr50 mode
    [ 3.287702] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 621 g: 0), Elements(C=1 F=3)0x29023
    [ 3.294089] sdhci-omap 480d1000.mmc: no pinctrl state for hs200_1_8v mode
    [ 3.303172] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.318942] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 183 g: 0), Elements(C=0 F=5)0x29005
    [ 3.328050] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.335676] mmc1: SDHCI controller on 480d1000.mmc [480d1000.mmc] using PIO
    [ 3.337056] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 467 g: 0), Elements(C=0 F=12)0x2900c
    [ 3.353244] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.362225] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 262 g: 0), Elements(C=0 F=7)0x29007
    [ 3.371457] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 46 g: 0), Elements(C=0 F=1)0x29001
    [ 3.380601] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 684 g: 0), Elements(C=1 F=5)0x29025
    [ 3.389833] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 76 g: 0), Elements(C=0 F=2)0x29002
    [ 3.398906] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.403328] mmc0: new HS200 MMC card at address 0001
    [ 3.408042] tlv320aic3x-codec 0-0019: Linked as a consumer to regulator.3
    [ 3.416955] tlv320aic3x-codec 0-0019: Linked as a consumer to regulator.4
    [ 3.424323] mmcblk0: mmc0:0001 MMC08G 7.25 GiB
    [ 3.425363] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
    [ 3.429335] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB
    [ 3.435936] NET: Registered protocol family 10
    [ 3.441144] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB
    [ 3.451297] mmcblk0rpmb: mmc0:0001 MMC08G partition 3 128 KiB, chardev (243:0)
    [ 3.455985] Segment Routing with IPv6
    [ 3.462295] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 3.469125] NET: Registered protocol family 17
    [ 3.473920] Key type dns_resolver registered
    [ 3.478362] Registering SWP/SWPB emulation handler
    [ 3.483237] omap_voltage_late_init: Voltage driver support not added
    [ 3.489716] Power Management for TI OMAP4+ devices.
    [ 3.495392] Loading compiled-in X.509 certificates
    [ 3.517636] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 3.525218] dmm 4e000000.dmm: initialized all PAT entries
    [ 3.532034] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.18
    [ 3.539571] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.18
    [ 3.548221] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [ 3.557089] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 3.561910] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.31
    [ 3.568991] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.16
    [ 3.575892] sdhci-omap 4809c000.mmc: Dropping the link to regulator.16
    [ 3.582520] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.36
    [ 3.589557] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.16
    [ 3.596482] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
    [ 3.603144] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [ 3.609817] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
    [ 3.643524] mmc2: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [ 3.652299] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [ 3.660078] asoc-simple-card sound0: ASoC: no DMI vendor name!
    [ 3.668906] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.18
    [ 3.677005] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 3.685079] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 3.724043] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 3.730715] [drm] No driver support for vblank timestamp query.
    [ 3.736717] [drm] Cannot find any crtc or sizes
    [ 3.742071] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [ 3.750315] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 3.757357] hctosys: unable to open rtc device (rtc0)
    [ 3.763098] aic_dvdd: disabling
    [ 3.766789] ldousb: disabling
    [ 3.770501] ALSA device list:
    [ 3.773481] #0: DRA7xx-EVM
    [ 3.776963] Waiting for root device PARTUUID=854dd4fd-02...
    [ 3.911952] mmc2: host does not support reading read-only switch, assuming write-enable
    [ 3.924186] ti-iodelay 4844a000.padconf: Set reg 0x618 Delay(a: 1076 g: 330), Elements(C=2 F=8)0x29048
    [ 3.933541] ti-iodelay 4844a000.padconf: Set reg 0x620 Delay(a: 1271 g: 0), Elements(C=2 F=7)0x29047
    [ 3.942782] ti-iodelay 4844a000.padconf: Set reg 0x624 Delay(a: 722 g: 0), Elements(C=1 F=6)0x29026
    [ 3.951894] ti-iodelay 4844a000.padconf: Set reg 0x628 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.960829] ti-iodelay 4844a000.padconf: Set reg 0x62c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.969800] ti-iodelay 4844a000.padconf: Set reg 0x630 Delay(a: 751 g: 0), Elements(C=1 F=7)0x29027
    [ 3.978911] ti-iodelay 4844a000.padconf: Set reg 0x634 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 3.987845] ti-iodelay 4844a000.padconf: Set reg 0x638 Delay(a: 20 g: 0), Elements(C=0 F=0)0x29000
    [ 3.996903] ti-iodelay 4844a000.padconf: Set reg 0x63c Delay(a: 256 g: 0), Elements(C=0 F=7)0x29007
    [ 4.006012] ti-iodelay 4844a000.padconf: Set reg 0x640 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.014945] ti-iodelay 4844a000.padconf: Set reg 0x644 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.023916] ti-iodelay 4844a000.padconf: Set reg 0x648 Delay(a: 263 g: 0), Elements(C=0 F=7)0x29007
    [ 4.033006] ti-iodelay 4844a000.padconf: Set reg 0x64c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.041942] ti-iodelay 4844a000.padconf: Set reg 0x650 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.050880] ti-iodelay 4844a000.padconf: Set reg 0x654 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.059853] ti-iodelay 4844a000.padconf: Set reg 0x658 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.068787] ti-iodelay 4844a000.padconf: Set reg 0x65c Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
    [ 4.077741] mmc2: new ultra high speed DDR50 SDHC card at address aaaa
    [ 4.085240] mmcblk2: mmc2:aaaa SS08G 7.40 GiB
    [ 4.105233] mmcblk2: p1 p2
    [ 4.158682] EXT4-fs (mmcblk2p2): recovery complete
    [ 4.164262] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 4.172421] VFS: Mounted root (ext4 filesystem) on device 179:50.
    [ 4.185689] devtmpfs: mounted
    [ 4.189565] Freeing unused kernel memory: 2048K
    [ 4.194265] Run /sbin/init as init process
    [ 4.401081] systemd[1]: System time before build time, advancing clock.
    [ 4.426688] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [ 4.448420] systemd[1]: Detected architecture arm.

    Welcome to Arago 2019.09!

    [ 4.497540] systemd[1]: Set hostname to <dra7xx-evm>.
    [ 4.628338] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [ 4.645519] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [ 4.753819] [drm] Cannot find any crtc or sizes
    [ 4.858355] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 4.894821] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ 4.960880] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 4.995710] systemd[1]: Created slice system-getty.slice.
    [ OK ] Created slice system-getty.slice.
    [ 5.024110] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Listening on initctl Compatibility Named Pipe.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Reached target Slices.
    [ OK ] Reached target Remote File Systems.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Listening on Journal Socket.
    Starting Remount Root and Kernel File Systems...
    Mounting Kernel Debug File System...
    [ 5.269983] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
    [ OK ] Started Hardware RNG Entropy Gatherer Daemon.
    Starting Load Kernel Modules...
    [ 5.345968] cmemk: loading out-of-tree module taints kernel.
    [ 5.352502] CMEMK module: reference Linux version 4.19.73
    [ 5.358383] no physical memory specified
    [ 5.362326] cmemk initialized
    Mounting Temporary Directory (/tmp)...
    [ 5.384214] cryptodev: driver 1.9 loaded.
    Mounting POSIX Message Queue File System...
    [ OK ] Listening on Journal Socket (/dev/log).
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Listening on udev Control Socket.
    Starting udev Coldplug all Devices...
    Starting Journal Service...
    [ OK ] Listening on Process Core Dump Socket.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Mounted Kernel Debug File System.
    [ OK ] Started Load Kernel Modules.
    [ OK ] Started Journal Service.
    [ OK ] Mounted Temporary Directory (/tmp).
    [ OK ] Mounted POSIX Message Queue File System.
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting Flush Journal to Persistent Storage...
    Starting Create Static Device Nodes in /dev...
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ 6.051673] systemd-journald[117]: Received request to flush runtime journal from PID 1
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    [ OK ] Reached target Containers.
    Mounting /media/ram...
    Mounting /var/volatile...
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Mounted /media/ram.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Mounted /var/volatile.
    Starting Load/Save Random Seed...
    [ 6.408087] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
    [ OK ] Reached target Local File Systems.
    [ 6.443141] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
    [ 6.456071] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    Starting Create Volatile Files and Directories...
    [ 6.477967] remoteproc remoteproc0: 58820000.ipu is available
    [ OK ] Started Load/Save Random Seed.
    [ 6.497837] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [ 6.550002] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [ 6.560315] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [ 6.585614] remoteproc remoteproc1: 55020000.ipu is available
    [ OK ] Started Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    [ 6.656419] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    Starting Update UTMP about System Boot/Shutdown...
    [ 6.678719] remoteproc remoteproc0: powering up 58820000.ipu
    [ 6.684867] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4951732
    Starting Network Service...
    [ 6.719202] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [ 6.729715] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
    [ 6.754637] remoteproc remoteproc1: powering up 55020000.ipu
    [ 6.761214] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3747252
    [ 6.804972] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [ 6.809056] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ 6.831377] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 6.857512] remoteproc remoteproc2: 40800000.dsp is available
    [ 6.872774] remoteproc remoteproc0: registered virtio0 (type 7)
    [ 6.890710] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [ OK ] [ 6.909159] Driver for 1-wire Dallas network protocol.
    [ 6.927313] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    Found device /dev/ttyS0.[ 6.941832] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver

    [ 6.962623] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [ 6.974438] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [ 6.984328] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [ 6.991357] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [ 7.001033] omap-des 480a5000.des: will run requests pump with realtime priority
    [ 7.024904] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [ 7.062219] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
    [ 7.071150] ov1063x: probe of 1-0037 failed with error -121
    [ 7.100234] remoteproc remoteproc3: 41000000.dsp is available
    [ 7.128869] remoteproc remoteproc2: powering up 40800000.dsp
    [ 7.135631] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
    [ 7.149020] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 5639744
    [ OK ] Started Network Service.
    [ 7.195007] omap_rtc 48838000.rtc: registered as rtc0
    Starting Network Name Resolution...
    [ 7.217831] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 7.223736] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    Starting Wait for Network to be Configured...
    [ 7.290272] net eth1: initializing cpsw version 1.15 (0)
    [ 7.290582] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 7.321040] remoteproc remoteproc1: registered virtio1 (type 7)
    [ 7.332686] Generic PHY 48485000.mdio:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=48485000.mdio:03, irq=POLL)
    [ 7.365077] remoteproc remoteproc1: remote processor 55020000.ipu is now up
    [ 7.375205] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [ 7.388576] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 7.397058] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
    [ 7.410703] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x66
    [ 7.430124] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
    [ 7.457303] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
    [ 7.474559] virtio_rpmsg_bus virtio2: rpmsg host is online
    [ 7.475879] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x32
    [ 7.480115] remoteproc remoteproc2: registered virtio2 (type 7)
    [ 7.490458] remoteproc remoteproc3: powering up 41000000.dsp
    [ 7.503847] vpe 489d0000.vpe: Device registered as /dev/video0
    [ 7.524474] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [ 7.532861] net eth0: initializing cpsw version 1.15 (0)
    [ 7.557142] remoteproc remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 5639868
    [ 7.575027] virtio_rpmsg_bus virtio2: creating channel rpmsg-client-sample addr 0x33
    [ 7.575104] virtio_rpmsg_bus virtio2: creating channel rpmsg-omx addr 0x3c
    [ 7.575197] virtio_rpmsg_bus virtio2: creating channel rpmsg-rpc addr 0x65
    [ 7.576968] Generic PHY 48485000.mdio:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=POLL)
    [ 7.581576] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 7.592734] phy phy-4a084000.phy.3: Linked as a consumer to regulator.26
    [ 7.593037] phy phy-4a085000.phy.4: Linked as a consumer to regulator.26
    [ 7.595337] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
    [ 7.595368] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
    [ 7.623825] vip 48970000.vip: VPDMA firmware loaded
    [ 7.647992] ahci 4a140000.sata: controller can't do 64bit DMA, forcing 32bit
    [ 7.648000] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
    [ 7.648046] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [ 7.648054] ahci 4a140000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    [ 7.653908] remoteproc remoteproc2: remote processor 40800000.dsp is now up
    [ 7.684502] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [[ 7.688697] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [ 7.689543] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    OK [ 7.691234] CAN device driver interface
    [ 7.697043] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=a1ae14a6, irq=100)
    ] [ 7.698113] omap-aes 4b500000.aes: will run requests pump with realtime priority
    Started Network Time Synchronization.[ 7.722259] virtio_rpmsg_bus virtio3: rpmsg host is online
    [ 7.722304] remoteproc remoteproc3: registered virtio3 (type 7)
    [ 7.722309] remoteproc remoteproc3: remote processor 41000000.dsp is now up
    [ 7.723700] virtio_rpmsg_bus virtio3: creating channel rpmsg-client-sample addr 0x32
    [ 7.725815] virtio_rpmsg_bus virtio3: creating channel rpmsg-client-sample addr 0x33
    [ 7.725893] virtio_rpmsg_bus virtio3: creating channel rpmsg-omx addr 0x3c
    [ 7.725966] virtio_rpmsg_bus virtio3: creating channel rpmsg-rpc addr 0x65
    [ 7.747154] scsi host0: ahci
    [ 7.747578] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 87
    [ 7.758426] pvrsrvkm 56000000.gpu: assigned reserved memory node gpu-memory@c0000000
    [ 7.769544] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.gpu on minor 1
    [ 7.769971] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [ 7.787380] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [ 8.075802] ata1: SATA link down (SStatus 0 SControl 300)

    [ OK ] Started Network Name Resolution.
    [ 8.320862] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [ 8.376620] omap-hdmi-audio omap-hdmi-audio.0.auto: ASoC: no DMI vendor name!
    [ 9.701176] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: probing service rpc_example_2 with src 1024 dst 101
    [ 9.773040] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: probing service dce-callback with src 1024 dst 101
    [ 9.783658] rpmsg_rpc virtio0.rpmsg-rpc.-1.101: published functions = 8
    [ 9.802700] dwc3 48890000.usb: Failed to get clk 'ref': -2
    [ 9.827544] rpmsg_rpc virtio1.rpmsg-rpc.-1.101: published functions = 4
    [ 9.836206] dwc3 488d0000.usb: Failed to get clk 'ref': -2
    [ 9.839925] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: probing service rpmsg-dce with src 1025 dst 102
    [ 9.852704] dwc3 48890000.usb: changing max_speed on rev 5533202a
    [ 9.860934] rpmsg_rpc virtio2.rpmsg-rpc.-1.101: probing service rpc_example_4 with src 1024 dst 101
    [ 9.870605] rpmsg_rpc virtio1.rpmsg-rpc.-1.102: published functions = 9
    [ 9.878539] rpmsg_rpc virtio3.rpmsg-rpc.-1.101: probing service rpc_example_3 with src 1024 dst 101
    [ 9.885689] rpmsg_rpc virtio2.rpmsg-rpc.-1.101: published functions = 8
    [ 9.898200] rpmsg_rpc virtio3.rpmsg-rpc.-1.101: published functions = 8
    [ 9.936441] usbcore: registered new interface driver usbfs
    [ 9.950900] usbcore: registered new interface driver hub
    [ 9.957000] usbcore: registered new device driver usb
    [ 9.983648] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 9.989769] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [ 9.998986] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
    [ 10.008715] xhci-hcd xhci-hcd.1.auto: irq 192, io mem 0x488d0000
    [ 10.015148] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 10.023865] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 10.031195] usb usb1: Product: xHCI Host Controller
    [ 10.036236] usb usb1: Manufacturer: Linux 4.19.73-g31275c05a1 xhci-hcd
    [ 10.042918] usb usb1: SerialNumber: xhci-hcd.1.auto
    [ 10.051468] hub 1-0:1.0: USB hub found
    [ 10.055873] hub 1-0:1.0: 1 port detected
    [ 10.060766] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 10.066348] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [ 10.080954] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [ 10.087734] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 10.096097] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [ 10.104554] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 10.111893] usb usb2: Product: xHCI Host Controller
    [ 10.116914] usb usb2: Manufacturer: Linux 4.19.73-g31275c05a1 xhci-hcd
    [ 10.123616] usb usb2: SerialNumber: xhci-hcd.1.auto
    [ 10.129915] hub 2-0:1.0: USB hub found
    [ 10.133803] hub 2-0:1.0: 1 port detected
    [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [ OK ] Created slice system-systemd\x2dfsck.slice.
    Starting File System Check on /dev/mmcblk2p1...
    [ OK ] Reached target Host and Network Name Lookups.
    [ OK ] Reached target Network.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Reached target System Initialization.
    [ OK ] Started Daily rotation of log files.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Listening on RPCbind Server Activation Socket.
    Starting Reboot and dump vmcore via kexec...
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    Starting Save/Restore Sound Card State...
    [ OK ] Started D-Bus System Message Bus.
    Starting Print notice about GPLv3 packages...
    Starting uim-sysfs.service...
    Starting Lightning Fast Webserver With Light System Requirements...
    Starting Enable and configure wl18xx bluetooth stack...
    [ OK ] Started Job spooling tools.
    Starting Permit User Sessions...
    Starting RPC Bind Service...
    Starting TI IPC Daemon...
    Starting Avahi mDNS/DNS-SD Stack...
    [ OK ] Started Periodic Command Scheduler.
    Starting Login Service...
    [ OK ] Started File System Check on /dev/mmcblk2p1.
    [ OK ] Started Reboot and dump vmcore via kexec.
    [ OK ] Started Save/Restore Sound Card State.
    [ OK ] Started Lightning Fast Webserver With Light System Requirements.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started RPC Bind Service.
    [ OK ] Started TI IPC Daemon.
    [ OK ] Started NFS status monitor for NFSv2/3 locking..
    [ OK ] Started Serial Getty on ttyS0.
    [ OK ] Started Getty on tty1.
    [ OK ] Reached target Login Prompts.
    Starting Synchronize System and HW clocks...
    [ OK ] Reached target Sound Card.
    Mounting /run/media/mmcblk2p1...
    [ OK ] Started Enable and configure wl18xx bluetooth stack.
    [ OK ] Started Synchronize System and HW clocks.
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ OK ] Started Login Service.
    [ OK ] Mounted /run/media/mmcblk2p1.
    [ OK ] Started uim-sysfs.service.
    Starting rc.pvr.service...
    [ 14.032093] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [ OK ] Started rc.pvr.service.
    Starting weston.service...
    [ OK ] Started weston.service.
    Starting telnetd.service...
    Starting Matrix GUI...
    [ OK ] Started telnetd.service.
    Starting thttpd.service...
    [ OK ] Started Matrix GUI.
    [ OK ] Started thttpd.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    bash-dev
    bash
    bc
    binutils-dev
    binutils
    bison-dev
    bison
    cifs-utils
    cpio
    cpp-symlinks
    cpp
    dosfstools
    elfutils-dev
    elfutils
    g++-symlinks
    g++
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbc6x
    gdbserver
    gettext
    glmark2
    gstreamer1.0-libav
    gzip
    libasm1
    libbfd
    libcairo-perf-utils
    libdw1
    libelf1
    libgdbm-compat4
    libgdbm-dev
    libgdbm6
    libgettextlib
    libgettextsrc
    libgmp10
    libidn2-0
    libmpc3
    libmpfr6
    libreadline-dev
    libreadline7
    libunistring2
    m4-dev
    m4
    make
    nettle
    parted
    pdm-anomaly-detection
    swig-dev
    swig
    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
    ***************************************************************
    ***************************************************************
    [ OK ] Started Print notice about GPLv3 packages.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org dra7xx-evm ttyS0

    Arago 2019.09 dra7xx-evm ttyS0

    dra7xx-evm login: root
    root@dra7xx-evm:~#
    root@dra7xx-evm:~#
    root@dra7xx-evm:~#
    root@dra7xx-evm:~#
    root@dra7xx-evm:~# i2cdetect -l
    i2c-1 i2c OMAP I2C adapter I2C adapter
    i2c-2 i2c OMAP I2C adapter I2C adapter
    i2c-0 i2c OMAP I2C adapter I2C adapter
    root@dra7xx-evm:~# i2cdetect -y 1
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: -- -- -- -- -- -- -- -- 58 -- -- -- -- -- -- --
    60:
    70:
    root@dra7xx-evm:~# i2cdetect -y 2
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60:
    70:
    root@dra7xx-evm:~# i2cdetect -y 0
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: 50 51 -- -- -- -- -- 57 UU UU UU 5b -- -- -- --
    60:
    70:

  • Hello Keerthy,

    I have tried adding below piece of code in /arch/arm/boot/dts/dra7-evm.dts file

    &i2c5{
    status = "okay";
    clock-frequency = <400000>;

    };

    With above code, i could able to detect a new i2c bus as i2c-4 in the /dev as below

    But getting these timeout errors.

    From google what i found is could be bcz of the pull ups on the pinmux.

    So we have added below piece of code in dra7-evm.dts file, but we gets the same error.

    mcasp1_axr0_pin: pinmux_mcasp1_axr0_pin {
    pinctrl-single,pins = <
    /* this pin is used as a i2c SDA via mcasp */
    DRA7XX_CORE_IOPAD(0x36b4, PIN_INPUT_PULLUP | MUX_MODE10)
    >;
    };

    mcasp1_axr1_pin: pinmux_mcasp1_axr1_pin {
    pinctrl-single,pins = <
    /* this pin is used as a i2c SCL via mcasp */
    DRA7XX_CORE_IOPAD(0x36b8, PIN_INPUT_PULLUP | MUX_MODE10)
    >;
    };

    Can you pls correct me if the above code is fine to fix the pinmux issue?

    Also, As you mentioned in your previous reply, 

    {MCASP1_AXR0, (M10 | PIN_INPUT_SLEW)}, /* mcasp1_axr0.i2c5_sda */
    {MCASP1_AXR1, (M10 | PIN_INPUT_SLEW)}, /* mcasp1_axr1.i2c5_scl */

    But above code is for dra72 it seems, for dra71 below is the code

    {MCASP1_AXR0, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr0.i2c5_sda */
    {MCASP1_AXR1, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr1.i2c5_scl */

    Correct me if my understanding is wrong

  • Hi Prasad,

    Prasad_Pallapu said:

    {MCASP1_AXR0, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr0.i2c5_sda */
    {MCASP1_AXR1, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr1.i2c5_scl */

    Correct me if my understanding is wrong

    You are right. That is for dra71.

    Could you please share the values of the below registers using devmem2:

    devmem2 0x4A0036B4 w
    devmem2 0x4A0036B8 w

    That will be double to check to see if the settings are fine. Also you previous post there is a picture that you have attached but it is not visible.
    Please attach the full logs as a text file.

    Best Regards,
    Keerthy

  • Hello Keerthy,

    Thanks for the reply.

    Instead of Dra71x we are using TDA2e/Dra72x board to connect our deserializer board.

    Considering Datasheet and TRM of TDA2e/Dra72x, we have done the below settings.

    des_i2c_pins:pinmux_des_i2c_pins {
    pinctrl-single,pins = <
    DRA7XX_CORE_IOPAD(0x36b4, MUX_MODE10 | PIN_INPUT) /* this pin is used as a i2c5 SDA via mcasp */
    DRA7XX_CORE_IOPAD(0x36b8, MUX_MODE10 | PIN_INPUT) /* this pin is used as a i2c5 SCL via mcasp */
    >;

    &i2c5{
    status = "okay";
    clock-frequency = <400000>;
    pinctrl-names = "default";
    pinctrl-0 = <&des_i2c_pins>;

    ti9x4@30 {
    compatible = "ti,ti9x4";
    reg = <0x30>;
    };
    };

    after loading the images with above code compiled, we see the below log from root of the target

    root@dra7xx-evm:~# i2cdetect -y 4
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60:
    70:
    root@dra7xx-evm:~# i2cdetect -y 0
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: 50 -- -- -- -- -- -- -- UU UU UU 5b -- -- -- --
    60:
    70:
    root@dra7xx-evm:~# devmem2 0x4A0036B4 w
    /dev/mem opened.
    Memory mapped at address 0xb6f1a000.
    Read at address 0x4A0036B4 (0xb6f1a6b4): 0x0005000A
    root@dra7xx-evm:~# devmem2 0x4A0036B8 w
    /dev/mem opened.
    Memory mapped at address 0xb6f34000.
    Read at address 0x4A0036B8 (0xb6f346b8): 0x0005000A
    root@dra7xx-evm:~#

    We have connected our deserializer board on i2c5, as we have aliasing on .dts file, we are expecting our slave to appear on i2c4 of /dev/i2c-4 on the target, but we are not getting this recognized.

    Pls help us if we need to modify any any other code for this?

  • Hi Prasad,

    Again a full boot log will help me analyze the ordering of i2c instances. 

    Best Regards,
    Keerthy

  • Hello Keerthy,

    We realized that, the board we were tested was not the correct one to be tested and when we tested on a correct one we achieved what we need.

    Hence i request you to close this thread.

    Many thanks for your help.

  • Prasad,

    Great! Please resolve this issue.

    Best Regards,
    Keerthy