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.

TDA4VM: R5F Lockstep using u-boot

Part Number: TDA4VM

Hi,

I have a few questions regarding the lockstep for R5F using u-boot.

I am using the 06_02 SDK version.

In the k3-j721e-mcu-wakeup.dtsi file the lockstep for MCU R5F is enabled, but the R5F boots without the lockstep.
I attached the screenshot from the CCS debugger with the CTRLMMR_MCUSEC_CLSTR0_CFG register settings.

According to the data from the register the CPU lockstep bahaviour is disabled and the LOCKSTEP is turned off.

How can we enable the lockstep for the MCU R5F cores using u-boot?

How can we enable the lockstep for the MAIN R5F cores using u-boot? Does enabling the lockstep in k3-j721e-main.dtsi file is enough to enable the lockstep?

  • Hi Adam,

    I believe you are loading the mcu r5f firmware at the R5 SPL level. Then in that case the default efuse values are used.
    That can be either in split mode or lockstep based on the samples.

    Now if you load the firmware and boot the r5fs in u-boot or linux then the DT property takes effect and you
    can boot any of the r5fss in either lockstep-mode or split-mode based on the DT property.

    So if you want to start/load any of the r5fs in the lockstep-mode advice you to load the firmware and start them from u-boot
    instead of R5 SPL.

    Regards,
    Keerthy
     

  • Hi,

    We are loading the R5F firmware using the remoteproc. The firmware is stored on sd card in rootfs/lib/firmware.

    Regards,

    Adam

  • Hi Adam,

    Could you please share the entire boot log so that i can investigate what exactly is happening.

    - Keerthy

  • Hi,

    I will provide you the log as soon as I can.

    I have a question is the way we are booting the R5F cores the one that uses the configuration from the device tree?

  • Hi,

    I attached the log from u-boot.

    u-boot_log.txt
    U-Boot SPL 2019.01-dirty (Mar 10 2020 - 11:15:05 +0100)
    SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default e                                                                                                                                                             nvironment
    
    Remoteproc 2 started successfully
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.2(release):ti2019.05-rc1
    NOTICE:  BL31: Built : 09:32:00, Feb 17 2020
    I/TC:
    I/TC: OP-TEE version: ti2019.05-rc1-dev (gcc version 8.3.0 (GNU Toolchain for th                                                                                                                                                             e A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Feb 17 09:40:16 UTC                                                                                                                                                              2020 aarch64
    I/TC: Initialized
    
    U-Boot SPL 2019.01-dirty (Mar 10 2020 - 11:14:45 +0100)
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    
    
    U-Boot 2019.01-dirty (Mar 10 2020 - 11:14:45 +0100)
    
    SoC:   J721E PG 1.0
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E6
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Net:
    Warning: ethernet@046000000 using MAC address from ROM
    eth0: ethernet@046000000
    Hit any key to stop autoboot:  0
    => setenv dorprocboot = 1
    => boot
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    ** Unable to read file boot.scr **
    0 bytes read in 0 ms
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    2219644 bytes read in 54 ms (39.2 MiB/s)
    Load Remote Processor 3 with data@addr=0x80080000 2219644 bytes: Success!
    86984 bytes read in 9 ms (9.2 MiB/s)
    Load Remote Processor 4 with data@addr=0x80080000 86984 bytes: Success!
    ** File not found /lib/firmware/j7-c66_0-fw **
    ** File not found /lib/firmware/j7-c66_1-fw **
    ** File not found /lib/firmware/j7-c71_0-fw **
    13338632 bytes read in 284 ms (44.8 MiB/s)
    99354 bytes read in 3 ms (31.6 MiB/s)
    ## Flattened Device Tree blob at 82000000
       Booting using the fdt blob at 0x82000000
       Loading Device Tree to 00000000fdda3000, end 00000000fdebefff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 4.19.94-g5a23bc00e0 (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 Mon Feb 17 09:01:06 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3e4 with crng_init=0
    [    0.000000] percpu: Embedded 2 pages/cpu s48536 r8192 d74344 u131072
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: enabling workaround for EL2 vector hardening
    [    0.000000] Speculative Store Bypass Disable mitigation not required
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 62339
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfs);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=bb656d95-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes)
    [    0.000000] software IO TLB: mapped [mem 0xf9da0000-0xfdda0000] (64MB)
    [    0.000000] Memory: 3377664K/3993600K available (8510K kernel code, 738K rwdata, 3136K rodata, 576K init, 641K bss, 91648K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GIC: using LPI property table @0x00000008c00a0000
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] CPU0: using LPI pending table @0x00000008c00b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008348] Console: colour dummy device 80x25
    [    0.012902] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023570] pid_max: default: 32768 minimum: 301
    [    0.028310] Security Framework initialized
    [    0.032514] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.039369] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.070701] ASID allocator initialised with 32768 entries
    [    0.084226] rcu: Hierarchical SRCU implementation.
    [    0.097170] Platform MSI: gic-its@1820000 domain created
    [    0.102707] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.120143] smp: Bringing up secondary CPUs ...
    [    0.157047] Detected PIPT I-cache on CPU1
    [    0.157063] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.157091] CPU1: using LPI pending table @0x00000008c0310000
    [    0.157113] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.157154] smp: Brought up 1 node, 2 CPUs
    [    0.184990] SMP: Total of 2 processors activated.
    [    0.189798] CPU features: detected: GIC system register CPU interface
    [    0.196380] CPU features: detected: 32-bit EL0 Support
    [    0.201858] CPU: All CPU(s) started at EL2
    [    0.206045] alternatives: patching kernel code
    [    0.211011] devtmpfs: initialized
    [    0.218716] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.228680] futex hash table entries: 512 (order: -1, 32768 bytes)
    [    0.235376] pinctrl core: initialized pinctrl subsystem
    [    0.241042] NET: Registered protocol family 16
    [    0.245926] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
    [    0.253487] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.262677] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.276086] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.282939] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.290343] cryptd: max_cpu_qlen set to 1000
    [    0.299144] vsys_3v3: supplied by evm_12v0
    [    0.303407] vsys_5v0: supplied by evm_12v0
    [    0.307936] SCSI subsystem initialized
    [    0.311993] media: Linux media interface: v0.10
    [    0.316633] videodev: Linux video capture interface: v2.00
    [    0.322249] pps_core: LinuxPPS API ver. 1 registered
    [    0.327321] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.336660] PTP clock support registered
    [    0.340672] EDAC MC: Ver: 3.0.0
    [    0.344494] Advanced Linux Sound Architecture Driver Initialized.
    [    0.351033] clocksource: Switched to clocksource arch_sys_counter
    [    0.357324] VFS: Disk quotas dquot_6.6.0
    [    0.361373] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.370774] NET: Registered protocol family 2
    [    0.375479] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes)
    [    0.383530] TCP established hash table entries: 32768 (order: 2, 262144 bytes)
    [    0.391012] TCP bind hash table entries: 32768 (order: 3, 524288 bytes)
    [    0.398002] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.404730] UDP hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.410912] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.417582] NET: Registered protocol family 1
    [    0.422251] RPC: Registered named UNIX socket transport module.
    [    0.428304] RPC: Registered udp transport module.
    [    0.433107] RPC: Registered tcp transport module.
    [    0.437910] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.444727] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.454396] Initialise system trusted keyrings
    [    0.459000] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.467006] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.473161] NFS: Registering the id_resolver key type
    [    0.478329] Key type id_resolver registered
    [    0.482601] Key type id_legacy registered
    [    0.486698] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.493599] 9p: Installing v9fs 9p2000 file system support
    [    0.500642] Key type asymmetric registered
    [    0.504828] Asymmetric key parser 'x509' registered
    [    0.509830] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.517390] io scheduler noop registered
    [    0.521395] io scheduler deadline registered
    [    0.525799] io scheduler cfq registered (default)
    [    0.530607] io scheduler mq-deadline registered
    [    0.535233] io scheduler kyber registered
    [    0.540134] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.546210] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.552362] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.561318] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.567741] ti-pat 31010000.pat: Failed to create 31010000.pat debugfs directory
    [    0.575421] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.581832] ti-pat 31011000.pat: Failed to create 31011000.pat debugfs directory
    [    0.589477] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.595891] ti-pat 31012000.pat: Failed to create 31012000.pat debugfs directory
    [    0.603531] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.609852] ti-pat 31013000.pat: Failed to create 31013000.pat debugfs directory
    [    0.617498] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.623820] ti-pat 31014000.pat: Failed to create 31014000.pat debugfs directory
    [    0.632718] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.643955] brd: module loaded
    [    0.649759] loop: module loaded
    [    0.654058] libphy: Fixed MDIO Bus: probed
    [    0.658390] tun: Universal TUN/TAP device driver, 1.6
    [    0.663792] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.671799] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.677865] sky2: driver version 1.30
    [    0.682159] VFIO - User Level meta-driver version: 0.3
    [    0.687738] i2c /dev entries driver
    [    0.691743] sdhci: Secure Digital Host Controller Interface driver
    [    0.698058] sdhci: Copyright(c) Pierre Ossman
    [    0.702691] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.708923] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.715734] optee: probing for conduit method from DT.
    [    0.720997] optee: revision 3.7 (5208e5c1)
    [    0.721148] optee: initialized driver
    [    0.729769] NET: Registered protocol family 17
    [    0.734370] 9pnet: Installing 9P2000 support
    [    0.738747] Key type dns_resolver registered
    [    0.743295] registered taskstats version 1
    [    0.747479] Loading compiled-in X.509 certificates
    [    0.756830] ti-sci 44083000.dmsc: ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
    [    0.781734] random: fast init done
    [    0.823842] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.829756] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.835703] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.841713] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    0.849119] pca953x 3-0020: Linked as a consumer to regulator.0
    [    0.879572] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    0.886970] pca953x 3-0022: Linked as a consumer to regulator.0
    [    0.893840] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low
    [    0.900564] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high
    [    0.907124] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.913131] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.919001] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    0.924956] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    0.932359] pca953x 6-0020: Linked as a consumer to regulator.0
    [    0.959699] GPIO line 464 (CODEC_RSTz) hogged as output/high
    [    0.965589] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    0.971445] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.977299] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.983211] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    0.990611] pca953x 9-0020: Linked as a consumer to regulator.0
    [    1.019456] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    1.034394] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    1.043062] cdns-pcie-host d000000.pcie: missing "mem"
    [    1.048651] cdns-pcie-host d000000.pcie: Linked as a consumer to phy-5000000.serdes.0
    [    2.055068] cdns-pcie-host d000000.pcie: Phy link never came up
    [    2.061122] cdns-pcie-host d000000.pcie: host bridge /interconnect@100000/pcie@2900000/pcie@d000000 ranges:
    [    2.071092] cdns-pcie-host d000000.pcie:    IO 0x10001000..0x10010fff -> 0x10001000
    [    2.078923] cdns-pcie-host d000000.pcie:   MEM 0x4000000000..0x407fffffff -> 0x00000000
    [    2.087167] cdns-pcie-host d000000.pcie: PCI host bridge to bus 0000:00
    [    2.093929] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.099534] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.109225] pci_bus 0000:00: root bus resource [mem 0x4000000000-0x407fffffff] (bus address [0x00000000-0x7fffffff])
    [    2.120005] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.129876] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.139769] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
    [    2.149730] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
    [    2.159718] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
    [    2.171413] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.179596] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.189555] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.199514] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.209472] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x6 may corrupt adjacent RW1C bits
    [    2.220923] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x1a may corrupt adjacent RW1C bits
    [    2.230891] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.236344] cdns-pcie-host d800000.pcie: missing "mem"
    [    2.242000] cdns-pcie-host d800000.pcie: Linked as a consumer to phy-5010000.serdes.1
    [    3.251372] cdns-pcie-host d800000.pcie: Phy link never came up
    [    3.257425] cdns-pcie-host d800000.pcie: host bridge /interconnect@100000/pcie@2910000/pcie@d800000 ranges:
    [    3.267392] cdns-pcie-host d800000.pcie:    IO 0x18001000..0x18010fff -> 0x18001000
    [    3.275221] cdns-pcie-host d800000.pcie:   MEM 0x4100000000..0x417fffffff -> 0x00000000
    [    3.283454] cdns-pcie-host d800000.pcie: PCI host bridge to bus 0001:00
    [    3.290214] pci_bus 0001:00: root bus resource [bus 00-0f]
    [    3.295819] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.305688] pci_bus 0001:00: root bus resource [mem 0x4100000000-0x417fffffff] (bus address [0x00000000-0x7fffffff])
    [    3.318178] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.327964] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.333372] cdns-pcie-host e000000.pcie: missing "mem"
    [    3.338957] cdns-pcie-host e000000.pcie: Linked as a consumer to phy-5020000.serdes.2
    [    4.348330] cdns-pcie-host e000000.pcie: Phy link never came up
    [    4.354382] cdns-pcie-host e000000.pcie: host bridge /interconnect@100000/pcie@2920000/pcie@e000000 ranges:
    [    4.364348] cdns-pcie-host e000000.pcie:    IO 0x4400001000..0x4400010fff -> 0x00001000
    [    4.372534] cdns-pcie-host e000000.pcie:   MEM 0x4400011000..0x4407ffffff -> 0x00011000
    [    4.380766] cdns-pcie-host e000000.pcie: PCI host bridge to bus 0002:00
    [    4.387526] pci_bus 0002:00: root bus resource [bus 00-0f]
    [    4.393131] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    4.402378] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
    [    4.414827] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.424600] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    4.430068] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    4.439943] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    4.446702] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.454373] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    4.464512] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    4.471270] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.478884] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    4.486400] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    4.495506] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    4.504240] console [ttyS2] enabled
    [    4.504240] console [ttyS2] enabled
    [    4.511276] bootconsole [ns16550a0] disabled
    [    4.511276] bootconsole [ns16550a0] disabled
    [    4.520167] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    4.528956] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 21, base_baud = 3000000) is a 8250
    [    4.537679] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    4.546424] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    4.556068] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    4.566575] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    4.576729] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    4.586969] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    4.597770] scsi host0: ufshcd
    [    4.613589] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
    [    4.619769] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    4.626368] Creating 7 MTD partitions on "47040000.spi.0":
    [    4.628669] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
    [    4.631842] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    4.649922] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    4.655417] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    4.660989] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    4.664376] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
    [    4.677784] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
    [    4.689042] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    4.689103] scsi 0:0:0:49488: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.694983] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    4.708634] scsi 0:0:0:49476: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.711109] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    4.717305] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
    [    4.839116] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    4.846622] cadence-qspi 47050000.spi: n25q512a (65536 Kbytes)
    [    4.867112] cadence-qspi 47050000.spi: Cadence QSPI NOR probe failed -517
    [    4.874371] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    4.881425] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    4.892862] UDMA has not been proped
    [    4.896434] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    4.904848] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    4.913335] mmc0: Unknown controller version (4). You may experience problems.
    [    4.920596] mmc0: CQHCI version 5.10
    [    4.954878] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    4.968716] vdd_mmc1: supplied by vsys_3v3
    [    4.973223] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    4.980460] pca953x 4-0020: Linked as a consumer to regulator.0
    [    5.007691] GPIO line 448 (DP0_PWR_SW_EN) hogged as output/high
    [    5.014208] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    5.021125] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    5.028039] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    5.034918] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    5.041787] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    5.052004] mmc0: Command Queue Engine enabled
    [    5.056445] mmc0: new HS400 MMC card at address 0001
    [    5.061763] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    5.066533] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    5.072694] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    5.078682] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (242:0)
    [    5.364761] ti-udma 285c0000.udmap: Channels: 24 (tchan: 48, echan: 0, rchan: 48, rflow: 96)
    [    5.374354] ti-udma 31150000.udmap: Channels: 84 (tchan: 140, echan: 160, rchan: 140, rflow: 300)
    [    5.387183] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
    [    5.393354] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    5.399954] Creating 7 MTD partitions on "47040000.spi.0":
    [    5.405431] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    5.411154] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    5.416644] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    5.422238] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    5.427564] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    5.433482] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    5.438965] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    5.446550] cadence-qspi 47050000.spi: n25q512a (65536 Kbytes)
    [    5.454298] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    5.461351] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.479038] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.489518] pps pps0: new PPS source ptp1
    [    5.493646] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    5.502589] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4
    [    5.509795] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.555040] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000
    [    5.563200] libphy: 46000000.ethernet: probed
    [    5.568811] sdhci-am654 4fb0000.sdhci: Linked as a consumer to regulator.4
    [    5.575720] sdhci-am654 4fb0000.sdhci: Linked as a consumer to regulator.5
    [    5.582609] mmc1: Unknown controller version (4). You may experience problems.
    [    5.589857] mmc1: CQHCI version 5.10
    [    5.623595] mmc1: SDHCI controller on 4fb0000.sdhci [4fb0000.sdhci] using ADMA 64-bit
    [    5.641012] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    5.647925] hctosys: unable to open rtc device (rtc0)
    [    5.674740] ALSA device list:
    [    5.677701]   No soundcards found.
    [    5.681296] Waiting for root device PARTUUID=bb656d95-02...
    [    7.035574] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    7.042607] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
    [    7.057226]  mmcblk1: p1 p2
    [    7.244554] EXT4-fs (mmcblk1p2): recovery complete
    [    7.249924] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.258016] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    7.271645] devtmpfs: mounted
    [    7.274746] Freeing unused kernel memory: 576K
    [    7.279195] Run /sbin/init as init process
    [    7.442679] systemd[1]: System time before build time, advancing clock.
    [    7.498202] NET: Registered protocol family 10
    [    7.502989] Segment Routing with IPv6
    [    7.524310] 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)
    [    7.545713] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2019.11!
    
    [    7.574495] systemd[1]: Set hostname to <j7-evm>.
    [    7.683948] 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.
    [    7.700963] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    7.814550] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.822046] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    7.839123] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.845808] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    7.863080] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.869697] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    7.887143] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    7.911207] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket.
             Mounting Kernel Debug File System...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Created slice User and Session Slice.
             Starting Remount Root and Kernel File Systems...
    [    7.987225] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
             Starting Journal Service...
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Created slice system-getty.slice.
             Mounting Huge Pages File System...
    [  OK  ] Reached target Swap.
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on Process Core Dump Socket.
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Reached target Slices.
             Starting Load Kernel Modules...
    [    8.169204] cmemk: loading out-of-tree module taints kernel.
    [    8.175871] CMEMK module: reference Linux version 4.19.94
    
    [    8.186506] no physical memory specified
    [    8.190436] cmemk initialized
             Mounting Temporary Directory (/tmp)...
    [    8.208630] cryptodev: driver 1.9 loaded.
    [  OK  ] Listening on udev Kernel Socket.
             Starting udev Coldplug all Devices...
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Mounted Temporary Directory (/tmp).
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    8.457584] systemd-journald[152]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Reached target Containers.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [    8.640519] rti-wdt 2200000.rti: heartbeat 60 sec
    [  OK  ] Started Create Volatile Files and Directories[    8.651747] rti-wdt 2210000.rti: heartbeat 60 sec
    .
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Service...
             Starting Network Time Synchronization...
    [    8.704518] pcm3168a 6-0044: Linked as a consumer to regulator.2
    [    8.712631] pcm3168a 6-0044: Linked as a consumer to regulator.3
    [  OK  ] Started Network Service.
    [  OK  ] Found device /dev/ttyS2.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    8.794439] img_enc 4200000.video-encoder: vxe_enc_probe: adding heap of type 1
    [    8.822138] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    8.842681] img_dec 4300000.video-decoder: decoder registered as /dev/video0
    [  OK  ] Started Network Time Synchronization.
    [    8.856702] pci-endpoint-test 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [  OK  ] Reached target System Time Synchronized.
    [    8.873887] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
    [    8.879536] pci_generic_config_write32: 29 callbacks suppressed
    [    8.879540] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [[    8.898617] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
      OK  ] Reached target System Initialization.
    [    8.904226] pci-endpoint-test 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    [  OK  ] Listening on RPCbind Server Activation Socket[    8.920256] remoteproc remoteproc0: 4d80800000.dsp is available
    .
    [    8.931144] img_enc 4200000.video-encoder: encoder registered as /dev/video1
    [  OK  ] Started Daily rotation of log files.
    [    8.942386] remoteproc remoteproc0: Direct firmware load for j7-c66_0-fw failed with error -2
             Starting Reboot and dump vmcore via kexec...
    [    8.958631] remoteproc remoteproc0: powering up 4d80800000.dsp
    [    8.958915] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
    [    8.976220] remoteproc remoteproc0: Direct firmware load for j7-c66_0-fw failed with error -2
    [    8.983479] pci_bus 0001:00: 1-byte config write to 0001:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    8.987464] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Started Daily Cleanup of Temporary Directorie[    9.001381] pci-endpoint-test 0002:00:00.0: of_irq_parse_pci: failed with rc=-22
    s.
    [  OK  ] Reached target Timers.
    [    9.015253] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
    [    9.025613] pci_bus 0002:00: 1-byte config write to 0002:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activati[    9.037133] remoteproc remoteproc1: 4d81800000.dsp is available
    on Socket.
    [    9.048687] remoteproc remoteproc1: Direct firmware load for j7-c66_1-fw failed with error -2
    [    9.058192] remoteproc remoteproc1: powering up 4d81800000.dsp
    [    9.064458] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [    9.073408] remoteproc remoteproc1: Direct firmware load for j7-c66_1-fw failed with error -2
    [    9.082538] remoteproc remoteproc1: request_firmware failed: -2
    [    9.088461] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    9.088535] remoteproc remoteproc2: 64800000.dsp is available
    [    9.103665] remoteproc remoteproc2: Direct firmware load for j7-c71_0-fw failed with error -2
    [    9.115485] remoteproc remoteproc2: powering up 64800000.dsp
    [    9.121747] remoteproc remoteproc2: Direct firmware load for j7-c71_0-fw failed with error -2
    [  OK  ] Listening on dropbear.socket.
    [    9.132858] remoteproc remoteproc2: request_firmware failed: -2
    [    9.150460] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    9.161166] k3_r5_rproc interconnect@100000:interconnect@28380000:r5fss@41000000: creating child devices for R5F cores
    [    9.161580] [drm] No driver support for vblank timestamp query.
    [  OK  ] Listening on D-Bus System Message Bus Socket.[    9.186458] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
    
    [  OK  ] Reached target Sockets.
    [    9.199124] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    9.214768] ntb_hw_epf 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.215870] [drm] Cannot find any crtc or sizes
    [  OK  ] Reached target Basic System.
    [    9.227302] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.245297] [drm] Cannot find any crtc or sizes
    [  OK  ] Started TEE Supplicant.
    [    9.259327] platform 41000000.r5f: configured R5F for IPC-only mode
    [  OK  ] Started D-Bus System Message Bus.
    [    9.271146] ntb_hw_epf 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
             Starting Print notice about GPLv3 packages...
    [    9.285810] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [  OK  ] Started Periodic Command Scheduler.
             Starting rc.pvr.service...
             Starting RPC Bind Service...
    [  OK  ] Started irqbalance daemon.
    [    9.326608] pci_bus 0001:00: 1-byte config write to 0001:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [  OK  ] Started Job spooling tools.
             Starting Login Service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  O[    9.356143] remoteproc remoteproc3: 41000000.r5f is available
    K  ] Reached target Network.
             Starting Permit User [    9.363312] ntb_hw_epf 0002:00:00.0: of_irq_parse_pci: failed with rc=-22
    Sessions...
    [  OK  ] Reached target Host and Network[    9.377579] k3_r5_rproc interconnect@100000:r5fss@5c00000: creating child devices for R5F cores
     Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
    [    9.389539] pci_bus 0002:00: 1-byte config write to 0002:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.407201] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    9.421064] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    9.431828] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    9.444682] remoteproc remoteproc4: 5c00000.r5f is available
    [    9.457098] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    9.468189] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    9.481001] remoteproc remoteproc5: 5d00000.r5f is available
    [    9.487270] remoteproc remoteproc3: powering up 41000000.r5f
    [    9.493411] remoteproc remoteproc3: Booting fw image j7-mcu-r5f0_0-fw, size 279652
    [    9.508287] k3_r5_rproc interconnect@100000:r5fss@5e00000: creating child devices for R5F cores
    [    9.523986] platform 5e00000.r5f: configured R5F for IPC-only mode
    [    9.535615] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [    9.556266] remoteproc remoteproc6: 5e00000.r5f is available
    [    9.571212] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    9.591969] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000
    [    9.603175] remoteproc remoteproc7: 5f00000.r5f is available
    [    9.646481] remoteproc remoteproc4: powering up 5c00000.r5f
    [    9.652134] remoteproc remoteproc4: Booting fw image j7-main-r5f0_0-fw, size 2287480
    [    9.663027] remoteproc remoteproc4: header-less resource table
    [    9.685011] remoteproc remoteproc6: powering up 5e00000.r5f
    [    9.691601] remoteproc remoteproc6: Booting fw image j7-main-r5f1_0-fw, size 86984
    [    9.696445] remoteproc remoteproc7: powering up 5f00000.r5f
    [    9.709394] remoteproc remoteproc7: Booting fw image j7-main-r5f1_1-fw, size 86984
    [    9.709757] platform 5e00000.r5f: R5F core initialized in IPC-only mode
    [    9.730715] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:0:4e20000000.gpu
    [    9.731497] platform 5f00000.r5f: booting R5F core using boot addr = 0x0
    [    9.739434] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    9.751628] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:1:4e20000000.gpu
    [    9.761392] remoteproc remoteproc6: registered virtio0 (type 7)
    [    9.761739] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    9.767365] PVR_K:  324: Read BVNC 22.104.208.318 from HW device registers
    [    9.780539] remoteproc remoteproc6: remote processor 5e00000.r5f is now up
    [    9.780716] remoteproc remoteproc7: registered virtio1 (type 7)
    [    9.788976] PVR_K:  324: RGX Device initialised with BVNC 22.104.208.318
    [    9.803740] [drm] Initialized pvr 1.10.5371573 20170530 for 4e20000000.gpu on minor 1
    [    9.811132] remoteproc remoteproc7: remote processor 5f00000.r5f is now up
    [    9.822681] remoteproc remoteproc5: powering up 5d00000.r5f
    [    9.830273] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 2219644
    [    9.845224] remoteproc remoteproc5: header-less resource table
    [    9.854107] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.862273] TI DP83867 k3-cpsw-mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=k3-cpsw-mdio:00, irq=POLL)
    [    9.875996] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    9.882556] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.960601] j721e-audio sound@0: pcm3168a-dac <-> 2ba0000.mcasp mapping ok
    [    9.977241] j721e-audio sound@0: pcm3168a-adc <-> 2ba0000.mcasp mapping ok
    [  OK  ] Started Login Service.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Found device /dev/ttyS1.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Serial Getty on ttyS1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting weston.service...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started weston.service.
             Starting DEMO...
             Starting telnetd.service...
    [  OK  ] Started DEMO.
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
    [   10.582879] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   10.591488] omap_rng 4e10000.trng: Random Number Generator ver. 241b34c
    [   10.593968] random: crng init done
    [   10.611108] random: 7 urandom warning(s) missed due to ratelimiting
    [   10.671660] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
             Starting Save/Restore Sound Card State...
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [   10.724432] remoteproc remoteproc8: b034000.pru is available
    [   10.732919] pru-rproc b034000.pru: PRU rproc node pru@b034000 probed successfully
    [   10.749645] remoteproc remoteproc9: b004000.rtu is available
    [   10.755550] pru-rproc b004000.rtu: PRU rproc node rtu@b004000 probed successfully
    [   10.763874] remoteproc remoteproc10: b00a000.txpru is available
    [   10.769898] pru-rproc b00a000.txpru: PRU rproc node txpru@b00a000 probed successfully
    [   10.778123] remoteproc remoteproc11: b038000.pru is available
    [   10.783924] pru-rproc b038000.pru: PRU rproc node pru@b038000 probed successfully
    [   10.791692] remoteproc remoteproc12: b006000.rtu is available
    [   10.797474] pru-rproc b006000.rtu: PRU rproc node rtu@b006000 probed successfully
    [   10.805199] remoteproc remoteproc13: b00c000.txpru is available
    [   10.811154] pru-rproc b00c000.txpru: PRU rproc node txpru@b00c000 probed successfully
    [   10.819271] remoteproc remoteproc14: b134000.pru is available
    [   10.825040] pru-rproc b134000.pru: PRU rproc node pru@b134000 probed successfully
    [   10.832815] remoteproc remoteproc15: b104000.rtu is available
    [   10.838590] pru-rproc b104000.rtu: PRU rproc node rtu@b104000 probed successfully
    [   10.846308] remoteproc remoteproc16: b10a000.txpru is available
    [   10.852254] pru-rproc b10a000.txpru: PRU rproc node txpru@b10a000 probed successfully
    [   10.860486] remoteproc remoteproc17: b138000.pru is available
    [   10.866264] pru-rproc b138000.pru: PRU rproc node pru@b138000 probed successfully
    [   10.874030] remoteproc remoteproc18: b106000.rtu is available
    [   10.879817] pru-rproc b106000.rtu: PRU rproc node rtu@b106000 probed successfully
    [   10.887535] remoteproc remoteproc19: b10c000.txpru is available
    [   10.893480] pru-rproc b10c000.txpru: PRU rproc node txpru@b10c000 probed successfully
    [   10.902684] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [   10.947021] usbcore: registered new interface driver usbfs
    [   10.952605] usbcore: registered new interface driver hub
    [   10.957969] usbcore: registered new device driver usb
    [   10.995326] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   11.000881] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   11.010065] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010
    [   11.019547] xhci-hcd xhci-hcd.2.auto: irq 324, io mem 0x06410000
    [   11.025997] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   11.034268] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.041493] usb usb1: Product: xHCI Host Controller
    [   11.046379] usb usb1: Manufacturer: Linux 4.19.94-g5a23bc00e0 xhci-hcd
    [   11.053034] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   11.058183] hub 1-0:1.0: USB hub found
    [   11.062152] hub 1-0:1.0: 1 port detected
    [   11.066550] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   11.072045] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   11.079832] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   11.086400] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.094539] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   11.102798] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.110020] usb usb2: Product: xHCI Host Controller
    [   11.114898] usb usb2: Manufacturer: Linux 4.19.94-g5a23bc00e0 xhci-hcd
    [   11.121429] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   11.126609] hub 2-0:1.0: USB hub found
    [   11.130375] hub 2-0:1.0: 1 port detected
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [   11.403058] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   11.555335] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [   11.563508] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [   11.570650] usb 1-1: SerialNumber: D50018512D73
    [   11.575676] hub 1-1:1.0: USB hub found
    [   11.580059] hub 1-1:1.0: 4 ports detected
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Reached target Sound Card.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            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
            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.
    [   13.972294] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   13.980825] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org j7-evm ttyS2
    
    Arago 2019.11 j7-evm ttyS2
    
    j7-evm login: 

    I will also repeat my question.

    Is the way we are booting the R5F cores the one that uses the configuration from the device tree?

  • Hi Adam,

    R5 SPL is doing 2 things:

    1) Loads main_r5fss0_core0 firmware and starts it in split mode as the DT has lockstep-mode = <0> in arch/arm/dts/k3-j721e-main.dtsi.
    Hence you see the message in your boot log:
    Remoteproc 2 started successfully.

    Remoteproc 2 for r5 is the main_r5fss0_core0  if you see the arch/arm/dts/k3-j721e-r5-common-proc-board.dts:

    aliases {
    remoteproc0 = &sysctrler;
    remoteproc1 = &a72_0;
    remoteproc2 = &main_r5fss0_core0;
    remoteproc3 = &main_r5fss0_core1;
    };

    So main_r5fss0 is booted in split mode as per the DT configuration.

    Please check:
    http://www.ti.com/lit/pdf/spruil1

    CTRLMMR_SEC_CLSTR0_CFG Register Address: 0x45A40040

    bit 3: lockstep_en if its set then lockstep mode is supported on the device.


    You could try to change arch/arm/dts/k3-j721e-main.dtsi:

    main_r5fss0: r5fss@5c00000 {
    compatible = "ti,j721e-r5fss";
    lockstep-mode = <0>;

    to

    main_r5fss0: r5fss@5c00000 {
    compatible = "ti,j721e-r5fss";
    lockstep-mode = <1>;

    And try to get main_r5fss in lockstep-mode subjected to LOCKSTEP_EN bit set.

    2) Once SPL is done with its tasks it is jumping to a firmware:

    jump_to_image_no_args function in arch/arm/mach-k3/common.c.

    This does not take any DT property as the mcu r5 itself is executing the SPL and hence for
    this we do not read the DT property. So i believe by default on your samples mcu_r5f is in split mode.

    Look at the description of Table 5-660. CTRLMMR_MCUSEC_CLSTR0_CFG Register Field Descriptions:

    in: www.ti.com/.../spruil1

    Bit 3: LOCKSTEP_EN is 0 on your sample which implies: 

    Lockstep enable. Indicates if R5 lockstep operation is supported on
    the device

    Your register reads 0x0 which means lock step not supported.

    So MCU_r5ss in lockstep mode is not supported on your sample.

    Hope this clarifies the behavior on your board.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thank you for that analysis.

    I checked the CTRLMMR_SEC_CLSTR0_CFG Register and the lockstep for the MAIN R5F is also not enabled.

    I'm attaching the screenshot:

    Does this mean that even if i enable the lockstep for MAIN R5F in  arch/arm/dts/k3-j721e-main.dtsi it won't work?

    Or if i enable the lockstep in the device tree the MAIN R5F should boot in a lockstep mode?

    Kind regards,

    Adam

  • Hi Adam,

    As replied earlier only of the LOCKSTEP_EN is enabled on your device it can be supported.

    lockstep_en = !!(stat & PROC_BOOT_STATUS_FLAG_R5_LOCKSTEP_PERMITTED);
    if (!lockstep_en && cluster->mode) {
    dev_err(cluster->dev, "lockstep mode not permitted, force configuring for split-mode\n");
    cluster->mode = 0;
    }

    The above code in Linux clearly checks that and supports only split-mode if lockstep_en is not set.

    So for your case this will not be supported.

    Hope you can resolve the issue with information provided.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thanks for the help.

    I have one last question.

    Is there any way I can enable the lockstep or is it disabled on a hardware level? And if yes how can i do that?

    We are using the evaluation board but we also have our custom hardware with TDA4.

  • Hi Adam,

    I consulted the expert in R5F domain. The lockstep-mode_en bit tells that it is not supported on your device.
    Lockstep mode cannot be supported on your device i confirm. Please resolve the issue.

    Best Regards,
    Keerthy

  • Hi Adam,

    Just a point on reading CTRLMMR_SEC_CLSTR0_CFG registers.

    Try reading the registers from M3, instead of R5.
    The access to these registers from other cores may have been blocked in latest release.

    Regards,
    Vishal