This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: SPL: failed to boot from all boot devices

Part Number: TDA4VM
Other Parts Discussed in Thread: DRA829V

Hi experts

I have download the 

ti-processor-sdk-linux-sk-tda4vm-etcher-image.zip

and burn it in SanDisk 16GB SD card

But when I start the board, the error occured

U-Boot SPL 2021.01-g53e79d0e89 (Sep 02 2021 - 18:20:00 +0000)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from MMC2
spl_load_image_fat: error reading image tispl.bin, err - -6
spl_load_image_ext: ext4fs mount err - 0
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

And I need to restart a number of times to load, the following error is reported every time

I think it is a hardware issue

Have you encountered this problem, and how do you solve it?

  • Hi Ethan,

    There has been a similar issue where the board reboots due to low power provided by the power supply.

    What is the voltage/amperage of the power supply being used? 

    Regards,

    Takuma

  • Hi Takuma

    The power supply I used is 12V/5A

  • Hi Ethan,

    Power looks fine; I am also using a 12V/5A power supply.

    I found a similar E2E here for a custom board using the same SoC: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/974023/tda4-boot-failed-from-sd-card

    I have the following questions:

    1. Does the error always occur, or sometimes the boot is successful?
    2. Do you have another micro SD card that you can test this on?

    Regards,

    Takuma

  • Hi Takuma

    Does the error always occur, or sometimes the boot is successful?

    I found that when I have power on the board for a long time, the board could boot successful, but when the board was just power on, I try to keep rebooting, and the error always occur

    Do you have another micro SD card that you can test this on?

    I have changed in 3 different SD card, and this problem not solve

  • Hi Ethan,

    Are you trying this on TDA4VM EVM or SK board?

    Best Regards,
    Keerthy

  • Hi Keerthy

    I try this on TDA4VM

  • Hi Keerthy

    Today appear a new log, could you find more information on it?

    U-Boot 2021.01-gd77252021a (Sep 02 2021 - 18:14:51 +0000)                       
                                                                                    
    SoC:   J721E SR1.0                                                              
    Model: Texas Instruments K3 J721E SoC                                           
    Board: J721EX-PM2-SOM rev E7                                                    
    DRAM:  4 GiB                                                                    
    Flash: 0 Bytes                                                                  
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1                                       
    In:    serial@2800000                                                           
    Out:   serial@2800000                                                           
    Err:   serial@2800000                                                           
    Detected: J7X-BASE-CPB rev E3                                                   
    Detected: J7X-VSC8514-ETH rev E2                                                
    Net:   am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cp0
    eth0: ethernet@46000000                                                         
    Hit any key to stop autoboot:  0                                                
    switch to partitions #0, OK                                                     
    mmc1 is current device                                                          
    SD/MMC found on device 1                                                        
    Failed to load 'boot.scr'                                                       
    483 bytes read in 11 ms (42 KiB/s)                                              
    Loaded env from uEnv.txt                                                        
    Importing environment from mmc1 ...                                             
    Running uenvcmd ...                                                             
    1 bytes read in 12 ms (0 Bytes/s)                                               
    Already setup.                                                                  
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work     
    k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work     
    691456 bytes read in 40 ms (16.5 MiB/s)                                         
    Load Remote Processor 2 with data@addr=0x82000000 691456 bytes: Success!        
    506776 bytes read in 32 ms (15.1 MiB/s)                                         
    Load Remote Processor 3 with data@addr=0x82000000 506776 bytes: Success!        
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'                                
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'                                
    1579152 bytes read in 76 ms (19.8 MiB/s)                                        
    Load Remote Processor 6 with data@addr=0x82000000 1579152 bytes: Success!       
    1579152 bytes read in 76 ms (19.8 MiB/s)                                        
    Load Remote Processor 7 with data@addr=0x82000000 1579152 bytes: Success!       
    "Synchronous Abort" handler, esr 0x96000044                                     
    elr: 00000000808af798 lr : 00000000808919f0 (reloc)                             
    elr: 00000000fff97798 lr : 00000000fff799f0                                     
    x0 : 00000400829e8a00 x1 : 00000000fdeb08c0                                     
    x2 : 00000000000001b8 x3 : 0000000000000000                                     
    x4 : 8451a04829276244 x5 : 000000000000000c                                     
    x6 : 000000000000017a x7 : 0000000000000020                                     
    x8 : 000000000000000c x9 : 0000000000000008                                     
    x10: 0000000000000023 x11: 00000000fffffffc                                     
    x12: 00000000ffffffff x13: 000000000000fffc                                     
    x14: 0000000082000000 x15: 00000000fdeb2d90                                     
    x16: 00000000fff3bb48 x17: 0000000000000000                                     
    x18: 00000000fdec7df0 x19: 0000000000000001                                     
    x20: 00000000000001b8 x21: 00000000001920b0                                     
    x22: 0000040082800000 x23: 00000000001e8a00                                     
    x24: 00000000fdeb08c0 x25: 00000000000009ed                                     
    x26: 0000000000000000 x27: 00000000fffebd60                                     
    x28: 00000000001568b0 x29: 00000000fdeb1ce0                                     
                                                                                    
    Code: eb03005f 540001c1 d65f03c0 f8636824 (f8236804)                            
    Resetting CPU ...                                                               
                                                                                    
    resetting ...                                                                   
                                                                                    
    U-Boot SPL 2021.01-g53e79d0e89 (Sep 02 2021 - 18:20:00 +0000)                   
    Model: Texas Instruments K3 J721E SoC                                           
    Board: J721EX-PM2-SOM rev E7                                                    
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')          
    Trying to boot from MMC2                                                        
    spl_load_image_fat: error reading image tispl.bin, err - -6                     
    spl_load_image_ext: ext4fs mount err - 0                                        
    SPL: failed to boot from all boot devices                                       
    ### ERROR ### Please RESET the board ### 

  • Hi Ethan,

    It seems to be failing while booting the remote cores.

    Please enter a character when you get to U-Boot prompt & execute the below command:

    setenv dorprocboot 0
    saveenv

    Can you try the above commands from U-Boot prompt?

    - Keerthy

  • Hi Keerthy

    When I finally boot in and run ./docker_build.sh, the kernel always crashed

    [  155.755888] Unable to handle kernel paging request at virtual address fffff20
    [  155.763789] Mem abort info:                                                  
    [  155.766569]   ESR = 0x96000005                                               
    [  155.769610]   EC = 0x25: DABT (current EL), IL = 32 bits                     
    [  155.774904]   SET = 0, FnV = 0                                               
    [  155.777944]   EA = 0, S1PTW = 0                                              
    [  155.781070] Data abort info:                                                 
    [  155.783937]   ISV = 0, ISS = 0x00000005                                      
    [  155.787757]   CM = 0, WnR = 0                                                
    [  155.790712] swapper pgtable: 64k pages, 48-bit VAs, pgdp=0000000082f10000    
    [  155.797479] [fffff2087fa600e0] pgd=0000000000000000, p4d=0000000000000000, p0
    [  155.806159] Internal error: Oops: 96000005 [#1] PREEMPT SMP                  
    [  155.811714] Modules linked in: veth xt_conntrack xt_MASQUERADE xt_addrtype ic
    [  155.811841]  ecc rfkill rti_wdt sch_fq_codel rpmsg_kdrv_switch cryptodev(O) 6
    [  155.906683] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O      5.10.41
    [  155.915097] Hardware name: Texas Instruments K3 J721E SoC (DT)               
    [  155.920912] pstate: 80000085 (Nzcv daIf -PAN -UAO -TCO BTYPE=--)             
    [  155.926911] pc : get_page_from_freelist+0x1bc/0x13a8                         
    [  155.931859] lr : get_page_from_freelist+0x284/0x13a8                         
    [  155.936806] sp : ffff80001136fbb0                                            
    [  155.940106] x29: ffff80001136fbb0 x28: ffff80001136fd10                      
    [  155.945403] x27: ffff800011229a40 x26: ffff80001122a8c0                      
    [  155.950699] x25: 0000000000000941 x24: 0000000000000000                      
    [  155.955995] x23: 0000000000000000 x22: ffff00087fa6f2c8                      
    [  155.961291] x21: 0000000000000000 x20: 0000000000000000                      
    [  155.966587] x19: ffff800010fbf2c8 x18: 0000000000000002                      
    [  155.971883] x17: 0000000000000000 x16: 0000000000000000                      
    [  155.977178] x15: 00000b0000000019 x14: 0000000000000001                      
    [  155.982474] x13: 003d090000000000 x12: 0000000000000000                      
    [  155.987770] x11: ffff00087fa6f2d8 x10: 0000000000000146                      
    [  155.993066] x9 : 000000000000003a x8 : 0000000000000010                      
    [  155.998362] x7 : ffff80086eab0000 x6 : 0000000000000000                      
    [  156.003658] x5 : dead000000000100 x4 : fffff2087fa600d8                      
    [  156.008954] x3 : dead000000000122 x2 : 00000000000006eb                      
    [  156.014249] x1 : fffff2087fa600d8 x0 : fffff2087fa600d8                      
    [  156.019546] Call trace:                                                      
    [  156.021982]  get_page_from_freelist+0x1bc/0x13a8                             
    [  156.026584]  __alloc_pages_nodemask+0x124/0x240                              
    [  156.031098]  page_frag_alloc+0x84/0x168                                      
    [  156.034922]  __netdev_alloc_skb+0x164/0x190                                  
    [  156.039093]  am65_cpsw_nuss_rx_poll+0x174/0x360                              
    [  156.043609]  net_rx_action+0x118/0x380                                       
    [  156.047345]  efi_header_end+0x120/0x268                                      
    [  156.051166]  irq_exit+0xc0/0xe0                                              
    [  156.054294]  __handle_domain_irq+0x68/0xc0                                   
    [  156.058377]  gic_handle_irq+0x58/0x128                                       
    [  156.062112]  el1_irq+0xcc/0x180                                              
    [  156.065240]  arch_cpu_idle+0x18/0x28                                         
    [  156.068801]  default_idle_call+0x20/0x68                                     
    [  156.072709]  do_idle+0xc0/0x128                                              
    [  156.075836]  cpu_startup_entry+0x28/0x60                                     
    [  156.079743]  rest_init+0xd4/0xe4                                             
    [  156.082960]  arch_call_rest_init+0x10/0x1c                                   
    [  156.087041]  start_kernel+0x49c/0x4d4                                        
    [  156.090691] Code: d2802443 f2fbd5a5 aa0003e4 f2fbd5a3 (f9400401)             
    [  156.096771] ---[ end trace f9006d96fc3ee461 ]---                             
    [  156.101372] Kernel panic - not syncing: Oops: Fatal exception in interrupt   
    [  156.108226] SMP: stopping secondary CPUs                                     
    [  156.112144] Kernel Offset: disabled                                          
    [  156.115619] CPU features: 0x0040022,20006008                                 
    [  156.119872] Memory Limit: none                                               
    [  156.122916] ---[ end Kernel panic - not syncing: Oops: Fatal exception in in-
    
    

  • Add a more complete log

    [   60.247696] Unable to handle kernel paging request at virtual address ffff6208286b0010
    [   60.247768] Unable to handle kernel paging request at virtual address ffffc0087fa60000
    [   60.255614] Mem abort info:
    [   60.263490] Mem abort info:
    [   60.263491]   ESR = 0x96000045
    [   60.263494]   EC = 0x25: DABT (current EL), IL = 32 bits
    [   60.263495]   SET = 0, FnV = 0
    [   60.263497]   EA = 0, S1PTW = 0
    [   60.266280]   ESR = 0x96000005
    [   60.269054] Data abort info:
    [   60.269055]   ISV = 0, ISS = 0x00000045
    [   60.269056]   CM = 0, WnR = 1
    [   60.269060] swapper pgtable: 64k pages, 48-bit VAs, pgdp=0000000082f10000
    [   60.269062] [ffffc0087fa60000] pgd=0000000000000000
    [   60.272104]   EC = 0x25: DABT (current EL), IL = 32 bits
    [   60.277391] , p4d=0000000000000000, pud=0000000000000000
    [   60.277397] Internal error: Oops: 96000045 [#1] PREEMPT SMP
    [   60.280438]   SET = 0, FnV = 0
    [   60.283560] Modules linked in: xt_conntrack xt_MASQUERADE
    [   60.286602]   EA = 0, S1PTW = 0
    [   60.289465]  xt_addrtype iptable_filter iptable_nat nf_nat
    [   60.293292] Data abort info:
    [   60.296240]  nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c
    [   60.303013]   ISV = 0, ISS = 0x00000005
    [   60.307867]  ip_tables x_tables bridge stp
    [   60.313168]   CM = 0, WnR = 0
    [   60.318455]  llc overlay xfrm_user xfrm_algo md5 ecb
    [   60.324020] swapper pgtable: 64k pages, 48-bit VAs, pgdp=0000000082f10000
    [   60.327053]  aes_neon_bs aes_neon_blk des_generic libdes cbc
    [   60.332441] [ffff6208286b0010] pgd=0000000000000000
    [   60.335562]  uvcvideo videobuf2_vmalloc snd_usb_audio snd_hwdep snd_usbmidi_lib
    [   60.341037] , p4d=0000000000000000
    [   60.343898]  snd_rawmidi xhci_plat_hcd xhci_hcd rpmsg_char
    [   60.349978] , pud=0000000000000000
    [   60.353793]  ti_am335x_adc kfifo_buf omap_rng rng_core irq_pruss_intc
    [   60.357879] 
    [   60.360828]  pru_rproc cdns3 udc_core icss_iep roles cdns_csi2rx usbcore usb_common crct10dif_ce snd_soc_j721e_evm ti_j721e_cpsw_virt_mac phy_can_transceiver m_can_platform m_can can_dev ti_am335x_tsc6
    [   60.466003] CPU: 0 PID: 170 Comm: systemd-journal Tainted: G           O      5.10.41-g4c2eade9f7 #1
    [   60.475110] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   60.480926] pstate: 00000085 (nzcv daIf -PAN -UAO -TCO BTYPE=--)
    [   60.486922] pc : __napi_schedule+0x40/0x78
    [   60.491006] lr : am65_cpsw_nuss_rx_irq+0x54/0x68
    [   60.495605] sp : ffff80001136fe00
    [   60.498905] x29: ffff80001136fe00 x28: ffff0008243fa800 
    [   60.504202] x27: 0000000000000000 x26: ffff800010d6cb20 
    [   60.509498] x25: ffff80001122bdf8 x24: ffff00082145f000 
    [   60.514794] x23: 0000000000000041 x22: ffff80001136fec4 
    [   60.520090] x21: 0000000000000000 x20: ffff00082145f000 
    [   60.525386] x19: 0000000000000080 x18: 0000000000000000 
    [   60.530682] x17: 0000000000000000 x16: 0000000000000000 
    [   60.535978] x15: 0000000000000000 x14: 0000000000000000 
    [   60.541273] x13: 0000000000000000 x12: 0000000000000000 
    [   60.546569] x11: 0000000000000040 x10: ffff8000111ba380 
    [   60.551865] x9 : ffff8000111ba378 x8 : ffff00084014ab40 
    [   60.557161] x7 : 0000000000000000 x6 : 0000000000000000 
    [   60.562456] x5 : 0000000000000000 x4 : ffff000824283318 
    [   60.567752] x3 : ffffc0087fa60000 x2 : ffff000824283318 
    [   60.573048] x1 : ffff00087fa6c000 x0 : 0000000000000003 
    [   60.578344] Call trace:
    [   60.580779]  __napi_schedule+0x40/0x78
    [   60.584513]  am65_cpsw_nuss_rx_irq+0x54/0x68
    [   60.588768]  __handle_irq_event_percpu+0x54/0x170
    [   60.593456]  handle_irq_event_percpu+0x34/0x90
    [   60.597883]  handle_irq_event+0x48/0xe0
    [   60.601705]  handle_level_irq+0xb8/0x140
    [   60.605614]  generic_handle_irq+0x30/0x48
    [   60.609611]  ti_sci_inta_irq_handler+0xc4/0x160
    [   60.614125]  generic_handle_irq+0x30/0x48
    [   60.618120]  __handle_domain_irq+0x64/0xc0
    [   60.622202]  gic_handle_irq+0x58/0x128
    [   60.625936]  el1_irq+0xcc/0x180
    [   60.629063]  strncpy_from_user+0x1f0/0x268
    [   60.633146]  getname+0x18/0x28
    [   60.636188]  do_sys_openat2+0x16c/0x2a0
    [   60.640009]  do_sys_open+0x58/0xa0
    [   60.643396]  __arm64_sys_openat+0x24/0x30
    [   60.647393]  el0_svc_common.constprop.0+0x78/0x1a0
    [   60.652166]  do_el0_svc+0x24/0x90
    [   60.655469]  el0_svc+0x14/0x20
    [   60.658509]  el0_sync_handler+0xb0/0xb8
    [   60.662330]  el0_sync+0x180/0x1c0
    [   60.665633] Code: 52800060 f9400423 f9000422 a9000c41 (f9000062) 
    [   60.671713] ---[ end trace bb5018286565b2ce ]---
    [   60.676313] Kernel panic - not syncing: Oops: Fatal exception in interrupt
    [   60.683167] SMP: stopping secondary CPUs
    [   61.750075] SMP: failed to stop secondary CPUs 0-1
    [   61.754855] Kernel Offset: disabled
    [   61.758329] CPU features: 0x0040022,20006008
    [   61.762582] Memory Limit: none
    [   61.765625] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---
    

  • The SD card on the board can run ok.

  • Hi Fenghua

    The boot mode I use is the SD boot mode.

    After I downloaded the image on my SD card, I tried different combinations.

    I tried this image on SK-EVM, and the image runs successfully on SK-EVM, but it can't build docker successfully

    On TDA4VM, I replaced three backplanes and two SOMs, but all had issues with cannot boot and kernel crash

    BR.

    Ethan

  • Yes, you are right . The image on SK_EVM runs successfullly.

    I have compared boot files,which are different.

  • Hi Keerthy

    On the E8 version of TDA4VM, sysfw.itb and tiboot3.bin are problematic and when I replaced them with the file in SDK07.02.00.07, the EVM runs smoothly, could you find the reason?

  • Hi Ethan,

    One thing that i can think of is the DDR speed. SDK7.02 is lower DDR speed & SDK7.3 & 8.0 are at 4266 MTS which is higher than 7.2 SDK.

    On latest 8.0 SDK you can try reducing the DDR Speed by taking a reference from the below FAQ: https://e2e.ti.com/support/processors/f/791/t/1028163

    If that helps then please click on verify answer.

    - Keerthy

  • Hi Keerthy

    In TDA4VM datasheet, it said that "Supports speeds up to 3733 MT/s" ,why we change it into 4266 MTS in SDK 7. 3 & 8.0?

  • Ethan,

    https://www.ti.com/lit/ds/symlink/dra829v.pdf?ts=1638764135412&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FDRA829V

    You are probably looking at an older version of data sheet.

    Closing this thread. Since you have already resoved.

    - Keerthy

  • Hi Ethan,

    I am checking internally on this. I will get back as soon as I hear back from the hardware experts.

    Best Regards,
    Keerthy

  • Hi Ethan,

    It is a missing document update. Both must support 4266MT/s. If no other questions I am closing this thread.

    - Keerthy