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.

PROCESSOR-SDK-AM65X: SD card boot fails on IDK

Part Number: PROCESSOR-SDK-AM65X
Other Parts Discussed in Thread: TMDX654IDKEVM

hi,

I am trying to flash the sdcard for use on the AM65x IDK board. For this, i downloaded the TI Processor SDK ti-processor-sdk-linux-am65xx-evm-06.00.00.07-Linux-x86-Install.bin. I used the create-sdcard.sh script to program the sdcard with prebuilt images. However, when i set the boot switches for sdcard boot, i only get the following message on my serial console.

?sdhci_reset: Reset 0x1 never completed.

I believe this is a message from u-boot's sdhci_reset function, which is called from the sdhci_init function. I do not get any other messages on my console.

These are my boot switch settings

sw3.2 - on

sw3.3 - on

sw2.3 - on

The rest of the pins are in off position. Please let me know if i am missing something in the configuration, in terms of setting of boot switches. Thanks.

-sughosh

  • Hi Sughosh,

    Your boot switch configurations seems to be correct.

    What is the size of your SD card? Make sure it is at least 16GBytes. When running the  create-sdcard.sh script, make sure it successfully exit without any error message.

    Regards,
    Pavel

  • hi Pavel,

    I have a 8GB card that came shipped with the board. I do not get any error message when i run the create-sdcard.sh script, and i do see the images in the sdcard.

    -sughosh

  • Sughosh,

    I have the same on my side with 8GByte SD card, AM572x EVM and PSDK Linux v6.00. When I switch to 32Gbyte card, EVM start booting fine.

    Please check below user guide, it is stated that you need to have >8GB card for PSDK Linux v6.00

    Note

    You will need a >8GB SD Card and the capability to connect that card to your Linux Host machine (using a USB SD Card reader, for example).

    The SD card you wish to create is inserted into the host system and has a size sufficiently large (16GB or larger) to hold at least the bootloaders, kernel, and root file system.

     

    Regards,
    Pavel

  • hi,

    I procured a 32GB sd card and flashed the card with the pre-built images. But even with the 32GB card, i get the same error for sd card boot.

    sdhci_reset: Reset 0x1 never completed.

    It'll be great if someone from TI can let me know if this could be a hardware error, or do i need some software patch in u-boot for fixing this issue. Thanks.

    -sughosh

  • Sughosh,

    I have just try to boot TMDX654IDKEVM from SD card, and I am successfully doing it.

    First I run the PSDK6.00/bin/create-sdcard.sh on 32GByte SD card, and verify the process is successful. Please find attach the latest messages I have when running this script.

    ################################################################################
    
    	Copying files now... will take minutes
    
    ################################################################################
    
    Copying boot partition
    
    
    
    tispl.bin copied
    
    
    tiboot3.bin copied
    
    
    sysfw.itb copied
    
    
    u-boot.img copied
    
    uEnv.txt copied
    
    Copying rootfs System partition
                                                                                                                                                           
    
    Syncing...
     
    Un-mount the partitions 
     
    Remove created temp directories 
     
    Operation Finished
     
    
    

    Then I plug the SD card into connector J17, plug power supply 12V/5A in J1, plug USB cable in J42, configure boot switches for SD card boot (same as yours) and power on through the power switch. Below is what I have on my console:

    pbotev@lin-0306:~$ ls /dev/ttyUSB
    ttyUSB0  ttyUSB1  ttyUSB2  ttyUSB3  
    pbotev@lin-0306:~$ picocom -b 115200 /dev/ttyUSB0
    picocom v1.7
    
    port is        : /dev/ttyUSB0
    flowcontrol    : none
    baudrate is    : 115200
    parity is      : none
    databits are   : 8
    escape is      : C-a
    local echo is  : no
    noinit is      : no
    noreset is     : no
    nolock is      : no
    send_cmd is    : sz -vv
    receive_cmd is : rz -vv
    imap is        : 
    omap is        : 
    emap is        : crcrlf,delbs,
    
    Terminal ready
    
    U-Boot SPL 2019.01-g8b90adfb16 (Jul 07 2019 - 05:46:46 +0000)
    SYSFW ABI: 2.6 (firmware rev 0x0013 '19.4.1-v2019.04a (Curious Crow)')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.1(release):ti2019.01-rc2
    NOTICE:  BL31: Built : 04:28:26, Jul  7 2019
    I/TC: 
    I/TC: OP-TEE version: 3.2.0-583-g251f7c6-dev #1 Sun Jul  7 04:40:43 UTC 2019 aarch64
    I/TC: Initialized
    
    U-Boot SPL 2019.01-g8b90adfb16 (Jul 07 2019 - 05:09:26 +0000)
    detected AM6-IDKAPPEVM
    detected SER-PCIE2LEVM
    Trying to boot from MMC2
    
    
    U-Boot 2019.01-g8b90adfb16 (Jul 07 2019 - 05:09:26 +0000)
    
    Model: Texas Instruments AM654 Base Board
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@04FA0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    detected AM6-IDKAPPEVM
    detected SER-PCIE2LEVM
    Net:   eth2: pruss0_eth
    Warning: cpsw_nuss@046000000 using MAC address from ROM
    , eth0: cpsw_nuss@046000000, eth1: pruss2_eth
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    ** Unable to read file boot.scr **
    1490 bytes read in 2 ms (727.5 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    ** Unable to read file .psdk_setup **
    ## Resetting to default environment
    Saving Environment to MMC... Writing to redundant MMC(0)... OK
    1 bytes written
    �esetting ...
    U-Boot SPL 2019.01-g8b90adfb16 (Jul 07 2019 - 05:46:46 +0000)
    SYSFW ABI: 2.6 (firmware rev 0x0013 '19.4.1-v2019.04a (Curious Crow)')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.1(release):ti2019.01-rc2
    NOTICE:  BL31: Built : 04:28:26, Jul  7 2019
    I/TC: 
    I/TC: OP-TEE version: 3.2.0-583-g251f7c6-dev #1 Sun Jul  7 04:40:43 UTC 2019 aarch64
    I/TC: Initialized
    
    U-Boot SPL 2019.01-g8b90adfb16 (Jul 07 2019 - 05:09:26 +0000)
    detected AM6-IDKAPPEVM
    detected SER-PCIE2LEVM
    Trying to boot from MMC2
    
    
    U-Boot 2019.01-g8b90adfb16 (Jul 07 2019 - 05:09:26 +0000)
    
    Model: Texas Instruments AM654 Base Board
    DRAM:  4 GiB
    MMC:   sdhci@4f80000: 0, sdhci@04FA0000: 1
    Loading Environment from MMC... OK
    In:    serial
    Out:   serial
    Err:   serial
    detected AM6-IDKAPPEVM
    detected SER-PCIE2LEVM
    Net:   eth2: pruss0_eth
    Warning: cpsw_nuss@046000000 using MAC address from ROM
    , eth0: cpsw_nuss@046000000, eth1: pruss2_eth
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    ** Unable to read file boot.scr **
    1490 bytes read in 1 ms (1.4 MiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 0 ms
    Already setup.
    12632072 bytes read in 1197 ms (10.1 MiB/s)
    71809 bytes read in 8 ms (8.6 MiB/s)
    11402 bytes read in 2 ms (5.4 MiB/s)
    2084 bytes read in 2 ms (1017.6 KiB/s)
    ## Flattened Device Tree blob at 82000000
       Booting using the fdt blob at 0x82000000
       Loading Device Tree to 00000000fddb7000, end 00000000fdecbfff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 4.19.38-g4dae378bbe (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 Sun Jul 7 03:42:51 UTC 2019
    [    0.000000] Machine model: Texas Instruments AM654 Base Board
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9b100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c100000, size 7 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9c100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.1
    [    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3e4 with crng_init=0
    [    0.000000] percpu: Embedded 2 pages/cpu s48536 r8192 d74344 u131072
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: enabling workaround for ARM erratum 845719
    [    0.000000] Speculative Store Bypass Disable mitigation not required
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64704
    [    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) root=PARTUUID=265add23-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 0xf9db0000-0xfddb0000] (64MB)
    [    0.000000] Memory: 3529856K/4145152K available (8062K kernel code, 752K rwdata, 2880K rodata, 576K init, 614K bss, 91008K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    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 @0x00000008c00c0000
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] CPU0: using LPI pending table @0x00000008c00d0000
    [    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.000006] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008699] Console: colour dummy device 80x25
    [    0.013298] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023986] pid_max: default: 32768 minimum: 301
    [    0.028811] Security Framework initialized
    [    0.033072] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.039954] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.071395] ASID allocator initialised with 32768 entries
    [    0.084962] rcu: Hierarchical SRCU implementation.
    [    0.098038] Platform MSI: gic-its@18200000 domain created
    [    0.103879] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@18200000 domain created
    [    0.121449] smp: Bringing up secondary CPUs ...
    [    0.158575] Detected VIPT I-cache on CPU1
    [    0.158612] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.158672] CPU1: using LPI pending table @0x00000008c0330000
    [    0.158716] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.220267] Detected VIPT I-cache on CPU2
    [    0.220309] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000
    [    0.220371] CPU2: using LPI pending table @0x00000008c03c0000
    [    0.220422] CPU2: Booted secondary processor 0x0000000100 [0x410fd034]
    [    0.252686] Detected VIPT I-cache on CPU3
    [    0.252716] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000
    [    0.252771] CPU3: using LPI pending table @0x00000008c0450000
    [    0.252806] CPU3: Booted secondary processor 0x0000000101 [0x410fd034]
    [    0.252949] smp: Brought up 1 node, 4 CPUs
    [    0.328579] SMP: Total of 4 processors activated.
    [    0.333399] CPU features: detected: GIC system register CPU interface
    [    0.340008] CPU features: detected: 32-bit EL0 Support
    [    0.367712] CPU: All CPU(s) started at EL2
    [    0.371932] alternatives: patching kernel code
    [    0.377929] devtmpfs: initialized
    [    0.393093] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.403100] futex hash table entries: 1024 (order: 0, 65536 bytes)
    [    0.410804] pinctrl core: initialized pinctrl subsystem
    [    0.416803] NET: Registered protocol family 16
    [    0.422585] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
    [    0.430175] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.443601] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.452438] davinci_gpio 42110000.wkup_gpio0: IRQ not populated, err = -517
    [    0.466716] davinci_gpio 600000.main_gpio0: IRQ not populated, err = -517
    [    0.473928] davinci_gpio 601000.main_gpio1: IRQ not populated, err = -517
    [    0.491986] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.498873] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.507598] cryptd: max_cpu_qlen set to 1000
    [    0.513791] media: Linux media interface: v0.10
    [    0.518481] videodev: Linux video capture interface: v2.00
    [    0.524141] pps_core: LinuxPPS API ver. 1 registered
    [    0.529224] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.538584] PTP clock support registered
    [    0.542624] EDAC MC: Ver: 3.0.0
    [    0.547158] Advanced Linux Sound Architecture Driver Initialized.
    [    0.554340] clocksource: Switched to clocksource arch_sys_counter
    [    0.560791] VFS: Disk quotas dquot_6.6.0
    [    0.564905] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.579204] NET: Registered protocol family 2
    [    0.584411] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes)
    [    0.592570] TCP established hash table entries: 32768 (order: 2, 262144 bytes)
    [    0.600264] TCP bind hash table entries: 32768 (order: 3, 524288 bytes)
    [    0.607615] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.614505] UDP hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.620772] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.627657] NET: Registered protocol family 1
    [    0.632740] RPC: Registered named UNIX socket transport module.
    [    0.638816] RPC: Registered udp transport module.
    [    0.643634] RPC: Registered tcp transport module.
    [    0.648451] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.656220] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.669363] Initialise system trusted keyrings
    [    0.674189] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.686102] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.692777] NFS: Registering the id_resolver key type
    [    0.697988] Key type id_resolver registered
    [    0.702275] Key type id_legacy registered
    [    0.706397] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.713425] 9p: Installing v9fs 9p2000 file system support
    [    0.724219] Key type asymmetric registered
    [    0.728438] Asymmetric key parser 'x509' registered
    [    0.733502] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.741080] io scheduler noop registered
    [    0.745101] io scheduler deadline registered
    [    0.749610] io scheduler cfq registered (default)
    [    0.754439] io scheduler mq-deadline registered
    [    0.759081] io scheduler kyber registered
    [    0.764943] pinctrl-single 4301c000.pinmux: 70 pins, size 280
    [    0.771532] pinctrl-single 11c000.pinmux: 185 pins, size 740
    [    0.777477] pinctrl-single 11c2e8.pinmux: 9 pins, size 36
    [    0.784227] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.799836] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.823141] brd: module loaded
    [    0.833547] loop: module loaded
    [    0.839201] libphy: Fixed MDIO Bus: probed
    [    0.843960] tun: Universal TUN/TAP device driver, 1.6
    [    0.849940] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.857973] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.864090] sky2: driver version 1.30
    [    0.869318] VFIO - User Level meta-driver version: 0.3
    [    0.875462] i2c /dev entries driver
    [    0.880453] sdhci: Secure Digital Host Controller Interface driver
    [    0.886797] sdhci: Copyright(c) Pierre Ossman
    [    0.891778] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.898968] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.905221] ti-sci interconnect@100000:interconnect@28380000:interconnect@42040000:dmsc: invalid resource
    [    0.916056] optee: probing for conduit method from DT.
    I/TC: Dynamic shared memory is disabled
    [    0.921353] optee: revision 3.4 (251f7c63)
    [    0.925300] optee: initialized driver
    [    0.934696] NET: Registered protocol family 17
    [    0.939331] 9pnet: Installing 9P2000 support
    [    0.943763] Key type dns_resolver registered
    [    0.948782] registered taskstats version 1
    [    0.952988] Loading compiled-in X.509 certificates
    [    0.958957] davinci_gpio 42110000.wkup_gpio0: IRQ not populated, err = -517
    [    0.966555] davinci_gpio 600000.main_gpio0: IRQ not populated, err = -517
    [    0.973757] davinci_gpio 601000.main_gpio1: IRQ not populated, err = -517
    [    0.990897] ti-sci interconnect@100000:interconnect@28380000:interconnect@42040000:dmsc: invalid resource
    [    1.000902] ti-sci interconnect@100000:interconnect@28380000:interconnect@42040000:dmsc: ABI: 2.6 (firmware rev 0x0013 '19.4.1-v2019.04a (Curious Crow)')
    [    1.034259] random: fast init done
    [    1.540292] davinci_gpio 42110000.wkup_gpio0: IRQ not populated, err = -517
    [    1.547850] davinci_gpio 600000.main_gpio0: IRQ not populated, err = -517
    [    1.555049] davinci_gpio 601000.main_gpio1: IRQ not populated, err = -517
    [    1.563424] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.569919] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.599721] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.606118] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.612479] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.618773] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz
    [    1.632936] keystone-pcie 5500000.pcie: Linked as a consumer to phy-900000.serdes.0
    [    1.640820] keystone-pcie 5500000.pcie: Linked as a consumer to phy-910000.serdes.1
    [    1.654114] keystone-pcie 5500000.pcie: host bridge /interconnect@100000/pcie@5500000 ranges:
    [    1.662877] keystone-pcie 5500000.pcie:    IO 0x10020000..0x1002ffff -> 0x00000000
    [    1.670644] keystone-pcie 5500000.pcie:   MEM 0x10030000..0x17ffffff -> 0x10030000
    [    2.678723] keystone-pcie 5500000.pcie: Phy link never came up
    [    2.684826] keystone-pcie 5500000.pcie: PCI host bridge to bus 0000:00
    [    2.691522] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.697144] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    2.703475] pci_bus 0000:00: root bus resource [mem 0x10030000-0x17ffffff]
    [    2.719415] pci 0000:00:00.0: BAR 6: assigned [mem 0x10030000-0x1003ffff pref]
    [    2.726824] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    2.733248] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,160] sci-dev-id:195
    [    2.743240] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: enabled
    [    2.749928] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66344100, num_proxies:64
    [    2.757800] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, gp-rings[304,464] sci-dev-id:187
    [    2.767880] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: enabled
    [    2.774569] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66344100, num_proxies:64
    [    2.782386] omap8250 40a00000.serial: PM domain ti_sci_pd will not be powered off
    [    2.790492] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 8, base_baud = 6000000) is a 8250
    [    2.800235] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 22, base_baud = 3000000) is a 8250
    [    2.809015] console [ttyS2] enabled
    [    2.809015] console [ttyS2] enabled
    [    2.816068] bootconsole [ns16550a0] disabled
    [    2.816068] bootconsole [ns16550a0] disabled
    [    2.825454] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 23, base_baud = 3000000) is a 8250
    [    2.834739] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 24, base_baud = 3000000) is a 8250
    [    2.845749] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
    [    2.851960] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    2.858579] Creating 7 MTD partitions on "47040000.spi.0":
    [    2.864069] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    2.870426] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    2.876361] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    2.882402] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    2.888170] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    2.894601] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    2.900521] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    3.018610] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    3.033311] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    3.040483] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2
    [    3.052080] UDMA has not been proped
    [    3.055677] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    3.065817] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:0
    [    3.074602] thermal thermal_zone1: failed to read out thermal zone (-22)
    [    3.081326] thermal thermal_zone2: failed to read out thermal zone (-22)
    [    3.088781] OF: /interconnect@100000/interconnect@28380000/rti@40610000: arguments longer than property
    [    3.098189] keystone-wdt 40610000.rti: heartbeat 60 sec
    [    3.104341] mmc0: Unknown controller version (4). You may experience problems.
    [    3.142681] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    3.151300] mmc1: Unknown controller version (4). You may experience problems.
    [    3.189669] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADMA 64-bit
    [    3.205305] mmc0: new HS200 MMC card at address 0001
    [    3.211448] mmcblk0: mmc0:0001 R1J56L 14.7 GiB 
    [    3.218213] mmcblk0boot0: mmc0:0001 R1J56L partition 1 8.00 MiB
    [    3.228157] mmcblk0boot1: mmc0:0001 R1J56L partition 2 8.00 MiB
    [    3.234278] mmcblk0rpmb: mmc0:0001 R1J56L partition 3 4.00 MiB, chardev (243:0)
    [    3.251967] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc5900
    [    3.259002] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc5900
    [    3.266608] ti-udma 285c0000.udmap: Channels: 96 (tchan: 48, echan: 0, rchan: 48, rflow: 96)
    [    3.281452] ti-udma 31150000.udmap: Channels: 267 (tchan: 120, echan: 32, rchan: 150, rflow: 300)
    [    3.292585] mmc1: new high speed SDHC card at address 1388
    [    3.299317] mmcblk1: mmc1:1388 USD00 29.5 GiB 
    [    3.317940]  mmcblk1: p1 p2
    [    3.322183] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
    [    3.328398] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    3.335010] Creating 7 MTD partitions on "47040000.spi.0":
    [    3.340507] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    3.346806] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    3.352834] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    3.358880] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    3.364690] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    3.371051] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    3.376990] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    3.389853] m25p80 spi7.0: unrecognized JEDEC id bytes: 3c, ff, 1f
    [    3.396070] m25p80: probe of spi7.0 failed with error -2
    [    3.401899] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    3.409063] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA07100, cpsw version 0x6BA80100 Ports: 2
    [    3.429301] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    3.442755] pps pps0: new PPS source ptp1
    [    3.446965] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a2109, freq:200000000, add_val:4 pps:1
    [    3.455943] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4
    [    3.463163] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    3.506356] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000
    [    3.514534] libphy: 46000000.ethernet: probed
    [    3.522383] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    3.529355] hctosys: unable to open rtc device (rtc0)
    [    3.631654] ALSA device list:
    [    3.634640]   No soundcards found.
    [    3.655740] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.663904] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    3.677745] devtmpfs: mounted
    [    3.681014] Freeing unused kernel memory: 576K
    [    3.685504] Run /sbin/init as init process
    [    4.306724] systemd[1]: System time before build time, advancing clock.
    [    4.456810] NET: Registered protocol family 10
    [    4.462435] Segment Routing with IPv6
    [    4.549675] 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.571406] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2019.05!
    
    [    4.615267] systemd[1]: Set hostname to <am65xx-evm>.
    [    4.634709] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.641366] systemd[1]: Initializing machine ID from random generator.
    [    4.954946] 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.972042] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    5.374196] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.383848] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    5.406517] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.413189] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.430955] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.450950] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Mounting Kernel Debug File System...
             Mounting Huge Pages File System...
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Listening on udev Kernel Socket.
             Starting Load Kernel Modules...
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.666537] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Created slice User and Session Slice.
    [    5.680142] cryptodev: driver 1.9 loaded.
    [  OK  ] Reached target Slices.
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Starting udev Coldplug all Devices...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
             Starting Journal Service...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Mounted Kernel Debug File System.
    [    5.876411] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Create System Users...
             Starting Rebuild Hardware Database...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [    6.114560] systemd-journald[163]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create System Users.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
    [  OK  ] Reached target Containers.
             Mounting /var/volatile...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Rebuild Journal Catalog...
             Starting Rebuild Dynamic Linker Cache...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Run pending postinsts...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Kernel Device Manager...
    [  OK  ] Started Run pending postinsts.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Network Service...
    [    9.333927] input: gpio-decoder as /devices/platform/gpio-decoder/input/input1
    [  OK  ] Started Network Service.
             Starting Network Name Resolution...
    [  OK  ] Found device /dev/ttyS2.
    [    9.554786] omap_rng 4e10000.trng: Random Number Generator ver. 230b34c
    [    9.619524] CAN device driver interface
    [    9.644108] m_can 40528000.mcan: m_can device registered (irq=17, version=32)
    [    9.688425] m_can 40568000.mcan: m_can device registered (irq=19, version=32)
    [    9.740880] [drm] Initialized pvr 1.17.4948957 20110701 for 7000000.gpu on minor 0
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    9.805615] k3_r5_rproc interconnect@100000:interconnect@28380000:r5fss@41000000: creating child devices for R5F cores
    [    9.835519] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@9c000000
    [    9.847951] remoteproc remoteproc0: 41000000.r5f is available
    [   10.140383] TI DP83867 k3-cpsw-mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=k3-cpsw-mdio:00, irq=POLL)
    [   10.157027] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   10.216242] remoteproc remoteproc0: powering up 41000000.r5f
    [   10.222166] remoteproc remoteproc0: Booting fw image am65x-mcu-r5f0_0-fw, size 4050720
    [   10.235723] platform 41000000.r5f: booting R5F core using boot addr = 0x0
    [   10.249055] remoteproc remoteproc0: registered virtio0 (type 7)
    [   10.256262] remoteproc remoteproc0: remote processor 41000000.r5f is now up
    [   10.526632] davinci_mdio b032400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.534494] libphy: b032400.mdio: probed
    [   10.583924] davinci_mdio b032400.mdio: phy[0]: device b032400.mdio:00, driver TI DP83867
    [   10.602316] davinci_mdio b032400.mdio: phy[3]: device b032400.mdio:03, driver TI DP83867
    [   10.722809] davinci_mdio b132400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.730500] libphy: b132400.mdio: probed
    [   10.775106] davinci_mdio b132400.mdio: phy[0]: device b132400.mdio:00, driver TI DP83867
    [   10.790508] davinci_mdio b132400.mdio: phy[3]: device b132400.mdio:03, driver TI DP83867
    [   10.902492] davinci_mdio b232400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.913192] libphy: b232400.mdio: probed
    [   10.956444] davinci_mdio b232400.mdio: phy[0]: device b232400.mdio:00, driver TI DP83867
    [   10.976923] davinci_mdio b232400.mdio: phy[3]: device b232400.mdio:03, driver TI DP83867
    [   11.005615] remoteproc remoteproc1: b034000.pru is available
    [   11.017266] pru-rproc b034000.pru: PRU rproc node pru@b034000 probed successfully
    [   11.046774] remoteproc remoteproc2: b004000.rtu is available
    [   11.065540] pru-rproc b004000.rtu: PRU rproc node rtu@b004000 probed successfully
    [   11.087889] remoteproc remoteproc3: b038000.pru is available
    [   11.095088] pru-rproc b038000.pru: PRU rproc node pru@b038000 probed successfully
    [   11.106083] remoteproc remoteproc4: b006000.rtu is available
    [   11.113481] pru-rproc b006000.rtu: PRU rproc node rtu@b006000 probed successfully
    [   11.123231] remoteproc remoteproc5: b134000.pru is available
    [   11.129122] pru-rproc b134000.pru: PRU rproc node pru@b134000 probed successfully
    [   11.137221] remoteproc remoteproc6: b104000.rtu is available
    [   11.143040] pru-rproc b104000.rtu: PRU rproc node rtu@b104000 probed successfully
    [   11.151065] remoteproc remoteproc7: b138000.pru is available
    [   11.156881] pru-rproc b138000.pru: PRU rproc node pru@b138000 probed successfully
    [   11.171613] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [   11.177944] remoteproc remoteproc8: b106000.rtu is available
    [   11.184419] pru-rproc b106000.rtu: PRU rproc node rtu@b106000 probed successfully
    [   11.198804] remoteproc remoteproc9: b234000.pru is available
    [   11.204665] pru-rproc b234000.pru: PRU rproc node pru@b234000 probed successfully
    [   11.217073] remoteproc remoteproc10: b204000.rtu is available
    [   11.225446] pru-rproc b204000.rtu: PRU rproc node rtu@b204000 probed successfully
    [   11.237280] remoteproc remoteproc11: b238000.pru is available
    [   11.244507] pru-rproc b238000.pru: PRU rproc node pru@b238000 probed successfully
    [   11.259360] remoteproc remoteproc12: b206000.rtu is available
    [   11.269119] pru-rproc b206000.rtu: PRU rproc node rtu@b206000 probed successfully
    [   11.278308] dwc3 4010000.usb: Failed to get clk 'ref': -2
    [   11.332444] dwc3 4030000.usb: Failed to get clk 'ref': -2
    [   11.348375] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   11.349284] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    [   11.386840] OF: graph: no port node found in /interconnect@100000/phy@4110000
    [   11.482583] icssg-prueth pruss1_eth: TI PRU ethernet initialized: dual EMAC mode, dual_icssg 0
    [   11.578798] NET: Registered protocol family 45
    [   11.580879] icssg-prueth pruss0_eth: TI PRU ethernet initialized: dual EMAC mode, dual_icssg 0
    [   11.619618] icssg-prueth pruss2_eth: TI PRU ethernet initialized: dual EMAC mode, dual_icssg 0
    [   11.688482] usbcore: registered new interface driver usbfs
    [   11.696159] usbcore: registered new interface driver hub
    [   11.703196] usbcore: registered new device driver usb
    [   11.744218] icssg-prueth pruss1_eth eth2: flow id base = 150
    [   11.754955] icssg-prueth pruss1_eth eth2: mgm flow id base = 154
    [   11.766321] remoteproc remoteproc7: powering up b138000.pru
    [   11.815094] remoteproc remoteproc7: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 14868
    [   11.824197] remoteproc remoteproc7: remote processor b138000.pru is now up
    [   11.831244] remoteproc remoteproc8: powering up b106000.rtu
    [   11.839801] remoteproc remoteproc8: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15488
    [   11.848933] remoteproc remoteproc8: remote processor b106000.rtu is now up
    [   11.857015] net eth2: started
    [   11.859133] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   11.861153] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [   11.865858] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   11.879930] xhci-hcd xhci-hcd.2.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010
    [   11.889441] xhci-hcd xhci-hcd.2.auto: irq 309, io mem 0x04010000
    [   11.895810] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   11.904115] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.911392] usb usb1: Product: xHCI Host Controller
    [   11.916301] usb usb1: Manufacturer: Linux 4.19.38-g4dae378bbe xhci-hcd
    [   11.922892] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   11.928519] hub 1-0:1.0: USB hub found
    [   11.932470] hub 1-0:1.0: 1 port detected
    [   11.936435] icssg-prueth pruss1_eth eth1: flow id base = 157
    [   11.942770] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   11.948324] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   11.956085] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0  SuperSpeed
    [   11.962801] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.971076] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   11.979402] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.986663] usb usb2: Product: xHCI Host Controller
    [   11.991582] usb usb2: Manufacturer: Linux 4.19.38-g4dae378bbe xhci-hcd
    [   11.998170] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   12.003924] hub 2-0:1.0: USB hub found
    [   12.007702] icssg-prueth pruss1_eth eth1: mgm flow id base = 161
    [   12.013821] hub 2-0:1.0: 1 port detected
    [   12.018588] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   12.024125] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
    [   12.032403] xhci-hcd xhci-hcd.3.auto: hcc params 0x0298fe6d hci version 0x110 quirks 0x0000000000010010
    [   12.041932] xhci-hcd xhci-hcd.3.auto: irq 311, io mem 0x04030000
    [   12.048373] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   12.048476] remoteproc remoteproc5: powering up b134000.pru
    [   12.056728] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.069531] usb usb3: Product: xHCI Host Controller
    [   12.074452] usb usb3: Manufacturer: Linux 4.19.38-g4dae378bbe xhci-hcd
    [   12.081102] usb usb3: SerialNumber: xhci-hcd.3.auto
    [   12.086597] remoteproc remoteproc5: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 14868
    [   12.088249] hub 3-0:1.0: USB hub found
    [   12.095774] remoteproc remoteproc5: remote processor b134000.pru is now up
    [   12.099649] hub 3-0:1.0: 1 port detected
    [   12.106420] remoteproc remoteproc6: powering up b104000.rtu
    [   12.110925] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   12.121308] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15488
    [   12.121494] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
    [   12.130435] remoteproc remoteproc6: remote processor b104000.rtu is now up
    [   12.138082] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0  SuperSpeed
    [   12.146076] net eth1: started
    [   12.151721] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [   12.154805] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   12.162879] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   12.176957] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.178819] icssg-prueth pruss0_eth eth4: flow id base = 164
    [   12.184219] usb usb4: Product: xHCI Host Controller
    [   12.193553] icssg-prueth pruss0_eth eth4: mgm flow id base = 168
    [   12.194807] usb usb4: Manufacturer: Linux 4.19.38-g4dae378bbe xhci-hcd
    [   12.203767] remoteproc remoteproc3: powering up b038000.pru
    [   12.207382] usb usb4: SerialNumber: xhci-hcd.3.auto
    [   12.213266] remoteproc remoteproc3: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 14868
    [   12.218598] hub 4-0:1.0: USB hub found
    [   12.226923] remoteproc remoteproc3: remote processor b038000.pru is now up
    [   12.230773] hub 4-0:1.0: 1 port detected
    [   12.237669] remoteproc remoteproc4: powering up b006000.rtu
    [   12.247399] remoteproc remoteproc4: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15488
    [   12.256457] remoteproc remoteproc4: remote processor b006000.rtu is now up
    [   12.264669] net eth4: started
    [   12.267945] IPv6: ADDRCONF(NETDEV_UP): eth4: link is not ready
    [   12.285257] icssg-prueth pruss0_eth eth3: flow id base = 171
    [   12.295314] icssg-prueth pruss0_eth eth3: mgm flow id base = 175
    [   12.308569] remoteproc remoteproc1: powering up b034000.pru
    [   12.314679] remoteproc remoteproc1: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 14868
    [   12.314715] remoteproc remoteproc1: remote processor b034000.pru is now up
    [   12.314740] remoteproc remoteproc2: powering up b004000.rtu
    [   12.314819] remoteproc remoteproc2: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15488
    [   12.314847] remoteproc remoteproc2: remote processor b004000.rtu is now up
    [[   12.316123] net eth3: started
    [   12.316441] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
    [   12.329085] icssg-prueth pruss2_eth eth5: flow id base = 178
      OK  ] Created slice system-systemd\x2dfsck.slice.
    [   12.375411] icssg-prueth pruss2_eth eth5: mgm flow id base = 182
    [   12.385938] remoteproc remoteproc9: powering up b234000.pru
    [   12.392135] remoteproc remoteproc9: Booting fw image ti-pruss/am65x-pru0-prueth-fw.elf, size 14868
    [   12.401268] remoteproc remoteproc9: remote processor b234000.pru is now up
    [   12.408384] remoteproc remoteproc10: powering up b204000.rtu
    [   12.414608] remoteproc remoteproc10: Booting fw image ti-pruss/am65x-rtu0-prueth-fw.elf, size 15488
    [   12.423941] remoteproc remoteproc10: remote processor b204000.rtu is now up
    [   12.432852] net eth5: started
    [   12.436677] IPv6: ADDRCONF(NETDEV_UP): eth5: link is not ready
    [   12.449580] icssg-prueth pruss2_eth eth6: flow id base = 185
    [   12.458714] icssg-prueth pruss2_eth eth6: mgm flow id base = 189
    [   12.467624] remoteproc remoteproc11: powering up b238000.pru
    [   12.473672] remoteproc remoteproc11: Booting fw image ti-pruss/am65x-pru1-prueth-fw.elf, size 14868
    [   12.482797] remoteproc remoteproc11: remote processor b238000.pru is now up
    [   12.489814] remoteproc remoteproc12: powering up b206000.rtu
    [   12.495596] remoteproc remoteproc12: Booting fw image ti-pruss/am65x-rtu1-prueth-fw.elf, size 15488
    [   12.504696] remoteproc remoteproc12: remote processor b206000.rtu is now up
    [   12.512796] net eth6: started
    [   12.516042] IPv6: ADDRCONF(NETDEV_UP): eth6: link is not ready
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting rng-tools.service...
             Starting Login Service...
    [   16.007731] random: crng init done
    [   16.011171] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started irqbalance daemon.
             Starting TI IPC Daemon...
             Starting Permit User Sessions...
             Starting RPC Bind Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started rng-tools.service.
    [  OK  ] Started TI IPC Daemon.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting rc.pvr.service...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [   16.340532] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    [  OK  ] Started Login Service.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started RPC Bind Service.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started weston.service.
             Starting Matrix GUI...
             Starting telnetd.service...
    [   16.935185] NET: Registered protocol family 15
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started thttpd.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [   17.195296] Initializing XFRM netlink socket
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Created slice system-systemd\x2dcoredump.slice.
    [  OK  ] Started Process Core Dump (PID 961/UID 0).
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am65xx-evm ttyS2
    
    Arago 2019.05 am65xx-evm ttyS2
    
    am65xx-evm login: ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash
    	bc
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libbfd
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmpc3
    	libmpfr6
    	libreadline7
    	libunistring2
    	m4
    	make
    	nettle
    	parted
    	pdm-anomaly-detection
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am65xx-evm ttyS2
    
    Arago 2019.05 am65xx-evm ttyS2
    
    am65xx-evm login: root
    root@am65xx-evm:~# uname -a
    Linux am65xx-evm 4.19.38-g4dae378bbe #1 SMP PREEMPT Sun Jul 7 03:42:51 UTC 2019 aarch64 GNU/Linux
    root@am65xx-evm:~# 
    
    

    Please revise all of your steps. If issue still exist, please share your full console log output.

    Regards,
    Pavel

  • Pavel,

    I have followed the same set of steps which you have mentioned above. My full console log is the single line i get

    sdhci_reset: Reset 0x1 never completed.

    I am running on a am65x IDK. I am starting to think if this is a board issue.

    -sughosh

  • Sughosh,

    Seems your boot flow stuck at sdhci_reset() from u-boot/drivers/mmc/sdhci.c file. Seems you might have something wrong with your MMC/SD module or SD card. Can you also try with another SD card? I am using ADATA MicroSD HC 32GByte.

    You might also try with UART boot, you should see CCC.. characters stream on your console.

    You might also try with mmcsd_TEST and/or mmcsdStress_TEST diagnostic tests from the RTOS package.

    Regards,
    Pavel

  • Check also if below e2e thread will be in help:

    Regards,
    Pavel

  • Pavel,

    I have tried with multiple SD cards and get the exact same output with both. I had mentioned in my very first post that the line i get on my serial console is coming from the u-boot driver, which is why i wanted to know if there is some patch in u-boot that i need to apply to get sd card boot working. Since i am getting the exact same output with different sd cards, i think this might also be some hardware issue on the board.

    -sughosh

  • There are a couple of patches related to sdhci controller that are mentioned in this thread. I will try booting with these patches applied and update.

    -sughosh

  • Sughosh,

    Try with these u-boot patches.

    If these do not help, I would suggest you to try with RTOS diagnostics tests and/or Cortex-A53 example, to check if your board has some HW issue.

    software-dl.ti.com/.../index_examples_demos.html

    Regards,
    Pavel

  • Pavel,

    Tried with applying the two u-boot patches, but still get the same result. Does that rtos diagnostics test suite cover the sd card component as well. If so, it will be worthwhile to spend time on running the tests.

    -sughosh

  • Sughosh,

    Yes, I think will be useful to run these two tests, MMC diagnostic and Cortex-A53 baremetal. Thus will check if your board is damaged or not.

    Regards,
    Pavel

  • Sughosh Ganu said:
    ?sdhci_reset: Reset 0x1 never completed.

    Check also if you are using ttyUSB0 port. I have this message "sdhci_reset: Reset 0x1 never completed" when using ttyUSB1 port, and I have the u-boot console messages on ttyUSB0 port.

    Regards,
    Pavel

  • hi,

    I am able to boot the u-boot that came flashed with the board. Not able to boot the u-boot image that i had compiled. But the board is working fine. I will look at the issue of flashing of my custom image. Thanks a lot for your help Pavel!

    -sughosh