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.
Hi
Is there a support driver for the ethernet daughter board provided with TI TDA4 EVM?
As far as we know, this board uses QSGMII to connect the physical layer and the MAC layer.
We are not sure whether such hardware design will be supported by TI now or in the future.
The picture below is a ethernet daughter board provided with TI TDA4 EVM.
Allen,
The QSGMII is not enabled by default with the SDK release. Please refer to https://e2e.ti.com/support/processors/f/791/t/900935, to which I recently posted a document and patches describing how to enable.
Best regards,
Dave
Hi Dave,
Thanks for your reply.
I will first use these patchs you provide for research.
However, we also want to know which version (PSDK) of these patchs will be officially released.
Allen,
This would intersect with the next release -- SDK 7.0 end-June.
Best regards,
Dave
Hi Dave,
I want to ask the whole process of bringing up the QSGMII board.
If I want to bring up the QSGMII board,
should I have to bring up Ethfw first, then Ethfw controls CPSW9G, and then CPSW9G connect with QSGMII daughter board ?
Is the above process correct?
Allen,
Yes, the Ethernet firmware is modified per the instructions in the document to include the initialization of the QSGMII and will establish the connection. So loading the firmware occurs first and it will connect to the card after initializing the SerDes and the CPSW9G.
Best regards,
Dave
Hi Dave,
I use the binary files (QSGMII_patch.7z) in the link bellow which you provide me with, and I can already see the CPSW9G message from the com port.
The CPSW9G seems to be successfully connected with QSGMII
e2e.ti.com/.../900935
CPSW9G message:
CpswMacPort_enablePort: SGMII Link Parter Config port 4: Link Up: 10-Mbps Full-Duplex
Cpsw_handleLinkUp: port 4: Link up: 10-Mbps Full-Duplex
But under the Linux environment, the following error appears.
root@j7-evm:~# ifconfig eth1 192.168.5.47 netmask 255.255.255.0 up
[ 35.646954] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: register_ipv4 rpmsg - fail -5
[ 153.145497] NETDEV WATCHDOG: eth1 (j721e-cpsw-virt-mac): transmit queue 0 timed out
[ 153.153165] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:466 dev_watchdog+0x29c/0x2a8
[ 153.161406] Modules linked in: xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo xhci_plat_hcd xhci_hcd usbcore pru_rproc irq_pruss_intc ti_am335x_adc kfifo_buf rpmsg_char omap_rng rng_core pruss cdns3 roles udc_core crc32_ce crct10dif_ce j721e_cpsw_virt_mac snd_soc_j721e_evm pvrsrvkm(O) ti_k3_r5_remoteproc ntb_hw_epf ti_am335x_tscadc ntb pruss_soc_bus mhdp8546 pci_endpoint_test sa2ul videobuf2_dma_sg sha512_generic authenc ti_k3_dsp_remoteproc virtio_rpmsg_bus remoteproc cdns3_ti snd_soc_pcm3168a_i2c snd_soc_pcm3168a rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) cmemk(O) ipv6
[ 153.216317] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 4.19.94-g5a23bc00e0 #1
[ 153.224731] Hardware name: Texas Instruments K3 J721E SoC (DT)
[ 159.028890] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:14172 dql_avail:-14 free_desc:254
Can you give me some directions to help me solve this problem?
Allen,
Can you confirm the console printout from the Ethernet Firmware? Are you seeing the links up and initialized as shown in the document (page 1)?
Best regards,
Dave
Hi Dave,
I provide you with two files, I don't know if it helps debug.
1. cpsw9g.log: These messages are from ethfw.
2. QSGMII_dmesg.log: These messages are from Linux dmesg.
[BEGIN] 2020/5/19 �U�� 01:16:22 [ 159.028655] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:26972 dql_avail:-346 free_desc:251 root@j7-evm:~# ifconfig eth1 192.168.5.47 netmask 255.255.255.0 up root@j7-evm:~# dmesg [ 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 Fri Feb 7 09:45:50 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] Rese[ 163.892658] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:31836 dql_avail:-346 free_desc:251 rved 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] On node 0 totalpages: 62400 [ 0.000000] DMA32 zone: 29 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 29632 pages, LIFO batch:3 [ 0.000000] Normal zone: 32 pages used for memmap [ 0.000000] Normal zone: 32768 pages, LIFO batch:3 [ 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] pcpu-alloc: s48536 r8192 d74344 u131072 alloc=2*65536 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 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=082df06b-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.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008355] Console: colour dummy device 80x25 [ 0.012913] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023582] pid_max: default: 32768 minimum: 301 [ 0.028324] Security Framework initialized [ 0.032529] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes) [ 0.039384] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes) [ 0.070724] ASID allocator initialised with 32768 entries [ 0.084252] rcu: Hierarchical SRCU implementation. [ 0.097209] Platform MSI: gic-its@1820000 domain created [ 0.102814] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created [ 0.120248] smp: Bringing up secondary CPUs ... [ 0.157155] Detected PIPT I-cache on CPU1 [ 0.157177] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000 [ 0.157204] CPU1: using LPI pending table @0x00000008c0310000 [ 0.157230] CPU1: Booted secondary processor 0x0000000001 [0x411fd080] [ 0.157278] smp: Brought up 1 node, 2 CPUs [ 0.185115] SMP: Total of 2 processors activated. [ 0.189926] CPU features: detected: GIC system register CPU interface [ 0.196508] CPU features: detected: 32-bit EL0 Support [ 0.202000] CPU: All CPU(s) started at EL2 [ 0.206187] alternatives: patching kernel code [ 0.211229] devtmpfs: initialized [ 0.219514] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.229481] futex hash table entries: 512 (order: -1, 32768 bytes) [ 0.236442] pinctrl core: initialized pinctrl subsystem [ 0.242164] NET: Registered protocol family 16 [ 0.247078] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____)) [ 0.254641] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.263838] DMA: preallocated 256 KiB pool for atomic allocations [ 0.277378] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.284233] HugeTLB registered 512 MiB page size, pre-allocated 0 pages [ 0.291670] cryptd: max_cpu_qlen set to 1000 [ 0.296600] vsys_3v3: supplied by evm_12v0 [ 0.300871] vsys_5v0: supplied by evm_12v0 [ 0.305424] SCSI subsystem initialized [ 0.309494] media: Linux media interface: v0.10 [ 0.314130] videodev: Linux video capture interface: v2.00 [ 0.319743] pps_core: LinuxPPS API ver. 1 registered [ 0.324812] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.334148] PTP clock support registered [ 0.338158] EDAC MC: Ver: 3.0.0 [ 0.342044] Advanced Linux Sound Architecture Driver Initialized. [ 0.348648] clocksource: Switched to clocksource arch_sys_counter [ 0.354952] VFS: Disk quotas dquot_6.6.0 [ 0.358990] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes) [ 0.368491] NET: Registered protocol family 2 [ 0.373243] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes) [ 0.381294] TCP established hash table entries: 32768 (order: 2, 262144 bytes) [ 0.388777] TCP bind hash table entries: 32768 (order: 3, 524288 bytes) [ 0.395823] TCP: Hash tables configured (established 32768 bind 32768) [ 0.402547] UDP hash table entries: 2048 (order: 0, 65536 bytes) [ 0.408732] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes) [ 0.415407] NET: Registered protocol family 1 [ 0.420067] RPC: Registered named UNIX socket transport module. [ 0.426118] RPC: Registered udp transport module. [ 0.430922] RPC: Registered tcp transport module. [ 0.435724] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.442307] PCI: CLS 0 bytes, default 64 [ 0.442617] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 0.452177] Initialise system trusted keyrings [ 0.456800] workingset: timestamp_bits=46 max_order=16 bucket_order=0 [ 0.464889] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.471051] NFS: Registering the id_resolver key type [ 0.476222] Key type id_resolver registered [ 0.480493] Key type id_legacy registered [ 0.484592] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.491511] 9p: Installing v9fs 9p2000 file system support [ 0.498545] Key type asymmetric registered [ 0.502733] Asymmetric key parser 'x509' registered [ 0.507738] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.515299] io scheduler noop registered [ 0.519305] io scheduler deadline registered [ 0.523705] io scheduler cfq registered (default) [ 0.528511] io scheduler mq-deadline registered [ 0.533138] io scheduler kyber registered [ 0.538099] pinctrl-single 4301c000.pinmux: 94 pins, size 376 [ 0.544187] pinctrl-single 11c000.pinmux: 173 pins, size 692 [ 0.550346] pinctrl-single a40000.timesync_router: 512 pins, size 2048 [ 0.559444] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages [ 0.565867] ti-pat 31010000.pat: Failed to create 31010000.pat debugfs directory [ 0.573558] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages [ 0.579969] ti-pat 31011000.pat: Failed to create 31011000.pat debugfs directory [ 0.587609] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages [ 0.594021] ti-pat 31012000.pat: Failed to create 31012000.pat debugfs directory [ 0.601664] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages [ 0.607985] ti-pat 31013000.pat: Failed to create 31013000.pat debugfs directory [ 0.615621] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages [ 0.621941] ti-pat 31014000.pat: Failed to create 31014000.pat debugfs directory [ 0.630846] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.642246] brd: module loaded [ 0.648068] loop: module loaded [ 0.652461] libphy: Fixed MDIO Bus: probed [ 0.656812] tun: Universal TUN/TAP device driver, 1.6 [ 0.662215] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k [ 0.670224] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.676291] sky2: driver version 1.30 [ 0.680602] VFIO - User Level meta-driver version: 0.3 [ 0.686225] i2c /dev entries driver [ 0.690240] sdhci: Secure Digital Host Controller Interface driver [ 0.696557] sdhci: Copyright(c) Pierre Ossman [ 0.701202] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.707445] ledtrig-cpu: registered to indicate activity on CPUs [ 0.714341] optee: probing for conduit method from DT. [ 0.719607] optee: revision 3.7 (5208e5c1) [ 0.719764] optee: initialized driver [ 0.728451] NET: Registered protocol family 17 [ 0.733062] 9pnet: Installing 9P2000 support [ 0.737442] Key type dns_resolver registered [ 0.742037] registered taskstats version 1 [ 0.746222] Loading compiled-in X.509 certificates [ 0.755598] ti-sci 44083000.dmsc: ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla') [ 0.780822] random: fast init done [ 0.824689] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz [ 0.830610] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz [ 0.836550] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz [ 0.842574] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator [ 0.849982] pca953x 3-0020: Linked as a consumer to regulator.0 [ 0.877189] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator [ 0.884588] pca953x 3-0022: Linked as a consumer to regulator.0 [ 0.891459] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low [ 0.898181] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high [ 0.904741] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz [ 0.910769] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz [ 0.916655] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz [ 0.922612] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator [ 0.930021] pca953x 6-0020: Linked as a consumer to regulator.0 [ 0.957315] GPIO line 464 (CODEC_RSTz) hogged as output/high [ 0.963212] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz [ 0.969082] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz [ 0.974925] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz [ 0.980829] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator [ 0.988233] pca953x 9-0020: Linked as a consumer to regulator.0 [ 1.017073] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz [ 1.029807] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps [ 1.038375] j721e-pcie 2900000.pcie: Failed to create Cadence RC device [ 1.045550] cdns-pcie-host d800000.pcie: missing "mem" [ 1.051150] cdns-pcie-host d800000.pcie: Linked as a consumer to phy-5010000.serdes.0 [ 2.052683] cdns-pcie-host d800000.pcie: Phy link never came up [ 2.058736] cdns-pcie-host d800000.pcie: host bridge /interconnect@100000/pcie@2910000/pcie@d800000 ranges: [ 2.068707] cdns-pcie-host d800000.pcie: IO 0x18001000..0x18010fff -> 0x18001000 [ 2.076539] cdns-pcie-host d800000.pcie: MEM 0x4100000000..0x417fffffff -> 0x00000000 [ 2.084791] cdns-pcie-host d800000.pcie: PCI host bridge to bus 0000:00 [ 2.091553] pci_bus 0000:00: root bus resource [bus 00-0f] [ 2.097158] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x18001000-0x18010fff]) [ 2.106850] pci_bus 0000:00: root bus resource [mem 0x4100000000-0x417fffffff] (bus address [0x00000000-0x7fffffff]) [ 2.117620] pci 0000:00:00.0: [104c:b00d] type 00 class 0x060400 [ 2.117640] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 2.127510] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 2.137380] pci 0000:00:00.0: ignoring class 0x060400 (doesn't match header type 00) [ 2.145306] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits [ 2.155270] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits [ 2.165267] pci 0000:00:00.0: supports D1 [ 2.165269] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.165273] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits [ 2.175239] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x208 may corrupt adjacent RW1C bits [ 2.185293] pci 0000:00:00.0: reg 0x224: [mem 0x4100000000-0x41003fffff 64bit] [ 2.185296] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x4100000000-0x4100ffffff 64bit] (contains BAR0 for 4 VFs) [ 2.195619] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits [ 2.205666] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits [ 2.215713] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits [ 2.225761] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits [ 2.235820] pci 0000:00:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x2 link at 0000:00:00.0 (capable of 31.506 Gb/s with 16 GT/s x2 link) [ 2.252309] cdns-pcie-host e000000.pcie: missing "mem" [ 2.257977] cdns-pcie-host e000000.pcie: Linked as a consumer to phy-5020000.serdes.1 [ 3.267353] cdns-pcie-host e000000.pcie: Phy link never came up [ 3.273407] cdns-pcie-host e000000.pcie: host bridge /interconnect@100000/pcie@2920000/pcie@e000000 ranges: [ 3.283375] cdns-pcie-host e000000.pcie: IO 0x4400001000..0x4400010fff -> 0x00001000 [ 3.291561] cdns-pcie-host e000000.pcie: MEM 0x4400011000..0x4407ffffff -> 0x00011000 [ 3.299799] cdns-pcie-host e000000.pcie: PCI host bridge to bus 0001:00 [ 3.306560] pci_bus 0001:00: root bus resource [bus 00-0f] [ 3.312165] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x1000-0x10fff]) [ 3.321411] pci_bus 0001:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff]) [ 3.332179] pci 0001:00:00.0: [104c:b00d] type 00 class 0x060400 [ 3.332197] pci 0001:00:00.0: ignoring class 0x060400 (doesn't match header type 00) [ 3.340166] pci 0001:00:00.0: supports D1 [ 3.340169] pci 0001:00:00.0: PME# supported from D0 D1 D3hot [ 3.340187] pci 0001:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit] [ 3.340190] pci 0001:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs) [ 3.350176] pci 0001:00:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x2 link at 0001:00:00.0 (capable of 31.506 Gb/s with 16 GT/s x2 link) [ 3.366652] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235 [ 3.376534] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled [ 3.383293] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64 [ 3.390952] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211 [ 3.401094] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled [ 3.407853] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64 [ 3.415474] omap8250 40a00000.serial: PM domain pd:149 will not be powered off [ 3.423015] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250 [ 3.432142] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250 [ 3.440882] console [ttyS2] enabled [ 3.447915] bootconsole [ns16550a0] disabled [ 3.456828] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250 [ 3.465628] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 21, base_baud = 3000000) is a 8250 [ 3.474348] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf) [ 4.483029] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout [ 5.488345] arm-smmu-v3 36600000.smmu: CMD_SYNC timeout [ 5.493558] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs [ 5.503291] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled [ 5.513811] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled [ 5.523964] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled [ 5.534206] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled [ 5.545013] scsi host0: ufshcd [ 5.559251] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes) [ 5.565434] 7 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 5.572034] Creating 7 MTD partitions on "47040000.spi.0": [ 5.574120] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0 [ 5.577508] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 5.595607] 0x000000080000-0x000000280000 : "ospi.tispl" [ 5.601124] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 5.606699] 0x000000680000-0x0000006a0000 : "ospi.env" [ 5.610154] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2 [ 5.623499] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0 [ 5.634741] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup" [ 5.634826] scsi 0:0:0:49488: Well-known LUN TOSHIBA THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6 [ 5.640713] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw" [ 5.654329] scsi 0:0:0:49476: Well-known LUN TOSHIBA THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6 [ 5.654419] 0x000000800000-0x000004000000 : "ospi.rootfs" [ 5.663025] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found [ 5.784738] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517 [ 5.792341] cadence-qspi 47050000.spi: n25q512a (65536 Kbytes) [ 5.812732] cadence-qspi 47050000.spi: Cadence QSPI NOR probe failed -517 [ 5.820033] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22 [ 5.827092] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 [ 5.838522] UDMA has not been proped [ 5.842093] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517 [ 5.850547] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0 [ 5.859055] mmc0: Unknown controller version (4). You may experience problems. [ 5.866307] mmc0: CQHCI version 5.10 [ 5.900594] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit [ 5.914679] vdd_mmc1: supplied by vsys_3v3 [ 5.919206] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator [ 5.926449] pca953x 4-0020: Linked as a consumer to regulator.0 [ 5.953305] GPIO line 448 (DP0_PWR_SW_EN) hogged as output/high [ 5.959941] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100 [ 5.966835] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100 [ 5.973749] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100 [ 5.980663] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100 [ 5.987562] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100 [ 5.996334] mmc0: Command Queue Engine enabled [ 6.000781] mmc0: new HS400 MMC card at address 0001 [ 6.006133] mmcblk0: mmc0:0001 S0J56X 14.8 GiB [ 6.010939] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB [ 6.017154] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB [ 6.023198] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (242:0) [ 6.326435] ti-udma 285c0000.udmap: Channels: 24 (tchan: 48, echan: 0, rchan: 48, rflow: 96) [ 6.336031] ti-udma 31150000.udmap: Channels: 84 (tchan: 140, echan: 160, rchan: 140, rflow: 300) [ 6.349007] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes) [ 6.355181] 7 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 6.361782] Creating 7 MTD partitions on "47040000.spi.0": [ 6.367262] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 6.373059] 0x000000080000-0x000000280000 : "ospi.tispl" [ 6.378562] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 6.384140] 0x000000680000-0x0000006a0000 : "ospi.env" [ 6.389455] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup" [ 6.395442] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw" [ 6.400935] 0x000000800000-0x000004000000 : "ospi.rootfs" [ 6.408541] cadence-qspi 47050000.spi: n25q512a (65536 Kbytes) [ 6.416372] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22 [ 6.423435] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 [ 6.440881] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 6.451321] pps pps0: new PPS source ptp1 [ 6.455445] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1 [ 6.464389] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4 [ 6.471594] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 6.516655] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000 [ 6.524815] libphy: 46000000.ethernet: probed [ 6.530493] sdhci-am654 4fb0000.sdhci: Linked as a consumer to regulator.4 [ 6.537381] sdhci-am654 4fb0000.sdhci: Linked as a consumer to regulator.5 [ 6.544271] mmc1: Unknown controller version (4). You may experience problems. [ 6.551520] mmc1: CQHCI version 5.10 [ 6.585212] mmc1: SDHCI controller on 4fb0000.sdhci [4fb0000.sdhci] using ADMA 64-bit [ 6.602929] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 6.609917] hctosys: unable to open rtc device (rtc0) [ 6.636892] ALSA device list: [ 6.639849] No soundcards found. [ 6.643493] Waiting for root device PARTUUID=082df06b-02... [ 8.140197] mmc1: new ultra high speed DDR50 SDHC card at address 59b4 [ 8.147275] mmcblk1: mmc1:59b4 USDU1 29.5 GiB [ 8.157967] mmcblk1: p1 p2 [ 8.191516] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 8.199621] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 8.212153] devtmpfs: mounted [ 8.215229] Freeing unused kernel memory: 576K [ 8.219680] Run /sbin/init as init process [ 8.386502] systemd[1]: System time before build time, advancing clock. [ 8.440018] NET: Registered protocol family 10 [ 8.444878] Segment Routing with IPv6 [ 8.471992] 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) [ 8.493426] systemd[1]: Detected architecture arm64. [ 8.521290] systemd[1]: Set hostname to <j7-evm>. [ 8.631230] systemd[1]: Configuration file /lib/systemd/system/local-fs.target is marked executable. Please remove executable permission bits. Proceeding anyway. [ 8.645691] systemd[1]: Configuration file /lib/systemd/system/local-fs.target is marked world-writable. Please remove world writability permission bits. Proceeding anyway. [ 8.663939] systemd[1]: Configuration file /lib/systemd/system/swap.target is marked executable. Please remove executable permission bits. Proceeding anyway. [ 8.678012] systemd[1]: Configuration file /lib/systemd/system/swap.target is marked world-writable. Please remove world writability permission bits. Proceeding anyway. [ 8.693699] systemd[1]: Configuration file /lib/systemd/system/umount.target is marked executable. Please remove executable permission bits. Proceeding anyway. [ 8.707936] systemd[1]: Configuration file /lib/systemd/system/umount.target is marked world-writable. Please remove world writability permission bits. Proceeding anyway. [ 8.723671] systemd[1]: Configuration file /lib/systemd/system/systemd-journald.socket is marked executable. Please remove executable permission bits. Proceeding anyway. [ 8.846034] random: systemd: uninitialized urandom read (16 bytes read) [ 8.864728] random: systemd: uninitialized urandom read (16 bytes read) [ 8.884688] random: systemd: uninitialized urandom read (16 bytes read) [ 9.142691] cmemk: loading out-of-tree module taints kernel. [ 9.151605] CMEMK module: reference Linux version 4.19.94 [ 9.159678] no physical memory specified [ 9.163933] cmemk initialized [ 9.171862] cryptodev: driver 1.9 loaded. [ 9.222597] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ 9.585235] systemd-journald[149]: Received request to flush runtime journal from PID 1 [ 9.750599] rti-wdt 2200000.rti: heartbeat 60 sec [ 9.762865] rti-wdt 2210000.rti: heartbeat 60 sec [ 9.829217] pcm3168a 6-0044: Linked as a consumer to regulator.2 [ 9.878632] pcm3168a 6-0044: Linked as a consumer to regulator.3 [ 9.936212] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000 [ 9.953465] pci-endpoint-test 0000:00:00.0: of_irq_parse_pci: failed with rc=-22 [ 9.963359] pci_generic_config_write32: 12 callbacks suppressed [ 9.963365] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x3c may corrupt adjacent RW1C bits [ 9.981732] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 9.991397] pci-endpoint-test 0000:00:00.0: Cannot perform PCI test without BAR0 [ 10.000528] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode [ 10.018450] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device [ 10.018805] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 10.037675] pci-endpoint-test: probe of 0000:00:00.0 failed with error -12 [ 10.046263] pci-endpoint-test 0001:00:00.0: of_irq_parse_pci: failed with rc=-22 [ 10.053418] remoteproc remoteproc0: 4d80800000.dsp is available [ 10.061555] pci_bus 0001:00: 1-byte config write to 0001:00:00.0 offset 0x3c may corrupt adjacent RW1C bits [ 10.074897] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 10.084632] pci-endpoint-test 0001:00:00.0: Cannot perform PCI test without BAR0 [ 10.093225] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 10.105993] pci-endpoint-test: probe of 0001:00:00.0 failed with error -12 [ 10.115308] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000 [ 10.130624] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode [ 10.143375] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device [ 10.180098] remoteproc remoteproc0: powering up 4d80800000.dsp [ 10.187643] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 1448016 [ 10.193422] remoteproc remoteproc1: 4d81800000.dsp is available [ 10.205456] k3-dsp-rproc 4d80800000.dsp: booting DSP core using boot addr = 0xa6200000 [ 10.221077] ntb_hw_epf 0000:00:00.0: of_irq_parse_pci: failed with rc=-22 [ 10.230234] virtio_rpmsg_bus virtio0: rpmsg host is online [ 10.230256] remoteproc remoteproc0: registered virtio0 (type 7) [ 10.230258] remoteproc remoteproc0: remote processor 4d80800000.dsp is now up [ 10.231057] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 10.231059] [drm] No driver support for vblank timestamp query. [ 10.248515] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0 [ 10.248537] [drm] Cannot find any crtc or sizes [ 10.252644] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd [ 10.262656] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000 [ 10.296692] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x3c may corrupt adjacent RW1C bits [ 10.323799] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode [ 10.332715] [drm] Cannot find any crtc or sizes [ 10.338221] remoteproc remoteproc2: 64800000.dsp is available [ 10.346760] remoteproc remoteproc1: powering up 4d81800000.dsp [ 10.355086] remoteproc remoteproc1: Booting fw image j7-c66_1-fw, size 1448016 [ 10.366794] k3-dsp-rproc 4d81800000.dsp: booting DSP core using boot addr = 0xa7200000 [ 10.378633] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 10.390238] virtio_rpmsg_bus virtio1: rpmsg host is online [ 10.391584] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits [ 10.404888] remoteproc remoteproc1: registered virtio1 (type 7) [ 10.405480] ntb_hw_epf 0000:00:00.0: Failed to init PCI [ 10.412925] remoteproc remoteproc1: remote processor 4d81800000.dsp is now up [ 10.416593] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd [ 10.433031] ntb_hw_epf: probe of 0000:00:00.0 failed with error -5 [ 10.450905] ntb_hw_epf 0001:00:00.0: of_irq_parse_pci: failed with rc=-22 [ 10.470968] pci_bus 0001:00: 1-byte config write to 0001:00:00.0 offset 0x3c may corrupt adjacent RW1C bits [ 10.484876] ntb_hw_epf 0001:00:00.0: Failed to init PCI [ 10.501923] ntb_hw_epf: probe of 0001:00:00.0 failed with error -5 [ 10.620980] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:0:4e20000000.gpu [ 10.631125] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:1:4e20000000.gpu [ 10.641771] PVR_K: 313: Read BVNC 22.104.208.318 from HW device registers [ 10.649479] k3_r5_rproc interconnect@100000:interconnect@28380000:r5fss@41000000: creating child devices for R5F cores [ 10.651162] PVR_K: 313: RGX Device initialised with BVNC 22.104.208.318 [ 10.669917] [drm] Initialized pvr 1.10.5371573 20170530 for 4e20000000.gpu on minor 1 [ 10.679445] platform 41000000.r5f: configured R5F for remoteproc mode [ 10.700381] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000 [ 10.713493] remoteproc remoteproc3: 41000000.r5f is available [ 10.719942] remoteproc remoteproc3: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -2 [ 10.735034] remoteproc remoteproc3: powering up 41000000.r5f [ 10.742405] remoteproc remoteproc2: powering up 64800000.dsp [ 10.748329] remoteproc remoteproc2: Booting fw image j7-c71_0-fw, size 6954352 [ 10.758764] remoteproc remoteproc3: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -2 [ 10.773703] k3_r5_rproc interconnect@100000:r5fss@5c00000: creating child devices for R5F cores [ 10.786019] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xa8200000 [ 10.793877] remoteproc remoteproc3: request_firmware failed: -2 [ 10.801733] virtio_rpmsg_bus virtio2: rpmsg host is online [ 10.808733] remoteproc remoteproc2: registered virtio2 (type 7) [ 10.818536] remoteproc remoteproc2: remote processor 64800000.dsp is now up [ 10.851425] platform 5c00000.r5f: configured R5F for IPC-only mode [ 10.895052] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000 [ 10.910725] remoteproc remoteproc4: 5c00000.r5f is available [ 10.941263] platform 5d00000.r5f: configured R5F for remoteproc mode [ 10.945748] TI DP83867 k3-cpsw-mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=k3-cpsw-mdio:00, irq=POLL) [ 10.958420] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000 [ 10.969505] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 11.011475] remoteproc remoteproc5: 5d00000.r5f is available [ 11.054797] k3_r5_rproc interconnect@100000:r5fss@5e00000: creating child devices for R5F cores [ 11.089342] platform 5e00000.r5f: configured R5F for remoteproc mode [ 11.116572] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000 [ 11.149801] remoteproc remoteproc6: 5e00000.r5f is available [ 11.168878] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2 [ 11.181675] remoteproc remoteproc6: powering up 5e00000.r5f [ 11.192355] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -2 [ 11.208148] remoteproc remoteproc6: request_firmware failed: -2 [ 11.304193] remoteproc remoteproc4: powering up 5c00000.r5f [ 11.309910] remoteproc remoteproc4: Booting fw image j7-main-r5f0_0-fw, size 9744304 [ 11.320857] platform 5c00000.r5f: R5F core initialized in IPC-only mode [ 11.327719] remoteproc remoteproc5: powering up 5d00000.r5f [ 11.333410] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 3811288 [ 11.345301] virtio_rpmsg_bus virtio3: rpmsg host is online [ 11.350498] virtio_rpmsg_bus virtio3: creating channel rpmsg-kdrv addr 0x1a [ 11.352731] remoteproc remoteproc4: registered virtio3 (type 7) [ 11.360748] rpmsg-kdrv-eth-switch rpmsg-kdrv-2-mpu_1_0_ethswitch-device-0: Device info: permissions: 01FFFFFF uart_id: 2 [ 11.366736] remoteproc remoteproc4: remote processor 5c00000.r5f is now up [ 11.386129] remoteproc remoteproc5: bad phdr da 0xadfe0000 mem 0x1a8 [ 11.392486] rpmsg-kdrv-eth-switch rpmsg-kdrv-2-mpu_1_0_ethswitch-device-0: FW ver 0.1 (rev 1) 30/Apr/2020 SHA: [ 11.392548] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15 [ 11.409712] remoteproc remoteproc5: Failed to load program segments: -22 [ 11.427886] j721e-audio sound@0: pcm3168a-dac <-> 2ba0000.mcasp mapping ok [ 11.466448] j721e-audio sound@0: pcm3168a-adc <-> 2ba0000.mcasp mapping ok [ 11.507611] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: virt_cpsw_nuss mac loaded [ 11.536791] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: rdev_features:00000003 rdev_mtu:1522 flow_id:172 tx_psil_dst_id:4A00 [ 11.589949] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: local_mac_addr:00:00:00:00:00:00 rdev_mac_addr:70:ff:76:1d:8f:84 [ 11.870708] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200) [ 11.903718] omap_rng 4e10000.trng: Random Number Generator ver. 241b34c [ 11.904632] random: crng init done [ 11.922311] random: 7 urandom warning(s) missed due to ratelimiting [ 11.988955] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200) [ 11.990003] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down [ 12.052276] remoteproc remoteproc7: b034000.pru is available [ 12.061056] pru-rproc b034000.pru: PRU rproc node pru@b034000 probed successfully [ 12.076923] remoteproc remoteproc8: b004000.rtu is available [ 12.093374] pru-rproc b004000.rtu: PRU rproc node rtu@b004000 probed successfully [ 12.101146] remoteproc remoteproc9: b00a000.txpru is available [ 12.107604] pru-rproc b00a000.txpru: PRU rproc node txpru@b00a000 probed successfully [ 12.115695] remoteproc remoteproc10: b038000.pru is available [ 12.121493] pru-rproc b038000.pru: PRU rproc node pru@b038000 probed successfully [ 12.129228] remoteproc remoteproc11: b006000.rtu is available [ 12.135039] pru-rproc b006000.rtu: PRU rproc node rtu@b006000 probed successfully [ 12.142852] remoteproc remoteproc12: b00c000.txpru is available [ 12.148824] pru-rproc b00c000.txpru: PRU rproc node txpru@b00c000 probed successfully [ 12.156926] remoteproc remoteproc13: b134000.pru is available [ 12.162736] pru-rproc b134000.pru: PRU rproc node pru@b134000 probed successfully [ 12.170432] remoteproc remoteproc14: b104000.rtu is available [ 12.176396] pru-rproc b104000.rtu: PRU rproc node rtu@b104000 probed successfully [ 12.184035] remoteproc remoteproc15: b10a000.txpru is available [ 12.190024] pru-rproc b10a000.txpru: PRU rproc node txpru@b10a000 probed successfully [ 12.198116] remoteproc remoteproc16: b138000.pru is available [ 12.204061] pru-rproc b138000.pru: PRU rproc node pru@b138000 probed successfully [ 12.211772] remoteproc remoteproc17: b106000.rtu is available [ 12.217604] pru-rproc b106000.rtu: PRU rproc node rtu@b106000 probed successfully [ 12.225316] remoteproc remoteproc18: b10c000.txpru is available [ 12.231478] pru-rproc b10c000.txpru: PRU rproc node txpru@b10c000 probed successfully [ 12.311761] usbcore: registered new interface driver usbfs [ 12.317336] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: virt_cpsw_nuss mac started [ 12.332185] usbcore: registered new interface driver hub [ 12.351042] usbcore: registered new device driver usb [ 12.376396] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 12.381988] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 12.391095] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010 [ 12.400563] xhci-hcd xhci-hcd.2.auto: irq 324, io mem 0x06410000 [ 12.406747] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [ 12.415015] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 12.422272] usb usb1: Product: xHCI Host Controller [ 12.427164] usb usb1: Manufacturer: Linux 4.19.94-g5a23bc00e0 xhci-hcd [ 12.433800] usb usb1: SerialNumber: xhci-hcd.2.auto [ 12.438975] hub 1-0:1.0: USB hub found [ 12.442781] hub 1-0:1.0: 1 port detected [ 12.446952] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 12.452456] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [ 12.460143] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 12.466729] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 12.474881] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [ 12.483171] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 12.490403] usb usb2: Product: xHCI Host Controller [ 12.495279] usb usb2: Manufacturer: Linux 4.19.94-g5a23bc00e0 xhci-hcd [ 12.501817] usb usb2: SerialNumber: xhci-hcd.2.auto [ 12.506969] hub 2-0:1.0: USB hub found [ 12.510764] hub 2-0:1.0: 1 port detected [ 12.780681] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 12.933106] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00 [ 12.941324] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1 [ 12.948468] usb 1-1: SerialNumber: 5C0100797885 [ 12.954016] hub 1-1:1.0: USB hub found [ 12.957809] hub 1-1:1.0: 4 ports detected [ 129.991952] NET: Registered protocol family 15 [ 130.030255] Initializing XFRM netlink socket [ 131.934219] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0: register_ipv4 rpmsg - fail -5 [ 138.036651] ------------[ cut here ]------------ [ 138.041267] NETDEV WATCHDOG: eth1 (j721e-cpsw-virt-mac): transmit queue 0 timed out [ 138.048938] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:466 dev_watchdog+0x29c/0x2a8 [ 138.057179] Modules linked in: xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo xhci_plat_hcd xhci_hcd usbcore pru_rproc irq_pruss_intc ti_am335x_adc kfifo_buf rpmsg_char omap_rng rng_core cdns3 pruss roles udc_core crc32_ce crct10dif_ce j721e_cpsw_virt_mac snd_soc_j721e_evm ti_k3_r5_remoteproc pvrsrvkm(O) ti_am335x_tscadc ntb_hw_epf ntb pruss_soc_bus mhdp8546 sa2ul pci_endpoint_test sha512_generic ti_k3_dsp_remoteproc authenc virtio_rpmsg_bus cdns3_ti remoteproc videobuf2_dma_sg snd_soc_pcm3168a_i2c snd_soc_pcm3168a rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) cmemk(O) ipv6 [ 138.112090] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 4.19.94-g5a23bc00e0 #1 [ 138.120504] Hardware name: Texas Instruments K3 J721E SoC (DT) [ 138.126320] pstate: 20000005 (nzCv daif -PAN -UAO) [ 138.131094] pc : dev_watchdog+0x29c/0x2a8 [ 138.135089] lr : dev_watchdog+0x29c/0x2a8 [ 138.139082] sp : ffff00000802fd80 [ 138.142381] x29: ffff00000802fd80 x28: 0000000000000005 [ 138.147676] x27: ffff80084014af80 x26: 00000000ffffffff [ 138.152971] x25: 0000000000000140 x24: ffff8008460a2440 [ 138.158265] x23: ffff8008460a241c x22: ffff800846d43a80 [ 138.163558] x21: ffff000008cb1000 x20: ffff8008460a2000 [ 138.168852] x19: 0000000000000000 x18: 0000000000000010 [ 138.174146] x17: 0000000000000000 x16: 0000000000000000 [ 138.179440] x15: ffffffffffffffff x14: ffff000008cb3648 [ 138.184733] x13: ffff000088d768a7 x12: ffff000008d768b0 [ 138.190027] x11: ffff000008cc9000 x10: ffff00000802fa80 [ 138.195321] x9 : 00000000ffffffd0 x8 : ffff0000084e7d80 [ 138.200616] x7 : 696d736e61727420 x6 : ffff80087fad17e8 [ 138.205910] x5 : ffff000008414e78 x4 : 0000000000000002 [ 138.211204] x3 : 0000000000000002 x2 : 0000000000000040 [ 138.216498] x1 : fcc9b88efcf9a700 x0 : 0000000000000000 [ 138.221793] Call trace: [ 138.224228] dev_watchdog+0x29c/0x2a8 [ 138.227880] call_timer_fn+0x20/0x78 [ 138.231441] expire_timers+0xa8/0xb8 [ 138.235002] run_timer_softirq+0xa4/0x190 [ 138.238997] __do_softirq+0x10c/0x208 [ 138.242647] irq_exit+0xb8/0xc8 [ 138.245774] __handle_domain_irq+0x64/0xb8 [ 138.249854] gic_handle_irq+0x7c/0x178 [ 138.253587] el1_irq+0xb0/0x128 [ 138.256715] arch_cpu_idle+0x10/0x18 [ 138.260277] do_idle+0x120/0x138 [ 138.263491] cpu_startup_entry+0x20/0x28 [ 138.267400] secondary_start_kernel+0x148/0x158 [ 138.271914] ---[ end trace 4e6af2cfbbf5fc1f ]--- [ 138.276525] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:5984 dql_avail:-346 free_desc:251 [ 142.900658] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:10844 dql_avail:-346 free_desc:251 [ 148.020655] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:15964 dql_avail:-346 free_desc:251 [ 153.140656] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:21084 dql_avail:-346 free_desc:251 [ 159.028655] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:26972 dql_avail:-346 free_desc:251 root@j7-evm:~# [ 169.012658] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:36956 dql_avail:-346 free_desc:251 [ 174.132657] j721e-cpsw-virt-mac main_r5fss_cpsw9g_virt_mac0 eth1: txq:0 DRV_XOFF:0 tmo:42076 dql_avail:-346 free_desc:251 [END] 2020/5/19 �U�� 01:17:01
[BEGIN] 2020/5/19 �U�� 01:20:22 Enabling clocks for CPSW_9G! ======================================================= CPSW Ethernet Firmware Demo ======================================================= ETHFW Version: 0. 1. 1 ETHFW Build Date (YYYY/MMM/DD):2020/Apr/30 ETHFW Commit SHA:ETHFW PermissionFlag:0x1ffffff, UART Connected:true,UART Id:2IPC_echo_test (core : mcu2_0) ..... CPSW_9G Test on MAIN NAVSS Remote demo device (core : mcu2_0) ..... CpswPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK CpswPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK CpswPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK CpswPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK PHY 16 is alive PHY 17 is alive PHY 18 is alive PHY 19 is alive Host MAC address: 70:ff:76:1d:8f:85 [NIMU_NDK] CPSW has been started successfully CpswMacPort_enablePort: SGMII Link Parter Config port 4: Link Up: 100-Mbps Full-Duplex Cpsw_handleLinkUp: port 4: Link up: 100-Mbps Full-Duplex REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! Function:CpswProxyServer_attachExtHandlerCb,HostId:0,CpswType:1 Function:CpswProxyServer_registerMacHandlerCb,HostId:0,Handle:a2cee474,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:8f:84, FlowIdx:172, FlowIdxOffset:0 Cpsw_ioctlInternal: CPSW: Registered MAC address.ALE entry:10, Policer Entry:0Function:CpswProxyServer_registerIpv4MacHandlerCb,HostId:0,Handle:a2cee474,CoreKey:38acb7e6, MacAddress:70:ff:76:1d:8f:84 IPv4Addr:192.168.5.47 Failed to add Static ARP Entry ================LLI Table entries=========== Number of Static ARP Entries: 0 SNo. IP Address MAC Address ------ ------------- --------------- [END] 2020/5/19 �U�� 01:23:15
Q:Can you confirm the console printout from the Ethernet Firmware? Are you seeing the links up and initialized as shown in the document (page 1)?
A:which document is it ?
Hi Dave,
Does TI have a direction?
We urgently need to verify whether the QSGMII board can be used as a network expansion.
Looking forward to your reply, thank you.
Hi Dave,
The following file is our current uboot-env that we use to test QSGMII, which is also set up by following this link.
[BEGIN] 2020/5/21 �W�� 11:11:40 print arch=arm args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 ${mtdparts} args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} args_ufs=setenv devtype scsi;setenv bootpart 1:1;run ufs_finduuid;setenv bootargs console = ${console} ${optargs}root=PARTUUID=${uuid} rw rootfstype=${scsirootfstype};setenv devtype scsi;setenv bootpart 1:1 baudrate=115200 board=j721e board_name=J721EX-PM2-SOM board_rev=E7 board_serial=0291 board_software_revision=01 boot=mmc boot_fit=0 boot_rprocs=if test ${dorprocboot} -eq 1 && test ${boot} = mmc; then rproc init;run boot_rprocs_mmc;fi; boot_rprocs_mmc=env set rproc_id;env set rproc_fw;for i in ${rproc_fw_binaries} ; do if test -z "${rproc_id}" ; then env set rproc_id $i;else env set rproc_fw $i;run rproc_load_and_boot_one;env set rproc_id;env set rproc_fw;fi;done bootargs=androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=j721eboard bootcmd=run findfdt; setenv mmcdev 1; run init_${boot}; run load_ethfw; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern bootdelay=2 bootdir=/boot bootenvfile=uEnv.txt bootpart=1:2 bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr} check_android=setenv mmcdev 0; env delete boot_start; part start mmc ${mmcdev} boot boot_start; if test "$boot_start" = ""; then env set is_android 0; else env set is_android 1; fi; env delete boot_start check_dofastboot=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; env save; echo Booting into fastboot ...; fastboot 0; fi console=ttyS2,115200n8 cpu=armv8 dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1;rootfs part 0 1 mmcpart 0;tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;tispl.bin.raw raw 0x400 0x1000 mmcpart 1;u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;u-env.raw raw 0x3400 0x100 mmcpart 1;sysfw.itb.raw raw 0x3600 0x800 mmcpart 1 dfu_alt_info_mmc=boot part 1 1;rootfs part 1 2;tiboot3.bin fat 1 1;tispl.bin fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1;sysfw.itb fat 1 1 dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000;tispl.bin raw 0x080000 0x200000;u-boot.img raw 0x280000 0x400000;u-boot-env raw 0x680000 0x020000;sysfw.itb raw 0x6c0000 0x100000;rootfs raw 0x800000 0x3800000 dfu_alt_info_ram=tispl.bin ram 0x80080000 0x100000;u-boot.img ram 0x81000000 0x100000 dfu_bufsiz=0x20000 dorprocboot=0 emmc_android_boot=echo Trying to boot Android from eMMC ...; run update_to_fit; setenv eval_bootargs setenv bootargs $bootargs; run eval_bootargs; setenv mmcdev 0; mmc dev $mmcdev; mmc rescan; part start mmc ${mmcdev} boot boot_start; part size mmc ${mmcdev} boot boot_size; mmc read ${fit_loadaddr} ${boot_start} ${boot_size}; run get_overlaystring; run run_fit envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi; eth1addr=70:ff:76:1d:8f:84 eth2addr=70:ff:76:1d:8f:85 eth3addr=70:ff:76:1d:8f:86 eth4addr=70:ff:76:1d:8f:87 ethaddr=50:51:a9:71:ca:07 fdtaddr=0x82000000 fdtcontroladdr=fdec0d08 fileaddr=82000000 filesize=94afb0 findfdt=if test $board_name = J721EX-PM2-SOM; then setenv fdtfile k3-j721e-common-proc-board.dtb; fi;if test $board_name = J721EX-PM1-SOM; then setenv fdtfile k3-j721e-proc-board-tps65917.dtb; fi;setenv overlay_files ${name_overlays} finduuid=part uuid mmc ${bootpart} uuid fit_bootfile=fitImage fit_loadaddr=0x90000000 get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} get_fdt_ufs=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern} get_kern_ufs=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${name_kern} get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $overlay_files;do;load mmc ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && fdt apply ${overlayaddr};done; get_overlay_ufs=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load scsi ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && fdt apply ${overlayaddr};done; get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done; importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize} init_mmc=run args_all args_mmc init_ufs=ufs init; scsi scan; run args_ufs load_ethfw=load mmc 1:2 0x82000000 /lib/firmware/app_remoteswitchcfg_server.xer5f;rproc init;rproc load 2 0x82000000 ${filesize};rproc start 2 loadaddr=0x80080000 loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile} loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} loadfit=run args_mmc; run run_fit; loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile} mainr5f0_0fwname=/lib/firmware/j7-main-r5f0_0-fw mainr5f0_0loadaddr=88000000 mcur5f0_0fwname=/lib/firmware/j7-mcu-r5f0_0-fw mcur5f0_0loadaddr=89000000 mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi; mmcdev=1 mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; mmcrootfstype=ext4 rootwait mtdids=nor0=47040000.spi.0,nor0=47034000.hyperbus mtdparts=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) name_kern=Image overlayaddr=0x83000000 partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs} partitions_android=uuid_disk=${uuid_gpt_disk};name=bootloader,start=5M,size=8M,uuid=${uuid_gpt_bootloader};name=tiboot3,start=4M,size=1M,uuid=${uuid_gpt_tiboot3};name=boot,start=13M,size=40M,uuid=${uuid_gpt_boot};name=vendor,size=1024M,uuid=${uuid_gpt_vendor};name=system,size=2048M,uuid=${uuid_gpt_system};name=userdata,size=-,uuid=${uuid_gpt_userdata} rd_spec=- rproc_fw_binaries=3 /lib/firmware/j7-main-r5f0_1-fw 4 /lib/firmware/j7-main-r5f1_0-fw 6 /lib/firmware/j7-c66_0-fw 7 /lib/firmware/j7-c66_1-fw 8 /lib/firmware/j7-c71_0-fw rproc_load_and_boot_one=if load mmc ${bootpart} $loadaddr ${rproc_fw}; then if rproc load ${rproc_id} ${loadaddr} ${filesize}; then rproc start ${rproc_id};fi;fi run_fit=bootm ${fit_loadaddr}#${fdtfile}${overlaystring} run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} scsirootfstype=ext4 rootwait serial#=0000000000000291 soc=k3 stderr=serial@2800000 stdin=serial@2800000 stdout=serial@2800000 ufs_finduuid=part uuid scsi ${bootpart} uuid update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile} vendor=ti Environment size: 7195/131067 bytes => [END] 2020/5/21 �W�� 11:12:01
root@j7-evm:~# lspci
0000:00:00.0 Non-VGA unclassified device: Texas Instruments Device b00d
0001:00:00.0 Non-VGA unclassified device: Texas Instruments Device b00d
Hi Dave,
The CPSW9G has the following error.
Failed to add Static ARP Entry
================LLI Table entries===========
Number of Static ARP Entries: 0
SNo. IP Address MAC Address
------ ------------- ---------------
Allen,
1) Please confirm if DHCP is enabled or disabled? If DHCP is enabled, then please note that we have an issues when a remote core gets an IP address before the Switch R5F gets its IP. To avoid, you must ensure the Switch R5F is assigned an IP address first.
2) Could you share full EthFw UART logs as well? Make sure that the Linux IP and EthFw IP are in the same subnet.
See http://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/ethfw/docs/user_guide/demo_ethfw_combined_top.html under Demo Setup
3)
Link parameters doesn’t look quite correct. While 10-Mbps full-duplex is a valid speed/duplexity, it’s not common and typically indicates some problem during link establishment.
> CpswMacPort_enablePort: SGMII Link Parter Config port 4: Link Up: 10-Mbps Full-Duplex
> Cpsw_handleLinkUp: port 4: Link up: 10-Mbps Full-Duplex
But this is not likely causing the issue.
Best regards,
Dave
Hi Dave,
Thanks for your reply.
Where can I find the messages which indicate that the EthFw have already gotten the IP from DHCP.
Allen,
The messages from the EthFw for IP address from DHCP can be seen from the MCU2_0 logs.
The user guide explains this, please refer to http://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/ethfw/docs/user_guide/demo_ethfw_combined_top.html and search for the "Sample Output" section.
Regards
Karthik