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.

MMWCAS-DSP-EVM: Cannot ping board with direct Ethernet connection

Part Number: MMWCAS-DSP-EVM

I am not able to ping my MMWCAS-DSP-EVM board with a direct Ethernet connection when I built the Linux Cascade Radar OS.

Using Ubuntu, I loaded the prebuilt Linux version and was able to ping the board so I know the physical connection is ok.

Here is my Ethernet connection on the Cascade board on the Linux I built:

  • Did you configure the EVM for static IP in your built?

    I think the pre-built binary is configured to get IP address from DHCP server.

  • I realize this. I said the prebuilt binary worked when I configured it to use a static address.

    I am talking about when I did the custom build of LInux. Has anyone at TI actually built the Linux version following the instructions and files your have provided and then tried to use the board? If so I would really like to see those instructions.

    https://e2e.ti.com/support/sensors/f/1023/t/899769 is another related issue.

  • Yes. The build instructions have been verified and that's how the pre-built binaries were generated.

    The building instructions can be found in Data Acquisition tool user guide.

    Please make sure uenv.txt file in SD card points to the below dtb.

    fdtfile=dra7-cascaderadar-infoadas.dtb

    Regards,
    Stanley

  • I did use this .dtb file as I said in the first section of https://e2e.ti.com/support/sensors/f/1023/t/899769 , otherwise Linux won't even boot so I would not get the ability to run the ifconfig command.

    I used "Vision SDK (v03.08.00) Linux User Guide" as was instructed in section 3 of "Vision SDK Linux Cascade Radar Data Acquisition Tool User Guide" to build Linux. There are no build instructions in this "Data Acquisition Tool User Guide" so I'm not sure what build instructions you are referring too.

    If you are refering to the Sys Bios/Ti Rtos build in "Vision SDK TDA2xx (v03.08.00) User Guide" and "Processor SDK Radar (v03.08) User Guide" I was able to succesfully build following these instructions, but I need the Linux build to work.

    Have you personally followed the build instructions with the git directories? It seems like someone built on their personal machine, uploaded the build output, and then forgot to check in files. That is just what it feels like to me.

    Thanks,

    Tom

  • "Vision SDK (v03.08.00) Linux User Guide" is where you find the general build instructions to build Linux with the addition steps described in "Vision SDK Linux Cascade Radar Data Acquisition Tool User Guide" for cascade radar build.

    And, yes, I follow the same steps to build and have no issue with Ethernet connection.

    With your own build, can you get ip address from dhcp servier if you don't use static ip?

  • With a fresh build I cannot get an ip address from a DHCP server assuming you mean I should just plug the Ethernet cable into the router.

    What *nix are you building on? I am building on a Ubuntu VM. I wrote down all the steps I follow to complete the build which I can provide if that would help for debug.

    Thanks,

    Tom

  • Could you share the complete boot log?

  • Hello Stanley,

    Below is the boot log:

    U-Boot SPL 2019.01-00014-gf454ae0ae9-dirty (May 14 2020 - 13:12:28 -0600)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    no pinctrl state for default mode
    Loading Environment from MMC... Card did not respond to voltage select!
    *** Warning - No block device, using default environment
    
    
    
    U-Boot 2019.01-00014-gf454ae0ae9-dirty (May 14 2020 - 13:12:28 -0600)
    
    CPU  : DRA752-GP ES2.0
    Model: TI DRA742
    Board: DRA74x Cascade EVM REV H.4
    DRAM:  4 GiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from MMC... Card did not respond to voltage select!
    *** Warning - No block device, using default environment
    
    Card did not respond to voltage select!
    invalid mmc device
    Net:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot:  0
    i2c_write: error waiting for data ACK (status=0x116)
    pcf8575_i2c_write_le16 i2c write failed to addr 21
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    182 bytes read in 1 ms (177.7 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4407808 bytes read in 388 ms (10.8 MiB/s)
    97317 bytes read in 12 ms (7.7 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe5000, end 8ffffc24 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.73-00040-g3d036849ccdc-dirty (tom@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Thu May 14 13:13:35 MDT 2020
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI DRA742 Cascade Radar Board
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node cmem@A9000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000b0000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node gpu-memory@c0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] cma: Reserved 64 MiB at 0x00000000bbc00000
    [    0.000000] OMAP4: Map 0x00000000bfd00000 to (ptrval) for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [    0.000000] percpu: Embedded 16 pages/cpu s36492 r8192 d20852 u65536
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 243264
    [    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=c30dfc4e-02 rw rootwait ip=none mem=1024M cma=64M
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 297376K/979968K available (10240K kernel code, 341K rwdata, 2804K rodata, 2048K init, 269K bss, 371296K reserved, 311296K cma-reserved, 128000K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 342 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 270 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000019] Switching to timer-based delay loop, resolution 162ns
    [    0.000298] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000307] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000781] Console: colour dummy device 80x30
    [    0.000799] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000807] This ensures that you still see kernel messages. Please
    [    0.000815] update your kernel commandline.
    [    0.000848] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000865] pid_max: default: 32768 minimum: 301
    [    0.000987] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001001] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001547] CPU: Testing write buffer coherency: ok
    [    0.001585] CPU0: Spectre v2: using ICIALLU workaround
    [    0.001798] /cpus/cpu@0 missing clock-frequency property
    [    0.001819] /cpus/cpu@1 missing clock-frequency property
    [    0.001832] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.059914] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079927] rcu: Hierarchical SRCU implementation.
    [    0.100123] EFI services will not be available.
    [    0.119991] smp: Bringing up secondary CPUs ...
    [    0.200355] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.200362] CPU1: Spectre v2: using ICIALLU workaround
    [    0.200485] smp: Brought up 1 node, 2 CPUs
    [    0.200497] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.200505] CPU: All CPU(s) started in HYP mode.
    [    0.200513] CPU: Virtualization extensions available.
    [    0.200997] devtmpfs: initialized
    [    0.218864] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.219121] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.219140] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.223974] pinctrl core: initialized pinctrl subsystem
    [    0.224507] DMI not present or invalid.
    [    0.224778] NET: Registered protocol family 16
    [    0.225966] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.226897] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.420523] cpuidle: using governor ladder
    [    0.420560] cpuidle: using governor menu
    [    0.430663] OMAP GPIO hardware version 0.1
    [    0.453412] No ATAGs?
    [    0.453490] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.453504] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.454016] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.454028] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.454661] OMAP DMA hardware revision 0.0
    [    0.466171] edma 43300000.edma: memcpy is disabled
    [    0.469542] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.476579] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.478265] evm_3v3: supplied by evm_12v0
    [    0.478565] evm_5v0: supplied by evm_12v0
    [    0.478856] evm_3v6: supplied by evm_5v0
    [    0.481628] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.481807] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.482045] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.482284] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.482653] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.482824] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.483100] iommu: Adding device 55020000.ipu to group 2
    [    0.483224] iommu: Adding device 40800000.dsp to group 0
    [    0.483448] iommu: Adding device 41000000.dsp to group 3
    [    0.484608] SCSI subsystem initialized
    [    0.485837] palmas 0-0058: IRQ missing: skipping irq request
    [    0.511452] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
    [    0.513123] SMPS123: supplied by regulator-dummy
    [    0.514980] SMPS45: supplied by regulator-dummy
    [    0.516819] SMPS6: supplied by regulator-dummy
    [    0.518516] SMPS7: supplied by regulator-dummy
    [    0.520360] SMPS8: supplied by regulator-dummy
    [    0.522075] SMPS9: supplied by regulator-dummy
    [    0.523048] LDO1: supplied by regulator-dummy
    [    0.531931] LDO2: supplied by regulator-dummy
    [    0.541793] LDO3: supplied by regulator-dummy
    [    0.551810] LDO4: supplied by regulator-dummy
    [    0.552023] random: fast init done
    [    0.552505] LDO5: supplied by regulator-dummy
    [    0.553211] LDO6: supplied by regulator-dummy
    [    0.553913] LDO7: supplied by regulator-dummy
    [    0.554625] LDO8: supplied by regulator-dummy
    [    0.555332] LDO9: supplied by regulator-dummy
    [    0.561851] LDOLN: supplied by regulator-dummy
    [    0.571860] LDOUSB: supplied by regulator-dummy
    [    0.583998] pcf857x: probe of 0-0020 failed with error -121
    [    0.584253] pcf857x: probe of 0-0021 failed with error -121
    [    0.584573] pca953x 0-0076: 0-0076 supply vcc not found, using dummy regulator
    [    0.584632] pca953x 0-0076: Linked as a consumer to regulator.0
    [    0.585378] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.585830] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.586046] media: Linux media interface: v0.10
    [    0.586086] videodev: Linux video capture interface: v2.00
    [    0.586162] pps_core: LinuxPPS API ver. 1 registered
    [    0.586172] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.586192] PTP clock support registered
    [    0.586222] EDAC MC: Ver: 3.0.0
    [    0.586997] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.587241] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.587734] Advanced Linux Sound Architecture Driver Initialized.
    [    0.588543] clocksource: Switched to clocksource arch_sys_counter
    [    0.596518] NET: Registered protocol family 2
    [    0.597092] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.597121] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.597187] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.597313] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.597383] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.597418] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.597545] NET: Registered protocol family 1
    [    0.617989] RPC: Registered named UNIX socket transport module.
    [    0.618000] RPC: Registered udp transport module.
    [    0.618009] RPC: Registered tcp transport module.
    [    0.618017] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.619105] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.619313] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.620292] Initialise system trusted keyrings
    [    0.620421] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.625405] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.635897] NFS: Registering the id_resolver key type
    [    0.635922] Key type id_resolver registered
    [    0.635931] Key type id_legacy registered
    [    0.635970] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.637543] Key type asymmetric registered
    [    0.637555] Asymmetric key parser 'x509' registered
    [    0.637606] bounce: pool size: 64 pages
    [    0.637643] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.637654] io scheduler noop registered
    [    0.637664] io scheduler deadline registered
    [    0.637760] io scheduler cfq registered (default)
    [    0.637771] io scheduler mq-deadline registered
    [    0.637780] io scheduler kyber registered
    [    0.643977] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [    0.647859] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.647891] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a095000.pciephy.2
    [    0.648588] dra7-pcie 51000000.pcie: WA for Errata i870 not applied
    [    0.648680] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.648722] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.648750] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    0.748846] dra7-pcie 51000000.pcie: Link up
    [    0.748979] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    0.748994] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.749006] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    0.749017] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    0.755073] PCI: bus0: Fast back to back transfers disabled
    [    0.755947] pci 0000:01:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8 GT/s x4 link)
    [    0.784116] PCI: bus1: Fast back to back transfers disabled
    [    0.784160] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [    0.784181] pci 0000:00:00.0: BAR 8: assigned [mem 0x20200000-0x202fffff]
    [    0.784198] pci 0000:01:00.0: BAR 0: assigned [mem 0x20200000-0x20203fff 64bit]
    [    0.784247] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    0.784261] pci 0000:00:00.0:   bridge window [mem 0x20200000-0x202fffff]
    [    0.784564] pcieport 0000:00:00.0: Signaling PME with IRQ 168
    [    0.784719] pcieport 0000:00:00.0: AER enabled with IRQ 168
    [    0.784829] dra7-pcie 51000000.pcie: CFG 'Memory Space Enable' change
    [    0.788797] evm_1v8: supplied by smps9
    [    0.789049] evm_3v3_sw: supplied by sysen1
    [    0.789285] aic_dvdd: supplied by evm_3v3_sw
    [    0.832881] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.836434] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 42, base_baud = 3000000) is a 8250
    [    2.099868] console [ttyS0] enabled
    [    2.104283] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 43, base_baud = 3000000) is a 8250
    [    2.113922] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 44, base_baud = 3000000) is a 8250
    [    2.124980] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    2.125298] random: crng init done
    [    2.132249] omapdss_dss 58000000.dss: Linked as a consumer to regulator.24
    [    2.141705] DSS: OMAP DSS rev 6.1
    [    2.146664] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.166834] brd: module loaded
    [    2.176079] loop: module loaded
    [    2.179941] vmemexp device MAJOR num = 244
    [    2.184071] vmemexp class registered
    [    2.187766] /dev/vmemexp device registered
    [    2.191934] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    2.208245] nvme nvme0: pci function 0000:01:00.0
    [    2.213065] nvme 0000:01:00.0: enabling device (0140 -> 0142)
    [    2.217039] m25p80 spi0.0: found n25q00, expected s25fl256s1
    [    2.224813] m25p80 spi0.0: n25q00 (131072 Kbytes)
    [    2.229678] 10 fixed-partitions partitions found on MTD device spi0.0
    [    2.236150] Creating 10 MTD partitions on "spi0.0":
    [    2.241070] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    2.246941] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    2.253491] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    2.260023] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    2.266547] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    2.272650] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    2.279340] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    2.285764] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    2.292906] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    2.299015] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    2.306092] libphy: Fixed MDIO Bus: probed
    [    2.339248] nvme nvme0: missing or invalid SUBNQN field.
    [    2.344663] nvme nvme0: Shutdown timeout set to 8 seconds
    [    2.366356]  nvme0n1: p1
    [    2.378572] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.386268] libphy: 48485000.mdio: probed
    [    2.393527] mdio_bus 48485000.mdio: MDIO device at address 3 is missing.
    [    2.400287] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver TI DP83867
    [    2.409369] cpsw 48484000.ethernet: Detected MACID = b4:52:a9:60:85:18
    [    2.415969] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.422379] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.427669] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.435671] cpsw 48484000.ethernet: cpsw: Detected MACID = b4:52:a9:60:85:19
    [    2.444343] i2c /dev entries driver
    [    2.452900] cpu cpu0: Linked as a consumer to regulator.9
    [    2.458399] cpu cpu0: Linked as a consumer to regulator.31
    [    2.465287] sdhci: Secure Digital Host Controller Interface driver
    [    2.471551] sdhci: Copyright(c) Pierre Ossman
    [    2.476844] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.483763] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [    2.492768] sdhci-omap 4809c000.mmc: Got CD GPIO
    [    2.497586] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.30
    [    2.504699] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.15
    [    2.511617] sdhci-omap 4809c000.mmc: Dropping the link to regulator.15
    [    2.518249] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.3
    [    2.525253] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.15
    [    2.532248] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
    [    2.538922] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [    2.545568] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
    [    2.578988] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [    2.586975] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [    2.593819] sdhci-omap 480b4000.mmc: Dropping the link to regulator.2
    [    2.600502] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [    2.631351] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    2.639630] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.645710] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.656385] mmc0: new SDHC card at address 0001
    [    2.662496] tlv320aic3x-codec 0-0019: Linked as a consumer to regulator.4
    [    2.669398] tlv320aic3x-codec 0-0019: Linked as a consumer to regulator.5
    [    2.672097] mmcblk0: mmc0:0001 00000 14.5 GiB
    [    2.677256] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
    [    2.688053] NET: Registered protocol family 10
    [    2.693040]  mmcblk0: p1 p2
    [    2.693551] Segment Routing with IPv6
    [    2.699608] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.706031] NET: Registered protocol family 17
    [    2.710723] Key type dns_resolver registered
    [    2.715151] Registering SWP/SWPB emulation handler
    [    2.719989] omap_voltage_late_init: Voltage driver support not added
    [    2.726371] Power Management for TI OMAP4+ devices.
    [    2.732004] Loading compiled-in X.509 certificates
    [    2.761575] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.768223] [drm] No driver support for vblank timestamp query.
    [    2.774532] [drm] Initialized vdrm 1.0.0 20191105 for 44000000.ocp:vdrm@0 on minor 0
    [    2.876135] Console: switching to colour frame buffer device 240x67
    [    2.899120] vdrm 44000000.ocp:vdrm@0: fb0: DRM emulated frame buffer device
    [    2.906609] dmm 4e000000.dmm: workaround for errata i878 in use
    [    2.914208] dmm 4e000000.dmm: initialized all PAT entries
    [    2.920529] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 1
    [    2.930989] hctosys: unable to open rtc device (rtc0)
    [    2.936809] aic_dvdd: disabling
    [    2.940225] ldousb: disabling
    [    2.943521] ALSA device list:
    [    2.946513]   No soundcards found.
    [    3.523338] EXT4-fs (mmcblk0p2): recovery complete
    [    3.533232] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.541423] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.549282] devtmpfs: mounted
    [    3.553589] Freeing unused kernel memory: 2048K
    [    3.558308] Run /sbin/init as init process
    [    4.065244] systemd[1]: System time before build time, advancing clock.
    [    4.094478] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    4.116330] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2019.09!
    
    [    4.160237] systemd[1]: Set hostname to <dra7xx-evm>.
    [    4.412251] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    4.429455] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    4.703704] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.740795] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.768674] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.798685] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    4.829114] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Swap.
             Mounting Kernel Debug File System...
             Mounting POSIX Message Queue File System...
             Starting Journal Service...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
             Starting Load Kernel Modules...
    [  OK  ] Listening on udev Kernel Socket.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
             Starting Remount Root and Kernel File Systems...
    [    5.362839] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Starting udev Coldplug all Devices...
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Kernel Configuration File System.
    [    5.969928] systemd-journald[95]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
    [  OK  ] Reached target Containers.
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Service...
    [    6.740888] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [    6.773981] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    6.848920] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [    6.914595] remoteproc remoteproc0: 55020000.ipu is available
    [    6.953779] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [    7.001542] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
    [    7.058107] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [    7.109072] remoteproc remoteproc1: 40800000.dsp is available
    [    7.153759] remoteproc remoteproc1: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [    7.168115] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [    7.213873] remoteproc remoteproc1: powering up 40800000.dsp
    [    7.226427] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
    [    7.239616] remoteproc remoteproc1: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [    7.271456] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
    [    7.284787] remoteproc remoteproc1: request_firmware failed: -2
    [    7.312809] remoteproc remoteproc2: 41000000.dsp is available
    [  OK  ] Found device /dev/ttyS0.
    [    7.327628] remoteproc remoteproc2: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
    [    7.404915] remoteproc remoteproc2: powering up 41000000.dsp
    [    7.421855] remoteproc remoteproc2: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
    [    7.444964] remoteproc remoteproc2: request_firmware failed: -2
    [    7.480107] remoteproc remoteproc0: powering up 55020000.ipu
    [    7.487234] remoteproc remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 4391400
    [    7.496751] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    [    7.552336] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.557900] remoteproc remoteproc0: registered virtio0 (type 7)
    [    7.565695] remoteproc remoteproc0: remote processor 55020000.ipu is now up
    [    7.573124] Driver for 1-wire Dallas network protocol.
    [    7.601766] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
    [    7.641010] omap_rtc 48838000.rtc: registered as rtc0
    [  OK  ] Started Network Service.
    [    7.698051] net eth1: initializing cpsw version 1.15 (0)
    [  OK  ] Started Network Time Synchronization.
    [    7.730336] libphy: PHY 48485000.mdio:03 not found
    [  OK  ] Reached target System Initialization.
    [    7.748459] net eth1: phy "48485000.mdio:03" not found on slave 1, err -19
    [    7.789844] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
    [    7.801900] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.831463] net eth0: initializing cpsw version 1.15 (0)
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [    7.878144] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [    7.913900] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.[    7.952650] TI DP83867 48485000.mdio:02: attached PHY driver [TI DP83867] (mii_bus:phy_addr=48485000.mdio:02, irq=POLL)
    
    [  OK  ] Reached target Sockets.
    [    8.007503] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Reached target Basic System.
    [    8.026216] phy phy-4a084000.phy.4: Linked as a consumer to regulator.25
    [    8.033142] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
             Starting rc.pvr.service...
             Starting TI IPC Daemon...
    [    8.068997] phy phy-4a085000.phy.5: Linked as a consumer to regulator.25
    [    8.097055] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Login Service...
    [  OK  ] Reached target System Time Synchronized.
             Starting Network Name Resolution...
    [  OK  ] Started TI IPC Daemon.
    [    8.406302] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    8.426469] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    8.451898] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    8.529811] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    8.549788] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [    9.273277] CAN device driver interface
    [    9.304038] pvrsrvkm: loading out-of-tree module taints kernel.
    [    9.352455] pvrsrvkm 56000000.gpu: assigned reserved memory node gpu-memory@c0000000
    [    9.409691] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.gpu on minor 2
    [    9.566983] ahci 4a140000.sata: controller can't do 64bit DMA, forcing 32bit
    [    9.584685] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
    [    9.602175] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    9.618649] ahci 4a140000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    [    9.635629] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=145a91c5, irq=90)
    [    9.687076] scsi host0: ahci
    [    9.695991] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 79
    [    9.790580] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started rc.pvr.service.
    [   10.053470] ata1: SATA link down (SStatus 0 SControl 300)
    [   11.806124] NET: Registered protocol family 45
    [   12.165316] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   12.173274] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
             Starting File System Check on /dev/mmcblk0p1...
             Starting File System Check on /dev/nvme0n1p1...
             Starting weston.service...
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started File System Check on /dev/nvme0n1p1.
    [   15.510431] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Mounted /run/media/mmcblk0p1.
             Mounting /run/media/nvme0n1p1...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [   15.663082] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/nvme0n1p1.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2019.09 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    

    Thanks.

    Tom

  • From the log, it looks like the Ethernet is up.

    Could you try using pre-built u-boot with the kernel you built?

    3331a8a6168f5838b24c273d59fa24c2049bd02c

  • Hello Stanley,

    I tried using the prebuilt u-boot from PROCESSOR_SDK_CASCADE_RADAR_03_08_00_00_prebuilt.exe but I got the same results (no Ethernet connection when connected directly to router).

    My checksum does not match what you are providing though. Where did you get the u-boot?

    Thanks,

    Tom

  • Hi Tom,

    Sorry for not responding earlier. I was OOO for some time.

    Could you compare one register value between the working build vs non-working build?

    The register to check is CTRL_MODULE_CTRL_CORE_SMA_SW_1 @ 0x4A002534.

    You can read register value in Linux by giving command "./ompaconf read 0x4a002534".

    Regards,

    Stanley

  • Hi Stanley,

    No problem and thanks for following up.

    I could not find the "ompaconf" command so I wasn't able to read this register. Do you know where this file is?

    I think this issue can be closed for now. We are just going to use the stock Arago Linux build for development for the near term.

    Thanks,

    Tom

  • Thanks for the update.

    You can find the tool here. https://github.com/omapconf/omapconf