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.

DRA821U: Boot failure with build binary

Part Number: DRA821U
Other Parts Discussed in Thread: DRA829, TDA4VM, DRA821

Hi Ti

There's question that Customer wants to clarify.

  • Bootloader does not work with default build. tiboot3.bin, tispl.bin, u-boot.img
  • How to make HACK to ignore board check via EEPROM. 

Bootloader does not work when using the default built binary although pre-builts image can boot up.  

Customer board show the log below. No further log is observed.

=============================================================

2021 - 07 - 13, 2:42pm ********

U-Boot SPL 2020.01-g2781231a33 (Apr 10 2021 - 13:46:58 +0000)

SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

Reading on-board EEPROM at 0x50 failed 1

Timeout during frequency handshake

### ERROR ### Please RESET the board ###

=============================================================

To build u-boot, we just tried "make u-boot" in top directory of SDK installed.

There was no error during build. Then We copied tiboot3.bin from R5 , tispl.bin and u-boot.img from A72.

We just replaced above three files in bootable SD card which boots OK with prebuilt images.

We're trying to replace tispl.bin and u-boot.img files only after rebuilt u-boot. System could not boot up if tiboot3.bin is also replaced. 

Could you please clarify why default boot binaries don't work?  

BTW, Regarding Log above which captured from Custom board without EEPROM, It seems be failed from do_board_detect() in evm.c

Could you please provide Hack code to avoid stuck? Customer removed EEPROM for their custom board.

They need code changes if EEPROM read code can produce the boot fail issue from custom board without EEPROM.

Thanks.

Regards, 

Jack

  • Jack,

    u-Boot does not work when using the default built binary although pre-builts image can boot up.  

    Do you mean to say they don't work on custom board when you build yourself but the pre-built images boot on the custom board?

    Reading on-board EEPROM at 0x50 failed 1

    You can still boot with the above error. This should not be fatal.

    Timeout during frequency handshake

    This is fatal - "drivers/ram/k3-j721e/k3-j721e-ddrss.c"

    This results in hang.

    Is the custom board having a different DDR part than the one present on TI TDA4 EVM? If yes then we need to have different DDR configuration.
    Please confirm.

    - Keerthy

  • Hi Keerthy

    Thanks for quick reply.

    Please see my comment below.

    Jack Cha said:

    u-Boot does not work when using the default built binary although pre-builts image can boot up.  

    Do you mean to say they don't work on custom board when you build yourself but the pre-built images boot on the custom board?

    [JACK] Yes, it’s same from both customer and myself. Only pre-built images able to bootup even on TI EVM.

    We’re trying code changes, then test it on EVM, then Custom board. We currently don’t replace tiboot3.bin to boot up. Tispl and u-boot.img can be replaced with new built file.

    Jack Cha said:

    Reading on-board EEPROM at 0x50 failed 1

    You can still boot with the above error. This should not be fatal.

    [JACK] I see. No modification needed for EEPROM check?

    Jack Cha said:

    Timeout during frequency handshake

    This is fatal - "drivers/ram/k3-j721e/k3-j721e-ddrss.c"

    This results in hang.

    [JACK] Can you please let me know the different possible option to test issue for this wait function?

    Do you think should I test with different parameter for wait_for_bit_le32()? by extending timeout value. anything else...

     

    BTW. They used Micron LPDDR4, MT53D1024M32D4DT-046 which is same with TI EVM.

    If so, Can we consider a Circuit/PCB Routing issue regarding LPDDR4?

    Is there any approach way to test by modifying DDR Config extending timing values?

     

    Thanks.

    Regards, 

    Jack Cha

  • Hi Keerthy

    Is it possible to use Jacinto7 DDRSS Tool which has been used for DRA829 and TDA4VM?

    Please let us know how to prepare workaround for this issue? We need your guidance when DDR fails on bootloader.

  • Hi Jack,

    Can you confirm one thing - Does the custom board(Not TI TDA4 EVM) boot to u-boot prompt with pre-built binaries?

    - Keerthy

  • Hi Keerthy,

    Please see below. We're trying to bring up a new custom board from onsite this week.

    We could find the following issues with DRA821 SDK.

    • Booting with Pre-built binaries on Custom board

    Custom board still unable to boot up to u-boot prompt with pre-built binaries.

    • Booting with manually build (@u-boot_build) binaries on TI EVM

    When all three built binaries of tiboot3.bin, tispl.bin and u-boot.img from u-boot_build directory after build success, Nothing could be displayed from UART terminal, However TI EVM able to boot up with tispl.bin and u-boot.img without replacing tiboot3.bin. It seems only tiboot3.bin blocked the booting the u-boot prompt. Please let us know how to fix tiboot3.bin problem.

    • Problem at DDR Timeout During frequency handshake

    Regarding DDR Timeout during Frequency Handsahe, It has been fixed by customer by removing PD resistor of H_DDR_RET_1V1. TI EVM is DNI But Custom board connected PU to 1V1.

    After removed PU of DDR_RET pin, the problem could be solved. It's not reproducible anymore. 

    • Problem at MMC init failed

    After removing PU of DDR_RET pin, we checked the following message. i.e i2c write error, mmc init failed after disable UHS mode support on A72.


    U-Boot SPL 2020.01-gb9af85263e (Oct 05 2020 - 19:17:38 +0000)

    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.7.1-v2020.07-RC3 (Terrific L')

    Reading on-board EEPROM at 0x50 failed 1

    Trying to boot from MMC2

    Loading Environment from MMC... *** Warning - No MMC card found, using default environment

     

    Starting ATF on ARM64 core...

     

    NOTICE:  BL31: v2.3():07.01.00.001-dirty

    NOTICE:  BL31: Built : 19:04:03, Oct  5 2020

     

    U-Boot SPL 2020.01-gb9af85263e (Oct 05 2020 - 19:14:34 +0000)

    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.7.1-v2020.07-RC3 (Terrific L')

    Reading on-board EEPROM at 0x50 failed 1

    Trying to boot from MMC2

    i2c_write: error waiting for data ACK (status=0x116)

    Error reading output register

    spl: mmc init failed with error: -110

    SPL: failed to boot from all boot devices

    ### ERROR ### Please RESET the board ###


    We supposed that mmc init failed due to i2c error, Hence we tried to apply the patch to disable UHS mode from A72 according to below link.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/943299/faq-ccs-tda4vm-custom-tda4vm-boot-stuck-at-a72-spl-spl-mmc-init-failed-with-error---110?tisearch=e2e-sitesearch&keymatch=spl%253A%2520mmc%2520init%2520failed%2520with%2520error#

    After applied the patch from above link, We still see the error as below.


    U-Boot SPL 2020.01-g2781231a33 (Apr 10 2021 - 13:46:58 +0000)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    Reading on-board EEPROM at 0x50 failed 1

    Trying to boot from MMC2

    Loading Environment from MMC... *** Warning - No MMC card found, using default environment

     

    Starting ATF on ARM64 core...

     

    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty

    NOTICE:  BL31: Built : 13:45:56, Apr 10 2021

     

    U-Boot SPL 2020.01-dirty (Jul 14 2021 - 01:05:55 -0700)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    Reading on-board EEPROM at 0x50 failed 1

    Trying to boot from MMC2

    pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

    i2c_write: error waiting for data ACK (status=0x116)

    Error reading output register

    mmc_init: -110, time 76

    spl: mmc init failed with error: -110

    SPL: failed to boot from all boot devices

    ### ERROR ### Please RESET the board ### 


    The i2c error is still reproducible. and MMC_CLK signal level is still 3.3V on Custom board. But TI EVM became 1.8V from 3.3V during boot up.

    Can you please give us helpful suggestion to solve this error which is observed from Custom board? TI EVM able to boot up regardless of patch applied.

    Regards, 

    Jack 

  • Jack,

    arch/arm/dts/k3-j7200-common-proc-board.dts

    You need to make the dts changes in the above file for DR821.

    diff --git a/arch/arm/dts/k3-j7200-common-proc-board.dts b/arch/arm/dts/k3-j7200                                                                             -common-proc-board.dts
    index 4a4600cd87..7e89a47c54 100644
    --- a/arch/arm/dts/k3-j7200-common-proc-board.dts
    +++ b/arch/arm/dts/k3-j7200-common-proc-board.dts
    @@ -188,10 +188,10 @@
            /* SD card */
            pinctrl-0 = <&main_mmc1_pins_default>;
            pinctrl-names = "default";
    -       vmmc-supply = <&vdd_mmc1>;
    -       vqmmc-supply = <&vdd_sd_dv>;
            ti,driver-strength-ohm = <50>;
            disable-wp;
    +       no-1-8-v;
    +       sdhci-caps-mask = <0x8000000F 0x0>;
     };
    

    Also config changes should be done here: configs/j7200_evm_a72_defconfig for DRA821. instead of configs/j721e_evm_a72_defconfig.

    Can you try and let me know if you proceed further?

    - Keerthy

  • Hi Keerthy

    We did follow the same steps what you explained. It did not work with my build image yesterday, But customer's build image works fine. 

    After applied the changes above, it able to boot up to u-boot and kernel. Please see the latest log. The system stop while waiting for root device PARTUUID=025a30cc-02... and vdd_sd_dv" disabling.


    -Boot SPL 2020.01-g2781231a33 (Apr 10 2021 - 13:46:58 +0000)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    Reading on-board EEPROM at 0x50 failed 1

    Trying to boot from MMC2

    Loading Environment from MMC... *** Warning - No MMC card found, using default environment

     

    Starting ATF on ARM64 core...

     

    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty

    NOTICE:  BL31: Built : 13:45:56, Apr 10 2021

     

    U-Boot SPL 2020.01-dirty (Jul 15 2021 - 10:01:36 +0900)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    Trying to boot from MMC2

    pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

     

     

    U-Boot 2020.01-dirty (Jul 15 2021 - 10:01:36 +0900)

     

    SoC:   J7200 SR1.0

    Model: Texas Instruments K3 J7200 SoC

    Board:  rev

    DRAM:  4 GiB

    not found for dev hbmc-mux

    Flash: 0 Bytes

    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1

    Loading Environment from MMC... *** Warning - bad CRC, using default environment

     

    In:    serial@2800000

    Out:   serial@2800000

    Err:   serial@2800000

    Net:   Could not get PHY for ethernet@46000000: addr 0

    phy_connect() failed

    No ethernet found.

     

    Hit any key to stop autoboot:  0

    switch to partitions #0, OK

    mmc1 is current device

    SD/MMC found on device 1

    0 bytes read in 0 ms

    Loaded env from uEnv.txt

    Importing environment from mmc1 ...

    16799752 bytes read in 696 ms (23 MiB/s)

    44229 bytes read in 5 ms (8.4 MiB/s)

    ## Flattened Device Tree blob at 88000000

       Booting using the fdt blob at 0x88000000

       Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK

     

    Starting kernel ...

     

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]

    [    0.000000] Linux version 5.4.106-g023faefa70 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Sat Apr 10 13:49:38 UTC 2021

    [    0.000000] Machine model: Texas Instruments K3 J7200 SoC

    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')

    [    0.000000] printk: bootconsole [ns16550a0] enabled

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool

    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB

    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool

    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000

    [    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.0

    [    0.000000] percpu: Embedded 2 pages/cpu s48472 r8192 d74408 u131072

    [    0.000000] Detected PIPT I-cache on CPU0

    [    0.000000] CPU features: detected: GIC system register CPU interface

    [    0.000000] CPU features: detected: EL2 vector hardening

    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 49871

    [    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),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs) root=PARTUUID=025a30cc-02 rw rootfstype=ext4 rootwait

    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)

    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)

    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

    [    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)

    [    0.000000] Memory: 3477120K/3194880K available (9662K kernel code, 790K rwdata, 3904K rodata, 1664K init, 681K bss, 18446744073708745088K reserved, 524288K cma-reserved)

    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

    [    0.000000] rcu: Preemptible hierarchical RCU implementation.

    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.

    [    0.000000]  Tasks RCU enabled.

    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.

    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0

    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode

    [    0.000000] GICv3: 960 SPIs implemented

    [    0.000000] GICv3: 0 Extended SPIs implemented

    [    0.000000] GICv3: Distributor has no Range Selector support

    [    0.000000] GICv3: 16 PPIs implemented

    [    0.000000] GICv3: no VLPI support, no direct LPI support

    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000

    [    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] GICv3: using LPI property table @0x00000008c00b0000

    [    0.000000] GIC: using cache flushing for LPI property table

    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00c0000

    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x42c with crng_init=0

    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).

    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns

    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns

    [    0.008277] Console: colour dummy device 80x25

    [    0.012837] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)

    [    0.023505] pid_max: default: 32768 minimum: 301

    [    0.028255] LSM: Security Framework initializing

    [    0.033005] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)

    [    0.040580] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)

    [    0.050083] ASID allocator initialised with 32768 entries

    [    0.055726] rcu: Hierarchical SRCU implementation.

    [    0.060860] Platform MSI: msi-controller@1820000 domain created

    [    0.067024] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created

    [    0.076517] smp: Bringing up secondary CPUs ...

    [    0.081851] Detected PIPT I-cache on CPU1

    [    0.081873] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000

    [    0.081887] GICv3: CPU1: using allocated LPI pending table @0x00000008c00d0000

    [    0.081915] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]

    [    0.081981] smp: Brought up 1 node, 2 CPUs

    [    0.111344] SMP: Total of 2 processors activated.

    [    0.116150] CPU features: detected: 32-bit EL0 Support

    [    0.121407] CPU features: detected: CRC32 instructions

    [    0.132769] CPU: All CPU(s) started at EL2

    [    0.136974] alternatives: patching kernel code

    [    0.142231] devtmpfs: initialized

    [    0.148384] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

    [    0.158357] futex hash table entries: 512 (order: -1, 32768 bytes, linear)

    [    0.166413] pinctrl core: initialized pinctrl subsystem

    [    0.172319] NET: Registered protocol family 16

    [    0.180258] DMA: preallocated 256 KiB pool for atomic allocations

    [    0.186916] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

    [    0.200864] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages

    [    0.207728] HugeTLB registered 512 MiB page size, pre-allocated 0 pages

    [    0.214487] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

    [    0.223559] cryptd: max_cpu_qlen set to 1000

    [    0.231083] iommu: Default domain type: Translated

    [    0.236256] SCSI subsystem initialized

    [    0.240457] mc: Linux media interface: v0.10

    [    0.244844] videodev: Linux video capture interface: v2.00

    [    0.250459] pps_core: LinuxPPS API ver. 1 registered

    [    0.255530] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it

    [    0.264868] PTP clock support registered

    [    0.268879] EDAC MC: Ver: 3.0.0

    [    0.272709] FPGA manager framework

    [    0.276246] Advanced Linux Sound Architecture Driver Initialized.

    [    0.282952] clocksource: Switched to clocksource arch_sys_counter

    [    0.289271] VFS: Disk quotas dquot_6.6.0

    [    0.293409] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)

    [    0.303201] thermal_sys: Registered thermal governor 'step_wise'

    [    0.303203] thermal_sys: Registered thermal governor 'power_allocator'

    [    0.309554] NET: Registered protocol family 2

    [    0.321051] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)

    [    0.329824] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)

    [    0.338035] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)

    [    0.345937] TCP: Hash tables configured (established 32768 bind 32768)

    [    0.352729] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)

    [    0.359635] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)

    [    0.367101] NET: Registered protocol family 1

    [    0.372014] RPC: Registered named UNIX socket transport module.

    [    0.378083] RPC: Registered udp transport module.

    [    0.382888] RPC: Registered tcp transport module.

    [    0.387693] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.394278] PCI: CLS 0 bytes, default 64

    [    0.398627] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available

    [    0.409944] Initialise system trusted keyrings

    [    0.414621] workingset: timestamp_bits=46 max_order=16 bucket_order=0

    [    0.423531] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.429854] NFS: Registering the id_resolver key type

    [    0.435035] Key type id_resolver registered

    [    0.439308] Key type id_legacy registered

    [    0.443407] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

    [    0.450357] 9p: Installing v9fs 9p2000 file system support

    [    0.463310] Key type asymmetric registered

    [    0.467505] Asymmetric key parser 'x509' registered

    [    0.472517] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)

    [    0.480079] io scheduler mq-deadline registered

    [    0.484704] io scheduler kyber registered

    [    0.489804] pinctrl-single 4301c000.pinmux: 94 pins, size 376

    [    0.495910] pinctrl-single 11c000.pinmux: 173 pins, size 692

    [    0.502095] pinctrl-single a40000.timesync_router: 512 pins, size 2048

    [    0.511062] k3-ringacc 2b800000.ringacc: Failed to get MSI domain

    [    0.517354] k3-ringacc 3c000000.ringacc: Failed to get MSI domain

    [    0.525195] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled

    [    0.538607] brd: module loaded

    [    0.546161] loop: module loaded

    [    0.551001] libphy: Fixed MDIO Bus: probed

    [    0.555364] tun: Universal TUN/TAP device driver, 1.6

    [    0.560812] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k

    [    0.568827] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.

    [    0.574904] sky2: driver version 1.30

    [    0.579232] VFIO - User Level meta-driver version: 0.3

    [    0.584932] i2c /dev entries driver

    [    0.588962] sdhci: Secure Digital Host Controller Interface driver

    [    0.595284] sdhci: Copyright(c) Pierre Ossman

    [    0.599952] sdhci-pltfm: SDHCI platform and OF driver helper

    [    0.606129] ledtrig-cpu: registered to indicate activity on CPUs

    [    0.612975] optee: probing for conduit method from DT.

    [    0.618270] optee: revision 3.11 (c4def2a8)

    [    0.618739] optee: initialized driver

    [    0.627913] NET: Registered protocol family 17

    [    0.632550] 9pnet: Installing 9P2000 support

    [    0.636944] Key type dns_resolver registered

    [    0.641501] registered taskstats version 1

    [    0.645699] Loading compiled-in X.509 certificates

    [    0.654912] k3-ringacc 2b800000.ringacc: Failed to get MSI domain

    [    0.661330] k3-ringacc 3c000000.ringacc: Failed to get MSI domain

    [    0.668871] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    [    0.689269] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz

    [    0.695407] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz

    [    0.701541] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz

    [    0.707833] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator

    [    0.715270] pca953x 3-0020: using no AI

    [    0.742997] pca953x 3-0020: failed writing register

    [    0.748053] pca953x: probe of 3-0020 failed with error -121

    [    0.753897] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator

    [    0.761321] pca953x 3-0022: using AI

    [    0.765035] pca953x 3-0022: failed writing register

    [    0.770071] pca953x: probe of 3-0022 failed with error -121

    [    0.775831] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz

    [    0.781977] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator

    [    0.789419] pca953x 4-0020: using no AI

    [    0.814998] pca953x 4-0020: failed writing register

    [    0.820048] pca953x: probe of 4-0020 failed with error -121

    [    0.825808] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz

    [    0.831835] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz

    [    0.837865] omap_i2c 2030000.i2c: bus 6 rev0.12 at 100 kHz

    [    0.843932] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz

    [    0.849971] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz

    [    0.855990] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz

    [    0.862089] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created

    [    0.872074] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created

    [    0.880873] ti-sci-intr bus@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created

    [    0.891047] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created

    [    0.903044] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235

    [    0.912924] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled

    [    0.919690] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64

    [    0.929213] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211

    [    0.939387] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled

    [    0.946149] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64

    [    0.953814] random: fast init done

    [    0.957402] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250

    [    0.966729] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 14, base_baud = 3000000) is a 8250

    [    0.975483] printk: console [ttyS2] enabled

    [    0.975483] printk: console [ttyS2] enabled

    [    0.983923] printk: bootconsole [ns16550a0] disabled

    [    0.983923] printk: bootconsole [ns16550a0] disabled

    [    0.994411] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 15, base_baud = 3000000) is a 8250

    [    1.170961] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000

    [    1.178441] libphy: 46000f00.mdio: probed

    [    1.194091] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.

    [    1.200804] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000

    [    1.213578] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517

    [    1.224186] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0

    [    1.232818] mmc0: CQHCI version 5.10

    [    1.277366] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit

    [    1.289597] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900

    [    1.296478] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900

    [    1.303923] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)

    [    1.313925] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)

    [    1.325863] spi-nor spi0.0: s28hs512t (65536 Kbytes)

    [    1.330842] 7 cmdlinepart partitions found on MTD device 47040000.spi.0

    [    1.337463] Creating 7 MTD partitions on "47040000.spi.0":

    [    1.342953] 0x000000000000-0x000000080000 : "ospi.tiboot3"

    [    1.349170] 0x000000080000-0x000000280000 : "ospi.tispl"

    [    1.355172] 0x000000280000-0x000000680000 : "ospi.u-boot"

    [    1.361313] 0x000000680000-0x0000006c0000 : "ospi.env"

    [    1.367200] 0x0000006c0000-0x000000700000 : "ospi.env.backup"

    [    1.373676] 0x000000800000-0x000003fc0000 : "ospi.rootfs"

    [    1.379778] 0x000003fc0000-0x000004000000 : "ospi.phypattern"

    [    1.428563] mmc0: Command Queue Engine enabled

    [    1.433018] mmc0: new HS400 MMC card at address 0001

    [    1.438348] mmcblk0: mmc0:0001 S0J56X 14.8 GiB

    [    1.443095] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB

    [    1.449220] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB

    [    1.455267] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (240:0)

    [    1.550962] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 20000

    [    1.558443] libphy: 46000f00.mdio: probed

    [    1.573883] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.

    [    1.580608] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000

    [    1.594129] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48

    [    1.601004] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4

    [    1.608224] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64

    [    1.614608] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0

    [    1.626425] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!

    [    1.634540] hctosys: unable to open rtc device (rtc0)

    [    1.641975] ALSA device list:

    [    1.644945]   No soundcards found.

    [    1.648666] Waiting for root device PARTUUID=025a30cc-02...

    [   31.794980] vdd_sd_dv: disabling


    Could you please figure out the cause?

    The custom board does not include the audio device.

    And according to normal log,  


    ....

    [ 1.408379] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [ 1.416494] hctosys: unable to open rtc device (rtc0)
    [ 1.425708] ALSA device list:
    [ 1.428679] No soundcards found.
    [ 1.432400] Waiting for root device PARTUUID=3aca827c-02...
    [ 1.502403] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [ 1.509420] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [ 1.520211] mmcblk1: p1 p2
    [ 1.941489] EXT4-fs (mmcblk1p2): recovery complete
    [ 1.949254] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.957418] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [ 1.967037] devtmpfs: mounted
    [ 1.971115] Freeing unused kernel memory: 1664K
    [ 1.975694] Run /sbin/init as init process
    [ 2.141989] systemd[1]: System time before build time, advancing clock.
    [ 2.199562] NET: Registered protocol family 10
    [ 2.204565] Segment Routing with IPv6
    [ 2.226779] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTS TUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [ 2.248753] systemd[1]: Detected architecture arm64.

    ......


    It seems Custom board could not mount RootFS which regarded with UHS mode in Kernel mode.

    Should I disable USH support from kernel side as well ? I found the same config from kernel.

    Could you please let us know how to fix ?

    Regards, 

    Jack 

  • Hi Keerthy

    We're able to boot up to login prompt successfully after applied the same patch from kernel side.

    BTW, tiboot3.bin does not work when we build images with source code although pre-built binary works fine. 

    Please check it tiboot3.bin work from your build. then let us know exact build steps if you have different instruction and environment. 

    Thanks.

    Regards, 

    Jack

  • Jack,

    I think i know the issue you are facing with tiboot3.bin.

    In case of DRA821. The tiboot3.bin is a combination of r5 SPL + sysfw.itb.

    So when you do make u-boot. You need to pick tiboot3.bin from:

    $PSDK_PATH/board-support/k3-image-gen-2021.01a/tiboot3.bin & NOT the one under: board-support/u-boot_build/r5/

    That should solve your problem. Please click on verify answer.

    Best Regards,
    Keerthy

  • Thanks for your quick reply. Keerthy.
    I will inform customer the same.