Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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: dfu-util

Part Number: TDA4VM

Hi expert,

My software version is:
  PDK-RTOS :processor-sdk-rtos-j721e-evm-08_06_00_12
  PDK-LINUX:processor-sdk-linux-08_06_00

We are verifying DFU on the development board.

1. We installed dfu-util 0.9 on the PC.

2.TDA4 Boot Switching Settings has been set to DFU mode.

3.USB TYPE-C connects PC and TDA4 USB3.1 Type C interface.

After we run dfu-util, we don't get any output.

log:

@dl-260:~/TDA4SDK86/tda4-project/PDK0806_Linux$ sudo dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to sourceforge.net/.../

@dl-260:~/TDA4SDK86/tda4-project/PDK0806_Linux$

What modifications did we miss? Do you need to adjust other SWs?

Looking forward to the expert's reply, thank you

Regards,

Barry

  • Hi,

    After I adjusted USB0 port boot mode,it started working.

    Regards,

    Barry

  • Hi Barry 

    Great to here that can we close this issue then ?

    Regards
    Diwakar

  • Hi expert,

    We don't boot from SD card.

    Now you need to burn the uboot, kernel, rootfs, etc. required for TDA4 to eMMC through DFU, and then boot to the system from eMMC.

    We follow www.ti.com/.../spracy5.pdf .After tiboot3.bin/sysfw.itb/tispl.bin/u-boot.img can be refreshed through DFU, what files need to be refreshed?

    Can you send me the verification guidance document or E2E?

    Regards,

    Barry

  • HI Barry,

    To generate the rootfs file you need to follow below steps:

    After flashing you need to change the boot mode to emmc boot mode.

    Hope this is what you are looking for.

    Ref:https://e2e.ti.com/support/processors-group/processors/f/processors-forum/995426/tda4vm-rootfs-flashing-using-dfu-util

    Regards
    Diwakar

  • Hi Diwakar,

    thank you for your reply.

    I did not see how rootfs.ext4 was generated in the link?

    Can you send me specific documents or steps?

    Thanks.

    Regards,

    Barry

  • HI Barry 

    In the same document  please refer to the section 3.3

    Regards
    Diwakar

  • Hi Diwakar,

    thank you for your reply

    How to download the file source package  tisdk-tiny-image-j7-evm.tar.xz  ?

    Regards,

    Barry

  • HI Barry 

    It will be in the linux sdk inside filesystem folder.

    Regards
    Diwakar

  • Hi Diwakar,

    your reply is important.

    I don’t see the package named ''tiny'' in the SDK .

    Can you give me the specific location of the package or the link to download it?

    Regards,

    Barry

  • HI Barry 

    Once you download the linux installer and installed it you will get the file structure like this.

    inside that you will get tisdk-default-image-j7-evm.tar.xz tisdk-tiny-image-j7-evm.tar.xz.

    Regards
    Diwakar

  • Hi Diwakar,

    Thanks for reply.

    1) We follow the guide steps through DFU Download done tiboot3.bin/sysfw.itb/tispl.bin/u-boot.img/tisdk-tiny-image.img.

    When I Change boot mode to eMMC (boot0) boot mode and power on, there is no response from uart.

    Below is the uart output from my DFU, what did I miss?

    U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 23:01:15 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Trying to boot from DFU
    ####################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    init_env from device 18 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 22:56:45, Mar  3 2023
    I/TC: 
    I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)))4
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 22:59:37 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from DFU
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -22)
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    
    
    U-Boot 2021.01-g62a9e51344 (Mar 03 2023 - 22:59:37 +0000)
    
    SoC:   J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from FAT... MMC: no card present
    mmc_init: -123, time 2002
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:10000
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0 
    MMC: no card present
    mmc_init: -123, time 2002
    SD/MMC found on device 1
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => 
    => 
    => 
    => env default -f -a
    ## Resetting to default environment
    => 
    ## Resetting to default environment
    => setenv mmcdev 0
    => setenv bootpart 0
    => saveenv
    Saving Environment to FAT... MMC: no card present                               
    mmc_init: -123, time 2002                                                       
    Failed (1)                                                                      
    => setenv dfu_alt_info ${dfu_alt_info_emmc}                                     
    => gpt write mmc 0 ${partitions}                                                
    Writing GPT: success!
    => dfu 0 mmc 0
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns,sierra serdes@5030000: sierra probed
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    #########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###############################################################################################################################K
    Ctrl+C to exit ...
    => 
    => 
    => 
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0
    => 
    => 

    2) The document mentions that you can only open the u-boot prompt. Does this mean that the EMMC boot cannot be completed through DFU upgrade and boot to j7-evm login:? Can I only boot to uboot?

    Looking forward to your reply, thank you

    Regards,

    Barry

  • HI Barry 

    When I Change boot mode to eMMC (boot0) boot mode and power on, there is no response from uart.

    When you say no response from the UART you are not even able to get the SPL logs ?

    Regards
    Diwakar

  • Hi Diwakar,

    When I follow the guide

    # Flashing a tiny file system to eMMC User partition

    HOST $ sudo dfu-util -a rootfs -D <PATH_TO_CREATED_TINYFS>/tinyrootfs.img

    TARGET => mmc partconf 0 1 1 1

    TARGET => mmc bootbus 0 2 0 0

    Power off

    Change boot mode to eMMC (boot0) boot mode

    power on

    I can’t see any output from the serial port. What process did we miss?

    Can you send me a normal log of normal startup after emmc updates tinyrootfs.img?

    Looking forward to your reply, thank you

    Regards,

    Barry

  • Hi Diwakar,

    Ctrl+C to exit ...
    =>
    =>
    =>
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0
    =>
    =>
    => boot

    There is no power off after flashing. After entering boot, it can boot directly to the login location:

    The complete serial port log is as follows:

    
    
    U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 23:01:15 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Trying to boot from DFU
    ####################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    init_env from device 18 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 22:56:45, Mar  3 2023
    I/TC: 
    I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.4
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 22:59:37 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from DFU
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -22)
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    
    
    U-Boot 2021.01-g62a9e51344 (Mar 03 2023 - 22:59:37 +0000)
    
    SoC:   J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from FAT... MMC: no card present
    mmc_init: -123, time 2002
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq0
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0 
    MMC: no card present
    mmc_init: -123, time 2002
    SD/MMC found on device 1
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => 
    => 
    => env default -f -a  
    ## Resetting to default environment
    => setenv mmcdev 0 
    => setenv bootpart 0
    => saveenv
    Saving Environment to FAT... MMC: no card present
    mmc_init: -123, time 2002
    Failed (1)
    => setenv dfu_alt_info ${dfu_alt_info_emmc} 
    => gpt write mmc 0 ${partitions}
    Writing GPT: success!
    => dfu 0 mmc 0 
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns,sierra serdes@5030000: sierra probed
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    #########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########################################################################################################################K
    Ctrl+C to exit ...
    => 
    => 
    => 
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0
    => 
    => 
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    19079680 bytes read in 110 ms (165.4 MiB/s)
    111990 bytes read in 11 ms (9.7 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fee1000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-g76b3e88d56 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-p3
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    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] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
    [    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
    [    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
    [    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    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.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
    [    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] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512t
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3271300K/4194304K available (11200K kernel code, 1160K rwdata, 4300K rodata, 1856K init, 433K bss, )
    [    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 event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of 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: 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: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008405] Console: colour dummy device 80x25
    [    0.012967] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023638] pid_max: default: 32768 minimum: 301
    [    0.028394] LSM: Security Framework initializing
    [    0.033147] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040724] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049528] rcu: Hierarchical SRCU implementation.
    [    0.054591] Platform MSI: msi-controller@1820000 domain created
    [    0.060827] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070128] EFI services will not be available.
    [    0.074846] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.088066] Detected PIPT I-cache on CPU1
    [    0.088090] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.088101] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.088136] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.088184] smp: Brought up 1 node, 2 CPUs
    [    0.117529] SMP: Total of 2 processors activated.
    [    0.122334] CPU features: detected: 32-bit EL0 Support
    [    0.127588] CPU features: detected: CRC32 instructions
    [    0.141540] CPU: All CPU(s) started at EL2
    [    0.145734] alternatives: patching kernel code
    [    0.150745] devtmpfs: initialized
    [    0.159666] KASLR disabled due to lack of seed
    [    0.164308] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.174272] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.187128] pinctrl core: initialized pinctrl subsystem
    [    0.192771] DMI not present or invalid.
    [    0.197011] NET: Registered protocol family 16
    [    0.202204] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.209505] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.217552] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.225852] thermal_sys: Registered thermal governor 'step_wise'
    [    0.225854] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.232421] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.246055] ASID allocator initialised with 65536 entries
    [    0.271194] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.278051] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.284897] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.291742] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.299190] cryptd: max_cpu_qlen set to 1000
    [    0.305294] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.314118] vsys_3v3: supplied by evm_12v0
    [    0.318477] vsys_5v0: supplied by evm_12v0
    [    0.323227] iommu: Default domain type: Translated 
    [    0.328388] SCSI subsystem initialized
    [    0.332548] mc: Linux media interface: v0.10
    [    0.336926] videodev: Linux video capture interface: v2.00
    [    0.342560] pps_core: LinuxPPS API ver. 1 registered
    [    0.347630] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.356967] PTP clock support registered
    [    0.360988] EDAC MC: Ver: 3.0.0
    [    0.364792] FPGA manager framework
    [    0.368299] Advanced Linux Sound Architecture Driver Initialized.
    [    0.374885] clocksource: Switched to clocksource arch_sys_counter
    [    0.381205] VFS: Disk quotas dquot_6.6.0
    [    0.385236] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.394809] NET: Registered protocol family 2
    [    0.399544] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.408127] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.416886] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.425088] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.432886] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.439682] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.446575] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.453970] NET: Registered protocol family 1
    [    0.458680] RPC: Registered named UNIX socket transport module.
    [    0.464742] RPC: Registered udp transport module.
    [    0.469547] RPC: Registered tcp transport module.
    [    0.474350] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.480931] NET: Registered protocol family 44
    [    0.485476] PCI: CLS 0 bytes, default 64
    [    0.489841] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.500238] Initialise system trusted keyrings
    [    0.504864] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.512971] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.519169] NFS: Registering the id_resolver key type
    [    0.524360] Key type id_resolver registered
    [    0.528635] Key type id_legacy registered
    [    0.532757] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.539605] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.547240] 9p: Installing v9fs 9p2000 file system support
    [    0.572401] Key type asymmetric registered
    [    0.576588] Asymmetric key parser 'x509' registered
    [    0.581586] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.589145] io scheduler mq-deadline registered
    [    0.593771] io scheduler kyber registered
    [    0.599526] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.605713] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.614739] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.621179] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.629157] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.635581] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.643521] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.649938] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.657868] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.664192] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.672140] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.678467] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.688191] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.696475] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.704689] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.711723] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.720154] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.733328] brd: module loaded
    [    0.739742] loop: module loaded
    [    0.743470] megasas: 07.714.04.00-rc1
    [    0.749277] tun: Universal TUN/TAP device driver, 1.6
    [    0.754746] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.761155] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.767230] sky2: driver version 1.30
    [    0.771585] VFIO - User Level meta-driver version: 0.3
    [    0.777368] i2c /dev entries driver
    [    0.781878] sdhci: Secure Digital Host Controller Interface driver
    [    0.788200] sdhci: Copyright(c) Pierre Ossman
    [    0.792874] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.799309] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.805656] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.813040] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.817601] optee: revision 3.20 (8e74d476)
    [    0.833997] optee: dynamic shared memory is enabled
    [    0.843456] optee: initialized driver
    [    0.848622] NET: Registered protocol family 17
    [    0.853243] 9pnet: Installing 9P2000 support
    [    0.857643] Key type dns_resolver registered
    [    0.862093] Loading compiled-in X.509 certificates
    [    0.875841] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    [    0.940348] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    0.948138] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.954219] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.960652] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.967161] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.973973] pca953x 3-0020: using no AI
    [    0.999777] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    1.006579] pca953x 3-0022: using AI
    [    1.010851] gpio-480 (CTRL_PM_I2C_OE): hogged as output/high
    [    1.016827] gpio-481 (MCASP/TRACE_MUX_S0): hogged as output/low
    [    1.023072] gpio-482 (MCASP/TRACE_MUX_S1): hogged as output/high
    [    1.029565] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.036032] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.046233] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.052554] pca953x 6-0020: supply vcc not found, using dummy regulator
    [    1.059381] pca953x 6-0020: using no AI
    [    1.087582] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    1.093656] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.099615] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    1.105874] pca953x 9-0020: supply vcc not found, using dummy regulator
    [    1.112693] pca953x 9-0020: using no AI
    [    1.139211] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    1.145685] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.155670] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.164477] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.174358] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.196082] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.203759] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.212035] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.220311] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.239672] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    2.246111] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.251717] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.261407] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    2.268461] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.274601] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.284549] pci 0000:00:00.0: supports D1
    [    2.288643] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.294530] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    2.301556] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    2.313513] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.323496] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.330268] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit]
    [    2.337742] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.343043] pcieport 0000:00:00.0: PME: Signaling with IRQ 68
    [    2.349406] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.357071] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.365350] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.373629] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.382265] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    3.388678] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    3.394285] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.404154] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    3.411197] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    3.417336] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    3.427264] pci 0001:00:00.0: supports D1
    [    3.431358] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    3.439152] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.449120] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.455886] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.461158] pcieport 0001:00:00.0: PME: Signaling with IRQ 71
    [    3.467509] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
    [    3.475179] j721e-pcie 2920000.pcie:       IO 0x4400001000..0x4400010fff -> 0x0000001000
    [    3.483456] j721e-pcie 2920000.pcie:      MEM 0x4400011000..0x4407ffffff -> 0x0000011000
    [    3.491732] j721e-pcie 2920000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.503084] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
    [    4.509512] pci_bus 0002:00: root bus resource [bus 00-ff]
    [    4.515117] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    4.524364] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
    [    4.535140] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
    [    4.541278] pci_bus 0002:00: 2-byte config write to 0002:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    4.551206] pci 0002:00:00.0: supports D1
    [    4.555300] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
    [    4.563096] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.573068] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
    [    4.579835] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    4.585109] pcieport 0002:00:00.0: PME: Signaling with IRQ 74
    [    4.591931] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    4.601812] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    4.608571] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.617548] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    4.627702] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    4.634465] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.642432] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    4.651833] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 3000000) is a 8250
    [    4.660577] printk: console [ttyS2] enabled
    [    4.660577] printk: console [ttyS2] enabled
    [    4.669014] printk: bootconsole [ns16550a0] disabled
    [    4.669014] printk: bootconsole [ns16550a0] disabled
    [    4.679483] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 3000000) is a 8250
    [    4.688418] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 3000000) is a 8250
    [    4.699179] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    4.709689] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    4.719848] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    4.730087] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    4.741218] scsi host0: ufshcd
    [    4.750332] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    4.763183] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAU0
    [    4.794889] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.803429] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.811682] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE]2
    [    4.823313] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLev0
    [    4.834471] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 P0
    [    4.847257] scsi 0:0:0:49488: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.847344] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    4.862899] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    4.869160] scsi 0:0:0:49476: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.869265] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    4.886867] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
    [    4.894281] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    5.004068] mmc0: CQHCI version 5.10
    [    5.004109] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    5.019836] vdd_mmc1: supplied by vsys_3v3
    [    5.024774] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    5.031453] pca953x 4-0020: using no AI
    [    5.043443] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    5.059882] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    5.066722] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    5.073553] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    5.080377] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    5.087189] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    5.097836] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    5.108466] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    5.123273] spi-nor spi7.0: mt35xu512aba (65536 Kbytes)
    [    5.128505] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    5.135112] Creating 8 MTD partitions on "47040000.spi.0":
    [    5.140593] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    5.146570] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    5.152271] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    5.158041] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    5.163583] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    5.169256] 0x0000007c0000-0x000000800000 : "ospi.env.backup"
    [    5.175375] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    5.181152] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    5.190117] spi-nor spi8.0: mt25qu512a (65536 Kbytes)
    [    5.196786] mmc0: Command Queue Engine enabled
    [    5.197125] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    5.201238] mmc0: new HS200 MMC card at address 0001
    [    5.213081] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    5.217716] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    5.223734] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    5.229727] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    5.239550]  mmcblk0: p1
    [    5.246904] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.255406] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    5.263709] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 P0
    [    5.276563] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    5.283768] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.290030] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    5.300330] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.308693] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    5.314894] mmc1: CQHCI version 5.10
    [    5.324606] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    5.331858] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    5.340235] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    5.347551] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    5.354866] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    5.362176] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    5.370542] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    5.391732] ALSA device list:
    [    5.394693]   No soundcards found.
    [    6.831354] sdhci-am654 4fb0000.mmc: Power on failed
    [    6.866935] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    6.880965] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    6.889100] VFS: Mounted root (ext4 filesystem) on device 179:1.
    [    6.895350] devtmpfs: mounted
    [    6.899135] Freeing unused kernel memory: 1856K
    [    6.910955] Run /sbin/init as init process
    INIT: version 2.96 booting
    [    7.008785] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Mar  3 23:10:28 UTC 2023
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    [    7.170612] random: dd: uninitialized urandom read (512 bytes read)
    Configuring packages on first boot....
     (This may take several minutes. Please do not power off the machine.)
    Running postinst /etc/ipk-postinsts/000-sysvinit-inittab...
    INIT: Entering runlevel: 5un-postinsts exists during rc.d purge 
    Configuring network interfaces... [    7.260700] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI )
    [    7.270171] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    udhcpc: started, v1.31.1
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: no lease, forking to background
    done.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j7-evm /dev/ttyS2
    
    Arago 2021.09 j7-evm /dev/ttyS2
    
    j7-evm login: 
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j7-evm /dev/ttyS2
    
    Arago 2021.09 j7-evm /dev/ttyS2
    
    j7-evm login: 
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j7-evm /dev/ttyS2
    
    Arago 2021.09 j7-evm /dev/ttyS2
    
    j7-evm login: 
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j7-evm /dev/ttyS2
    
    Arago 2021.09 j7-evm /dev/ttyS2
    
    j7-evm login: root
    root@j7-evm:~# ls
    root@j7-evm:~# cd ../..
    root@j7-evm:/# ls
    bin         dev         home        linuxrc     media       proc        sbin        tmp         var
    boot        etc         lib         lost+found  mnt         run         sys         usr
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 

    What did we miss?

    Looking forward to your reply, thank you

    Regards,

    Barry

  • Hi Diwakar,

    The boot switch settings after the power outage are upgraded:

    SW8[1:8]:1000_0000, SW9[1:8]:0100_0000, SW3[1:10]:0110_0010_10

    What is the reason why there is no response after setting to boot0 mode?

    Is there anything wrong with the log after we manually set the boot?

    Can you send us a standard startup log message or E2E thread with verification details?

    Very much looking forward to your reply.

    Regards,

    Barry

  • HI Barry 

    I could see that you are able to boot what is the concern now ?

    You might have missed some of the configuration (mmc bootpart 0) then, if ROM s not picking the boot images from emmc.

    I would suggest you to go through this thread https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1243962/tda4vm-failed-to-flash-emmc-by-usb-dfu-on-linux/4756008#4756008

    if it still does not work please mention all the steps you followed so far.

    Regards
    Diwakar

  • Hi Diwakar,

    your reply is very helpful But as shown in the attachment log above, the loading failed:

    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    19079680 bytes read in 110 ms (165.4 MiB/s)
    111990 bytes read in 11 ms (9.7 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 000000008fee1000, end 000000008fffffff ... OK

    Starting kernel ...

    I am currently using tisdk-tiny-image.img. Please confirm what should be done to solve this problem first?

    I also tried:

    sudo dfu-util -a u-env.raw -D <PATH_TO_BIN>/uEnv.txt

    => fatload mmc 1 ${loadaddr} uEnv.txt

    => mmc write ${loadaddr} 0x3400 0x100

    I found that I couldn’t boot directly.

    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    #########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    #DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########################################################################################################################K
    Ctrl+C to exit ...
    => 
    => 
    => fatload mmc 1 ${loadaddr} uEnv.txt
    MMC: no card present
    mmc_init: -123, time 2002
    => 
    => mmc write ${loadaddr} 0x3400 0x100
    
    MMC write: dev # 0, block # 13312, count 256 ... 256 blocks written: OK
    => 
    => 
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0
    => 
    => 
    => 
    => 
    => 
    => 
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => 
    

    Looking forward to your reply, thanks

    Regards,

    Barry

  • Hi Diwakar,

    Can you help us solve this problem?

    We are very much looking forward to your reply, thank you

    Regards,

    Barry

  • Hi Barry 

    Before writing to the emmc have you created a partition using gpt write ?

    command:

    • gpt write mmc 0 ${partitions}

    i would suggested to go this thread you might have missed one of the step:

     https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1243962/tda4vm-failed-to-flash-emmc-by-usb-dfu-on-linux/4756008#4756008

    Regards
    Diwakar

  • Hi Diwakar,

    Thanks Reply.

    But what we can be sure of is that we completely executed all the commands mentioned in the guide, as shown in my log:

    
    
    Welcome to minicom 2.7.1
    
    OPTIONS: I18n 
    Compiled on Dec 23 2019, 02:06:26.
    Port /dev/ttyUSB0, 11:41:04
    
    Press CTRL-A Z for help on special keys
    
    
    U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 23:01:15 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Trying to boot from DFU
    ####################################################DOWNLOAD ... OK
    Ctrl+C to exit ...
    init_env from device 18 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 22:56:45, Mar  3 2023
    I/TC: 
    I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.4
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 22:59:37 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from DFU
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -22)
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    
    
    U-Boot 2021.01-g62a9e51344 (Mar 03 2023 - 22:59:37 +0000)
    
    SoC:   J721E SR1.1 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev A
    DRAM:  4 GiB
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from FAT... MMC: no card present
    mmc_init: -123, time 2002
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq0
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0 
    MMC: no card present
    mmc_init: -123, time 2002
    SD/MMC found on device 1
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    MMC: no card present
    mmc_init: -123, time 2002
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Bad Linux ARM64 Image magic!
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => env default -f -a
    ## Resetting to default environment
    => setenv mmcdev 0
    => setenv bootpart 0
    => 
    => saveenv
    Saving Environment to FAT... MMC: no card present
    mmc_init: -123, time 2002
    Failed (1)
    => 
    => setenv dfu_alt_info ${dfu_alt_info_emmc}
    => 
    => gpt write mmc 0 ${partitions}
    Writing GPT: success!
    => 
    Writing GPT: success!
    => dfu 0 mmc 0
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns,sierra serdes@5030000: sierra probed
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    #########DOWNLOAD ... OK
    Ctrl+C to exit ...
    #########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########DOWNLOAD ... OK
    Ctrl+C to exit ...
    ###DOWNLOAD ... OK
    Ctrl+C to exit ...
    ##########################################################################################################################K
    Ctrl+C to exit ...
    => 
    => 
    => 
    => mmc partconf 0 1 1 1
    => 
    => mmc bootbus 0 2 0 0 
    => 
    => 
    => 
    => boot 
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    19079680 bytes read in 111 ms (163.9 MiB/s)
    111990 bytes read in 11 ms (9.7 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fee1000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-g76b3e88d56 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-p3
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    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] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
    [    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
    [    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
    [    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    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.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
    [    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] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512t
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
    [    0.000000] Memory: 3271300K/4194304K available (11200K kernel code, 1160K rwdata, 4300K rodata, 1856K init, 433K bss, )
    [    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 event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of 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: 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: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008428] Console: colour dummy device 80x25
    [    0.012989] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023659] pid_max: default: 32768 minimum: 301
    [    0.028417] LSM: Security Framework initializing
    [    0.033171] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040748] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049569] rcu: Hierarchical SRCU implementation.
    [    0.054634] Platform MSI: msi-controller@1820000 domain created
    [    0.060880] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070186] EFI services will not be available.
    [    0.074908] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.088139] Detected PIPT I-cache on CPU1
    [    0.088163] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.088174] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.088208] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.088256] smp: Brought up 1 node, 2 CPUs
    [    0.117602] SMP: Total of 2 processors activated.
    [    0.122407] CPU features: detected: 32-bit EL0 Support
    [    0.127663] CPU features: detected: CRC32 instructions
    [    0.141617] CPU: All CPU(s) started at EL2
    [    0.145812] alternatives: patching kernel code
    [    0.150819] devtmpfs: initialized
    [    0.159741] KASLR disabled due to lack of seed
    [    0.164388] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.174351] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.188524] pinctrl core: initialized pinctrl subsystem
    [    0.194174] DMI not present or invalid.
    [    0.198425] NET: Registered protocol family 16
    [    0.203624] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.210927] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.218976] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.227276] thermal_sys: Registered thermal governor 'step_wise'
    [    0.227278] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.233850] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.247484] ASID allocator initialised with 65536 entries
    [    0.273495] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.280351] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.287201] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.294048] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.301496] cryptd: max_cpu_qlen set to 1000
    [    0.307564] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
    [    0.316389] vsys_3v3: supplied by evm_12v0
    [    0.320747] vsys_5v0: supplied by evm_12v0
    [    0.325501] iommu: Default domain type: Translated 
    [    0.330668] SCSI subsystem initialized
    [    0.334834] mc: Linux media interface: v0.10
    [    0.339212] videodev: Linux video capture interface: v2.00
    [    0.344846] pps_core: LinuxPPS API ver. 1 registered
    [    0.349917] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.359254] PTP clock support registered
    [    0.363276] EDAC MC: Ver: 3.0.0
    [    0.367076] FPGA manager framework
    [    0.370582] Advanced Linux Sound Architecture Driver Initialized.
    [    0.377169] clocksource: Switched to clocksource arch_sys_counter
    [    0.383492] VFS: Disk quotas dquot_6.6.0
    [    0.387524] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.397097] NET: Registered protocol family 2
    [    0.401834] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.410406] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.419164] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.427364] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [    0.435158] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.441961] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.448853] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.456252] NET: Registered protocol family 1
    [    0.460960] RPC: Registered named UNIX socket transport module.
    [    0.467023] RPC: Registered udp transport module.
    [    0.471827] RPC: Registered tcp transport module.
    [    0.476631] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.483212] NET: Registered protocol family 44
    [    0.487758] PCI: CLS 0 bytes, default 64
    [    0.492128] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.502513] Initialise system trusted keyrings
    [    0.507135] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.515251] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.521497] NFS: Registering the id_resolver key type
    [    0.526684] Key type id_resolver registered
    [    0.530955] Key type id_legacy registered
    [    0.535075] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.541923] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.549558] 9p: Installing v9fs 9p2000 file system support
    [    0.574720] Key type asymmetric registered
    [    0.578906] Asymmetric key parser 'x509' registered
    [    0.583905] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.591465] io scheduler mq-deadline registered
    [    0.596091] io scheduler kyber registered
    [    0.601846] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.608036] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.617095] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.623535] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.631515] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.637937] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.645877] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.652294] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.660219] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.666544] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.674493] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.680820] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.690539] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.698827] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.707041] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.714078] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.722555] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.735762] brd: module loaded
    [    0.742205] loop: module loaded
    [    0.745934] megasas: 07.714.04.00-rc1
    [    0.751729] tun: Universal TUN/TAP device driver, 1.6
    [    0.757206] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.763610] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.769681] sky2: driver version 1.30
    [    0.774041] VFIO - User Level meta-driver version: 0.3
    [    0.779824] i2c /dev entries driver
    [    0.784341] sdhci: Secure Digital Host Controller Interface driver
    [    0.790677] sdhci: Copyright(c) Pierre Ossman
    [    0.795348] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.801783] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.808136] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.815531] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.820093] optee: revision 3.20 (8e74d476)
    [    0.836492] optee: dynamic shared memory is enabled
    [    0.845951] optee: initialized driver
    [    0.851183] NET: Registered protocol family 17
    [    0.855805] 9pnet: Installing 9P2000 support
    [    0.860202] Key type dns_resolver registered
    [    0.864653] Loading compiled-in X.509 certificates
    [    0.878470] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    [    0.942868] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    0.950671] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.956752] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.963192] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.969699] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.976518] pca953x 3-0020: using no AI
    [    1.002061] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    1.008863] pca953x 3-0022: using AI
    [    1.013136] gpio-480 (CTRL_PM_I2C_OE): hogged as output/high
    [    1.019113] gpio-481 (MCASP/TRACE_MUX_S0): hogged as output/low
    [    1.025358] gpio-482 (MCASP/TRACE_MUX_S1): hogged as output/high
    [    1.031850] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.038317] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.048513] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.054831] pca953x 6-0020: supply vcc not found, using dummy regulator
    [    1.061658] pca953x 6-0020: using no AI
    [    1.089873] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    1.095948] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.101904] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    1.108164] pca953x 9-0020: supply vcc not found, using dummy regulator
    [    1.114982] pca953x 9-0020: using no AI
    [    1.141495] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    1.147970] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    1.157954] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    1.166758] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
    [    1.176624] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.198453] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    1.206130] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    1.214407] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    1.222685] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.242004] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    2.248419] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.254025] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.263715] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    2.270769] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.276908] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.286857] pci 0000:00:00.0: supports D1
    [    2.290951] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.296838] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    2.303865] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    2.316042] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.326181] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.332954] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit]
    [    2.340427] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.345731] pcieport 0000:00:00.0: PME: Signaling with IRQ 68
    [    2.352135] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    2.359820] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    2.368099] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    2.376380] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.384922] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    3.391337] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    3.396944] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.406812] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    3.413856] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    3.419994] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    3.429921] pci 0001:00:00.0: supports D1
    [    3.434015] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    3.442027] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.452266] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.459034] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.464318] pcieport 0001:00:00.0: PME: Signaling with IRQ 71
    [    3.470686] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
    [    3.478363] j721e-pcie 2920000.pcie:       IO 0x4400001000..0x4400010fff -> 0x0000001000
    [    3.486640] j721e-pcie 2920000.pcie:      MEM 0x4400011000..0x4407ffffff -> 0x0000011000
    [    3.494918] j721e-pcie 2920000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.506272] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
    [    4.512700] pci_bus 0002:00: root bus resource [bus 00-ff]
    [    4.518306] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    4.527553] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
    [    4.538329] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
    [    4.544468] pci_bus 0002:00: 2-byte config write to 0002:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    4.554396] pci 0002:00:00.0: supports D1
    [    4.558489] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
    [    4.566482] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.576518] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
    [    4.583286] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    4.588562] pcieport 0002:00:00.0: PME: Signaling with IRQ 74
    [    4.595390] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    4.605273] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    4.612032] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.621008] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    4.631164] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    4.637927] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.645897] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
    [    4.655301] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 3000000) is a 8250
    [    4.664047] printk: console [ttyS2] enabled
    [    4.664047] printk: console [ttyS2] enabled
    [    4.672484] printk: bootconsole [ns16550a0] disabled
    [    4.672484] printk: bootconsole [ns16550a0] disabled
    [    4.682936] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 3000000) is a 8250
    [    4.691873] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 3000000) is a 8250
    [    4.702622] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    4.713135] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    4.723293] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    4.733532] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    4.744669] scsi host0: ufshcd
    [    4.753784] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    4.766620] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAU0
    [    4.797172] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.805649] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.813954] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 P0
    [    4.826878] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    4.834089] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE]2
    [    4.845719] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    4.845722] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLev0
    [    4.862767] scsi 0:0:0:49488: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.863149] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    4.880523] scsi 0:0:0:49476: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.889205] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    4.897415] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
    [    4.999071] mmc0: CQHCI version 5.10
    [    4.999116] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    5.014778] vdd_mmc1: supplied by vsys_3v3
    [    5.019696] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    5.026363] pca953x 4-0020: using no AI
    [    5.041173] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    5.054200] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    5.061153] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    5.068091] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    5.075019] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    5.081878] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    5.092540] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    5.103165] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    5.117850] spi-nor spi7.0: mt35xu512aba (65536 Kbytes)
    [    5.123089] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    5.129688] Creating 8 MTD partitions on "47040000.spi.0":
    [    5.135166] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    5.141127] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    5.146814] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    5.152594] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    5.158110] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    5.163790] 0x0000007c0000-0x000000800000 : "ospi.env.backup"
    [    5.169899] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    5.175675] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    5.184644] spi-nor spi8.0: mt25qu512a (65536 Kbytes)
    [    5.190949] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    5.201182] mmc0: Command Queue Engine enabled
    [    5.205619] mmc0: new HS200 MMC card at address 0001
    [    5.210854] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    5.215490] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    5.221500] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    5.227507] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    5.237186] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.244858]  mmcblk0: p1
    [    5.245728] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    5.255708] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 P0
    [    5.268596] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    5.275805] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.282112] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    5.292419] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.300628] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    5.315114] mmc1: CQHCI version 5.10
    [    5.317814] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
    [    5.326001] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
    [    5.334369] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    5.341696] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    5.349046] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    5.356355] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    5.364712] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    5.385901] ALSA device list:
    [    5.388861]   No soundcards found.
    [    6.829639] sdhci-am654 4fb0000.mmc: Power on failed
    [    6.865219] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    6.879253] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    6.887388] VFS: Mounted root (ext4 filesystem) on device 179:1.
    [    6.893636] devtmpfs: mounted
    [    6.897425] Freeing unused kernel memory: 1856K
    [    6.909236] Run /sbin/init as init process
    INIT: version 2.96 booting
    [    7.007230] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Mar  3 23:10:28 UTC 2023
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    chmod: /var/log/wtmp: No such file or directory
    Failed to set mode -0664- for -/var/log/wtmp-.
    [    7.167901] random: dd: uninitialized urandom read (512 bytes read)
    Configuring packages on first boot....
     (This may take several minutes. Please do not power off the machine.)
    Running postinst /etc/ipk-postinsts/000-sysvinit-inittab...
    INIT: Entering runlevel: 5un-postinsts exists during rc.d purge 
    Configuring network interfaces... [    7.254820] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI )
    [    7.264296] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    udhcpc: started, v1.31.1
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: no lease, forking to background
    done.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j7-evm /dev/ttyS2
    
    Arago 2021.09 j7-evm /dev/ttyS2
    
    j7-evm login: root
    root@j7-evm:~# 
    root@j7-evm:~# 
    root@j7-evm:~# 
    root@j7-evm:~# 
    root@j7-evm:~# 
    root@j7-evm:~# ls 
    root@j7-evm:~# 
    root@j7-evm:~# 
    root@j7-evm:~# 
    root@j7-evm:~# cd ../..
    root@j7-evm:/# 
    root@j7-evm:/# ls -al 
    total 64
    drwxr-xr-x   17 root     root          4096 Mar  3 23:10 .
    drwxr-xr-x   17 root     root          4096 Mar  3 23:10 ..
    drwxr-xr-x    2 root     root          4096 Mar  3 23:10 bin
    drwxr-xr-x    2 root     root          4096 Apr 16  2024 boot
    drwxr-xr-x    9 root     root          4440 Mar  3 23:10 dev
    drwxr-xr-x   21 root     root          4096 Mar  3 23:10 etc
    drwxr-xr-x    3 root     root          4096 Mar  3 22:59 home
    drwxr-xr-x    6 root     root          4096 Mar  3 23:10 lib
    lrwxrwxrwx    1 root     root            19 Mar  3 23:10 linuxrc -> /bin/busybox.nosuid
    drwx------    2 root     root         16384 Apr 16  2024 lost+found
    drwxr-xr-x    2 root     root          4096 Mar  3 22:59 media
    drwxr-xr-x    2 root     root          4096 Mar  3 22:59 mnt
    dr-xr-xr-x  157 root     root             0 Jan  1  1970 proc
    drwxr-xr-x    4 root     root           260 Mar  3 23:10 run
    drwxr-xr-x    2 root     root          4096 Mar  3 23:10 sbin
    dr-xr-xr-x   12 root     root             0 Jan  1  1970 sys
    lrwxrwxrwx    1 root     root             8 Mar  3 23:10 tmp -> /var/tmp
    drwxr-xr-x    9 root     root          4096 Mar  3 23:10 usr
    drwxr-xr-x    8 root     root          4096 Mar  3 23:10 var
    root@j7-evm:/# 
    root@j7-evm:/# ls
    bin         dev         home        linuxrc     media       proc        sbin        tmp         var
    boot        etc         lib         lost+found  mnt         run         sys         usr
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 
    root@j7-evm:/# 
    

    Can you tell me the reason why this Failed message appears?

    How can we solve this problem?

    Looking forward to the help of experts, thanks

    Regards,

    Barry

  • HI Barry 

    From the above logs its clear that you are able to boot from the emmc device.

    For the above error question can you open a another thread.

    Regards
    Diwakar

  • Hi Diwakar,

    Thanks Reply.

    When we tried to upgrade tisdk-default-image-j7-evm.tar.xz, we saw the following prohibition:

    Can you tell us how to upgrade large files with DFU?How to solve this problem?

    Looking forward to the help of experts, thanks

    Regards,

    Barry

  • HI Barry,

    The size limitation is due to the dfu utility.

    Please have a look at one of the older thread.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/922228/tda4vm-rootfilesystem-format-for-flashing-using-dfu-tool

    Regards
    Diwakar

  • Hi Diwakar,

    Thanks Reply.

    After the upgrade is completed, now enter boot manually in TARGET =>boot to start emmc

    Because after we upgrade,power off,Dial to emmc(boot0),After powering on, I found that there was no response and there was no output from the serial port.

    DIP switch is set to: SW8[1:8]:1000_0000, SW9[1:8]:0100_0000, SW3[1:10]:0110_0010_10

    What is the reason for this?

    Regards,

    Barry

  • HI Barry 

    The reason is because the env variable got reset after the power cycle.

    You need to save those env or keep the environment variable in the uEnv.txt.

    Regards
    Diwakar

  • Hi Diwakar

    thank you for your reply.

    To be sure, we have removed the SD card.

    1. In order to save these environment variables, do we still need to make any modifications to the default uEnv.txt?

    
    /ti-processor-sdk-rtos-j721e-evm-08_06_00_12-prebuilt/BOOT/uEnv.txt
    
    
    psdk_setup_file=.psdk_setup
    check_psdk_setup=load mmc 1:1 ${loadaddr} ${psdk_setup_file}
    
    # Reset to the default environment
    do_psdk_setup=env default -f -a; saveenv
    
    # If not previously configured, then configure the environment and indicate this by writing a file
    uenvcmd=if run check_psdk_setup; then echo "Already setup."; else run do_psdk_setup; mw.b ${loadaddr} 0 1; fatwrite mmc 1:1 ${loadaddr} .psdk_setup 1; reset; fi
    
    dorprocboot=1
    name_overlays=k3-j721e-vision-apps.dtbo

    2. For uEnv.txt, how do we need to flash?

    Looking forward for your reply, thanks

    Regards

    Barry

  • HI Barry 

    if you want to do the saveenv you can change the partition currently it is sd it is mentioned in the defconfig of the U-BOOT.

    You can create a fat partion in the UDA part of the emmc and can save the envoirment variable there.

    After making the changes in the defconfig rebuild the U-BOOT and flash to the emmc boot 0 partititon.

    Regards
    Diwakar

  • Hi Diwakar

    thank you for your reply.

    Why does such a problem occur? Is this a flaw missed by the EMMC upgrade of TDA4VM itself?

    All our upgrade methods come from TI guide. If it is a patch that TI needs to fix, please provide detailed solution steps.

    Looking forward for your reply, thanks

    Regards

    Barry

  • HI Barry 

    The app note which you are following does not consider that there is no SD card present on the board or like this customer specific use cases .

    They are vacillated on the evm.

    Why does such a problem occur? Is this a flaw missed by the EMMC upgrade of TDA4VM itself?

    As you removed the SD card so it is not able to store the env variable in that partition, that is the reason i suggested you to create a fat partition in the emmc and then do the suggested changes in the defconfig.

    Regards
    Diwakar

  • Hi Diwakar

    Thanks Reply

    We don't have an SD card in the EVM board now, just upgrade the eMMC and boot.

    In order to solve this problem, can you send us the verified patch?

    Looking forward to detailed solution steps.

    Thanks

  • Hi Barry 

    Allow us some time to check on this will respond you within 2 days.

    Regards
    Diwakar

  • Hi Diwakar

    Can you update it for us now?

    Looking forward for your reply, thanks

    Regards,

    Barry

  • Hi Diwakar

    Thanks Reply.

    The question is:

    Comparing the contents of the BOOT partition in the SD card, we only flashed tiboot3.bin/tispl.bin/u-boot.img/sysfw.itb.

    Apart from these, which other files in the BOOT partition of the SD card require flash memory? How to flash?

    We have removed the SD card and are replacing it completely with eMMC,For mass production, can you give us an accurate answer?

    Regards,

    Barry

  • Hi Diwakar

    For eMMC, which files in the BOOT partition must we need to upgrade? How to flash?

    The rootfs partition can be upgraded through rootfs.ext4.

    SD card BOOT partition and rootfs partition:
    
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ ls
    BOOT  rootfs
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ ls  ./BOOT/
    sysfw.itb    tispl.bin  u-boot.img                  uEnv_am62a_vision_apps.txt  uEnv_j721e_edgeai_apps.txt  uEnv_j721s2_edgeai_apps.txt  uEnv_j784s4_edgeai_apps.txt  uEnv.txt       version
    tiboot3.bin  uboot.env  uEnv_am62a_edgeai_apps.txt  uEnv_edgeai-apps.txt        uEnv_j721e_vision_apps.txt  uEnv_j721s2_vision_apps.txt  uEnv_j784s4_vision_apps.txt  uEnv.txt.base
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ ls ./rootfs/
    bin  boot  dev  etc  home  include  init  lib  linuxrc  lost+found  media  mnt  opt  proc  run  sbin  sys  tmp  usr  var
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ ls ./rootfs/boot/
    fitImage                        k3-j721e-common-proc-board-infotainment.dtbo  k3-j721e-fpdlink-imx390-cm-0-1.dtbo  k3-j721e-fpdlink-imx390-cm-1-2.dtbo   k3-j721e-fpdlink-imx390-rcm-0-3.dtbo  k3-j721e-fpdlink-sk-fusion.dtbo   k3-j721e-sk-rpi-hdr-ehrpwm.dtbo
    fitImage-5.10.162-g76b3e88d56   k3-j721e-cpb-csi2-ov5640.dtbo                 k3-j721e-fpdlink-imx390-cm-0-2.dtbo  k3-j721e-fpdlink-imx390-cm-1-3.dtbo   k3-j721e-fpdlink-imx390-rcm-1-0.dtbo  k3-j721e-proc-board-tps65917.dtb  k3-j721e-vision-apps.dtbo
    Image                           k3-j721e-edgeai-apps.dtbo                     k3-j721e-fpdlink-imx390-cm-0-3.dtbo  k3-j721e-fpdlink-imx390-rcm-0-0.dtbo  k3-j721e-fpdlink-imx390-rcm-1-1.dtbo  k3-j721e-sk-csi2-ov5640.dtbo
    Image-5.10.162-g76b3e88d56      k3-j721e-fpdlink-cpb-fusion.dtbo              k3-j721e-fpdlink-imx390-cm-1-0.dtbo  k3-j721e-fpdlink-imx390-rcm-0-1.dtbo  k3-j721e-fpdlink-imx390-rcm-1-2.dtbo  k3-j721e-sk.dtb
    k3-j721e-common-proc-board.dtb  k3-j721e-fpdlink-imx390-cm-0-0.dtbo           k3-j721e-fpdlink-imx390-cm-1-1.dtbo  k3-j721e-fpdlink-imx390-rcm-0-2.dtbo  k3-j721e-fpdlink-imx390-rcm-1-3.dtbo  k3-j721e-sk-rpi-cam-imx219.dtbo
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ 
    @sz-dl-260:/media/$ 

    Looking forward to the expert's reply.

    Regards,

    Barry

  • HI Barry 

    We are already supporting the same query in the https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1351993/tda4vm-dfu-rootfs 

    thread.

    Regards
    Diwakar