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.

AM62A7: USB MSC boot mode flashing process

Part Number: AM62A7

Hello,

 

I am using am62a7 EVM and i am trying to boot from USB MSC method.

I have generated tiboot3.bin, tispl.bin, u-boot.img by using "am62ax_evm_r5_usbmsc_defconfig".

Bootmode pin conf for USB MSC "SW2 [1-8] --> 11001010    SW3 [1-8] --> 10000000"

It is binaries build successfully. When i tried to boot from USB MSC boot mode it is showing below error message.

image.png

Can you please see why stack overflow and USB controller not initialize.

 

Thanks 

Pankaj Verma

  • Hi Pankaj,

    I have generated tiboot3.bin, tispl.bin, u-boot.img by using "am62ax_evm_r5_usbmsc_defconfig".

    Only tiboot3.bin is to be built using am62ax_evm_r5_usbmsc_defconfig.

    tispl.bin and u-boot.img should be built using am62ax_evm_a53_defconfig.

    Can you provide some more details? (SDK version, build using SDK or Yocto? Steps followed to build?)

    Regards,

    Vinu

  • HI Vinu,

    Yocto TISdk is 9.02.

    Below are the build step:

    Add the following config to local.conf.
    UBOOT_MACHINE:am62axx-evm-k3r5 = "am62ax_evm_r5_usbmsc_defconfig"

    Clean and build u-boot.

    MACHINE=am62axx-evm bitbake mc:k3r5:u-boot-ti-staging -c cleansstate

    MACHINE=am62axx-evm bitbake u-boot-ti-staging -c cleansstate

    MACHINE=am62axx-evm bitbake mc:k3r5:u-boot-ti-staging

    MACHINE=am62axx-evm bitbake u-boot-ti-staging

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    Thanks for the reply. 

    Can you also share how the USB storage device is partitioned?

    Regards,

    Vinu

  • HI VInu,

    I have make a USB bootable as same like SD card bootable. SD card is working fine.

    In USB there are 2 partition (BOOT and Rootfs).

    We are try to partition USB in linux machine. 

    Below are the step to make device bootable.(USB and SD card)

    1. create a .bmap file from image
    bmaptool create -o tisdk-edgeai-image-am62axx-evm.bmap tisdk-edgeai-image-am62axx-evm-20251127201734.rootfs.wic

    2. flash a image file into device
    sudo bmaptool copy --bmap tisdk-edgeai-image-am62axx-evm.bmap tisdk-edgeai-image-am62axx-evm-20251127201734.rootfs.wic /dev/sdb

    we are trying the same process as same as for SD card.

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    Thanks for sharing the info. Let me try this on HW from my end.

    I'll get back to you in three days.

    Regards,

    Vinu

  • Hi Pankaj,

    Some additional changes are required to get the USB-MSC working.

    The k3-am62a7-sk.dts need to be updated to enable the USB controller and PHY nodes required for USB MSC boot on AM62Ax.

    diff --git a/arch/arm/dts/k3-am62a7-sk.dts b/arch/arm/dts/k3-am62a7-sk.dts
    index 8b5c25431d4..28b11ffa183 100644
    --- a/arch/arm/dts/k3-am62a7-sk.dts
    +++ b/arch/arm/dts/k3-am62a7-sk.dts
    @@ -327,7 +327,9 @@
     };
     
     &usb0 {
    -	dr_mode = "peripheral";
    +	usb-role-switch;
    +	bootph-all;
    +	dr_mode = "host"; /* Changed from peripheral to host */
     };
     
     &main_i2c0 {


    Also, if you are getting the FAT cluster size error
    Error: FAT cluster size too big (cs=32768, max=16384)


    update the am62ax defconfigs as below, to make the cluster size 32K.
    diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig
    index 5442796a82e..260d5e9ecf0 100644
    --- a/configs/am62ax_evm_a53_defconfig
    +++ b/configs/am62ax_evm_a53_defconfig
    @@ -157,7 +157,7 @@ CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
     CONFIG_USB_GADGET_VENDOR_NUM=0x0451
     CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
     CONFIG_USB_FUNCTION_MASS_STORAGE=y
    -CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
    +CONFIG_FS_FAT_MAX_CLUSTSIZE=32768
     CONFIG_OF_LIBFDT_OVERLAY=y
     CONFIG_CMD_REMOTEPROC=y
     CONFIG_SPL_USB_HOST=y
    @@ -165,3 +165,4 @@ CONFIG_SPL_USB_STORAGE=y
     CONFIG_USB_HOST=y
     CONFIG_USB_STORAGE=y
     CONFIG_SUPPORT_EMMC_BOOT=y
    +
    diff --git a/configs/am62ax_evm_r5_usbmsc_defconfig b/configs/am62ax_evm_r5_usbmsc_defconfig
    index 659b2c9e9ba..5ad016b71b5 100644
    --- a/configs/am62ax_evm_r5_usbmsc_defconfig
    +++ b/configs/am62ax_evm_r5_usbmsc_defconfig
    @@ -123,4 +123,4 @@ CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
     CONFIG_USB_GADGET_VENDOR_NUM=0x0451
     CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
     CONFIG_USB_GADGET_DOWNLOAD=y
    -CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
    +CONFIG_FS_FAT_MAX_CLUSTSIZE=32768
    

    With these changes, you should be able to get the USB MSC working.

    I'm sharing the working logs below.

    U-Boot SPL 2023.04 (Jan 29 2026 - 10:36:45 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    SPL initial stack usage: 13568 bytes
    SPL possible initial stack overflow detected!!
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04 (Jan 29 2026 - 10:35:58 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04 (Jan 29 2026 - 10:35:58 +0530)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2

    If it still doesn't work, please share the logs and the defconfigs (am62ax_evm_a53_defconfig and am62ax_evm_r5_usbmsc_defconfig)

    Regards,
    Vinu

  • Hi Vinu,

    I have done the changes at my end as you suggested. but the problem is still same.

      

    I have made the changes in u-boot dts  k3-am62a7-sk.dts

    and also in defconfig files sharing with you and build with changes in local.conf file "am62ax_evm_r5_usbmsc_defconfig".

    CONFIG_ARM=y
    CONFIG_ARCH_K3=y
    CONFIG_TI_SECURE_DEVICE=y
    CONFIG_TI_COMMON_CMD_OPTIONS=y
    CONFIG_SPL_GPIO=y
    CONFIG_SYS_MALLOC_F_LEN=0x8000
    CONFIG_BOARD_HAS_32K_RTC_CRYSTAL=y
    CONFIG_SPL_LIBCOMMON_SUPPORT=y
    CONFIG_SPL_LIBGENERIC_SUPPORT=y
    CONFIG_NR_DRAM_BANKS=2
    CONFIG_SOC_K3_AM62A7=y
    CONFIG_K3_ATF_LOAD_ADDR=0x9e780000
    CONFIG_TARGET_AM62A7_A53_EVM=y
    CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
    CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000
    CONFIG_DM_GPIO=y
    CONFIG_SF_DEFAULT_SPEED=25000000
    CONFIG_ENV_SIZE=0x40000
    CONFIG_SPL_DM_SPI=y
    CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-sk"
    CONFIG_SPL_TEXT_BASE=0x80080000
    CONFIG_DM_RESET=y
    CONFIG_SPL_MMC=y
    CONFIG_SPL_SERIAL=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_SPL_FS_FAT=y
    CONFIG_SPL_LIBDISK_SUPPORT=y
    CONFIG_SPL_SPI=y
    # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
    CONFIG_DISTRO_DEFAULTS=y
    CONFIG_BOOTCOMMAND="run envboot; run distro_bootcmd;"
    CONFIG_SPL_MAX_SIZE=0x58000
    CONFIG_SPL_PAD_TO=0x0
    CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
    CONFIG_SPL_BSS_START_ADDR=0x80a00000
    CONFIG_SPL_BSS_MAX_SIZE=0x80000
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_BOARD_INIT=y
    CONFIG_SPL_STACK_R=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
    CONFIG_SPL_ENV_SUPPORT=y
    CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
    CONFIG_SPL_I2C=y
    CONFIG_SPL_DM_MAILBOX=y
    CONFIG_SPL_MTD_SUPPORT=y
    CONFIG_SPL_MTD_LOAD=y
    CONFIG_SYS_MTD_U_BOOT_OFFS=0x280000
    CONFIG_SPL_NAND_SPI_SUPPORT=y
    CONFIG_SPL_DM_SPI_FLASH=y
    CONFIG_SPL_POWER_DOMAIN=y
    CONFIG_SPL_RAM_SUPPORT=y
    CONFIG_SPL_USB_GADGET=y
    CONFIG_SPL_DFU=y
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_SYS_MAXARGS=64
    CONFIG_CMD_MMC=y
    CONFIG_CMD_CLK=y
    CONFIG_CMD_DDRSS=y
    CONFIG_CMD_DFU=y
    CONFIG_CMD_DM=y
    CONFIG_CMD_GPIO=y
    CONFIG_CMD_GPT=y
    CONFIG_CMD_I2C=y
    CONFIG_SUPPORT_EMMC_BOOT=y
    CONFIG_MMC_HS200_SUPPORT=y
    CONFIG_SPL_MMC_HS200_SUPPORT=y
    CONFIG_CMD_MTD=y
    CONFIG_CMD_USB=y
    CONFIG_CMD_USB_MASS_STORAGE=y
    CONFIG_CMD_TIME=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_MTDPARTS=y
    CONFIG_CMD_UBI=y
    CONFIG_OF_CONTROL=y
    CONFIG_SPL_OF_CONTROL=y
    CONFIG_MULTI_DTB_FIT=y
    CONFIG_SPL_MULTI_DTB_FIT=y
    CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
    CONFIG_SPL_DM=y
    CONFIG_SPL_DM_DEVICE_REMOVE=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    CONFIG_REGMAP=y
    CONFIG_SPL_REGMAP=y
    CONFIG_SYSCON=y
    CONFIG_SPL_SYSCON=y
    CONFIG_SPL_OF_TRANSLATE=y
    CONFIG_CLK=y
    CONFIG_SPL_CLK=y
    CONFIG_CLK_TI_SCI=y
    CONFIG_DFU_MMC=y
    CONFIG_DFU_RAM=y
    CONFIG_DFU_SF=y
    CONFIG_DFU_MTD=y
    CONFIG_SYS_DFU_DATA_BUF_SIZE=0x40000
    CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
    CONFIG_DMA_CHANNELS=y
    CONFIG_TI_K3_NAVSS_UDMA=y
    CONFIG_USB_FUNCTION_FASTBOOT=y
    CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
    CONFIG_FASTBOOT_BUF_SIZE=0x2F000000
    CONFIG_TI_SCI_PROTOCOL=y
    CONFIG_SPL_DM_GPIO_LOOKUP_LABEL=y
    CONFIG_DA8XX_GPIO=y
    CONFIG_DM_PCA953X=y
    CONFIG_SPL_DM_PCA953X=y
    CONFIG_DM_I2C=y
    CONFIG_SYS_I2C_OMAP24XX=y
    CONFIG_DM_MAILBOX=y
    CONFIG_K3_SEC_PROXY=y
    CONFIG_SPL_MISC=y
    CONFIG_MMC_SDHCI=y
    CONFIG_MMC_SDHCI_ADMA=y
    CONFIG_SPL_MMC_SDHCI_ADMA=y
    CONFIG_MMC_SDHCI_AM654=y
    CONFIG_MTD=y
    CONFIG_DM_MTD=y
    CONFIG_MTD_SPI_NAND=y
    CONFIG_DM_SPI_FLASH=y
    CONFIG_PHY_TI_DP83867=y
    CONFIG_TI_AM65_CPSW_NUSS=y
    CONFIG_PINCTRL=y
    CONFIG_SPL_PINCTRL=y
    CONFIG_PINCTRL_SINGLE=y
    CONFIG_POWER_DOMAIN=y
    CONFIG_TI_SCI_POWER_DOMAIN=y
    CONFIG_K3_SYSTEM_CONTROLLER=y
    CONFIG_REMOTEPROC_TI_K3_ARM64=y
    CONFIG_REMOTEPROC_TI_K3_R5F=y
    CONFIG_REMOTEPROC_TI_K3_DSP=y
    CONFIG_RESET_TI_SCI=y
    CONFIG_DM_SERIAL=y
    CONFIG_SOC_DEVICE=y
    CONFIG_SOC_DEVICE_TI_K3=y
    CONFIG_SOC_TI=y
    CONFIG_SPI=y
    CONFIG_DM_SPI=y
    CONFIG_CADENCE_QSPI=y
    CONFIG_SYSRESET=y
    CONFIG_SPL_SYSRESET=y
    CONFIG_SYSRESET_TI_SCI=y
    CONFIG_DM_THERMAL=y
    CONFIG_USB=y
    CONFIG_DM_USB=y
    CONFIG_DM_USB_GADGET=y
    CONFIG_SPL_DM_USB_GADGET=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_DWC3=y
    CONFIG_SPL_USB_DWC3_GENERIC=y
    CONFIG_USB_DWC3_GENERIC=y
    CONFIG_SPL_USB_DWC3_AM62=y
    CONFIG_USB_DWC3_AM62=y
    CONFIG_USB_GADGET=y
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451
    CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
    CONFIG_USB_FUNCTION_MASS_STORAGE=y
    CONFIG_FS_FAT_MAX_CLUSTSIZE=32768
    CONFIG_OF_LIBFDT_OVERLAY=y
    CONFIG_CMD_REMOTEPROC=y
    CONFIG_SPL_USB_HOST=y
    CONFIG_SPL_USB_STORAGE=y
    CONFIG_USB_HOST=y
    CONFIG_USB_STORAGE=y
    CONFIG_SUPPORT_EMMC_BOOT=y
    
    CONFIG_ARM=y
    CONFIG_ARCH_K3=y
    CONFIG_TI_SECURE_DEVICE=y
    CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
    CONFIG_SYS_MALLOC_F_LEN=0x8000
    CONFIG_SPL_GPIO_SUPPORT=y
    CONFIG_SPL_LIBCOMMON_SUPPORT=y
    CONFIG_SPL_LIBGENERIC_SUPPORT=y
    CONFIG_SOC_K3_AM62A7=y
    CONFIG_TARGET_AM62A7_R5_EVM=y
    CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
    CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x43c3a7f0
    CONFIG_ENV_SIZE=0x20000
    CONFIG_ENV_OFFSET=0x680000
    CONFIG_DM_GPIO=y
    CONFIG_SPL_TEXT_BASE=0x43c00000
    CONFIG_SPL_MMC_SUPPORT=y
    CONFIG_SPL_SERIAL=y
    CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_SPL_SIZE_LIMIT=0x3A7F0
    CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC=y
    CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD=y
    CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500
    CONFIG_SPL_FS_FAT=y
    CONFIG_SPL_LIBDISK_SUPPORT=y
    CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-r5-sk"
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_LOAD_FIT_ADDRESS=0x80080000
    CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
    # CONFIG_DISPLAY_CPUINFO is not set
    CONFIG_SPL_MAX_SIZE=0x3B000
    CONFIG_SPL_PAD_TO=0x0
    CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
    CONFIG_SPL_BSS_START_ADDR=0x43c3b000
    CONFIG_SPL_BSS_MAX_SIZE=0x3000
    CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_STACK_R=y
    CONFIG_SPL_SEPARATE_BSS=y
    CONFIG_SPL_EARLY_BSS=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
    CONFIG_SPL_I2C_SUPPORT=y
    CONFIG_SPL_DM_MAILBOX=y
    CONFIG_SPL_DM_RESET=y
    CONFIG_SPL_POWER_DOMAIN=y
    CONFIG_SPL_RAM_SUPPORT=y
    CONFIG_SPL_RAM_DEVICE=y
    CONFIG_SPL_REMOTEPROC=y
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_HUSH_PARSER=y
    CONFIG_CMD_ASKENV=y
    CONFIG_CMD_GPT=y
    CONFIG_CMD_MMC=y
    CONFIG_CMD_REMOTEPROC=y
    # CONFIG_CMD_SETEXPR is not set
    CONFIG_CMD_TIME=y
    CONFIG_CMD_FAT=y
    CONFIG_OF_CONTROL=y
    CONFIG_SPL_OF_CONTROL=y
    CONFIG_SPL_MULTI_DTB_FIT=y
    CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
    CONFIG_SYS_RELOC_GD_ENV_ADDR=y
    CONFIG_DM=y
    CONFIG_SPL_DM=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    CONFIG_REGMAP=y
    CONFIG_SPL_REGMAP=y
    CONFIG_SYSCON=y
    CONFIG_SPL_SYSCON=y
    CONFIG_SPL_OF_TRANSLATE=y
    CONFIG_CLK=y
    CONFIG_SPL_CLK=y
    CONFIG_SPL_CLK_CCF=y
    CONFIG_SPL_CLK_K3=y
    CONFIG_SPL_CLK_K3_PLL=y
    CONFIG_DFU_RAM=y
    CONFIG_TI_SCI_PROTOCOL=y
    CONFIG_DA8XX_GPIO=y
    CONFIG_DM_I2C=y
    CONFIG_SYS_I2C_OMAP24XX=y
    CONFIG_DM_MAILBOX=y
    CONFIG_K3_SEC_PROXY=y
    CONFIG_MISC=y
    CONFIG_PINCTRL=y
    # CONFIG_PINCTRL_GENERIC is not set
    CONFIG_SPL_PINCTRL=y
    # CONFIG_SPL_PINCTRL_GENERIC is not set
    CONFIG_PINCTRL_SINGLE=y
    CONFIG_POWER_DOMAIN=y
    CONFIG_TI_POWER_DOMAIN=y
    CONFIG_K3_SYSTEM_CONTROLLER=y
    CONFIG_REMOTEPROC_TI_K3_ARM64=y
    CONFIG_DM_RESET=y
    CONFIG_RESET_TI_SCI=y
    CONFIG_SPECIFY_CONSOLE_INDEX=y
    CONFIG_DM_SERIAL=y
    CONFIG_SOC_DEVICE=y
    CONFIG_SOC_DEVICE_TI_K3=y
    CONFIG_SOC_TI=y
    CONFIG_TIMER=y
    CONFIG_SPL_TIMER=y
    CONFIG_OMAP_TIMER=y
    CONFIG_LIB_RATIONAL=y
    CONFIG_SPL_LIB_RATIONAL=y
    CONFIG_SPL_USB_HOST=y
    CONFIG_SPL_USB_STORAGE=y
    CONFIG_USB_HOST=y
    CONFIG_USB_STORAGE=y
    CONFIG_USB_GADGET=y
    CONFIG_SPL_USB_GADGET=y
    CONFIG_USB=y
    CONFIG_DM_USB=y
    CONFIG_DM_USB_GADGET=y
    CONFIG_SPL_DM_USB_GADGET=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_GENERIC=y
    CONFIG_SPL_USB_DWC3_GENERIC=y
    CONFIG_SPL_USB_DWC3_AM62=y
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451
    CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
    CONFIG_USB_GADGET_DOWNLOAD=y
    CONFIG_FS_FAT_MAX_CLUSTSIZE=32768
    

    I am getting the same error. Is i am missing something please let me know

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    Are you trying this out on the EVM or a custom board?

    Can you try changing the USB stick? Please try with a USB2.0 stick?

    Regards,

    Vinu

  • HI Vinu,

    I am trying this on evm am62a7. I am using yocto image sdk 9.02.

    I have tried with 2 different usb stick which is 2.0 only. result is same. "no working controller found".

    Is i am missing something. Or anything else i need to modify.

    Can you please share me the full path of u-boot k3-am62a7-sk.dts so i will verify at my end also.

    Thanks

    Pankaj Verma

  • Hi Pankaj,

    Is i am missing something. Or anything else i need to modify.

    It would either be because of the DTS changes not coming into effect, or the USB stick not getting partitioned correctly.

    To partition the USB stick, there is a script given along with the mcu_plus_sdk at <mcu_plus_sdk>/tools/boot/scripts/sd_partitioner/partition.sh which should be run as below

    sudo ./partition.sh --device <device>

    Once it creates the partitions, copy the tiboot3.bin, tispl.bin and u-boot.img to the boot partition.

    Can you also describe how you have patched the sources and rebuilt the u-boot?

    Can you please share me the full path of u-boot k3-am62a7-sk.dts so i will verify at my end also.

    It is given in the patch - workspace/sources/u-boot-ti-staging/arch/arm/dts/k3-am62a7-sk.dts

    Regards,
    Vinu

  • HI Vinu,

    Thanks for quick reply,

    I have converted uboot k3-am62a7-sk.dtb file into k3-am62a7-sk.dts file and it showing that the changes are reflected. i am sharing with you doe your reference.

    /dts-v1/;
    
    / {
    	model = "Texas Instruments AM62A7 SK";
    	compatible = "ti,am62a7-sk\0ti,am62a7";
    	interrupt-parent = <0x01>;
    	#address-cells = <0x02>;
    	#size-cells = <0x02>;
    
    	chosen {
    		stdout-path = "serial2:115200n8";
    		tick-timer = "/bus@f0000/timer@2400000";
    	};
    
    	firmware {
    
    		optee {
    			compatible = "linaro,optee-tz";
    			method = "smc";
    		};
    
    		psci {
    			compatible = "arm,psci-1.0";
    			method = "smc";
    		};
    	};
    
    	timer-cl0-cpu0 {
    		compatible = "arm,armv8-timer";
    		interrupts = <0x01 0x0d 0x08 0x01 0x0e 0x08 0x01 0x0b 0x08 0x01 0x0a 0x08>;
    	};
    
    	pmu {
    		compatible = "arm,cortex-a53-pmu";
    		interrupts = <0x01 0x07 0x04>;
    	};
    
    	bus@f0000 {
    		compatible = "simple-bus";
    		#address-cells = <0x02>;
    		#size-cells = <0x02>;
    		ranges = <0x00 0xf0000 0x00 0xf0000 0x00 0x30000 0x00 0x420000 0x00 0x420000 0x00 0x1000 0x00 0x600000 0x00 0x600000 0x00 0x1100 0x00 0x703000 0x00 0x703000 0x00 0x200 0x00 0x70c000 0x00 0x70c000 0x00 0x200 0x00 0xa40000 0x00 0xa40000 0x00 0x800 0x00 0x1000000 0x00 0x1000000 0x00 0x1b28400 0x00 0x8000000 0x00 0x8000000 0x00 0x200000 0x00 0xe000000 0x00 0xe000000 0x00 0x1d20000 0x00 0xfd00000 0x00 0xfd00000 0x00 0x20000 0x00 0x20000000 0x00 0x20000000 0x00 0xa008000 0x00 0x30040000 0x00 0x30040000 0x00 0x80000 0x00 0x30101000 0x00 0x30101000 0x00 0x10100 0x00 0x30200000 0x00 0x30200000 0x00 0x10000 0x00 0x30210000 0x00 0x30210000 0x00 0x10000 0x00 0x31000000 0x00 0x31000000 0x00 0x50000 0x00 0x31100000 0x00 0x31100000 0x00 0x50000 0x00 0x40900000 0x00 0x40900000 0x00 0x30000 0x00 0x43600000 0x00 0x43600000 0x00 0x10000 0x00 0x44043000 0x00 0x44043000 0x00 0xfe0 0x00 0x44860000 0x00 0x44860000 0x00 0x40000 0x00 0x48000000 0x00 0x48000000 0x00 0x6400000 0x00 0x60000000 0x00 0x60000000 0x00 0x8000000 0x00 0x70000000 0x00 0x70000000 0x00 0x10000 0x00 0x7e000000 0x00 0x7e000000 0x00 0x100000 0x01 0x00 0x01 0x00 0x00 0x310000 0x05 0x00 0x05 0x00 0x01 0x00 0x00 0x4000000 0x00 0x4000000 0x00 0x1ff1400 0x00 0x79000000 0x00 0x79000000 0x00 0x8000 0x00 0x79020000 0x00 0x79020000 0x00 0x8000 0x00 0x79100000 0x00 0x79100000 0x00 0x40000 0x00 0x79140000 0x00 0x79140000 0x00 0x40000 0x00 0xb00000 0x00 0xb00000 0x00 0x2400 0x00 0x2b000000 0x00 0x2b000000 0x00 0x300400 0x00 0x43000000 0x00 0x43000000 0x00 0x20000 0x00 0x78000000 0x00 0x78000000 0x00 0x8000 0x00 0x78100000 0x00 0x78100000 0x00 0x8000>;
    		bootph-pre-ram;
    
    		bus@4000000 {
    			compatible = "simple-bus";
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			ranges = <0x00 0x4000000 0x00 0x4000000 0x00 0x1ff1400 0x00 0x79000000 0x00 0x79000000 0x00 0x8000 0x00 0x79020000 0x00 0x79020000 0x00 0x8000 0x00 0x79100000 0x00 0x79100000 0x00 0x40000 0x00 0x79140000 0x00 0x79140000 0x00 0x40000>;
    			bootph-pre-ram;
    
    			sram@79100000 {
    				compatible = "mmio-sram";
    				reg = <0x00 0x79100000 0x00 0x80000>;
    				ranges = <0x00 0x00 0x79100000 0x80000>;
    				#address-cells = <0x01>;
    				#size-cells = <0x01>;
    				phandle = <0x06>;
    
    				mcu_sram1@0 {
    					reg = <0x00 0x80000>;
    				};
    			};
    
    			pinctrl@4084000 {
    				compatible = "pinctrl-single";
    				reg = <0x00 0x4084000 0x00 0x88>;
    				#pinctrl-cells = <0x01>;
    				pinctrl-single,register-width = <0x20>;
    				pinctrl-single,function-mask = <0xffffffff>;
    				status = "disabled";
    				bootph-pre-ram;
    			};
    
    			serial@4a00000 {
    				compatible = "ti,am64-uart\0ti,am654-uart";
    				reg = <0x00 0x4a00000 0x00 0x100>;
    				interrupts = <0x00 0xb9 0x04>;
    				power-domains = <0x02 0x95 0x01>;
    				clocks = <0x03 0x95 0x00>;
    				clock-names = "fclk";
    				status = "disabled";
    			};
    
    			i2c@4900000 {
    				compatible = "ti,am64-i2c\0ti,omap4-i2c";
    				reg = <0x00 0x4900000 0x00 0x100>;
    				interrupts = <0x00 0x6b 0x04>;
    				#address-cells = <0x01>;
    				#size-cells = <0x00>;
    				power-domains = <0x02 0x6a 0x01>;
    				clocks = <0x03 0x6a 0x02>;
    				clock-names = "fck";
    				status = "disabled";
    			};
    
    			r5fss@79000000 {
    				compatible = "ti,am62-r5fss";
    				ti,cluster-mode = <0x00>;
    				#address-cells = <0x01>;
    				#size-cells = <0x01>;
    				ranges = <0x79000000 0x00 0x79000000 0x8000 0x79020000 0x00 0x79020000 0x8000>;
    				power-domains = <0x02 0x07 0x01>;
    
    				r5f@79000000 {
    					compatible = "ti,am62-r5f";
    					reg = <0x79000000 0x8000 0x79020000 0x8000>;
    					reg-names = "atcm\0btcm";
    					ti,sci = <0x04>;
    					ti,sci-dev-id = <0x09>;
    					ti,sci-proc-ids = <0x03 0xff>;
    					resets = <0x05 0x09 0x01>;
    					firmware-name = "am62-mcu-r5f0_0-fw";
    					ti,atcm-enable = <0x00>;
    					ti,btcm-enable = <0x01>;
    					ti,loczrama = <0x00>;
    					sram = <0x06>;
    				};
    			};
    		};
    
    		bus@b00000 {
    			compatible = "simple-bus";
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			ranges = <0x00 0xb00000 0x00 0xb00000 0x00 0x2400 0x00 0x2b000000 0x00 0x2b000000 0x00 0x300400 0x00 0x43000000 0x00 0x43000000 0x00 0x20000 0x00 0x78000000 0x00 0x78000000 0x00 0x8000 0x00 0x78100000 0x00 0x78100000 0x00 0x8000>;
    			bootph-pre-ram;
    
    			syscon@43000000 {
    				compatible = "ti,j721e-system-controller\0syscon\0simple-mfd";
    				reg = <0x00 0x43000000 0x00 0x20000>;
    				#address-cells = <0x01>;
    				#size-cells = <0x01>;
    				ranges = <0x00 0x00 0x43000000 0x20000>;
    				bootph-pre-ram;
    				phandle = <0x12>;
    
    				chipid@14 {
    					compatible = "ti,am654-chipid";
    					reg = <0x14 0x04>;
    					bootph-pre-ram;
    				};
    			};
    
    			serial@2b300000 {
    				compatible = "ti,am64-uart\0ti,am654-uart";
    				reg = <0x00 0x2b300000 0x00 0x100>;
    				interrupts = <0x00 0xba 0x04>;
    				power-domains = <0x02 0x72 0x01>;
    				clocks = <0x03 0x72 0x00>;
    				clock-names = "fclk";
    				status = "disabled";
    				bootph-pre-ram;
    			};
    
    			i2c@2b200000 {
    				compatible = "ti,am64-i2c\0ti,omap4-i2c";
    				reg = <0x00 0x2b200000 0x00 0x100>;
    				interrupts = <0x00 0xa5 0x04>;
    				#address-cells = <0x01>;
    				#size-cells = <0x00>;
    				power-domains = <0x02 0x6b 0x01>;
    				clocks = <0x03 0x6b 0x04>;
    				clock-names = "fck";
    				status = "disabled";
    			};
    
    			rtc@2b1f0000 {
    				compatible = "ti,am62-rtc";
    				reg = <0x00 0x2b1f0000 0x00 0x100>;
    				interrupts = <0x00 0x64 0x04>;
    				clocks = <0x03 0x75 0x06 0x03 0x75 0x00>;
    				clock-names = "vbus\0osc32k";
    				power-domains = <0x02 0x75 0x01>;
    				wakeup-source;
    				status = "disabled";
    			};
    		};
    
    		sram@70000000 {
    			compatible = "mmio-sram";
    			reg = <0x00 0x70000000 0x00 0x10000>;
    			#address-cells = <0x01>;
    			#size-cells = <0x01>;
    			ranges = <0x00 0x00 0x70000000 0x10000>;
    		};
    
    		interrupt-controller@1800000 {
    			compatible = "arm,gic-v3";
    			reg = <0x00 0x1800000 0x00 0x10000 0x00 0x1880000 0x00 0xc0000 0x00 0x1880000 0x00 0xc0000 0x01 0x00 0x00 0x2000 0x01 0x10000 0x00 0x1000 0x01 0x20000 0x00 0x2000>;
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			ranges;
    			#interrupt-cells = <0x03>;
    			interrupt-controller;
    			interrupts = <0x01 0x09 0x04>;
    			phandle = <0x01>;
    
    			msi-controller@1820000 {
    				compatible = "arm,gic-v3-its";
    				reg = <0x00 0x1820000 0x00 0x10000>;
    				socionext,synquacer-pre-its = <0x1000000 0x400000>;
    				msi-controller;
    				#msi-cells = <0x01>;
    			};
    		};
    
    		syscon@100000 {
    			compatible = "ti,j721e-system-controller\0syscon\0simple-mfd";
    			reg = <0x00 0x100000 0x00 0x20000>;
    			#address-cells = <0x01>;
    			#size-cells = <0x01>;
    			ranges = <0x00 0x00 0x100000 0x20000>;
    
    			phy@4044 {
    				compatible = "ti,am654-phy-gmii-sel";
    				reg = <0x4044 0x08>;
    				#phy-cells = <0x01>;
    				phandle = <0x15>;
    			};
    		};
    
    		bus@48000000 {
    			compatible = "simple-bus";
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			dma-ranges;
    			ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x6000000>;
    			ti,sci-dev-id = <0x19>;
    			bootph-pre-ram;
    
    			mailbox@4d000000 {
    				compatible = "ti,am654-secure-proxy";
    				reg = <0x00 0x4d000000 0x00 0x80000 0x00 0x4a600000 0x00 0x80000 0x00 0x4a400000 0x00 0x80000>;
    				reg-names = "target_data\0rt\0scfg";
    				#mbox-cells = <0x01>;
    				interrupt-names = "rx_012";
    				interrupts = <0x00 0x22 0x04>;
    				bootph-pre-ram;
    				phandle = <0x0a>;
    			};
    
    			interrupt-controller@48000000 {
    				compatible = "ti,sci-inta";
    				reg = <0x00 0x48000000 0x00 0x100000>;
    				#interrupt-cells = <0x00>;
    				interrupt-controller;
    				interrupt-parent = <0x01>;
    				msi-controller;
    				ti,sci = <0x04>;
    				ti,sci-dev-id = <0x1c>;
    				ti,interrupt-ranges = <0x06 0x46 0x22>;
    				ti,unmapped-event-sources = <0x07 0x08>;
    				phandle = <0x09>;
    			};
    
    			dma-controller@485c0100 {
    				compatible = "ti,am64-dmss-bcdma";
    				reg = <0x00 0x485c0100 0x00 0x100 0x00 0x4c000000 0x00 0x20000 0x00 0x4a820000 0x00 0x20000 0x00 0x4aa40000 0x00 0x20000 0x00 0x4bc00000 0x00 0x100000 0x00 0x48600000 0x00 0x8000 0x00 0x484a4000 0x00 0x2000 0x00 0x484c2000 0x00 0x2000>;
    				reg-names = "gcfg\0bchanrt\0rchanrt\0tchanrt\0ringrt\0cfg\0tchan\0rchan";
    				msi-parent = <0x09>;
    				#dma-cells = <0x03>;
    				ti,sci = <0x04>;
    				ti,sci-dev-id = <0x1a>;
    				ti,sci-rm-range-bchan = <0x20>;
    				ti,sci-rm-range-rchan = <0x21>;
    				ti,sci-rm-range-tchan = <0x22>;
    				bootph-pre-ram;
    				phandle = <0x07>;
    			};
    
    			dma-controller@485c0000 {
    				compatible = "ti,am64-dmss-pktdma";
    				reg = <0x00 0x485c0000 0x00 0x100 0x00 0x4a800000 0x00 0x20000 0x00 0x4aa00000 0x00 0x40000 0x00 0x4b800000 0x00 0x400000 0x00 0x485e0000 0x00 0x20000 0x00 0x484a0000 0x00 0x4000 0x00 0x484c0000 0x00 0x2000 0x00 0x48430000 0x00 0x4000>;
    				reg-names = "gcfg\0rchanrt\0tchanrt\0ringrt\0cfg\0tchan\0rchan\0rflow";
    				msi-parent = <0x09>;
    				#dma-cells = <0x02>;
    				ti,sci = <0x04>;
    				ti,sci-dev-id = <0x1e>;
    				ti,sci-rm-range-tchan = <0x23 0x24 0x25 0x26>;
    				ti,sci-rm-range-tflow = <0x10 0x11 0x12 0x13>;
    				ti,sci-rm-range-rchan = <0x29 0x2b 0x2d 0x2f 0x31 0x33>;
    				ti,sci-rm-range-rflow = <0x2a 0x2c 0x2e 0x32>;
    				bootph-pre-ram;
    				phandle = <0x08>;
    			};
    		};
    
    		system-controller@44043000 {
    			compatible = "ti,k2g-sci";
    			reg = <0x00 0x44043000 0x00 0xfe0>;
    			reg-names = "debug_messages";
    			ti,host-id = <0x0c>;
    			mbox-names = "rx\0tx";
    			mboxes = <0x0a 0x0c 0x0a 0x0d>;
    			bootph-pre-ram;
    			phandle = <0x04>;
    
    			power-controller {
    				compatible = "ti,sci-pm-domain";
    				#power-domain-cells = <0x02>;
    				bootph-pre-ram;
    				phandle = <0x02>;
    			};
    
    			clock-controller {
    				compatible = "ti,k2g-sci-clk";
    				#clock-cells = <0x02>;
    				bootph-pre-ram;
    				phandle = <0x03>;
    			};
    
    			reset-controller {
    				compatible = "ti,sci-reset";
    				#reset-cells = <0x02>;
    				bootph-pre-ram;
    				phandle = <0x05>;
    			};
    
    			sysreset-controller {
    				compatible = "ti,sci-sysreset";
    				bootph-pre-ram;
    			};
    		};
    
    		pinctrl@f4000 {
    			compatible = "pinctrl-single";
    			reg = <0x00 0xf4000 0x00 0x2ac>;
    			#pinctrl-cells = <0x01>;
    			pinctrl-single,register-width = <0x20>;
    			pinctrl-single,function-mask = <0xffffffff>;
    			bootph-pre-ram;
    
    			main-uart0-pins-default {
    				pinctrl-single,pins = <0x1c8 0x50000 0x1cc 0x10000>;
    				bootph-pre-ram;
    				phandle = <0x0b>;
    			};
    
    			main-i2c0-pins-default {
    				pinctrl-single,pins = <0x1e0 0x60000 0x1e4 0x60000>;
    				bootph-pre-ram;
    				phandle = <0x0c>;
    			};
    
    			main-i2c1-pins-default {
    				pinctrl-single,pins = <0x1e8 0x60000 0x1ec 0x60000>;
    				bootph-pre-ram;
    				phandle = <0x0d>;
    			};
    
    			main-i2c2-pins-default {
    				pinctrl-single,pins = <0xb0 0x60001 0xb4 0x60001>;
    			};
    
    			main-mmc0-pins-default {
    				pinctrl-single,pins = <0x220 0x50000 0x218 0x50000 0x21c 0x50000 0x214 0x50000 0x210 0x60000 0x20c 0x60000 0x208 0x60000 0x204 0x60000 0x200 0x60000 0x1fc 0x60000 0x1f8 0x60000>;
    				bootph-pre-ram;
    				phandle = <0x0f>;
    			};
    
    			main-mmc1-pins-default {
    				pinctrl-single,pins = <0x23c 0x50000 0x234 0x50000 0x230 0x50000 0x22c 0x50000 0x228 0x50000 0x224 0x50000 0x240 0x50000>;
    				bootph-pre-ram;
    				phandle = <0x11>;
    			};
    
    			usr-led-pins-default {
    				pinctrl-single,pins = <0x244 0x10007>;
    				phandle = <0x2d>;
    			};
    
    			main-usb1-pins-default {
    				pinctrl-single,pins = <0x258 0x10000>;
    			};
    
    			main-mdio1-pins-default {
    				pinctrl-single,pins = <0x160 0x10000 0x15c 0x50000>;
    				phandle = <0x14>;
    			};
    
    			main-rgmii1-pins-default {
    				pinctrl-single,pins = <0x14c 0x50000 0x150 0x50000 0x154 0x50000 0x158 0x50000 0x148 0x50000 0x144 0x50000 0x134 0x50000 0x138 0x50000 0x13c 0x50000 0x140 0x50000 0x130 0x50000 0x12c 0x50000>;
    				phandle = <0x13>;
    			};
    
    			main-rgmii2-exp-conn-pins-default {
    				pinctrl-single,pins = <0x184 0x50000 0x188 0x50000 0x18c 0x50000 0x190 0x50000 0x180 0x50000 0x17c 0x50000 0x16c 0x50000 0x170 0x50000 0x174 0x50000 0x178 0x50000 0x168 0x50000 0x164 0x50000>;
    			};
    
    			ospi0-pins-default {
    				pinctrl-single,pins = <0x00 0x10000 0x2c 0x10000 0x0c 0x50000 0x10 0x50000 0x14 0x50000 0x18 0x50000 0x1c 0x50000 0x20 0x50000 0x24 0x50000 0x28 0x50000 0x08 0x50000>;
    				bootph-pre-ram;
    				phandle = <0x17>;
    			};
    		};
    
    		serial@2800000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2800000 0x00 0x100>;
    			interrupts = <0x00 0xb2 0x04>;
    			power-domains = <0x02 0x92 0x01>;
    			clocks = <0x03 0x92 0x00>;
    			clock-names = "fclk";
    			status = "okay";
    			pinctrl-names = "default";
    			pinctrl-0 = <0x0b>;
    			bootph-pre-ram;
    		};
    
    		serial@2810000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2810000 0x00 0x100>;
    			interrupts = <0x00 0xb3 0x04>;
    			power-domains = <0x02 0x98 0x01>;
    			clocks = <0x03 0x98 0x00>;
    			clock-names = "fclk";
    			status = "disabled";
    			bootph-pre-ram;
    		};
    
    		serial@2820000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2820000 0x00 0x100>;
    			interrupts = <0x00 0xb4 0x04>;
    			power-domains = <0x02 0x99 0x01>;
    			clocks = <0x03 0x99 0x00>;
    			clock-names = "fclk";
    			status = "disabled";
    		};
    
    		serial@2830000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2830000 0x00 0x100>;
    			interrupts = <0x00 0xb5 0x04>;
    			power-domains = <0x02 0x9a 0x01>;
    			clocks = <0x03 0x9a 0x00>;
    			clock-names = "fclk";
    			status = "disabled";
    		};
    
    		serial@2840000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2840000 0x00 0x100>;
    			interrupts = <0x00 0xb6 0x04>;
    			power-domains = <0x02 0x9b 0x01>;
    			clocks = <0x03 0x9b 0x00>;
    			clock-names = "fclk";
    			status = "disabled";
    		};
    
    		serial@2850000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2850000 0x00 0x100>;
    			interrupts = <0x00 0xb7 0x04>;
    			power-domains = <0x02 0x9c 0x01>;
    			clocks = <0x03 0x9c 0x00>;
    			clock-names = "fclk";
    			status = "disabled";
    		};
    
    		serial@2860000 {
    			compatible = "ti,am64-uart\0ti,am654-uart";
    			reg = <0x00 0x2860000 0x00 0x100>;
    			interrupts = <0x00 0xb8 0x04>;
    			power-domains = <0x02 0x9e 0x01>;
    			clocks = <0x03 0x9e 0x00>;
    			clock-names = "fclk";
    			status = "disabled";
    		};
    
    		i2c@20000000 {
    			compatible = "ti,am64-i2c\0ti,omap4-i2c";
    			reg = <0x00 0x20000000 0x00 0x100>;
    			interrupts = <0x00 0xa1 0x04>;
    			#address-cells = <0x01>;
    			#size-cells = <0x00>;
    			power-domains = <0x02 0x66 0x01>;
    			clocks = <0x03 0x66 0x02>;
    			clock-names = "fck";
    			status = "okay";
    			pinctrl-names = "default";
    			pinctrl-0 = <0x0c>;
    			clock-frequency = <0x61a80>;
    			bootph-pre-ram;
    		};
    
    		i2c@20010000 {
    			compatible = "ti,am64-i2c\0ti,omap4-i2c";
    			reg = <0x00 0x20010000 0x00 0x100>;
    			interrupts = <0x00 0xa2 0x04>;
    			#address-cells = <0x01>;
    			#size-cells = <0x00>;
    			power-domains = <0x02 0x67 0x01>;
    			clocks = <0x03 0x67 0x02>;
    			clock-names = "fck";
    			status = "okay";
    			pinctrl-names = "default";
    			pinctrl-0 = <0x0d>;
    			clock-frequency = <0x61a80>;
    			bootph-pre-ram;
    
    			gpio@22 {
    				compatible = "ti,tca6424";
    				reg = <0x22>;
    				gpio-controller;
    				#gpio-cells = <0x02>;
    				gpio-line-names = "GPIO_CPSW2_RST\0GPIO_CPSW1_RST\0BT_EN_SOC\0MMC1_SD_EN\0VPP_EN\0EXP_PS_3V3_En\0EXP_PS_5V0_En\0EXP_HAT_DETECT\0GPIO_AUD_RSTn\0GPIO_eMMC_RSTn\0UART1_FET_BUF_EN\0BT_UART_WAKE_SOC\0GPIO_HDMI_RSTn\0CSI_GPIO0\0CSI_GPIO1\0WLAN_ALERTn\0HDMI_INTn\0TEST_GPIO2\0MCASP1_FET_EN\0MCASP1_BUF_BT_EN\0MCASP1_FET_SEL\0UART1_FET_SEL\0PD_I2C_IRQ\0IO_EXP_TEST_LED";
    				bootph-pre-ram;
    				phandle = <0x2c>;
    			};
    		};
    
    		i2c@20020000 {
    			compatible = "ti,am64-i2c\0ti,omap4-i2c";
    			reg = <0x00 0x20020000 0x00 0x100>;
    			interrupts = <0x00 0xa3 0x04>;
    			#address-cells = <0x01>;
    			#size-cells = <0x00>;
    			power-domains = <0x02 0x68 0x01>;
    			clocks = <0x03 0x68 0x02>;
    			clock-names = "fck";
    			status = "disabled";
    		};
    
    		i2c@20030000 {
    			compatible = "ti,am64-i2c\0ti,omap4-i2c";
    			reg = <0x00 0x20030000 0x00 0x100>;
    			interrupts = <0x00 0xa4 0x04>;
    			#address-cells = <0x01>;
    			#size-cells = <0x00>;
    			power-domains = <0x02 0x69 0x01>;
    			clocks = <0x03 0x69 0x02>;
    			clock-names = "fck";
    			status = "disabled";
    		};
    
    		interrupt-controller@a00000 {
    			compatible = "ti,sci-intr";
    			reg = <0x00 0xa00000 0x00 0x800>;
    			ti,intr-trigger-type = <0x01>;
    			interrupt-controller;
    			interrupt-parent = <0x01>;
    			#interrupt-cells = <0x01>;
    			ti,sci = <0x04>;
    			ti,sci-dev-id = <0x03>;
    			ti,interrupt-ranges = <0x00 0x20 0x10>;
    			status = "okay";
    			phandle = <0x0e>;
    		};
    
    		gpio@600000 {
    			compatible = "ti,am64-gpio\0ti,keystone-gpio";
    			reg = <0x00 0x600000 0x00 0x100>;
    			gpio-controller;
    			#gpio-cells = <0x02>;
    			interrupt-parent = <0x0e>;
    			interrupts = <0xbe 0xbf 0xc0 0xc1 0xc2 0xc3>;
    			interrupt-controller;
    			#interrupt-cells = <0x02>;
    			ti,ngpio = <0x5c>;
    			ti,davinci-gpio-unbanked = <0x00>;
    			power-domains = <0x02 0x4d 0x01>;
    			clocks = <0x03 0x4d 0x00>;
    			clock-names = "gpio";
    			status = "okay";
    			bootph-pre-ram;
    		};
    
    		gpio@601000 {
    			compatible = "ti,am64-gpio\0ti,keystone-gpio";
    			reg = <0x00 0x601000 0x00 0x100>;
    			gpio-controller;
    			#gpio-cells = <0x02>;
    			interrupt-parent = <0x0e>;
    			interrupts = <0xb4 0xb5 0xb6 0xb7 0xb8 0xb9>;
    			interrupt-controller;
    			#interrupt-cells = <0x02>;
    			ti,ngpio = <0x34>;
    			ti,davinci-gpio-unbanked = <0x00>;
    			power-domains = <0x02 0x4e 0x01>;
    			clocks = <0x03 0x4e 0x00>;
    			clock-names = "gpio";
    			status = "okay";
    			phandle = <0x2e>;
    		};
    
    		mmc@fa10000 {
    			compatible = "ti,am62-sdhci";
    			reg = <0x00 0xfa10000 0x00 0x260 0x00 0xfa18000 0x00 0x134>;
    			interrupts = <0x00 0x85 0x04>;
    			power-domains = <0x02 0x39 0x01>;
    			clocks = <0x03 0x39 0x05 0x03 0x39 0x06>;
    			clock-names = "clk_ahb\0clk_xin";
    			assigned-clocks = <0x03 0x39 0x06>;
    			assigned-clock-parents = <0x03 0x39 0x08>;
    			bus-width = <0x08>;
    			mmc-ddr-1_8v;
    			mmc-hs200-1_8v;
    			ti,clkbuf-sel = <0x07>;
    			ti,otap-del-sel-legacy = <0x00>;
    			ti,otap-del-sel-mmc-hs = <0x00>;
    			ti,otap-del-sel-hs200 = <0x06>;
    			status = "okay";
    			pinctrl-names = "default";
    			pinctrl-0 = <0x0f>;
    			disable-wp;
    			bootph-pre-ram;
    		};
    
    		mmc@fa00000 {
    			compatible = "ti,am62-sdhci";
    			reg = <0x00 0xfa00000 0x00 0x260 0x00 0xfa08000 0x00 0x134>;
    			interrupts = <0x00 0x53 0x04>;
    			power-domains = <0x02 0x3a 0x01>;
    			clocks = <0x03 0x3a 0x05 0x03 0x3a 0x06>;
    			clock-names = "clk_ahb\0clk_xin";
    			bus-width = <0x04>;
    			ti,clkbuf-sel = <0x07>;
    			ti,otap-del-sel-legacy = <0x00>;
    			ti,otap-del-sel-sd-hs = <0x00>;
    			ti,otap-del-sel-sdr12 = <0x0f>;
    			ti,otap-del-sel-sdr25 = <0x0f>;
    			ti,otap-del-sel-sdr50 = <0x0c>;
    			ti,otap-del-sel-sdr104 = <0x06>;
    			ti,otap-del-sel-ddr50 = <0x09>;
    			ti,itap-del-sel-legacy = <0x00>;
    			ti,itap-del-sel-sd-hs = <0x00>;
    			ti,itap-del-sel-sdr12 = <0x00>;
    			ti,itap-del-sel-sdr25 = <0x00>;
    			no-1-8-v;
    			status = "okay";
    			vmmc-supply = <0x10>;
    			pinctrl-names = "default";
    			pinctrl-0 = <0x11>;
    			disable-wp;
    			bootph-pre-ram;
    		};
    
    		mmc@fa20000 {
    			compatible = "ti,am62-sdhci";
    			reg = <0x00 0xfa20000 0x00 0x260 0x00 0xfa28000 0x00 0x134>;
    			interrupts = <0x00 0x52 0x04>;
    			power-domains = <0x02 0xb8 0x01>;
    			clocks = <0x03 0xb8 0x05 0x03 0xb8 0x06>;
    			clock-names = "clk_ahb\0clk_xin";
    			bus-width = <0x04>;
    			ti,clkbuf-sel = <0x07>;
    			ti,otap-del-sel-legacy = <0x00>;
    			ti,otap-del-sel-sd-hs = <0x00>;
    			ti,otap-del-sel-sdr12 = <0x0f>;
    			ti,otap-del-sel-sdr25 = <0x0f>;
    			ti,otap-del-sel-sdr50 = <0x0c>;
    			ti,otap-del-sel-sdr104 = <0x06>;
    			ti,otap-del-sel-ddr50 = <0x09>;
    			ti,itap-del-sel-legacy = <0x00>;
    			ti,itap-del-sel-sd-hs = <0x00>;
    			ti,itap-del-sel-sdr12 = <0x00>;
    			ti,itap-del-sel-sdr25 = <0x00>;
    			no-1-8-v;
    			status = "disabled";
    		};
    
    		dwc3-usb@f900000 {
    			compatible = "ti,am62-usb";
    			reg = <0x00 0xf900000 0x00 0x800>;
    			clocks = <0x03 0xa1 0x03>;
    			clock-names = "ref";
    			ti,syscon-phy-pll-refclk = <0x12 0x4008>;
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			power-domains = <0x02 0xb2 0x01>;
    			ranges;
    			status = "okay";
    			ti,vbus-divider;
    			bootph-pre-ram;
    
    			usb@31000000 {
    				compatible = "snps,dwc3";
    				reg = <0x00 0x31000000 0x00 0x50000>;
    				interrupts = <0x00 0xbc 0x04 0x00 0xbc 0x04>;
    				interrupt-names = "host\0peripheral";
    				maximum-speed = "high-speed";
    				dr_mode = "host";
    				usb-role-switch;
    				bootph-all;
    				bootph-pre-ram;
    			};
    		};
    
    		dwc3-usb@f910000 {
    			compatible = "ti,am62-usb";
    			reg = <0x00 0xf910000 0x00 0x800>;
    			clocks = <0x03 0xa2 0x03>;
    			clock-names = "ref";
    			ti,syscon-phy-pll-refclk = <0x12 0x4018>;
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			power-domains = <0x02 0xb3 0x01>;
    			ranges;
    			status = "disabled";
    
    			usb@31100000 {
    				compatible = "snps,dwc3";
    				reg = <0x00 0x31100000 0x00 0x50000>;
    				interrupts = <0x00 0xe2 0x04 0x00 0xe2 0x04>;
    				interrupt-names = "host\0peripheral";
    				maximum-speed = "high-speed";
    				dr_mode = "otg";
    			};
    		};
    
    		ethernet@8000000 {
    			compatible = "ti,am642-cpsw-nuss";
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			reg = <0x00 0x8000000 0x00 0x200000 0x00 0x43000200 0x00 0x08>;
    			reg-names = "cpsw_nuss\0mac_efuse";
    			clocks = <0x03 0x0d 0x00>;
    			assigned-clocks = <0x03 0x0d 0x03>;
    			assigned-clock-parents = <0x03 0x0d 0x0b>;
    			clock-names = "fck";
    			power-domains = <0x02 0x0d 0x01>;
    			status = "okay";
    			dmas = <0x08 0xc600 0x0f 0x08 0xc601 0x0f 0x08 0xc602 0x0f 0x08 0xc603 0x0f 0x08 0xc604 0x0f 0x08 0xc605 0x0f 0x08 0xc606 0x0f 0x08 0xc607 0x0f 0x08 0x4600 0x0f>;
    			dma-names = "tx0\0tx1\0tx2\0tx3\0tx4\0tx5\0tx6\0tx7\0rx";
    			pinctrl-names = "default";
    			pinctrl-0 = <0x13 0x14>;
    			bootph-pre-ram;
    
    			ethernet-ports {
    				#address-cells = <0x01>;
    				#size-cells = <0x00>;
    
    				port@1 {
    					reg = <0x01>;
    					ti,mac-only;
    					label = "port1";
    					phys = <0x15 0x01>;
    					mac-address = [00 00 00 00 00 00];
    					ti,syscon-efuse = <0x12 0x200>;
    					status = "okay";
    					phy-mode = "rgmii-rxid";
    					phy-handle = <0x16>;
    				};
    
    				port@2 {
    					reg = <0x02>;
    					ti,mac-only;
    					label = "port2";
    					phys = <0x15 0x02>;
    					mac-address = [00 00 00 00 00 00];
    					status = "disabled";
    				};
    			};
    
    			mdio@f00 {
    				compatible = "ti,cpsw-mdio\0ti,davinci_mdio";
    				reg = <0x00 0xf00 0x00 0x100>;
    				#address-cells = <0x01>;
    				#size-cells = <0x00>;
    				clocks = <0x03 0x0d 0x00>;
    				clock-names = "fck";
    				bus_freq = <0xf4240>;
    				status = "okay";
    				pinctrl-names = "default";
    				pinctrl-0 = <0x14>;
    
    				ethernet-phy@0 {
    					reg = <0x00>;
    					ti,rx-internal-delay = <0x07>;
    					ti,fifo-depth = <0x01>;
    					ti,min-output-impedance;
    					phandle = <0x16>;
    				};
    			};
    
    			cpts@3d000 {
    				compatible = "ti,j721e-cpts";
    				reg = <0x00 0x3d000 0x00 0x400>;
    				clocks = <0x03 0x0d 0x03>;
    				clock-names = "cpts";
    				interrupts-extended = <0x01 0x00 0x66 0x04>;
    				interrupt-names = "cpts";
    				ti,cpts-ext-ts-inputs = <0x04>;
    				ti,cpts-periodic-outputs = <0x02>;
    			};
    
    			cpsw-phy-sel@04044 {
    				compatible = "ti,am64-phy-gmii-sel";
    				reg = <0x00 0x104044 0x00 0x08>;
    				bootph-pre-ram;
    			};
    		};
    
    		mailbox@29000000 {
    			compatible = "ti,am64-mailbox";
    			reg = <0x00 0x29000000 0x00 0x200>;
    			interrupts = <0x00 0x4c 0x04>;
    			#mbox-cells = <0x01>;
    			ti,mbox-num-users = <0x04>;
    			ti,mbox-num-fifos = <0x10>;
    		};
    
    		mailbox@29010000 {
    			compatible = "ti,am64-mailbox";
    			reg = <0x00 0x29010000 0x00 0x200>;
    			interrupts = <0x00 0x4d 0x04>;
    			#mbox-cells = <0x01>;
    			ti,mbox-num-users = <0x04>;
    			ti,mbox-num-fifos = <0x10>;
    		};
    
    		mailbox@29020000 {
    			compatible = "ti,am64-mailbox";
    			reg = <0x00 0x29020000 0x00 0x200>;
    			interrupts = <0x00 0x6c 0x04>;
    			#mbox-cells = <0x01>;
    			ti,mbox-num-users = <0x04>;
    			ti,mbox-num-fifos = <0x10>;
    		};
    
    		mailbox@29030000 {
    			compatible = "ti,am64-mailbox";
    			reg = <0x00 0x29030000 0x00 0x200>;
    			interrupts = <0x00 0x6d 0x04>;
    			#mbox-cells = <0x01>;
    			ti,mbox-num-users = <0x04>;
    			ti,mbox-num-fifos = <0x10>;
    		};
    
    		dsp@7e000000 {
    			compatible = "ti,am62a-c7xv-dsp";
    			reg = <0x00 0x7e000000 0x00 0x100000>;
    			reg-names = "l2sram";
    			ti,sci = <0x04>;
    			ti,sci-dev-id = <0xd0>;
    			ti,sci-proc-ids = <0x04 0xff>;
    			resets = <0x05 0xd0 0x01>;
    			firmware-name = "am62a-c71_0-fw";
    		};
    
    		bus@fc00000 {
    			compatible = "simple-bus";
    			reg = <0x00 0xfc00000 0x00 0x70000>;
    			#address-cells = <0x02>;
    			#size-cells = <0x02>;
    			ranges;
    			status = "okay";
    			bootph-pre-ram;
    
    			spi@fc40000 {
    				compatible = "ti,am654-ospi\0cdns,qspi-nor";
    				reg = <0x00 0xfc40000 0x00 0x100 0x05 0x00 0x01 0x00>;
    				interrupts = <0x00 0x8b 0x04>;
    				cdns,fifo-depth = <0x100>;
    				cdns,fifo-width = <0x04>;
    				cdns,trigger-address = <0x00>;
    				clocks = <0x03 0x4b 0x07>;
    				assigned-clocks = <0x03 0x4b 0x07>;
    				assigned-clock-parents = <0x03 0x4b 0x08>;
    				assigned-clock-rates = <0x9ef21aa>;
    				power-domains = <0x02 0x4b 0x01>;
    				#address-cells = <0x01>;
    				#size-cells = <0x00>;
    				pinctrl-names = "default";
    				pinctrl-0 = <0x17>;
    				bootph-pre-ram;
    
    				flash@0 {
    					compatible = "spi-nand";
    					reg = <0x00>;
    					spi-tx-bus-width = <0x08>;
    					spi-rx-bus-width = <0x08>;
    					spi-max-frequency = <0x17d7840>;
    					cdns,tshsl-ns = <0x3c>;
    					cdns,tsd2d-ns = <0x3c>;
    					cdns,tchsh-ns = <0x3c>;
    					cdns,tslch-ns = <0x3c>;
    					cdns,read-delay = <0x02>;
    					cdns,phy-mode;
    					bootph-pre-ram;
    
    					partitions {
    						compatible = "fixed-partitions";
    						#address-cells = <0x01>;
    						#size-cells = <0x01>;
    						bootph-pre-ram;
    
    						partition@0 {
    							label = "ospi_nand.tiboot3";
    							reg = <0x00 0x80000>;
    						};
    
    						partition@80000 {
    							label = "ospi_nand.tispl";
    							reg = <0x80000 0x200000>;
    						};
    
    						partition@280000 {
    							label = "ospi_nand.u-boot";
    							reg = <0x280000 0x400000>;
    						};
    
    						partition@680000 {
    							label = "ospi_nand.env";
    							reg = <0x680000 0x40000>;
    						};
    
    						partition@6c0000 {
    							label = "ospi_nand.env.backup";
    							reg = <0x6c0000 0x40000>;
    						};
    
    						partition@2000000 {
    							label = "ospi_nand.rootfs";
    							reg = <0x2000000 0x5fc0000>;
    						};
    
    						partition@7fc0000 {
    							label = "ospi_nand.phypattern";
    							reg = <0x7fc0000 0x40000>;
    						};
    					};
    				};
    			};
    		};
    
    		timer@2400000 {
    			compatible = "ti,omap5430-timer";
    			reg = <0x00 0x2400000 0x00 0x80>;
    			ti,timer-alwon;
    			clock-frequency = <0x17d7840>;
    			bootph-pre-ram;
    		};
    	};
    
    	cpus {
    		#address-cells = <0x01>;
    		#size-cells = <0x00>;
    
    		cpu-map {
    
    			cluster0 {
    
    				core0 {
    					cpu = <0x18>;
    				};
    
    				core1 {
    					cpu = <0x19>;
    				};
    
    				core2 {
    					cpu = <0x1a>;
    				};
    
    				core3 {
    					cpu = <0x1b>;
    				};
    			};
    		};
    
    		cpu@0 {
    			compatible = "arm,cortex-a53";
    			reg = <0x00>;
    			device_type = "cpu";
    			enable-method = "psci";
    			i-cache-size = <0x8000>;
    			i-cache-line-size = <0x40>;
    			i-cache-sets = <0x100>;
    			d-cache-size = <0x8000>;
    			d-cache-line-size = <0x40>;
    			d-cache-sets = <0x80>;
    			next-level-cache = <0x1c>;
    			phandle = <0x18>;
    		};
    
    		cpu@1 {
    			compatible = "arm,cortex-a53";
    			reg = <0x01>;
    			device_type = "cpu";
    			enable-method = "psci";
    			i-cache-size = <0x8000>;
    			i-cache-line-size = <0x40>;
    			i-cache-sets = <0x100>;
    			d-cache-size = <0x8000>;
    			d-cache-line-size = <0x40>;
    			d-cache-sets = <0x80>;
    			next-level-cache = <0x1c>;
    			phandle = <0x19>;
    		};
    
    		cpu@2 {
    			compatible = "arm,cortex-a53";
    			reg = <0x02>;
    			device_type = "cpu";
    			enable-method = "psci";
    			i-cache-size = <0x8000>;
    			i-cache-line-size = <0x40>;
    			i-cache-sets = <0x100>;
    			d-cache-size = <0x8000>;
    			d-cache-line-size = <0x40>;
    			d-cache-sets = <0x80>;
    			next-level-cache = <0x1c>;
    			phandle = <0x1a>;
    		};
    
    		cpu@3 {
    			compatible = "arm,cortex-a53";
    			reg = <0x03>;
    			device_type = "cpu";
    			enable-method = "psci";
    			i-cache-size = <0x8000>;
    			i-cache-line-size = <0x40>;
    			i-cache-sets = <0x100>;
    			d-cache-size = <0x8000>;
    			d-cache-line-size = <0x40>;
    			d-cache-sets = <0x80>;
    			next-level-cache = <0x1c>;
    			phandle = <0x1b>;
    		};
    	};
    
    	l2-cache0 {
    		compatible = "cache";
    		cache-level = <0x02>;
    		cache-size = <0x40000>;
    		cache-line-size = <0x40>;
    		cache-sets = <0x200>;
    		phandle = <0x1c>;
    	};
    
    	binman {
    		multiple-images;
    
    		custMpk {
    			filename = "custMpk.pem";
    
    			blob-ext {
    				filename = "../keys/custMpk.pem";
    			};
    		};
    
    		ti-degenerate-key {
    			filename = "ti-degenerate-key.pem";
    
    			blob-ext {
    				filename = "../keys/ti-degenerate-key.pem";
    			};
    		};
    
    		board-cfg {
    			filename = "board-cfg.bin";
    
    			ti-board-config {
    				config = "board-cfg.yaml";
    				schema = "../common/schema.yaml";
    			};
    		};
    
    		pm-cfg {
    			filename = "pm-cfg.bin";
    
    			ti-board-config {
    				config = "pm-cfg.yaml";
    				schema = "../common/schema.yaml";
    			};
    		};
    
    		rm-cfg {
    			filename = "rm-cfg.bin";
    
    			ti-board-config {
    				config = "rm-cfg.yaml";
    				schema = "../common/schema.yaml";
    			};
    		};
    
    		sec-cfg {
    			filename = "sec-cfg.bin";
    
    			ti-board-config {
    				config = "sec-cfg.yaml";
    				schema = "../common/schema.yaml";
    			};
    		};
    
    		combined-tifs-cfg {
    			filename = "combined-tifs-cfg.bin";
    
    			ti-board-config {
    
    				board-cfg {
    					config = "board-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				sec-cfg {
    					config = "sec-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				pm-cfg {
    					config = "pm-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				rm-cfg {
    					config = "tifs-rm-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    			};
    		};
    
    		combined-dm-cfg {
    			filename = "combined-dm-cfg.bin";
    
    			ti-board-config {
    
    				pm-cfg {
    					config = "pm-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				rm-cfg {
    					config = "rm-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    			};
    		};
    
    		combined-sysfw-cfg {
    			filename = "combined-sysfw-cfg.bin";
    
    			ti-board-config {
    
    				board-cfg {
    					config = "board-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				sec-cfg {
    					config = "sec-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				pm-cfg {
    					config = "pm-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    
    				rm-cfg {
    					config = "rm-cfg.yaml";
    					schema = "../common/schema.yaml";
    				};
    			};
    		};
    
    		tiboot3-am62ax-hs-evm.bin {
    			filename = "tiboot3-am62ax-hs-evm.bin";
    
    			ti-secure-rom {
    				content = <0x1d 0x1e 0x1f 0x20 0x21>;
    				combined;
    				dm-data;
    				sysfw-inner-cert;
    				keyfile = "custMpk.pem";
    				sw-rev = <0x01>;
    				content-sbl = <0x1d>;
    				content-sysfw = <0x1e>;
    				content-sysfw-data = <0x1f>;
    				content-sysfw-inner-cert = <0x21>;
    				content-dm-data = <0x20>;
    				load = <0x43c00000>;
    				load-sysfw = <0x40000>;
    				load-sysfw-data = <0x67000>;
    				load-dm-data = <0x43c3a800>;
    			};
    
    			u-boot-spl {
    				no-expanded;
    				phandle = <0x1d>;
    			};
    
    			ti-fs-enc.bin {
    				filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-enc.bin";
    				type = "blob-ext";
    				optional;
    				phandle = <0x1e>;
    			};
    
    			combined-tifs-cfg.bin {
    				filename = "combined-tifs-cfg.bin";
    				type = "blob-ext";
    				phandle = <0x1f>;
    			};
    
    			sysfw-inner-cert {
    				filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-cert.bin";
    				type = "blob-ext";
    				optional;
    				phandle = <0x21>;
    			};
    
    			combined-dm-cfg.bin {
    				filename = "combined-dm-cfg.bin";
    				type = "blob-ext";
    				phandle = <0x20>;
    			};
    		};
    
    		tiboot3-am62ax-hs-fs-evm.bin {
    			filename = "tiboot3-am62ax-hs-fs-evm.bin";
    			symlink = "tiboot3.bin";
    
    			ti-secure-rom {
    				content = <0x22 0x23 0x24 0x25 0x26>;
    				combined;
    				dm-data;
    				sysfw-inner-cert;
    				keyfile = "custMpk.pem";
    				sw-rev = <0x01>;
    				content-sbl = <0x22>;
    				content-sysfw = <0x23>;
    				content-sysfw-data = <0x24>;
    				content-sysfw-inner-cert = <0x26>;
    				content-dm-data = <0x25>;
    				load = <0x43c00000>;
    				load-sysfw = <0x40000>;
    				load-sysfw-data = <0x67000>;
    				load-dm-data = <0x43c3a800>;
    			};
    
    			u-boot-spl {
    				no-expanded;
    				phandle = <0x22>;
    			};
    
    			ti-fs-enc.bin {
    				filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-fs-enc.bin";
    				type = "blob-ext";
    				optional;
    				phandle = <0x23>;
    			};
    
    			combined-tifs-cfg.bin {
    				filename = "combined-tifs-cfg.bin";
    				type = "blob-ext";
    				phandle = <0x24>;
    			};
    
    			sysfw-inner-cert {
    				filename = "ti-sysfw/ti-fs-firmware-am62ax-hs-fs-cert.bin";
    				type = "blob-ext";
    				optional;
    				phandle = <0x26>;
    			};
    
    			combined-dm-cfg.bin {
    				filename = "combined-dm-cfg.bin";
    				type = "blob-ext";
    				phandle = <0x25>;
    			};
    		};
    
    		tiboot3-am62ax-gp-evm.bin {
    			filename = "tiboot3-am62ax-gp-evm.bin";
    
    			ti-secure-rom {
    				content = <0x27 0x28 0x29 0x2a>;
    				combined;
    				dm-data;
    				content-sbl = <0x27>;
    				load = <0x43c00000>;
    				content-sysfw = <0x28>;
    				load-sysfw = <0x40000>;
    				content-sysfw-data = <0x29>;
    				load-sysfw-data = <0x67000>;
    				content-dm-data = <0x2a>;
    				load-dm-data = <0x43c3a800>;
    				sw-rev = <0x01>;
    				keyfile = "ti-degenerate-key.pem";
    			};
    
    			u-boot-spl {
    				no-expanded;
    				phandle = <0x27>;
    			};
    
    			ti-fs-gp.bin {
    				filename = "ti-sysfw/ti-fs-firmware-am62ax-gp.bin";
    				type = "blob-ext";
    				optional;
    				phandle = <0x28>;
    			};
    
    			combined-tifs-cfg-gp.bin {
    				filename = "combined-tifs-cfg.bin";
    				type = "blob-ext";
    				phandle = <0x29>;
    			};
    
    			combined-dm-cfg-gp.bin {
    				filename = "combined-dm-cfg.bin";
    				type = "blob-ext";
    				phandle = <0x2a>;
    			};
    		};
    	};
    
    	aliases {
    		serial2 = "/bus@f0000/serial@2800000";
    		mmc0 = "/bus@f0000/mmc@fa10000";
    		mmc1 = "/bus@f0000/mmc@fa00000";
    		spi0 = "/bus@f0000/bus@fc00000/spi@fc40000";
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		reg = <0x00 0x80000000 0x00 0x80000000 0x08 0x80000000 0x00 0x80000000>;
    		bootph-pre-ram;
    	};
    
    	reserved-memory {
    		#address-cells = <0x02>;
    		#size-cells = <0x02>;
    		ranges;
    
    		tfa@9e780000 {
    			reg = <0x00 0x9e780000 0x00 0x80000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		optee@9e800000 {
    			reg = <0x00 0x9e800000 0x00 0x1800000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		r5f-dma-memory@9c800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c800000 0x00 0x100000>;
    			no-map;
    		};
    
    		r5f-dma-memory@9c900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c900000 0x00 0x1e00000>;
    			no-map;
    		};
    
    		r5f-dma-memory@9b800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b800000 0x00 0x100000>;
    			no-map;
    		};
    
    		r5f-dma-memory@9b900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b900000 0x00 0xf00000>;
    			no-map;
    		};
    
    		c7x-dma-memory@99800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x99800000 0x00 0x100000>;
    			no-map;
    		};
    
    		c7x-memory@99900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x99900000 0x00 0x1efffff>;
    			no-map;
    		};
    
    		edgeai-rtos-ipc-memory-region {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0xa0000000 0x00 0x1000000>;
    			no-map;
    		};
    
    		edgeai-dma-memory@a1000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0xa1000000 0x00 0x2000000>;
    			no-map;
    		};
    
    		edgeai-core-heap-memory@ae000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0xae000000 0x00 0x12000000>;
    			no-map;
    		};
    	};
    
    	regulator-0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vmain_pd";
    		regulator-min-microvolt = <0x4c4b40>;
    		regulator-max-microvolt = <0x4c4b40>;
    		regulator-always-on;
    		regulator-boot-on;
    		phandle = <0x2b>;
    	};
    
    	regulator-1 {
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_5v0";
    		regulator-min-microvolt = <0x4c4b40>;
    		regulator-max-microvolt = <0x4c4b40>;
    		vin-supply = <0x2b>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	regulator-2 {
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_3v3_sys";
    		regulator-min-microvolt = <0x325aa0>;
    		regulator-max-microvolt = <0x325aa0>;
    		vin-supply = <0x2b>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	regulator-3 {
    		compatible = "regulator-fixed";
    		regulator-name = "vdd_mmc1";
    		regulator-min-microvolt = <0x325aa0>;
    		regulator-max-microvolt = <0x325aa0>;
    		regulator-boot-on;
    		enable-active-high;
    		gpio = <0x2c 0x03 0x00>;
    		bootph-pre-ram;
    		phandle = <0x10>;
    	};
    
    	leds {
    		compatible = "gpio-leds";
    		pinctrl-names = "default";
    		pinctrl-0 = <0x2d>;
    
    		led-0 {
    			label = "am62a-sk:green:heartbeat";
    			gpios = <0x2e 0x31 0x00>;
    			linux,default-trigger = "heartbeat";
    			function = "heartbeat";
    			default-state = "off";
    		};
    	};
    };
    

    i didn't find any ./partition.sh file in my "mcu_plus_sdk_am62ax_10_01_00_33" sdk in window system.

    if possible can you share the boot file with me also so i can test in my EVM.

    I have clean full sdk and build again but still facing the issue.

    Can you suggest where i can look into.

    Thank 

    Pankaj Verma

  • Hi Pankaj,

    I'm sharing a script to partition the disk correctly.

    Please try it out. (From a Linux host PC)

    # Define your target device
    export DEV=/dev/<device>
    
    sudo umount ${DEV}* 2>/dev/null
    sudo dd if=/dev/zero of=$DEV bs=1M count=10 conv=notrunc
    
    sudo fdisk $DEV << EOF
    o
    n
    p
    1
    
    +62M
    n
    p
    2
    
    
    t
    1
    c
    a
    1
    w
    EOF
    
    sudo partprobe $DEV
    sleep 2
    
    # Format Partitions
    sudo mkfs.vfat -F 32 -n "boot" ${DEV}1
    sudo mkfs.ext4 -L "rootfs" ${DEV}2
    sync
    
    lsblk -f $DEV

    I'm sharing the working tiboot3.bin below.
     7612.tiboot3.zip


    Regards,
    Vinu

  • Hi Vinu,

    Thanks for tiboot3.bin file.

    After replacing your boot file, boot is started but it is not jumping into kernel image.

    logs for your reference.

    U-Boot SPL 2023.04-ti-g94b9fba1d4cc (Jan 29 2026 - 09:56:51 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    SPL initial stack usage: 13568 bytes
    SPL possible initial stack overflow detected!!
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    MMC: no card present
    SD/MMC found on device 1
    MMC: no card present
    ** Bad device specification mmc 1 **
    Couldn't find partition mmc 1
    Can't set block device
    MMC: no card present
    ** Bad device specification mmc 1 **
    Couldn't find partition mmc 1
    Can't set block device
    MMC: no card present
    ** Bad device specification mmc 1 **
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    MMC: no card present
    ** Bad device specification mmc 1 **
    Couldn't find partition mmc 1:2
    Can't set block device
    MMC: no card present
    ** Bad device specification mmc 1 **
    Couldn't find partition mmc 1:2
    Can't set block device
    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!
    switch to partitions #0, OK
    mmc0(part 0) is current device
    Scanning mmc 0:1...
    MMC: no card present
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    BootOrder not defined
    EFI boot manager: Cannot load any image
    MMC: no card present
    starting USB...
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    
    Device 0: Vendor: HP       Rev: PMAP Prod: USB Flash Drive
                Type: Removable Hard Disk
                Capacity: 59153.0 MB = 57.7 GB (121145344 x 512)
    ... is now current device
    Scanning usb 0:1...
    BootOrder not defined
    EFI boot manager: Cannot load any image
    ethernet@8000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@8000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@8000000port@1: am65_cpsw_start end error
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-1c-63-49-17-1f-02
    ethernet@8000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@8000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@8000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/00000000
    ethernet@8000000port@1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
    am65_cpsw_nuss_port ethernet@8000000port@1: phy_startup failed
    am65_cpsw_nuss_port ethernet@8000000port@1: am65_cpsw_start end error
    Retrieving file: pxelinux.cfg/0000000
    ethernet@8000000port@1 Waiting for PHY auto negotiation to complete..
     

    At my end, Is it confirmed that the build issue because after replacing your file boot started? Or may be any usb driver missing?

    At my end i try to clean and build whole image once again. and let you know.

    Can you please tell me why it is not jump to kernel image (rootfs). 

    Thanks 

    Pankaj Verma

    I will try to clean whole image and try to build again.

  • Hi Pankaj,

    Glad to know that you were able to load the files using USB MSC.

    Can you help me understand your use-case?

    Ideally, once you reach the u-boot, you'll have to stop the autoboot and either load the Linux kernel manually or save the images to any other storage (SD/eMMC) using the u-boot.

    Currently, from your logs, it is seen that the u-boot is trying to load the FDT but unable to find it.

    Regards,
    Vinu

  • HI Vinu,

    In our custom board, flashing image and boot is possible through USB MSC and emmc.

    In our board DDR is also different for that we need to first run image into EVM then we will prepare same setting for our board. 

    so for that i have to boot and run the image through USB MSC and for EMMC flash we will use DFU mode.

    For now i am trying to build my image and trying why tiboot3.bin is not working from my sdk image.

    If possible can you please support us to boot full image through USB MSC. because i have to run boot and root through USB only.

    Thanks 

    Pankaj Verma 

  • HI Vinu,

    Please tell me one thing that, Is u-boot k3-am62a7-sk.dts changes are reflecting in u-boot.img or tiboot3.bin. 

    I think it is not reflected in tiboot3.bin, because my issue still same controller not found i have tried lot of time.

    And after replacing your tiboot3.bin file it is booting.

    Is my usb driver in defconfig is disable or missing? can you please see in my defconfig.

    I didnot understand why this happen. it should be run after these changes.

    Any thing else i have to see please let us know.

      Thanks

    Pankaj Verma

  • Hi Pankaj,

    Please tell me one thing that, Is u-boot k3-am62a7-sk.dts changes are reflecting in u-boot.img or tiboot3.bin. 

    It is needed for tiboot3.bin as well. I'll verify your r5 defconfig and let you know if something is missing.

    In our custom board, flashing image and boot is possible through USB MSC and emmc.

    To be clear, you need the full Linux boot from the MSC, without using SD or MMC?

    Regards,
    Vinu

  • Hi Pankaj,

    I've verified your am62ax_evm_r5_usbmsc_defconfig. i'm using the exact same defconfig and it works.

    Can you also describe how you have patched the sources and rebuilt the u-boot?

    Can you share these steps?

    Regards,
    Vinu

  • Hi Vinu,

    To be clear, you need the full Linux boot from the MSC, without using SD or MMC?

    Yes we need full linux boot from using USB MSC. 

    After boot from USB MSC till root. we will flash emmc from usb root. this is we need to do.

    Can you share these steps?

    Below are the build step:

    Add the following config to local.conf.
    UBOOT_MACHINE:am62axx-evm-k3r5 = "am62ax_evm_r5_usbmsc_defconfig"

    Clean and build u-boot.

    MACHINE=am62axx-evm bitbake mc:k3r5:u-boot-ti-staging -c cleansstate

    MACHINE=am62axx-evm bitbake u-boot-ti-staging -c cleansstate

    MACHINE=am62axx-evm bitbake mc:k3r5:u-boot-ti-staging

    MACHINE=am62axx-evm bitbake u-boot-ti-staging

    In u-boot k3-am62a7-sk.dts add below code

    &usb0{

    usb-role-switch;
    bootph-all; /* Added by Gist */
    dr_mode = "host"; /* Changed from peripheral to host */

    };

    Build again

    MACHINE=am62axx-evm bitbake u-boot-ti-staging

    Thanks

    Pankaj Verma

  • Hi Pankaj,

    I hope you are using Yocto devtool to modify the u-boot sources. 

    Since I have verified the steps at my end, it shouldn't be a config issue. 

    I have verified the steps on both Yocto and on SDK builds.

    You can try checking these patches on the SDK build environment.

    After boot from USB MSC till root. we will flash emmc from usb root. this is we need to do.

    You'll not need Linux just to flash the eMMC. You can do it from u-boot itself.

    Regards,
    Vinu

  • Hi Vinu,

    we are using GCP linux environment to build yocto sdk 9.02. for us every thing is working fine with SD card.

    But we need to boot from USB MSC mode just like sdcard booting full image till root.

    In our board sd card is working perfectly but we need to go with USB.

    I am trying to build again and test. i will let you know the update.

    Thanks 

    Pankaj Verma

  • Thnaks, Pankaj.

    Do let me know after testing.

    Regards,
    Vinu

  • HI Vinu,

    I have tried with 3-4 different UDB stick and i have clean and build sdk 9.02 almost 8-10 times.

    But result is still same i got an error.

    sometime tiboot3.bin given by you is not working. I do not know why this happen.

    Can you share me the all a53, usmmsc, r5 defconfig to me and .dts also . so will replace in my sdk and try to check.

    thanks 

    pankaj verma

  • Hi Vinu,

    I have also tried with 2 different SDK 9.02 to test USB MSC mode.

    But the result is still same. I think usb driver is not  initializing in my sdk 9.02 otherwise it should be work.

    Can you please support what we do next to check usb controller.

    Thanks

    Pankaj Verma

  • Hi Pankaj,

    sometime tiboot3.bin given by you is not working. I do not know why this happen.

    This would happen if the USB stick is not partitioned/formatted correctly, beforehand. Can you share the logs when this happen again, just to be sure?

    I have also tried with 2 different SDK 9.02 to test USB MSC mode.

    I hope you are using Yocto devtool to modify the u-boot sources. 

    Are you using devtool to modify the sources? If not, can you explain how it is done?
    Have you tested on separate host PC's with Yocto? Can you try from SDK build too?

    But the result is still same. I think usb driver is not  initializing in my sdk 9.02 otherwise it should be work.

    The required USB configs are present in the defconfigs you have shared.

    Regards,
    Vinu

  • HI Vinu,

    I have put some log in usb driver and it is showing that uc_drv id is not matching with actual id.

    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    start uclass_get
    uclass_get uclass_find 41
    start uclass_find
    uclass_find if uc->uc_drv->id 41 key 41
    uclass_get end
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    start uclass_get
    uclass_get uclass_find 41
    start uclass_find
    uclass_find if uc->uc_drv->id 41 key 41
    uclass_get end
    start uclass_get
    uclass_get uclass_find 41
    start uclass_find
    uclass_find if uc->uc_drv->id 41 key 41
    uclass_get end
    start uclass_get
    uclass_get uclass_find 91
    start uclass_find
    uclass_find if uc->uc_drv->id 91 key 91
    uclass_get end
    start uclass_get
    uclass_get uclass_find 86
    start uclass_find
    uclass_find if uc->uc_drv->id 86 key 86
    uclass_get end
    start uclass_get
    uclass_get uclass_find 86
    start uclass_find
    uclass_find if uc->uc_drv->id 86 key 86
    uclass_get end
    start uclass_get
    uclass_get uclass_find 86
    start uclass_find
    uclass_find if uc->uc_drv->id 86 key 86
    uclass_get end
    start uclass_get
    uclass_get uclass_find 86
    start uclass_find
    uclass_find if uc->uc_drv->id 86 key 86
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    start uclass_get
    uclass_get uclass_find 29
    start uclass_find
    uclass_find if uc->uc_drv->id 29 key 29
    uclass_get end
    am62a_init: board_init_f done
    SPL initial stack usage: 13568 bytes
    SPL possible initial stack overflow detected!!
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    start uclass_get
    uclass_get uclass_find 117
    start uclass_find
    uclass_find outside uc->uc_drv->id -442503144 key 117
    end uclass_find
    usb_init enter
    start uclass_get
    uclass_get uclass_find 117
    start uclass_find
    uclass_find if uc->uc_drv->id 117 key 117
    uclass_get end
    usb_init ret 0 UCLASS_USB 117usb_init else
    usb_init uc_priv =uclass_get_priv(uc)
    after foreach_dev controllers_initialized 0 usb_started 0
    start uclass_get
    uclass_get uclass_find 119
    start uclass_find
    uclass_find outside uc->uc_drv->id -442503144 key 119
    end uclass_find
    No working controllers found
    end usb init
    spl_usb_load: usb init failed: err - -1
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###

    I think driver not initialized in this sdk can you please suggest how to enable usb driver.

    In dts file having change which is suggested by you.

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    In the R5 SPL environment, the memory is extremely limited. 
    There is already a stack overflow warning being printed (even from my tiboot3.bin). The additional debug prints can contribute more to this.

    The value -442503144 looks like a memory corruption.

    Try the following

    1. Remove debug prints
    2. Remove unnecessary configs from the r5 defconfig.
    3. Increase the size of stack within the SRAM limits.

    Also, please answer the queries and try out the suggestions in my previous responses.
    I wouldn't be able to help you better without getting proper responses.

    Regards,
    Vinu

  • Hi Vinu,

    Are you using devtool to modify the sources? If not, can you explain how it is done?

    We are using GCP (Google Cloud Platform) here we are using linux 22.04.

    we have 2 different instance where we downloaded 2 different sdk 9.02 with ubuntu linux 22.04. 

    here we are using command line in which we can edit source file using vim editor, save and build file.

    Have you tested on separate host PC's with Yocto? Can you try from SDK build too?

    As i have mentioned that we are using We are using GCP (Google Cloud Platform). here we are build sdk as i have explained previously.

    Any other information do you want from my side please let me know.

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    here we are using command line in which we can edit source file using vim editor, save and build file.

    Can you share the path in which you are editing the source file?

    Regards,
    Vinu

  • HI Vinu,

    for uboot dts 

    /home/satyajeet_singh/sdk9.02/yocto-build/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/u-boot-ti-staging/1_2023.04+gitAUTOINC+f9b966c674-r0_tisdk_3_edgeai_4/git/arch/arm/dts/k3-am62a7-sk.dts

    for local.conf

    /home/satyajeet_singh/sdk9.02/yocto-build/build/conf/local.conf

    for defconfig  

    /home/satyajeet_singh/sdk9.02/yocto-build/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/u-boot-ti-staging/1_2023.04+gitAUTOINC+f9b966c674-r0_tisdk_3_edgeai_4/git/configs

    thanks

    Pankaj Verma

  • Hi Pankaj,

    /home/satyajeet_singh/sdk9.02/yocto-build/build/arago-tmp-default-glibc/work/am62axx_evm-oe-linux/u-boot-ti-staging/1_2023.04+gitAUTOINC+f9b966c674-r0_tisdk_3_edgeai_4/git/arch/arm/dts/k3-am62a7-sk.dts

    The temp directory hack is usually not recommented as Yocto might ignore the changes and may re-fetch the files again.
    It is also inconsistent and unpredictable.

    The right way to update the the sources are either using Yocto devtool or by creating bbappend files.

    Please try the changes with either

    1. Yocto devtool package modification (https://docs.yoctoproject.org/dev-manual/devtool.html#use-devtool-modify-to-modify-the-source-of-an-existing-component), or
    2. Linux SDK build (https://software-dl.ti.com/processor-sdk-linux-rt/esd/AM62AX/09_02_00/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html)

    Also, I was able to boot the prebuilt Linux (latest) using the USB MSC with u-boot from SDK 9.02.
    But the same DT changes are required for Linux as well. So you'll have to recompile the Linux DTB, so that the port is set as host.

    diff -u a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
    --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts	2026-02-04 12:09:16.092943941 +0530
    +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts	2026-02-04 12:11:55.626870078 +0530
    @@ -726,6 +726,8 @@
    &usb0 {
    	usb-role-switch;
    +    bootph-all;
    +    dr_mode = "host";
    	port {
    		usb0_hs_ep: endpoint {

    The following steps are used from SDK to compile the updated DTS (k3-am62a7-sk.dts): 
    (Ref: software-dl.ti.com/.../Foundational_Components_Kernel_Users_Guide.html

    • ti-processor-sdk-linux-edgeai-am62a-evm-11.01.07.05/board-support/ti-linux-kernel-6.12.35+git-ti$ make ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" defconfig ti_arm64_prune.config
    • ti-processor-sdk-linux-edgeai-am62a-evm-11.01.07.05/board-support/ti-linux-kernel-6.12.35+git-ti$ make DTC_FLAGS=-@ ARCH=arm64 CROSS_COMPILE="$CROSS_COMPILE_64" ti/k3-am62a7-sk.dtb

    Please find the complete log along with the u-boot commands below.

    U-Boot SPL 2023.04 (Jan 29 2026 - 10:36:45 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    SPL initial stack usage: 13568 bytes
    SPL possible initial stack overflow detected!!
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04 (Jan 29 2026 - 10:35:58 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04 (Jan 29 2026 - 10:35:58 +0530)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    => usb start
    starting USB...
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    => load usb 0:2 ${kernel_addr_r} /boot/Image 
    21029376 bytes read in 552 ms (36.3 MiB/s)
    => load usb 0:2 ${fdt_addr_r} /boot/dtb/ti/k3-am62a7-sk.dtb
    61923 bytes read in 24 ms (2.5 MiB/s)
    => setenv bootargs "console=ttyS2,115200 root=/dev/sda2 rw rootwait"
    => booti ${kernel_addr_r} - ${fdt_addr_r}
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008ffed000, end 000000008ffff1e2 ... OK
    Working FDT set to 8ffed000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Wed Nov 27 13:23:15 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000c0000000..0x00000000e3ffffff (589824 KiB) map reusable linux,cma
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000099800000..0x00000000998fffff (1024 KiB) nomap non-reusable c7x-dma-memory@99800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000099900000..0x000000009a7fffff (15360 KiB) nomap non-reusable c7x-memory@99900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b800000..0x000000009b8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9b800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b900000..0x000000009c7fffff (15360 KiB) nomap non-reusable r5f-dma-memory@9b900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c800000..0x000000009c8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9c800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c900000..0x000000009e6fffff (30720 KiB) nomap non-reusable r5f-dma-memory@9c900000
    [    0.000000] OF: reserved mem: 0x000000009e780000..0x000000009e7fffff (512 KiB) nomap non-reusable tfa@9e780000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 16 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a0ffffff (16384 KiB) nomap non-reusable ipc-memories@a0000000
    [    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-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009a7fffff]
    [    0.000000]   node   0: [mem 0x000000009a800000-0x000000009b7fffff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a0ffffff]
    [    0.000000]   node   0: [mem 0x00000000a1000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    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.4
    [    0.000000] percpu: Embedded 20 pages/cpu s43176 r8192 d30552 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200 root=/dev/sda2 rw rootwait
    [    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] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 3330712K/4194304K available (12480K kernel code, 1272K rwdata, 4184K rodata, 2496K init, 528K bss, 273768K reserved, 589824K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000314] Console: colour dummy device 80x25
    [    0.000366] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000376] pid_max: default: 32768 minimum: 301
    [    0.000460] LSM: initializing lsm=capability,selinux,integrity
    [    0.000485] SELinux:  Initializing.
    [    0.000606] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000623] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.002298] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.002363] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.002535] rcu: Hierarchical SRCU implementation.
    [    0.002539] rcu: 	Max phase no-delay instances is 1000.
    [    0.002772] Platform MSI: msi-controller@1820000 domain created
    [    0.002951] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.003179] EFI services will not be available.
    [    0.003404] smp: Bringing up secondary CPUs ...
    [    0.003992] Detected VIPT I-cache on CPU1
    [    0.004060] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.004076] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.004120] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.004779] Detected VIPT I-cache on CPU2
    [    0.004832] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.004845] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.004877] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.005464] Detected VIPT I-cache on CPU3
    [    0.005514] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.005527] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.005556] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.005630] smp: Brought up 1 node, 4 CPUs
    [    0.005636] SMP: Total of 4 processors activated.
    [    0.005640] CPU features: detected: 32-bit EL0 Support
    [    0.005644] CPU features: detected: CRC32 instructions
    [    0.005699] CPU: All CPU(s) started at EL2
    [    0.005702] alternatives: applying system-wide alternatives
    [    0.007255] devtmpfs: initialized
    [    0.016624] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.016647] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.030313] pinctrl core: initialized pinctrl subsystem
    [    0.030791] DMI not present or invalid.
    [    0.031379] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.032177] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.032293] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.032451] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.032507] audit: initializing netlink subsys (disabled)
    [    0.032671] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
    [    0.033113] thermal_sys: Registered thermal governor 'step_wise'
    [    0.033118] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.033157] cpuidle: using governor menu
    [    0.033310] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.033392] ASID allocator initialised with 65536 entries
    [    0.038508] /bus@f0000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f0000/interrupt-controller@1800000
    [    0.038610] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.038658] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.038709] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    0.038792] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.044305] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.044514] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.045395] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    0.047234] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.047305] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.049121] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /connector-hdmi
    [    0.049195] /connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.049694] Modules: 27488 pages in range for non-PLT usage
    [    0.049698] Modules: 519008 pages in range for PLT usage
    [    0.050394] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.050401] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.050407] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.050410] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.050414] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.050417] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.050421] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.050424] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.051748] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.052381] iommu: Default domain type: Translated
    [    0.052390] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.052733] SCSI subsystem initialized
    [    0.053119] usbcore: registered new interface driver usbfs
    [    0.053149] usbcore: registered new interface driver hub
    [    0.053178] usbcore: registered new device driver usb
    [    0.053645] pps_core: LinuxPPS API ver. 1 registered
    [    0.053649] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.053661] PTP clock support registered
    [    0.053972] EDAC MC: Ver: 3.0.0
    [    0.054428] scmi_core: SCMI protocol bus registered
    [    0.054683] FPGA manager framework
    [    0.054772] Advanced Linux Sound Architecture Driver Initialized.
    [    0.055658] vgaarb: loaded
    [    0.055960] clocksource: Switched to clocksource arch_sys_counter
    [    0.056184] VFS: Disk quotas dquot_6.6.0
    [    0.056284] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.062767] NET: Registered PF_INET protocol family
    [    0.062960] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.065855] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.065896] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.065945] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.066161] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.066967] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.067103] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.067191] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.067423] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.067855] RPC: Registered named UNIX socket transport module.
    [    0.067863] RPC: Registered udp transport module.
    [    0.067865] RPC: Registered tcp transport module.
    [    0.067868] RPC: Registered tcp-with-tls transport module.
    [    0.067871] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.067879] NET: Registered PF_XDP protocol family
    [    0.067897] PCI: CLS 0 bytes, default 64
    [    0.069281] Initialise system trusted keyrings
    [    0.069484] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.069780] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.069999] NFS: Registering the id_resolver key type
    [    0.070022] Key type id_resolver registered
    [    0.070025] Key type id_legacy registered
    [    0.070043] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.070048] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.104042] Key type asymmetric registered
    [    0.104053] Asymmetric key parser 'x509' registered
    [    0.104112] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.104254] io scheduler mq-deadline registered
    [    0.104260] io scheduler kyber registered
    [    0.104289] io scheduler bfq registered
    [    0.107184] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.107795] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.114837] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.125625] loop: module loaded
    [    0.126634] megasas: 07.725.01.00-rc1
    [    0.130228] tun: Universal TUN/TAP device driver, 1.6
    [    0.131180] VFIO - User Level meta-driver version: 0.3
    [    0.132304] usbcore: registered new interface driver usb-storage
    [    0.132902] i2c_dev: i2c /dev entries driver
    [    0.134382] sdhci: Secure Digital Host Controller Interface driver
    [    0.134390] sdhci: Copyright(c) Pierre Ossman
    [    0.134600] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.135312] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.135591] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.136281] usbcore: registered new interface driver usbhid
    [    0.136287] usbhid: USB HID core driver
    [    0.137519] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.138095] optee: probing for conduit method.
    [    0.138121] optee: revision 4.1 (012cdca4)
    [    0.138428] optee: dynamic shared memory is enabled
    [    0.139095] random: crng init done
    [    0.139194] optee: initialized driver
    [    0.139640] mmio-mux a40000.mux-controller: mux-reg-masks property missing or invalid: -22
    [    0.139649] mmio-mux: probe of a40000.mux-controller failed with error -22
    [    0.140869] Initializing XFRM netlink socket
    [    0.140900] NET: Registered PF_PACKET protocol family
    [    0.140969] Key type dns_resolver registered
    [    0.149314] registered taskstats version 1
    [    0.149455] Loading compiled-in X.509 certificates
    [    0.162509] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [    0.202051] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.202297] /bus@f0000/i2c@20000000/pmic@48: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    0.202470] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.204330] pca953x 1-0023: supply vcc not found, using dummy regulator
    [    0.204440] pca953x 1-0023: using AI
    [    0.230124] /connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.230189] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.230245] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /connector-hdmi
    [    0.230300] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.230490] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.231559] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.231761] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.231888] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.232134] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.232401] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    0.233710] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    0.236359] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    0.238906] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    0.243733] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    0.245764] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    0.246317] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    0.247485] printk: console [ttyS2] disabled
    [    0.247782] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 249, base_baud = 3000000) is a 8250
    [    0.247829] printk: console [ttyS2] enabled
    [    1.986480] spi-nand spi0.0: Winbond SPI NAND was found.
    [    1.991821] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    2.000170] 7 fixed-partitions partitions found on MTD device spi0.0
    [    2.006533] Creating 7 MTD partitions on "spi0.0":
    [    2.011321] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    2.018736] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    2.026497] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    2.035096] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    2.041917] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    2.049359] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    2.095390] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    2.311970] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.323199] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    2.331332] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    2.344117] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    2.351246] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    2.357621] pps pps0: new PPS source ptp0
    [    2.361905] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    2.375860] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    2.385365] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    2.398270] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    2.411718] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    2.417225] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    2.424976] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    2.430980] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    2.440411] xhci-hcd xhci-hcd.0.auto: irq 263, io mem 0x31000000
    [    2.447312] hub 1-0:1.0: USB hub found
    [    2.451113] hub 1-0:1.0: 1 port detected
    [    2.457152] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    2.462707] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    2.470464] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
    [    2.476478] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    2.485903] xhci-hcd xhci-hcd.1.auto: irq 264, io mem 0x31100000
    [    2.492667] hub 2-0:1.0: USB hub found
    [    2.496468] hub 2-0:1.0: 1 port detected
    [    2.502202] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    2.514872] mmc0: CQHCI version 5.10
    [    2.559815] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.638583] mmc0: Command Queue Engine enabled
    [    2.643048] mmc0: new HS200 MMC card at address 0001
    [    2.648481] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.654516] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    2.660363] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    2.666134] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    2.707980] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [    2.800695] tps6594-rtc tps6594-rtc.6.auto: registered as rtc1
    [    2.807190] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    2.813913] pca953x 1-0022: using AI
    [    2.824656] mmc1: CQHCI version 5.10
    [    2.825052] clk: Disabling unused clocks
    [    2.836632] ALSA device list:
    [    2.839598]   No soundcards found.
    [    2.865497] usb-storage 1-1:1.0: USB Mass Storage device detected
    [    2.871940] scsi host0: usb-storage 1-1:1.0
    [    3.904472] scsi 0:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 7
    [    3.913697] sd 0:0:0:0: [sda] 120164352 512-byte logical blocks: (61.5 GB/57.3 GiB)
    [    3.922341] sd 0:0:0:0: [sda] Write Protect is off
    [    3.927446] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    3.939920]  sda: sda1 sda2
    [    3.943216] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [    4.350118] sdhci-am654 fa00000.mmc: Power on failed
    [    4.385685] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    4.445497] EXT4-fs (sda2): recovery complete
    [    4.453109] EXT4-fs (sda2): mounted filesystem 4c180f2c-a2bb-49bb-8343-d42b274c119d r/w with ordered data mode. Quota mode: none.
    [    4.464819] VFS: Mounted root (ext4 filesystem) on device 8:2.
    [    4.472000] devtmpfs: mounted
    [    4.475594] Freeing unused kernel memory: 2496K
    [    4.480194] Run /sbin/init as init process
    [    4.802929] systemd[1]: System time before build time, advancing clock.
    [    4.849171] NET: Registered PF_INET6 protocol family
    [    4.855011] Segment Routing with IPv6
    [    4.858715] In-situ OAM (IOAM) with IPv6
    [    4.902410] systemd[1]: systemd 255.13^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    4.934314] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    4.952728] systemd[1]: Hostname set to <am62axx-evm>.
    [    5.309079] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    5.380948] systemd[1]: Queued start job for default target Multi-User System.
    [    5.427799] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    5.449839] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    5.473665] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    5.497272] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.520383] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    5.544272] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    5.568113] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    5.588166] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    5.608065] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.628044] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    5.648079] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    5.674359] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.696485] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    5.721125] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    5.744713] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.768676] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.788855] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.813413] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.836592] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.856632] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    5.908284] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    5.931433] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.955505] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    5.976585] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    5.993625] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    6.016358] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/modules.devname).
    [    6.054193] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    6.080285] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    6.104207] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    6.128308] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    6.148075] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    6.174068] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
    [    6.187265] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network units from Kernel command line...
    [    6.220296] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    6.251417] systemd-journald[122]: Collecting audit messages is enabled.
    [    6.276584] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    6.315882] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
             Starting Create Static Device Nodes in /dev gr[    6.328227] systemd[1]: Starting Coldplug All udev Devices...
    acefully...
    [    6.337214] EXT4-fs (sda2): re-mounted 4c180f2c-a2bb-49bb-8343-d42b274c119d r/w. Quota mode: none.
             Starting Coldplug All udev Devices...
    [    6.362859] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev gracefully.
    [  OK  ] Reached target Preparation for Network.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Create Static Device Nodes in /dev...
    [    6.684098] systemd-journald[122]: Received client request to flush runtime journal.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /var/volatile...
    [    6.797986] audit: type=1334 audit(1728487093.992:2): prog-id=6 op=LOAD
    [    6.804849] audit: type=1334 audit(1728487094.000:3): prog-id=7 op=LOAD
             Starting Rule-based Manager for Device Events and Files...
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save OS Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create System Files and Directories...
    [  OK  ] Finished Load/Save OS Random Seed.
    [  OK  ] Finished Create System Files and Directories.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [    7.031940] audit: type=1334 audit(1728487094.224:4): prog-id=8 op=LOAD
             Starting Network Configuration...
    [    7.092001] audit: type=1334 audit(1728487094.284:5): prog-id=9 op=LOAD
             Starting Network Name Resolution...
    [    7.139539] audit: type=1334 audit(1728487094.332:6): prog-id=10 op=LOAD
             Starting Network Time Synchronization...
    [    7.187641] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [    7.198952] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    7.201628] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    7.220150] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Coldplug All udev Devices.
    [    7.274294] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [    7.276557] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    7.289806] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Found device /dev/ttyS2.
    [    7.648843] audit: type=1334 audit(1728487094.844:7): prog-id=11 op=LOAD
    [    7.658282] audit: type=1334 audit(1728487094.852:8): prog-id=12 op=LOAD
    [    7.666010] audit: type=1334 audit(1728487094.852:9): prog-id=13 op=LOAD
             Starting User Database Manager...
             Starting Virtual Console Setup...
    [  OK  ] Started User Database Manager.
    [  OK  ] Finished Virtual Console Setup.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Network Configuration.
    [  OK  ] Reached target Network.
    [    8.085644] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    8.099399] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
             Starting D-Bus System Message Bus...
    [    8.254831] audit: type=1334 audit(1728488207.424:10): prog-id=14 op=LOAD
    [    8.261704] audit: type=1334 audit(1728488207.432:11): prog-id=15 op=LOAD
             Starting User Login Management...
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started User Login Management.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Reached target Multi-User System.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62axx-evm ttyS2
    
    Arago 2023.10 am62axx-evm ttyS2
    
    am62axx-evm login: [   13.024614] platform 2b300050.target-module: deferred probe pending
    
    am62axx-evm login: 
    

    The u-boot commands needed to boot Linux from USB drive is given separately below.

    usb start
    
    load usb 0:2 ${kernel_addr_r} /boot/Image   
    load usb 0:2 ${fdt_addr_r} /boot/dtb/ti/k3-am62a7-sk.dtb  
    setenv bootargs "console=ttyS2,115200 root=/dev/sda2 rw rootwait"
     
    booti ${kernel_addr_r} - ${fdt_addr_r}


    Regards,
    Vinu

  • HI Vinu,

    Now i have tried to setup devtool in my GCP yocto sdk 9.02 environment. i am facing some issues. like machine name invalid and dts folder empty or missing dts file.

    for setup devtool is another task for me, can you share me the steps so can try on my GCP linux environment.

    Is there any otherway also to check and verify the changes are reflected or not.

    we did all the peripheral build and changes modify in kernel and uboot with bitbake only.

    thanks 

    Pankaj verma

  • Hi Pankaj,

    The support for general openEmbedded/Yocto toolchains and setup is outside the primary scope of this forum. Ideally it should work out of the box.
    To ensure you get the most accurate assistance for build system specific issues, I recomment consulting official Yocto Project documentation or their community forums.

    Is there any otherway also to check and verify the changes are reflected or not.

    To validate the changes, you can try out the changes in the Linux SDK build setup.

    Regards,
    Vinu

  • HI Vinu,

    After lot of searching and brainstorming for yocto devtool.

    I have tried with yocto devtool to build and run uboot  through USM MSC as per your suggestion also.

    uboot is working fine on evm. Thanks

    Now i am trying to generate full image and build to check on evm.

    Currently facing some issue regarding image generate.

    Once i generate and run image through USB MSC i will let you know.

    Thanks for your support.

    Thanks 

    Pankaj Verma

  • HI Vinu,

    I have made a devtool environment and generate tisdk-edgeai-image properly,

    After boot on evm it is going to uboot properly and i have stopped on uboot argument.

    After that when i run a command as suggested by you it is jump to load kernel and stop on specific place.

    logs are below for your reference.

    usb start

    load usb 0:2 ${kernel_addr_r} /boot/Image
    load usb 0:2 ${fdt_addr_r} /boot/dtb/ti/k3-am62a7-sk.dtb
    setenv bootargs "console=ttyS2,115200 root=/dev/sda2 rw rootwait"

    booti ${kernel_addr_r} - ${fdt_addr_r}

    error logs file below

    U-Boot SPL 2023.04-ti-gf9b966c67473 (Feb 06 2026 - 08:04:26 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    SPL initial stack usage: 13568 bytes
    SPL possible initial stack overflow detected!!
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04-ti-gf9b966c67473 (Feb 06 2026 - 06:17:15 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04-ti-gf9b966c67473 (Feb 06 2026 - 06:17:15 +0000)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    => usb start
    starting USB...
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    => load usb 0:2 ${kernel_addr_r} /boot/Image
    19376640 bytes read in 535 ms (34.5 MiB/s)
    => load usb 0:2 ${fdt_addr_r} /boot/dtb/ti/k3-am62a7-sk.dtb
    58257 bytes read in 30 ms (1.9 MiB/s)
    => setenv bootargs "console=ttyS2,115200 root=/dev/sdb2 rw rootwait"
    => booti ${kernel_addr_r} - ${fdt_addr_r}
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008ffee000, end 000000008ffff390 ... OK
    Working FDT set to 8ffee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.80-ti-g2e423244f8c0 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Mar 20 14:43:33 UTC 2024
    [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, 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-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009b7fefff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
    [    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.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032191
    [    0.000000] Kernel command line: console=ttyS2,115200 root=/dev/sdb2 rw rootwait
    [    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: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2808832K/4194300K available (11712K kernel code, 1258K rwdata, 3812K rodata, 1984K init, 438K bss, 795644K reserved, 589824K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000285] Console: colour dummy device 80x25
    [    0.000332] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000343] pid_max: default: 32768 minimum: 301
    [    0.000390] LSM: Security Framework initializing
    [    0.000491] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000509] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001944] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.001954] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.002016] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.002020] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.002160] rcu: Hierarchical SRCU implementation.
    [    0.002163] rcu:     Max phase no-delay instances is 1000.
    [    0.002377] Platform MSI: msi-controller@1820000 domain created
    [    0.002548] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.002769] EFI services will not be available.
    [    0.002985] smp: Bringing up secondary CPUs ...
    [    0.003545] Detected VIPT I-cache on CPU1
    [    0.003631] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.003647] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.003691] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.004345] Detected VIPT I-cache on CPU2
    [    0.004414] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.004427] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.004458] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.005009] Detected VIPT I-cache on CPU3
    [    0.005078] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.005092] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.005121] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.005185] smp: Brought up 1 node, 4 CPUs
    [    0.005191] SMP: Total of 4 processors activated.
    [    0.005196] CPU features: detected: 32-bit EL0 Support
    [    0.005199] CPU features: detected: CRC32 instructions
    [    0.005251] CPU: All CPU(s) started at EL2
    [    0.005254] alternatives: applying system-wide alternatives
    [    0.006710] devtmpfs: initialized
    [    0.014562] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.014587] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.031140] pinctrl core: initialized pinctrl subsystem
    [    0.031624] DMI not present or invalid.
    [    0.032197] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.033042] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.033280] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.033435] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.033531] audit: initializing netlink subsys (disabled)
    [    0.033675] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
    [    0.034060] thermal_sys: Registered thermal governor 'step_wise'
    [    0.034065] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.034099] cpuidle: using governor menu
    [    0.034225] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.034303] ASID allocator initialised with 65536 entries
    [    0.044128] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.047152] KASLR disabled due to lack of seed
    [    0.053475] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.053487] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.053492] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.053495] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.053500] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.053503] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.053508] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.053511] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.054693] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.056090] iommu: Default domain type: Translated
    [    0.056100] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.056348] SCSI subsystem initialized
    [    0.056635] usbcore: registered new interface driver usbfs
    [    0.056665] usbcore: registered new interface driver hub
    [    0.056688] usbcore: registered new device driver usb
    [    0.057069] pps_core: LinuxPPS API ver. 1 registered
    [    0.057073] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.057088] PTP clock support registered
    [    0.057205] EDAC MC: Ver: 3.0.0
    [    0.057935] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.058083] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.058215] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.058269] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.058535] FPGA manager framework
    [    0.058610] Advanced Linux Sound Architecture Driver Initialized.
    [    0.059384] clocksource: Switched to clocksource arch_sys_counter
    [    0.059573] VFS: Disk quotas dquot_6.6.0
    [    0.059609] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.065381] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [    0.065485] NET: Registered PF_INET protocol family
    [    0.065672] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.068561] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.068640] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.068654] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.068866] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.069670] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.069802] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.069891] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.070114] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.070513] RPC: Registered named UNIX socket transport module.
    [    0.070521] RPC: Registered udp transport module.
    [    0.070524] RPC: Registered tcp transport module.
    [    0.070526] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.070533] NET: Registered PF_XDP protocol family
    [    0.070548] PCI: CLS 0 bytes, default 64
    [    0.071134] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.072612] Initialise system trusted keyrings
    [    0.072807] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.076949] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.077451] NFS: Registering the id_resolver key type
    [    0.077493] Key type id_resolver registered
    [    0.077497] Key type id_legacy registered
    [    0.077549] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.077555] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.113605] Key type asymmetric registered
    [    0.113612] Asymmetric key parser 'x509' registered
    [    0.113658] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.113794] io scheduler mq-deadline registered
    [    0.113800] io scheduler kyber registered
    [    0.116798] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.117384] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.118852] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.124617] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.133023] loop: module loaded
    [    0.134146] megasas: 07.719.03.00-rc1
    [    0.136989] tun: Universal TUN/TAP device driver, 1.6
    [    0.137653] VFIO - User Level meta-driver version: 0.3
    [    0.138291] usbcore: registered new interface driver usb-storage
    [    0.138786] i2c_dev: i2c /dev entries driver
    [    0.140177] sdhci: Secure Digital Host Controller Interface driver
    [    0.140185] sdhci: Copyright(c) Pierre Ossman
    [    0.140372] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.141041] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.141200] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.141522] usbcore: registered new interface driver usbhid
    [    0.141527] usbhid: USB HID core driver
    [    0.142301] optee: probing for conduit method.
    [    0.142327] optee: revision 4.1 (012cdca4)
    [    0.142573] optee: dynamic shared memory is enabled
    [    0.142921] optee: initialized driver
    [    0.144291] Initializing XFRM netlink socket
    [    0.144328] NET: Registered PF_PACKET protocol family
    [    0.144391] Key type dns_resolver registered
    [    0.144725] registered taskstats version 1
    [    0.144746] Loading compiled-in X.509 certificates
    [    0.152721] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [    0.188459] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    0.188628] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.189903] pca953x 1-0023: supply vcc not found, using dummy regulator
    [    0.190001] pca953x 1-0023: using AI
    [    0.213799] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.214710] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.214912] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.215042] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.215252] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.215524] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    0.216787] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    0.218673] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    0.220902] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    0.224464] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    0.226147] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    0.226565] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    0.227597] printk: console [ttyS2] disabled
    [    0.227657] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.720278] printk: console [ttyS2] enabled
    [    1.726676] spi-nand spi0.0: Winbond SPI NAND was found.
    [    1.732014] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    1.740368] 7 fixed-partitions partitions found on MTD device spi0.0
    [    1.746723] Creating 7 MTD partitions on "spi0.0":
    [    1.751510] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    1.758771] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    1.766316] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    1.774707] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    1.781353] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    1.788675] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    1.832888] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    1.879419] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.888957] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.897090] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.909862] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.916989] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.923357] pps pps0: new PPS source ptp0
    [    1.927659] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.937926] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.946565] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    1.958792] mmc0: CQHCI version 5.10
    [    2.003712] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.091836] mmc0: Command Queue Engine enabled
    [    2.096313] mmc0: new HS200 MMC card at address 0001
    [    2.102002] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.108479]  mmcblk0: p1 p2
    [    2.111948] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    2.117992] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    2.123861] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (240:0)
    [    2.275592] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    2.281604] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    2.290394] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    2.297149] pca953x 1-0022: using AI
    [    2.307818] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.308210] mmc1: CQHCI version 5.10
    [    2.316240] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.326043] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.339675] ALSA device list:
    [    2.342651]   No soundcards found.
    [    3.830506] sdhci-am654 fa00000.mmc: Power on failed
    [    3.866639] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    3.874420] Waiting for root device /dev/sdb2...
    [   12.513395] platform 2b300050.target-module: deferred probe pending
    

    What i am missing on that can you please see.

    Thanks 

    Pankaj Verma 

  • Hi Pankaj,

    The kernel boot log doesn't have any USB/xHCI related message. It appears the USB related drivers are not built in the kernel Image. 

    BTY, why the kernel cmdline has root=/dev/sdb2? Is the first block device should be /dev/sda by default?

  • Hi Vinu,

    i have tried with /dev/sda also, i for checking purpose i have tried with /dev/sdb also.

    In both case same result is coming

    if you see in your previous log USB controller driver showing in kernel logs  

    Please find the complete log along with the u-boot commands below.

    but in my case it is not showing, i have made the usb0 related changes in linux kernel dts file as per your suggestion.

    Is i  am missing or i have to check some other stuff also please see and let me know.

    Thanks 

    Pankaj Verma

  • but in my case it is not showing, i have made the usb0 related changes in linux kernel dts file as per your suggestion.

    Is i  am missing or i have to check some other stuff also please see and let me know.

    In Addition to kernel devicetree changes, the USB related kernel modules should be changed from '=m' to '=y' in kernel menuconfig.

  • Hi Liu,

    FYI i am using sdk 9.02 with am62a7-evm.

    I have already checked in all defconfig files related to am62a7, i think all the usb related modules is already 'y'.

    I found some differences in my logs and your logs, showing below

    1. kernel version difference (our version is "Linux version 6.1.80-ti-g2e423244f8c0" but your kernel version is "Linux version 6.6.58-ti-01497-ga7758da17c28-dirty")

    your logs

    our kernel version

    2.  i2c usc power controller not showing ( in your i2c usb power controller logs is showing "/i2c@20000000/usb-power-controller@3f" but in our logs nothing is their)

    your logs

    In our logs nothing is there

    3. xhci driver sowing in your logs but in our nothing is coming

    your log image 

    in our nothing is coming 

    Is this creating an issue in my side? if yes please let me know how to come up with these.

    for more details, please see the above comment by vinu

    parallelly i am also looking in these issue

    ********************************************************************************************************************************************************

    i am also sharing the same file with you, could you please see and let me know if anything is missing.

    all the defconfig are located in "/sdk9.02/yocto-build/build-am62a/workspace/sources/u-boot-ti-staging/configs"

    below are the files

    am62ax_evm_a53_defconfig file

    CONFIG_ARM=y
    CONFIG_ARCH_K3=y
    CONFIG_TI_SECURE_DEVICE=y
    CONFIG_TI_COMMON_CMD_OPTIONS=y
    CONFIG_SPL_GPIO=y
    CONFIG_SYS_MALLOC_F_LEN=0x8000
    CONFIG_BOARD_HAS_32K_RTC_CRYSTAL=y
    CONFIG_SPL_LIBCOMMON_SUPPORT=y
    CONFIG_SPL_LIBGENERIC_SUPPORT=y
    CONFIG_NR_DRAM_BANKS=2
    CONFIG_SOC_K3_AM62A7=y
    CONFIG_K3_ATF_LOAD_ADDR=0x9e780000
    CONFIG_TARGET_AM62A7_A53_EVM=y
    CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
    CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000
    CONFIG_DM_GPIO=y
    CONFIG_SF_DEFAULT_SPEED=25000000
    CONFIG_ENV_SIZE=0x40000
    CONFIG_SPL_DM_SPI=y
    CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-sk"
    CONFIG_SPL_TEXT_BASE=0x80080000
    CONFIG_DM_RESET=y
    CONFIG_SPL_MMC=y
    CONFIG_SPL_SERIAL=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_SPL_FS_FAT=y
    CONFIG_SPL_LIBDISK_SUPPORT=y
    CONFIG_SPL_SPI=y
    # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000
    CONFIG_DISTRO_DEFAULTS=y
    CONFIG_BOOTCOMMAND="run envboot; run distro_bootcmd;"
    CONFIG_SPL_MAX_SIZE=0x58000
    CONFIG_SPL_PAD_TO=0x0
    CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
    CONFIG_SPL_BSS_START_ADDR=0x80a00000
    CONFIG_SPL_BSS_MAX_SIZE=0x80000
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_BOARD_INIT=y
    CONFIG_SPL_STACK_R=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400
    CONFIG_SPL_ENV_SUPPORT=y
    CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
    CONFIG_SPL_I2C=y
    CONFIG_SPL_DM_MAILBOX=y
    CONFIG_SPL_MTD_SUPPORT=y
    CONFIG_SPL_MTD_LOAD=y
    CONFIG_SYS_MTD_U_BOOT_OFFS=0x280000
    CONFIG_SPL_NAND_SPI_SUPPORT=y
    CONFIG_SPL_DM_SPI_FLASH=y
    CONFIG_SPL_POWER_DOMAIN=y
    CONFIG_SPL_RAM_SUPPORT=y
    CONFIG_SPL_USB_GADGET=y
    CONFIG_SPL_DFU=y
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_SYS_MAXARGS=64
    CONFIG_CMD_MMC=y
    CONFIG_CMD_CLK=y
    CONFIG_CMD_DDRSS=y
    CONFIG_CMD_DFU=y
    CONFIG_CMD_DM=y
    CONFIG_CMD_GPIO=y
    CONFIG_CMD_GPT=y
    CONFIG_CMD_I2C=y
    CONFIG_SUPPORT_EMMC_BOOT=y
    CONFIG_MMC_HS200_SUPPORT=y
    CONFIG_SPL_MMC_HS200_SUPPORT=y
    CONFIG_CMD_MTD=y
    CONFIG_CMD_USB=y
    CONFIG_CMD_USB_MASS_STORAGE=y
    CONFIG_CMD_TIME=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_MTDPARTS=y
    CONFIG_CMD_UBI=y
    CONFIG_OF_CONTROL=y
    CONFIG_SPL_OF_CONTROL=y
    CONFIG_MULTI_DTB_FIT=y
    CONFIG_SPL_MULTI_DTB_FIT=y
    CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
    CONFIG_SPL_DM=y
    CONFIG_SPL_DM_DEVICE_REMOVE=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    CONFIG_REGMAP=y
    CONFIG_SPL_REGMAP=y
    CONFIG_SYSCON=y
    CONFIG_SPL_SYSCON=y
    CONFIG_SPL_OF_TRANSLATE=y
    CONFIG_CLK=y
    CONFIG_SPL_CLK=y
    CONFIG_CLK_TI_SCI=y
    CONFIG_DFU_MMC=y
    CONFIG_DFU_RAM=y
    CONFIG_DFU_SF=y
    CONFIG_DFU_MTD=y
    CONFIG_SYS_DFU_DATA_BUF_SIZE=0x40000
    CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000
    CONFIG_DMA_CHANNELS=y
    CONFIG_TI_K3_NAVSS_UDMA=y
    CONFIG_USB_FUNCTION_FASTBOOT=y
    CONFIG_FASTBOOT_BUF_ADDR=0xC0000000
    CONFIG_FASTBOOT_BUF_SIZE=0x2F000000
    CONFIG_TI_SCI_PROTOCOL=y
    CONFIG_SPL_DM_GPIO_LOOKUP_LABEL=y
    CONFIG_DA8XX_GPIO=y
    CONFIG_DM_PCA953X=y
    CONFIG_SPL_DM_PCA953X=y
    CONFIG_DM_I2C=y
    CONFIG_SYS_I2C_OMAP24XX=y
    CONFIG_DM_MAILBOX=y
    CONFIG_K3_SEC_PROXY=y
    CONFIG_SPL_MISC=y
    CONFIG_MMC_SDHCI=y
    CONFIG_MMC_SDHCI_ADMA=y
    CONFIG_SPL_MMC_SDHCI_ADMA=y
    CONFIG_MMC_SDHCI_AM654=y
    CONFIG_MTD=y
    CONFIG_DM_MTD=y
    CONFIG_MTD_SPI_NAND=y
    CONFIG_DM_SPI_FLASH=y
    CONFIG_PHY_TI_DP83867=y
    CONFIG_TI_AM65_CPSW_NUSS=y
    CONFIG_PINCTRL=y
    CONFIG_SPL_PINCTRL=y
    CONFIG_PINCTRL_SINGLE=y
    CONFIG_POWER_DOMAIN=y
    CONFIG_TI_SCI_POWER_DOMAIN=y
    CONFIG_K3_SYSTEM_CONTROLLER=y
    CONFIG_REMOTEPROC_TI_K3_ARM64=y
    CONFIG_REMOTEPROC_TI_K3_R5F=y
    CONFIG_REMOTEPROC_TI_K3_DSP=y
    CONFIG_RESET_TI_SCI=y
    CONFIG_DM_SERIAL=y
    CONFIG_SOC_DEVICE=y
    CONFIG_SOC_DEVICE_TI_K3=y
    CONFIG_SOC_TI=y
    CONFIG_SPI=y
    CONFIG_DM_SPI=y
    CONFIG_CADENCE_QSPI=y
    CONFIG_SYSRESET=y
    CONFIG_SPL_SYSRESET=y
    CONFIG_SYSRESET_TI_SCI=y
    CONFIG_DM_THERMAL=y
    CONFIG_USB=y
    CONFIG_DM_USB=y
    CONFIG_DM_USB_GADGET=y
    CONFIG_SPL_DM_USB_GADGET=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_DWC3=y
    CONFIG_SPL_USB_DWC3_GENERIC=y
    CONFIG_USB_DWC3_GENERIC=y
    CONFIG_SPL_USB_DWC3_AM62=y
    CONFIG_USB_DWC3_AM62=y
    CONFIG_USB_GADGET=y
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451
    CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
    CONFIG_USB_FUNCTION_MASS_STORAGE=y
    CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
    CONFIG_OF_LIBFDT_OVERLAY=y
    CONFIG_CMD_REMOTEPROC=y
    CONFIG_SPL_USB_HOST=y
    CONFIG_SPL_USB_STORAGE=y
    CONFIG_USB_HOST=y
    CONFIG_USB_STORAGE=y
    CONFIG_SUPPORT_EMMC_BOOT=y
    

    am62ax_evm_r5_usbmsc_defconfig file

    CONFIG_ARM=y
    CONFIG_ARCH_K3=y
    CONFIG_TI_SECURE_DEVICE=y
    CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
    CONFIG_SYS_MALLOC_F_LEN=0x8000
    CONFIG_SPL_GPIO_SUPPORT=y
    CONFIG_SPL_LIBCOMMON_SUPPORT=y
    CONFIG_SPL_LIBGENERIC_SUPPORT=y
    CONFIG_SOC_K3_AM62A7=y
    CONFIG_TARGET_AM62A7_R5_EVM=y
    CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
    CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x43c3a7f0
    CONFIG_ENV_SIZE=0x20000
    CONFIG_ENV_OFFSET=0x680000
    CONFIG_DM_GPIO=y
    CONFIG_SPL_TEXT_BASE=0x43c00000
    CONFIG_SPL_MMC_SUPPORT=y
    CONFIG_SPL_SERIAL=y
    CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_SPL_SIZE_LIMIT=0x3A7F0
    CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC=y
    CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD=y
    CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500
    CONFIG_SPL_FS_FAT=y
    CONFIG_SPL_LIBDISK_SUPPORT=y
    CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-r5-sk"
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_LOAD_FIT_ADDRESS=0x80080000
    CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
    # CONFIG_DISPLAY_CPUINFO is not set
    CONFIG_SPL_MAX_SIZE=0x3B000
    CONFIG_SPL_PAD_TO=0x0
    CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
    CONFIG_SPL_BSS_START_ADDR=0x43c3b000
    CONFIG_SPL_BSS_MAX_SIZE=0x3000
    CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_STACK_R=y
    CONFIG_SPL_SEPARATE_BSS=y
    CONFIG_SPL_EARLY_BSS=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
    CONFIG_SPL_I2C_SUPPORT=y
    CONFIG_SPL_DM_MAILBOX=y
    CONFIG_SPL_DM_RESET=y
    CONFIG_SPL_POWER_DOMAIN=y
    CONFIG_SPL_RAM_SUPPORT=y
    CONFIG_SPL_RAM_DEVICE=y
    CONFIG_SPL_REMOTEPROC=y
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_HUSH_PARSER=y
    CONFIG_CMD_ASKENV=y
    CONFIG_CMD_GPT=y
    CONFIG_CMD_MMC=y
    CONFIG_CMD_REMOTEPROC=y
    # CONFIG_CMD_SETEXPR is not set
    CONFIG_CMD_TIME=y
    CONFIG_CMD_FAT=y
    CONFIG_OF_CONTROL=y
    CONFIG_SPL_OF_CONTROL=y
    CONFIG_SPL_MULTI_DTB_FIT=y
    CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
    CONFIG_SYS_RELOC_GD_ENV_ADDR=y
    CONFIG_DM=y
    CONFIG_SPL_DM=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    CONFIG_REGMAP=y
    CONFIG_SPL_REGMAP=y
    CONFIG_SYSCON=y
    CONFIG_SPL_SYSCON=y
    CONFIG_SPL_OF_TRANSLATE=y
    CONFIG_CLK=y
    CONFIG_SPL_CLK=y
    CONFIG_SPL_CLK_CCF=y
    CONFIG_SPL_CLK_K3=y
    CONFIG_SPL_CLK_K3_PLL=y
    CONFIG_DFU_RAM=y
    CONFIG_TI_SCI_PROTOCOL=y
    CONFIG_DA8XX_GPIO=y
    CONFIG_DM_I2C=y
    CONFIG_SYS_I2C_OMAP24XX=y
    CONFIG_DM_MAILBOX=y
    CONFIG_K3_SEC_PROXY=y
    CONFIG_MISC=y
    CONFIG_PINCTRL=y
    # CONFIG_PINCTRL_GENERIC is not set
    CONFIG_SPL_PINCTRL=y
    # CONFIG_SPL_PINCTRL_GENERIC is not set
    CONFIG_PINCTRL_SINGLE=y
    CONFIG_POWER_DOMAIN=y
    CONFIG_TI_POWER_DOMAIN=y
    CONFIG_K3_SYSTEM_CONTROLLER=y
    CONFIG_REMOTEPROC_TI_K3_ARM64=y
    CONFIG_DM_RESET=y
    CONFIG_RESET_TI_SCI=y
    CONFIG_SPECIFY_CONSOLE_INDEX=y
    CONFIG_DM_SERIAL=y
    CONFIG_SOC_DEVICE=y
    CONFIG_SOC_DEVICE_TI_K3=y
    CONFIG_SOC_TI=y
    CONFIG_TIMER=y
    CONFIG_SPL_TIMER=y
    CONFIG_OMAP_TIMER=y
    CONFIG_LIB_RATIONAL=y
    CONFIG_SPL_LIB_RATIONAL=y
    CONFIG_SPL_USB_HOST=y
    CONFIG_SPL_USB_STORAGE=y
    CONFIG_USB_HOST=y
    CONFIG_USB_STORAGE=y
    CONFIG_USB_GADGET=y
    CONFIG_SPL_USB_GADGET=y
    CONFIG_USB=y
    CONFIG_DM_USB=y
    CONFIG_DM_USB_GADGET=y
    CONFIG_SPL_DM_USB_GADGET=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_GENERIC=y
    CONFIG_SPL_USB_DWC3_GENERIC=y
    CONFIG_SPL_USB_DWC3_AM62=y
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451
    CONFIG_USB_GADGET_PRODUCT_NUM=0x6165
    CONFIG_USB_GADGET_DOWNLOAD=y
    CONFIG_FS_FAT_MAX_CLUSTSIZE=16384
    

    am62ax_evm_r5_defconfig file

    CONFIG_ARM=y
    CONFIG_ARCH_K3=y
    CONFIG_TI_SECURE_DEVICE=y
    CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
    CONFIG_SYS_MALLOC_F_LEN=0x8000
    CONFIG_SPL_LIBCOMMON_SUPPORT=y
    CONFIG_SPL_LIBGENERIC_SUPPORT=y
    CONFIG_SOC_K3_AM62A7=y
    CONFIG_TARGET_AM62A7_R5_EVM=y
    CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
    CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x43c3a7f0
    CONFIG_ENV_SIZE=0x20000
    CONFIG_ENV_OFFSET=0x680000
    CONFIG_SPL_DM_SPI=y
    CONFIG_DEFAULT_DEVICE_TREE="k3-am62a7-r5-sk"
    CONFIG_SPL_TEXT_BASE=0x43c00000
    CONFIG_DM_RESET=y
    CONFIG_SPL_MMC=y
    CONFIG_SPL_SERIAL=y
    CONFIG_SPL_DRIVERS_MISC=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_SPL_SYS_MALLOC_F_LEN=0x7145
    CONFIG_SPL_SIZE_LIMIT=0x3A7F0
    CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x4400
    CONFIG_SPL_FS_FAT=y
    CONFIG_SPL_LIBDISK_SUPPORT=y
    CONFIG_SPL_SPI=y
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_LOAD_FIT_ADDRESS=0x80080000
    CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
    # CONFIG_DISPLAY_CPUINFO is not set
    CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD=y
    CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC=y
    CONFIG_SPL_MAX_SIZE=0x3B000
    CONFIG_SPL_PAD_TO=0x0
    CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
    CONFIG_SPL_BSS_START_ADDR=0x43c3b000
    CONFIG_SPL_BSS_MAX_SIZE=0x3000
    CONFIG_SPL_SYS_REPORT_STACK_F_USAGE=y
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_STACK_R=y
    CONFIG_SPL_SEPARATE_BSS=y
    CONFIG_SYS_SPL_MALLOC=y
    CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
    CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x84000000
    CONFIG_SPL_EARLY_BSS=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x400
    CONFIG_SPL_DMA=y
    CONFIG_SPL_DM_MAILBOX=y
    CONFIG_SPL_MTD_SUPPORT=y
    CONFIG_SPL_MTD_LOAD=y
    CONFIG_SPL_NAND_SPI_SUPPORT=y
    CONFIG_SPL_DM_SPI_FLASH=y
    CONFIG_SPL_DM_RESET=y
    CONFIG_SPL_POWER_DOMAIN=y
    CONFIG_SPL_RAM_SUPPORT=y
    CONFIG_SPL_RAM_DEVICE=y
    CONFIG_SPL_REMOTEPROC=y
    CONFIG_SPL_THERMAL=y
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_HUSH_PARSER=y
    CONFIG_CMD_ASKENV=y
    CONFIG_CMD_DFU=y
    CONFIG_CMD_GPT=y
    CONFIG_CMD_MMC=y
    CONFIG_CMD_REMOTEPROC=y
    # CONFIG_CMD_SETEXPR is not set
    CONFIG_CMD_TIME=y
    CONFIG_CMD_FAT=y
    CONFIG_OF_CONTROL=y
    CONFIG_SPL_OF_CONTROL=y
    CONFIG_ENV_IS_NOWHERE=y
    CONFIG_ENV_IS_IN_MMC=y
    CONFIG_SYS_RELOC_GD_ENV_ADDR=y
    CONFIG_SYS_MMC_ENV_PART=1
    # CONFIG_NET is not set
    CONFIG_SPL_DM=y
    CONFIG_SPL_DM_DEVICE_REMOVE=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    CONFIG_REGMAP=y
    CONFIG_SPL_REGMAP=y
    CONFIG_SPL_OF_TRANSLATE=y
    CONFIG_CLK=y
    CONFIG_SPL_CLK=y
    CONFIG_SPL_CLK_CCF=y
    CONFIG_SPL_CLK_K3_PLL=y
    CONFIG_SPL_CLK_K3=y
    CONFIG_DMA_CHANNELS=y
    CONFIG_TI_K3_NAVSS_UDMA=y
    CONFIG_TI_SCI_PROTOCOL=y
    # CONFIG_GPIO is not set
    CONFIG_DM_I2C=y
    CONFIG_SYS_I2C_OMAP24XX=y
    CONFIG_DM_MAILBOX=y
    CONFIG_K3_SEC_PROXY=y
    CONFIG_SPL_MISC=y
    CONFIG_ESM_K3=y
    CONFIG_MMC_HS200_SUPPORT=y
    CONFIG_SPL_MMC_HS200_SUPPORT=y
    CONFIG_MMC_SDHCI=y
    CONFIG_MMC_SDHCI_ADMA=y
    CONFIG_MMC_SDHCI_AM654=y
    CONFIG_MTD=y
    CONFIG_DM_MTD=y
    CONFIG_MTD_SPI_NAND=y
    CONFIG_DM_SPI_FLASH=y
    CONFIG_PINCTRL=y
    # CONFIG_PINCTRL_GENERIC is not set
    CONFIG_SPL_PINCTRL=y
    # CONFIG_SPL_PINCTRL_GENERIC is not set
    CONFIG_PINCTRL_SINGLE=y
    CONFIG_POWER_DOMAIN=y
    CONFIG_TI_POWER_DOMAIN=y
    CONFIG_K3_SYSTEM_CONTROLLER=y
    CONFIG_REMOTEPROC_TI_K3_ARM64=y
    CONFIG_RESET_TI_SCI=y
    CONFIG_SPECIFY_CONSOLE_INDEX=y
    CONFIG_DM_SERIAL=y
    CONFIG_SOC_DEVICE=y
    CONFIG_SOC_DEVICE_TI_K3=y
    CONFIG_SOC_TI=y
    CONFIG_SPI=y
    CONFIG_DM_SPI=y
    CONFIG_CADENCE_QSPI=y
    CONFIG_TIMER=y
    CONFIG_SPL_TIMER=y
    CONFIG_OMAP_TIMER=y
    CONFIG_LIB_RATIONAL=y
    CONFIG_SPL_LIB_RATIONAL=y

    k3-am62a7-sk.dts kernel dts file

    kernel dts file location "/sdk9.02/yocto-build/build-am62a/workspace/sources/linux-ti-staging/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts"

    // SPDX-License-Identifier: GPL-2.0
    /*
     * AM62A SK: https://www.ti.com/lit/zip/sprr459
     *
     * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
     */
    
    /dts-v1/;
    
    #include <dt-bindings/leds/common.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/net/ti-dp83867.h>
    #include "k3-am62a7.dtsi"
    
    / {
    	compatible =  "ti,am62a7-sk", "ti,am62a7";
    	model = "Texas Instruments AM62A7 SK";
    
    	aliases {
    		serial0 = &mcu_uart0;
    		serial1 = &wkup_uart0;
    		serial2 = &main_uart0;
    		mmc0 = &sdhci0;
    		mmc1 = &sdhci1;
    		ethernet0 = &cpsw_port1;
    		spi0 = &ospi0;
    	};
    
    	chosen {
    		stdout-path = "serial2:115200n8";
    	};
    
    	memory@80000000 {
    		device_type = "memory";
    		/* 4G RAM */
    		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    		      <0x00000008 0x80000000 0x00000000 0x80000000>;
    	};
    
    	dma_buf_phys {
    		compatible = "ti,dma-buf-phys";
    	};
    
    	reserved-memory {
    		#address-cells = <2>;
    		#size-cells = <2>;
    		ranges;
    
    		/* global cma region */
    		linux,cma {
    			compatible = "shared-dma-pool";
    			reusable;
    			size = <0x00 0x24000000>;
    			alloc-ranges = <0x00 0xc0000000 0x00 0x24000000>;
    			linux,cma-default;
    		};
    
    		secure_tfa_ddr: tfa@9e780000 {
    			reg = <0x00 0x9e780000 0x00 0x80000>;
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		secure_ddr: optee@9e800000 {
    			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
    			alignment = <0x1000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9c800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c800000 0x00 0x100000>;
    			no-map;
    		};
    
    		wkup_r5fss0_core0_memory_region: r5f-dma-memory@9c900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9c900000 0x00 0x01e00000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@9b800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b800000 0x00 0x100000>;
    			no-map;
    		};
    
    		mcu_r5fss0_core0_memory_region: r5f-dma-memory@9b900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x9b900000 0x00 0x0f00000>;
    			no-map;
    		};
    
    		c7x_0_dma_memory_region: c7x-dma-memory@99800000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x99800000 0x00 0x100000>;
    			no-map;
    		};
    
    		c7x_0_memory_region: c7x-memory@99900000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0x99900000 0x00 0x01efffff>;
    			no-map;
    		};
    
    		edgeai_rtos_ipc_memory_region: edgeai-rtos-ipc-memory-region {
    			reg = <0x00 0xa0000000 0x00 0x01000000>;
    			no-map;
    		};
    
    		edgeai_memory_region: edgeai-dma-memory@a1000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0xa1000000 0x00 0x02000000>;
    			no-map;
    		};
    
    		edgeai_shared_region: edgeai_shared-memories {
    			compatible = "dma-heap-carveout";
    			reg = <0x00 0xa3000000 0x00 0x0b000000>;
    		};
    
    		edgeai_core_heaps: edgeai-core-heap-memory@ae000000 {
    			compatible = "shared-dma-pool";
    			reg = <0x00 0xae000000 0x00 0x12000000>;
    			no-map;
    		};
    	};
    
    	vmain_pd: regulator-0 {
    		/* TPS25750 PD CONTROLLER OUTPUT */
    		compatible = "regulator-fixed";
    		regulator-name = "vmain_pd";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vcc_5v0: regulator-1 {
    		/* Output of TPS63070 */
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_5v0";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		vin-supply = <&vmain_pd>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vcc_3v3_main: regulator-2 {
    		/* output of LM5141-Q1 */
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_3v3_main";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vmain_pd>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vdd_mmc1: regulator-3 {
    		/* TPS22918DBVR */
    		compatible = "regulator-fixed";
    		regulator-name = "vdd_mmc1";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		enable-active-high;
    		gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
    	};
    
    	vcc_3v3_sys: regulator-4 {
    		/* output of TPS222965DSGT */
    		compatible = "regulator-fixed";
    		regulator-name = "vcc_3v3_sys";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		vin-supply = <&vcc_3v3_main>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vddshv_sdio: regulator-5 {
    		compatible = "regulator-gpio";
    		regulator-name = "vddshv_sdio";
    		pinctrl-names = "default";
    		pinctrl-0 = <&vddshv_sdio_pins_default>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-boot-on;
    		vin-supply = <&ldo1>;
    		gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
    		states = <1800000 0x0>,
    			 <3300000 0x1>;
    	};
    
    	leds {
    		compatible = "gpio-leds";
    		pinctrl-names = "default";
    		pinctrl-0 = <&usr_led_pins_default>;
    
    		led-0 {
    			label = "am62a-sk:green:heartbeat";
    			gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>;
    			linux,default-trigger = "heartbeat";
    			function = LED_FUNCTION_HEARTBEAT;
    			default-state = "off";
    		};
    	};
    
    	tlv320_mclk: clk-0 {
    		#clock-cells = <0>;
    		compatible = "fixed-clock";
    		clock-frequency = <12288000>;
    	};
    
    	codec_audio: sound {
    		compatible = "simple-audio-card";
    		simple-audio-card,name = "AM62Ax-SKEVM";
    		simple-audio-card,widgets =
    			"Headphone",	"Headphone Jack",
    			"Line",		"Line In",
    			"Microphone",	"Microphone Jack";
    		simple-audio-card,routing =
    			"Headphone Jack",	"HPLOUT",
    			"Headphone Jack",	"HPROUT",
    			"LINE1L",		"Line In",
    			"LINE1R",		"Line In",
    			"MIC3R",		"Microphone Jack",
    			"Microphone Jack",	"Mic Bias";
    		simple-audio-card,format = "dsp_b";
    		simple-audio-card,bitclock-master = <&sound_master>;
    		simple-audio-card,frame-master = <&sound_master>;
    		simple-audio-card,bitclock-inversion;
    
    		simple-audio-card,cpu {
    			sound-dai = <&mcasp1>;
    		};
    
    		sound_master: simple-audio-card,codec {
    			sound-dai = <&tlv320aic3106>;
    			clocks = <&tlv320_mclk>;
    		};
    	};
    
    	hdmi0: connector {
    		compatible = "hdmi-connector";
    		label = "hdmi";
    		type = "a";
    		port {
    			hdmi_connector_in: endpoint {
    				remote-endpoint = <&sii9022_out>;
    			};
    		};
    	};
    };
    
    &main_pmx0 {
    	main_uart0_pins_default: main-uart0-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
    			AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
    		>;
    	};
    
    	main_i2c0_pins_default: main-i2c0-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */
    			AM62AX_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */
    		>;
    	};
    
    	main_i2c1_pins_default: main-i2c1-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */
    			AM62AX_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */
    		>;
    	};
    
    	main_i2c2_pins_default: main-i2c2-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */
    			AM62AX_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */
    		>;
    	};
    
    	main_mmc1_pins_default: main-mmc1-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
    			AM62AX_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */
    			AM62AX_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */
    			AM62AX_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */
    			AM62AX_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */
    			AM62AX_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
    			AM62AX_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */
    		>;
    	};
    
    	usr_led_pins_default: usr-led-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x244, PIN_OUTPUT, 7) /* (D18) MMC1_SDWP.GPIO1_49 */
    		>;
    	};
    
    	main_usb1_pins_default: main-usb1-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */
    		>;
    	};
    
    	main_mdio1_pins_default: main-mdio1-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */
    			AM62AX_IOPAD(0x15c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */
    		>;
    	};
    
    	main_rgmii1_pins_default: main-rgmii1-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x14c, PIN_INPUT, 0) /* (AB16) RGMII1_RD0 */
    			AM62AX_IOPAD(0x150, PIN_INPUT, 0) /* (V15) RGMII1_RD1 */
    			AM62AX_IOPAD(0x154, PIN_INPUT, 0) /* (W15) RGMII1_RD2 */
    			AM62AX_IOPAD(0x158, PIN_INPUT, 0) /* (V14) RGMII1_RD3 */
    			AM62AX_IOPAD(0x148, PIN_INPUT, 0) /* (AA16) RGMII1_RXC */
    			AM62AX_IOPAD(0x144, PIN_INPUT, 0) /* (AA15) RGMII1_RX_CTL */
    			AM62AX_IOPAD(0x134, PIN_INPUT, 0) /* (Y17) RGMII1_TD0 */
    			AM62AX_IOPAD(0x138, PIN_INPUT, 0) /* (V16) RGMII1_TD1 */
    			AM62AX_IOPAD(0x13c, PIN_INPUT, 0) /* (Y16) RGMII1_TD2 */
    			AM62AX_IOPAD(0x140, PIN_INPUT, 0) /* (AA17) RGMII1_TD3 */
    			AM62AX_IOPAD(0x130, PIN_INPUT, 0) /* (AB17) RGMII1_TXC */
    			AM62AX_IOPAD(0x12c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */
    		>;
    	};
    
    	main_mcasp1_pins_default: main-mcasp1-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x090, PIN_INPUT, 2) /* (L19) GPMC0_BE0n_CLE.MCASP1_ACLKX */
    			AM62AX_IOPAD(0x098, PIN_INPUT, 2) /* (R18) GPMC0_WAIT0.MCASP1_AFSX */
    			AM62AX_IOPAD(0x08c, PIN_OUTPUT, 2) /* (K19) GPMC0_WEn.MCASP1_AXR0 */
    			AM62AX_IOPAD(0x084, PIN_INPUT, 2) /* (L18) GPMC0_ADVn_ALE.MCASP1_AXR2 */
    		>;
    	};
    
    	main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */
    
    		>;
    	};
    
    	main_dss0_pins_default: main-dss0-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x100, PIN_OUTPUT, 0) /* (V17) VOUT0_VSYNC */
    			AM62AX_IOPAD(0x0f8, PIN_OUTPUT, 0) /* (T18) VOUT0_HSYNC */
    			AM62AX_IOPAD(0x104, PIN_OUTPUT, 0) /* (AA22) VOUT0_PCLK */
    			AM62AX_IOPAD(0x0fc, PIN_OUTPUT, 0) /* (U17) VOUT0_DE */
    			AM62AX_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */
    			AM62AX_IOPAD(0x0bc, PIN_OUTPUT, 0) /* (U21) VOUT0_DATA1 */
    			AM62AX_IOPAD(0x0c0, PIN_OUTPUT, 0) /* (U20) VOUT0_DATA2 */
    			AM62AX_IOPAD(0x0c4, PIN_OUTPUT, 0) /* (U19) VOUT0_DATA3 */
    			AM62AX_IOPAD(0x0c8, PIN_OUTPUT, 0) /* (T19) VOUT0_DATA4 */
    			AM62AX_IOPAD(0x0cc, PIN_OUTPUT, 0) /* (U18) VOUT0_DATA5 */
    			AM62AX_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (V22) VOUT0_DATA6 */
    			AM62AX_IOPAD(0x0d4, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA7 */
    			AM62AX_IOPAD(0x0d8, PIN_OUTPUT, 0) /* (V19) VOUT0_DATA8 */
    			AM62AX_IOPAD(0x0dc, PIN_OUTPUT, 0) /* (V18) VOUT0_DATA9 */
    			AM62AX_IOPAD(0x0e0, PIN_OUTPUT, 0) /* (W22) VOUT0_DATA10 */
    			AM62AX_IOPAD(0x0e4, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA11 */
    			AM62AX_IOPAD(0x0e8, PIN_OUTPUT, 0) /* (W20) VOUT0_DATA12 */
    			AM62AX_IOPAD(0x0ec, PIN_OUTPUT, 0) /* (W19) VOUT0_DATA13 */
    			AM62AX_IOPAD(0x0f0, PIN_OUTPUT, 0) /* (Y21) VOUT0_DATA14 */
    			AM62AX_IOPAD(0x0f4, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA15 */
    			AM62AX_IOPAD(0x05c, PIN_OUTPUT, 1) /* (P22) GPMC0_AD8.VOUT0_DATA16 */
    			AM62AX_IOPAD(0x060, PIN_OUTPUT, 1) /* (R19) GPMC0_AD9.VOUT0_DATA17 */
    			AM62AX_IOPAD(0x064, PIN_OUTPUT, 1) /* (R20) GPMC0_AD10.VOUT0_DATA18 */
    			AM62AX_IOPAD(0x068, PIN_OUTPUT, 1) /* (R22) GPMC0_AD11.VOUT0_DATA19 */
    			AM62AX_IOPAD(0x06c, PIN_OUTPUT, 1) /* (T22) GPMC0_AD12.VOUT0_DATA20 */
    			AM62AX_IOPAD(0x070, PIN_OUTPUT, 1) /* (R21) GPMC0_AD13.VOUT0_DATA21 */
    			AM62AX_IOPAD(0x074, PIN_OUTPUT, 1) /* (T20) GPMC0_AD14.VOUT0_DATA22 */
    			AM62AX_IOPAD(0x078, PIN_OUTPUT, 1) /* (T21) GPMC0_AD15.VOUT0_DATA23 */
    		>;
    	};
    
    	main_mmc0_pins_default: main-mmc0-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */
    			AM62AX_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLKLB */
    			AM62AX_IOPAD(0x21c, PIN_INPUT, 0) /* (AB1) MMC0_CLK */
    			AM62AX_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */
    			AM62AX_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */
    			AM62AX_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */
    			AM62AX_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */
    			AM62AX_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */
    			AM62AX_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */
    			AM62AX_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */
    			AM62AX_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */
    		>;
    	};
    
    	vddshv_sdio_pins_default: vddshv-sdio-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */
    		>;
    	};
    
    	ospi0_pins_default: ospi0-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */
    			AM62AX_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */
    			AM62AX_IOPAD(0x00c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */
    			AM62AX_IOPAD(0x010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */
    			AM62AX_IOPAD(0x014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */
    			AM62AX_IOPAD(0x018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */
    			AM62AX_IOPAD(0x01c, PIN_INPUT, 0) /* (J23) OSPI0_D4 */
    			AM62AX_IOPAD(0x020, PIN_INPUT, 0) /* (J25) OSPI0_D5 */
    			AM62AX_IOPAD(0x024, PIN_INPUT, 0) /* (H25) OSPI0_D6 */
    			AM62AX_IOPAD(0x028, PIN_INPUT, 0) /* (J22) OSPI0_D7 */
    			AM62AX_IOPAD(0x008, PIN_INPUT, 0) /* (J24) OSPI0_DQS */
    		>;
    	};
    };
    
    &mcu_pmx0 {
    	status = "okay";
    
    	pmic_irq_pins_default: pmic-irq-pins-default {
    		pinctrl-single,pins = <
    			AM62AX_MCU_IOPAD(0x000, PIN_INPUT, 7) /* (E11) MCU_GPIO0_0 */
    		>;
    	};
    };
    
    &mcu_gpio0 {
    	status = "okay";
    };
    
    &main_i2c0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c0_pins_default>;
    	clock-frequency = <400000>;
    
    	typec_pd0: usb-power-controller@3f {
    		compatible = "ti,tps6598x";
    		reg = <0x3f>;
    
    		connector {
    			compatible = "usb-c-connector";
    			label = "USB-C";
    			self-powered;
    			data-role = "dual";
    			power-role = "sink";
    			port {
    				usb_con_hs: endpoint {
    					remote-endpoint = <&usb0_hs_ep>;
    				};
    			};
    		};
    	};
    
    	tps659312: pmic@48 {
    		compatible = "ti,tps6593-q1";
    		reg = <0x48>;
    		ti,primary-pmic;
    		system-power-controller;
    
    		gpio-controller;
    		#gpio-cells = <2>;
    
    		pinctrl-names = "default";
    		pinctrl-0 = <&pmic_irq_pins_default>;
    		interrupt-parent = <&mcu_gpio0>;
    		interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
    
    		buck123-supply = <&vcc_3v3_sys>;
    		buck4-supply = <&vcc_3v3_sys>;
    		buck5-supply = <&vcc_3v3_sys>;
    		ldo1-supply = <&vcc_3v3_sys>;
    		ldo2-supply = <&vcc_3v3_sys>;
    		ldo3-supply = <&buck5>;
    		ldo4-supply = <&vcc_3v3_sys>;
    
    		regulators {
    			buck123: buck123 {
    				regulator-name = "vcc_core";
    				regulator-min-microvolt = <715000>;
    				regulator-max-microvolt = <895000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			buck4: buck4 {
    				regulator-name = "vcc_1v1";
    				regulator-min-microvolt = <1100000>;
    				regulator-max-microvolt = <1100000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			buck5: buck5 {
    				regulator-name = "vcc_1v8_sys";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo1: ldo1 {
    				regulator-name = "vddshv5_sdio";
    				regulator-min-microvolt = <3300000>;
    				regulator-max-microvolt = <3300000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo2: ldo2 {
    				regulator-name = "vpp_1v8";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo3: ldo3 {
    				regulator-name = "vcc_0v85";
    				regulator-min-microvolt = <850000>;
    				regulator-max-microvolt = <850000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    
    			ldo4: ldo4 {
    				regulator-name = "vdda_1v8";
    				regulator-min-microvolt = <1800000>;
    				regulator-max-microvolt = <1800000>;
    				regulator-boot-on;
    				regulator-always-on;
    			};
    		};
    	};
    };
    
    &main_i2c1 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c1_pins_default>;
    	clock-frequency = <100000>;
    
    	exp1: gpio@22 {
    		compatible = "ti,tca6424";
    		reg = <0x22>;
    		gpio-controller;
    		#gpio-cells = <2>;
    
    		interrupt-parent = <&main_gpio1>;
    		interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
    		interrupt-controller;
    		#interrupt-cells = <2>;
    
    		gpio-line-names = "GPIO_CPSW2_RST", "GPIO_CPSW1_RST",
    				   "BT_EN_SOC", "MMC1_SD_EN",
    				   "VPP_EN", "EXP_PS_3V3_En",
    				   "EXP_PS_5V0_En", "EXP_HAT_DETECT",
    				   "GPIO_AUD_RSTn", "GPIO_eMMC_RSTn",
    				   "UART1_FET_BUF_EN", "BT_UART_WAKE_SOC",
    				   "GPIO_HDMI_RSTn", "CSI_GPIO0",
    				   "CSI_GPIO1", "WLAN_ALERTn",
    				   "HDMI_INTn", "TEST_GPIO2",
    				   "MCASP1_FET_EN", "MCASP1_BUF_BT_EN",
    				   "MCASP1_FET_SEL", "UART1_FET_SEL",
    				   "PD_I2C_IRQ", "IO_EXP_TEST_LED";
    
    		pinctrl-names = "default";
    		pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>;
    	};
    
    	exp2: gpio@23 {
    		compatible = "ti,tca6424";
    		reg = <0x23>;
    		gpio-controller;
    		#gpio-cells = <2>;
    
    		gpio-line-names = "", "",
    				  "", "",
    				  "", "",
    				  "", "",
    				  "WL_LT_EN", "CSI_RSTz",
    				  "", "",
    				  "", "",
    				  "", "",
    				  "SPI0_FET_SEL", "SPI0_FET_OE",
    				  "RGMII2_BRD_CONN_DET", "CSI_SEL2",
    				  "CSI_EN", "AUTO_100M_1000M_CONFIG",
    				  "CSI_VLDO_SEL", "SoC_WLAN_SDIO_RST";
    	};
    
    	tlv320aic3106: audio-codec@1b {
    		#sound-dai-cells = <0>;
    		compatible = "ti,tlv320aic3106";
    		reg = <0x1b>;
    		ai3x-micbias-vg = <1>;	/* 2.0V */
    		ai3x-ocmv = <1>;	/* 1.5V */
    
    		/* Regulators */
    		AVDD-supply = <&vcc_3v3_sys>;
    		IOVDD-supply = <&vcc_3v3_sys>;
    		DRVDD-supply = <&vcc_3v3_sys>;
    	};
    
    	sii9022: sii9022@3b {
    		#sound-dai-cells = <0>;
    		compatible = "sil,sii9022";
    		reg = <0x3b>;
    
    		interrupt-parent = <&exp1>;
    		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
    
    		sil,i2s-data-lanes = < 0 >;
    
    		ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    
    			port@0 {
    				reg = <0>;
    
    				sii9022_in: endpoint {
    					remote-endpoint = <&dpi1_out>;
    				};
    			};
    
    			port@1 {
    				reg = <1>;
    
    				sii9022_out: endpoint {
    					remote-endpoint = <&hdmi_connector_in>;
    				};
    			};
    		};
    	};
    
    };
    
    &main_i2c2 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_i2c2_pins_default>;
    	clock-frequency = <400000>;
    };
    
    &sdhci1 {
    	/* SD/MMC */
    	status = "okay";
    	vmmc-supply = <&vdd_mmc1>;
    	vqmmc-supply = <&vddshv_sdio>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc1_pins_default>;
    	disable-wp;
    };
    
    &main_gpio0 {
    	status = "okay";
    };
    
    &main_gpio1 {
    	status = "okay";
    };
    
    &main_gpio_intr {
    	status = "okay";
    };
    
    &main_uart0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_uart0_pins_default>;
    	interrupts-extended = <&gic500 GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
    			<&main_pmx0 0x1c8>; /* (D14) UART0_RXD PADCONFIG114 */
    	interrupt-names = "irq", "wakeup";
    };
    
    &usbss0 {
    	status = "okay";
    	ti,vbus-divider;
    };
    
    &usb0 {
    	usb-role-switch;
            bootph-all;
            dr_mode = "host";
    	port {
    		usb0_hs_ep: endpoint {
    			remote-endpoint = <&usb_con_hs>;
    		};
    	};
    };
    
    &usbss1 {
    	status = "okay";
    };
    
    &usb1 {
    	dr_mode = "peripheral";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_usb1_pins_default>;
    };
    
    &cpsw3g {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_rgmii1_pins_default>;
    
    	cpts@3d000 {
    		/* MAP HW3_TS_PUSH to GENF1 */
    		ti,pps = <2 1>;
    	};
    };
    
    &cpsw_port1 {
    	status = "okay";
    	phy-mode = "rgmii-rxid";
    	phy-handle = <&cpsw3g_phy0>;
    };
    
    &cpsw_port2 {
    	status = "disabled";
    };
    
    &cpsw3g_mdio {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mdio1_pins_default>;
    
    	cpsw3g_phy0: ethernet-phy@0 {
    		reg = <0>;
    		ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
    		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    		ti,min-output-impedance;
    	};
    };
    
    &mcasp1 {
    	status = "okay";
    	#sound-dai-cells = <0>;
    
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mcasp1_pins_default>;
    
    	op-mode = <0>;          /* MCASP_IIS_MODE */
    	tdm-slots = <2>;
    
    	serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
    	       1 0 2 0
    	       0 0 0 0
    	       0 0 0 0
    	       0 0 0 0
    	>;
    	tx-num-evt = <0>;
    	rx-num-evt = <0>;
    };
    
    &ti_csi2rx0 {
    	status = "okay";
    };
    
    &dphy0 {
    	status = "okay";
    };
    
    &dss {
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_dss0_pins_default>;
    };
    
    &dss_ports {
    	/* VP2: DPI Output */
    	hdmi0_dss: port@0 {
    		reg = <0>;
    
    		dpi1_out: endpoint {
    			remote-endpoint = <&sii9022_in>;
    		};
    	};
    };
    
    &fss {
    	status = "okay";
    };
    
    &ospi0 {
    	pinctrl-names = "default";
    	pinctrl-0 = <&ospi0_pins_default>;
    
    	flash@0{
    		compatible = "spi-nand";
    		reg = <0x0>;
    		spi-tx-bus-width = <8>;
    		spi-rx-bus-width = <8>;
    		spi-max-frequency = <25000000>;
    		cdns,tshsl-ns = <60>;
    		cdns,tsd2d-ns = <60>;
    		cdns,tchsh-ns = <60>;
    		cdns,tslch-ns = <60>;
    		cdns,read-delay = <2>;
    		cdns,phy-mode;
    
    		partitions {
    			compatible = "fixed-partitions";
    			#address-cells = <1>;
    			#size-cells = <1>;
    
    			partition@0 {
    				label = "ospi_nand.tiboot3";
    				reg = <0x0 0x80000>;
    			};
    
    			partition@80000 {
    				label = "ospi_nand.tispl";
    				reg = <0x80000 0x200000>;
    			};
    
    			partition@280000 {
    				label = "ospi_nand.u-boot";
    				reg = <0x280000 0x400000>;
    			};
    
    			partition@680000 {
    				label = "ospi_nand.env";
    				reg = <0x680000 0x40000>;
    			};
    
    			partition@6c0000 {
    				label = "ospi_nand.env.backup";
    				reg = <0x6c0000 0x40000>;
    			};
    
    			partition@2000000 {
    				label = "ospi_nand.rootfs";
    				reg = <0x2000000 0x5fc0000>;
    			};
    
    			partition@7fc0000 {
    				label = "ospi_nand.phypattern";
    				reg = <0x7fc0000 0x40000>;
    			};
    		};
    	};
    };
    
    &mailbox0_cluster0 {
    	ti,mbox-num-fifos = <2>;
    	mbox_r5_0: mbox-r5-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &mailbox0_cluster1 {
    	ti,mbox-num-fifos = <2>;
    	mbox_c7x_0: mbox-c7x-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &mailbox0_cluster2 {
    	ti,mbox-num-fifos = <2>;
    	mbox_mcu_r5_0: mbox-mcu_r5-0 {
    		ti,mbox-rx = <0 0 0>;
    		ti,mbox-tx = <1 0 0>;
    	};
    };
    
    &c7x_0 {
    	mboxes = <&mailbox0_cluster1 &mbox_c7x_0>;
    	memory-region = <&c7x_0_dma_memory_region>,
    			<&c7x_0_memory_region>;
    };
    
    &wkup_r5fss0_core0 {
    	mboxes = <&mailbox0_cluster0 &mbox_r5_0>;
    	memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
    		<&wkup_r5fss0_core0_memory_region>;
    };
    
    &mcu_r5fss0_core0 {
    	mboxes = <&mailbox0_cluster2 &mbox_mcu_r5_0>;
    	memory-region = <&mcu_r5fss0_core0_dma_memory_region>,
    			<&mcu_r5fss0_core0_memory_region>;
    };
    
    #define K3_TS_OFFSET(pa, val)	(0x4+(pa)*4) (0x10000 | val)
    
    &timesync_router {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&cpsw_cpts>;
    
    	/* Use Time Sync Router to map GENF1 input to HW3_TS_PUSH output */
    	cpsw_cpts: cpsw-cpts {
    		pinctrl-single,pins = <
    			/* pps [cpsw cpts genf1] in17 -> out12 [cpsw cpts hw3_push] */
    			K3_TS_OFFSET(12, 17)
    			>;
    	};
    };
    
    &sdhci0 {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc0_pins_default>;
    	disable-wp;
    };
    

    Could you please support me on this why USB kernel driver not up.

    Thanks 

    Pankaj Verma

  • I have already checked in all defconfig files related to am62a7, i think all the usb related modules is already 'y'.

    Please show the log how you checked them.

  • HI Liu,

    I am sharing the vertual/kernel menuconfig USB related configuration images.

    1. USB_SUPPORT (cont.)

    2. USB_SUPPORT (cont.)

    3. USB_SUPPORT

    4. USB_TYPE-C_SUPPORT section

    5. USB_GEDGET_SUPPORT section

    please see let us know if anything is missing to enable.

    Thanks 

    Pankaj Verma

  • HI Liu,

    After clone new recipes of u-boot-ti-staging and linux-ti-staging, i have seen that after modify command in linux-ti-staging the tps6598x.c (USB pd controller) source file is missing.

    I have enabled in virtual/kernel menuconfig but in build-in.a is not showing any tps6598x.o related changes.

    my uboot is working fine, but kernel is not loading properly.

    I am using below command for build linux-ti-staging and full image

    1.run "devtool modify linux-ti-staging"

    2. do the changes in dts file and menuconfig

    3. run "bitbake linux-ti-staging"

    4. for full image run "bitbake tisdk-edgeai-image"

    Can you please tell me why source file is not fetching properly, Is it due to kernel version or something else is there which i am messing.

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    The following kernel config options should be set to =y:

    CONFIG_USB_COMMON=y
    CONFIG_USB=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_XHCI_PCI=y
    CONFIG_USB_XHCI_PLATFORM=y
    CONFIG_USB_STORAGE=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_AM62=y
    CONFIG_USB_GADGET=y
    CONFIG_TYPEC=y
    CONFIG_TYPEC_TPS6598X=y
    CONFIG_USB_ROLE_SWITCH=y

    Please check the "Boot Linux from USB storage" instructions linked below. Though this is in AM62x SDK doc, the instruction applies to AM62Ax too.

    https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/11_02_08_02/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory-K3.html#boot-linux-from-usb-storage

  • Hi Liu,

    I have tried lot of time to clean/ delete and clone recipes of u-boot-ti-staging and linux-ti-staging but problem is still same for me.

    As i said earlier, After clone new recipes of u-boot-ti-staging and linux-ti-staging, i have seen that after execution of run "run "devtool modify linux-ti-staging"" and "devtool modify linux-ti-staging" the tps6598x.c source file is missing.

    After adding below lines in a53 defconfig i am getting error.

    CONFIG_USB_COMMON=y
    CONFIG_USB=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_XHCI_PCI=y
    CONFIG_USB_XHCI_PLATFORM=y
    CONFIG_USB_STORAGE=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_AM62=y
    CONFIG_USB_GADGET=y
    CONFIG_TYPEC=y
    CONFIG_TYPEC_TPS6598X=y
    CONFIG_USB_ROLE_SWITCH=y

    Error is below

    /home/new_sdk_9_02/yocto-build/usb_build/workspace/sources/u-boot-ti-staging/drivers/usb/host/xhci-pci.c:29: undefined reference to `dm_pci_map_bar'
    | aarch64-oe-linux-ld.bfd: /home/new_sdk_9_02/yocto-build/usb_build/workspace/sources/u-boot-ti-staging/drivers/usb/host/xhci-pci.c:47: undefined reference to `dm_pci_read_config32'
    | aarch64-oe-linux-ld.bfd: /home/new_sdk_9_02/yocto-build/usb_build/workspace/sources/u-boot-ti-staging/drivers/usb/host/xhci-pci.c:49: undefined reference to `dm_pci_write_config32'


    I see — from your Yocto build log in TI Processor SDK Linux 9.02 for AM62A7, the U‑Boot compile failure is now clearly pinpointed to linker errors in xhci-pci.c:

    undefined reference to `dm_pci_map_bar`
    undefined reference to `dm_pci_read_config32`
    undefined reference to `dm_pci_write_config32`


    Can you please tell me why at my side  tps6598x.c source file is missing.
    after adding changes getting undefined error.
    Is i am using a correct method for build sdk for USB MSC.
    Thank
    Pankaj Verma


  • Hi Pankaj,

    Let's see if Vinu can help validate the kernel config to build in the required USB drivers.

  • Hi Bin, Pankaj,

    Also, I was able to boot the prebuilt Linux (latest) using the USB MSC with u-boot from SDK 9.02.

    As mentioned, I could boot the prebuilt Linux image using the updated u-boot from SDK 9.02.

    Let me try to build the Linux image from Yocto and try out. 

      Meanwhile, can you try booting the prebuilt Linux in your setup, with just the DT update?

    Also, please share your current Linux config too.

    Regards,
    Vinu

  • Hi Pankaj,

    I was able to configure the kernel and boot from MSC, with Yocto 9.02 itself.

    Please find the boot logs.

    U-Boot SPL 2023.04 (Jan 29 2026 - 10:36:45 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    SPL initial stack usage: 13568 bytes
    SPL possible initial stack overflow detected!!
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04 (Jan 29 2026 - 10:35:58 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Trying to boot from USB
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x153 bootmedia = 0x2a bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04 (Jan 29 2026 - 10:35:58 +0530)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => usb start
    starting USB...
    Bus usb@31000000: Register 1000840 NbrPorts 1
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@31000000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    => load usb 0:2 ${kernel_addr_r} /boot/Image  
    19509760 bytes read in 525 ms (35.4 MiB/s)
    => load usb 0:2 ${fdt_addr_r} /boot/dtb/ti/k3-am62a7-sk.dtb 
    58284 bytes read in 28 ms (2 MiB/s)
    => setenv bootargs "console=ttyS2,115200 root=/dev/sda2 rw rootwait"
    => booti ${kernel_addr_r} - ${fdt_addr_r}
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008ffee000, end 000000008ffff3ab ... OK
    Working FDT set to 8ffee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.80-ti-gb730b674b445 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Feb 19 10:30:10 UTC 2026
    [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, 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-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009b7fefff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] On node 0, zone DMA: 1 pages in unavailable ranges
    [    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.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032191
    [    0.000000] Kernel command line: console=ttyS2,115200 root=/dev/sda2 rw rootwait
    [    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: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2808700K/4194300K available (11776K kernel code, 1260K rwdata, 3844K rodata, 2048K init, 440K bss, 795776K reserved, 589824K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    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 @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000293] Console: colour dummy device 80x25
    [    0.000340] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000351] pid_max: default: 32768 minimum: 301
    [    0.000397] LSM: Security Framework initializing
    [    0.000498] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000516] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001956] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.001967] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.002028] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.002032] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.002172] rcu: Hierarchical SRCU implementation.
    [    0.002176] rcu: 	Max phase no-delay instances is 1000.
    [    0.002390] Platform MSI: msi-controller@1820000 domain created
    [    0.002574] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.002808] EFI services will not be available.
    [    0.003021] smp: Bringing up secondary CPUs ...
    [    0.003579] Detected VIPT I-cache on CPU1
    [    0.003665] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.003681] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.003725] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.004383] Detected VIPT I-cache on CPU2
    [    0.004453] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.004467] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.004495] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.005043] Detected VIPT I-cache on CPU3
    [    0.005111] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.005125] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.005153] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.005210] smp: Brought up 1 node, 4 CPUs
    [    0.005216] SMP: Total of 4 processors activated.
    [    0.005221] CPU features: detected: 32-bit EL0 Support
    [    0.005226] CPU features: detected: CRC32 instructions
    [    0.005278] CPU: All CPU(s) started at EL2
    [    0.005281] alternatives: applying system-wide alternatives
    [    0.006734] devtmpfs: initialized
    [    0.014874] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.014899] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.031463] pinctrl core: initialized pinctrl subsystem
    [    0.031965] DMI not present or invalid.
    [    0.032544] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.033394] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.033615] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.033774] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.033838] audit: initializing netlink subsys (disabled)
    [    0.033957] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
    [    0.034349] thermal_sys: Registered thermal governor 'step_wise'
    [    0.034354] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.034392] cpuidle: using governor menu
    [    0.034519] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.034599] ASID allocator initialised with 65536 entries
    [    0.044464] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.047536] KASLR disabled due to lack of seed
    [    0.053942] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.053952] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.053958] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.053961] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.053965] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.053969] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.053973] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.053976] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.055176] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.056626] iommu: Default domain type: Translated 
    [    0.056636] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.056867] SCSI subsystem initialized
    [    0.057153] usbcore: registered new interface driver usbfs
    [    0.057184] usbcore: registered new interface driver hub
    [    0.057207] usbcore: registered new device driver usb
    [    0.057590] pps_core: LinuxPPS API ver. 1 registered
    [    0.057594] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.057606] PTP clock support registered
    [    0.057732] EDAC MC: Ver: 3.0.0
    [    0.058479] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.058625] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.058757] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.058812] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.059088] FPGA manager framework
    [    0.059164] Advanced Linux Sound Architecture Driver Initialized.
    [    0.059973] clocksource: Switched to clocksource arch_sys_counter
    [    0.060157] VFS: Disk quotas dquot_6.6.0
    [    0.060191] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.065977] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [    0.066080] NET: Registered PF_INET protocol family
    [    0.066289] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.069199] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.069275] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.069290] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.069506] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.070308] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.070436] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.070528] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.070747] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.071119] RPC: Registered named UNIX socket transport module.
    [    0.071125] RPC: Registered udp transport module.
    [    0.071128] RPC: Registered tcp transport module.
    [    0.071131] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.071138] NET: Registered PF_XDP protocol family
    [    0.071152] PCI: CLS 0 bytes, default 64
    [    0.071783] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.073299] Initialise system trusted keyrings
    [    0.073480] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.077845] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.078369] NFS: Registering the id_resolver key type
    [    0.078398] Key type id_resolver registered
    [    0.078401] Key type id_legacy registered
    [    0.078452] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.078457] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.113499] Key type asymmetric registered
    [    0.113507] Asymmetric key parser 'x509' registered
    [    0.113557] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.113692] io scheduler mq-deadline registered
    [    0.113697] io scheduler kyber registered
    [    0.116755] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.117355] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.118784] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.124806] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.133556] loop: module loaded
    [    0.134716] megasas: 07.719.03.00-rc1
    [    0.137628] tun: Universal TUN/TAP device driver, 1.6
    [    0.138320] VFIO - User Level meta-driver version: 0.3
    [    0.139583] usbcore: registered new interface driver usb-storage
    [    0.140126] i2c_dev: i2c /dev entries driver
    [    0.141508] sdhci: Secure Digital Host Controller Interface driver
    [    0.141517] sdhci: Copyright(c) Pierre Ossman
    [    0.141724] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.142419] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.142577] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.142915] usbcore: registered new interface driver usbhid
    [    0.142919] usbhid: USB HID core driver
    [    0.143726] optee: probing for conduit method.
    [    0.143752] optee: revision 4.1 (012cdca4)
    [    0.144042] optee: dynamic shared memory is enabled
    [    0.144390] optee: initialized driver
    [    0.145779] Initializing XFRM netlink socket
    [    0.145812] NET: Registered PF_PACKET protocol family
    [    0.145874] Key type dns_resolver registered
    [    0.146188] registered taskstats version 1
    [    0.146208] Loading compiled-in X.509 certificates
    [    0.154543] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [    0.191193] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    0.191363] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.192676] pca953x 1-0023: supply vcc not found, using dummy regulator
    [    0.192775] pca953x 1-0023: using AI
    [    0.218407] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.219318] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.219518] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.219644] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.219849] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.220121] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    0.221375] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    0.223272] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    0.225551] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    0.229100] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    0.230818] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    0.231227] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    0.232263] printk: console [ttyS2] disabled
    [    0.232321] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.724856] printk: console [ttyS2] enabled
    [    1.731266] spi-nand spi0.0: Winbond SPI NAND was found.
    [    1.736604] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    1.744968] 7 fixed-partitions partitions found on MTD device spi0.0
    [    1.751324] Creating 7 MTD partitions on "spi0.0":
    [    1.756111] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    1.763370] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    1.770941] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    1.779346] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    1.786011] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    1.793352] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    1.837604] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    1.884011] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.893505] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.901636] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.914415] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.921542] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.927882] pps pps0: new PPS source ptp0
    [    1.932141] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.942387] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.951669] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.957200] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.964959] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    1.970962] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    1.980383] xhci-hcd xhci-hcd.0.auto: irq 260, io mem 0x31000000
    [    1.987028] hub 1-0:1.0: USB hub found
    [    1.990802] hub 1-0:1.0: 1 port detected
    [    1.996965] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [    2.002486] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [    2.010314] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
    [    2.016373] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010
    [    2.025797] xhci-hcd xhci-hcd.1.auto: irq 261, io mem 0x31100000
    [    2.032415] hub 2-0:1.0: USB hub found
    [    2.036187] hub 2-0:1.0: 1 port detected
    [    2.041714] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    2.054007] mmc0: CQHCI version 5.10
    [    2.098846] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.184159] mmc0: Command Queue Engine enabled
    [    2.188624] mmc0: new HS200 MMC card at address 0001
    [    2.194318] mmcblk0: mmc0:0001 G1M15L 29.6 GiB 
    [    2.201212] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB 
    [    2.207131] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB 
    [    2.212954] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (240:0)
    [    2.247994] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [    2.367584] tps6594-rtc tps6594-rtc.6.auto: registered as rtc0
    [    2.373594] tps6594-rtc tps6594-rtc.6.auto: hctosys: unable to read the hardware clock
    [    2.381942] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    2.388681] pca953x 1-0022: using AI
    [    2.399486] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.407120] mmc1: CQHCI version 5.10
    [    2.408184] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.410844] usb-storage 1-1:1.0: USB Mass Storage device detected
    [    2.418046] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.424514] scsi host0: usb-storage 1-1:1.0
    [    2.436869] ALSA device list:
    [    2.439843]   No soundcards found.
    [    3.481479] scsi 0:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 7
    [    3.530320] sd 0:0:0:0: [sda] 120164352 512-byte logical blocks: (61.5 GB/57.3 GiB)
    [    3.539475] sd 0:0:0:0: [sda] Write Protect is off
    [    3.580733] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    3.635420]  sda: sda1 sda2
    [    3.640327] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [    3.931052] sdhci-am654 fa00000.mmc: Power on failed
    [    3.967192] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    4.022004] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
    [    4.030342] VFS: Mounted root (ext4 filesystem) on device 8:2.
    [    4.040906] devtmpfs: mounted
    [    4.045024] Freeing unused kernel memory: 2048K
    [    4.049677] Run /sbin/init as init process
    [    4.385261] systemd[1]: System time before build time, advancing clock.
    [    4.462294] NET: Registered PF_INET6 protocol family
    [    4.469337] Segment Routing with IPv6
    [    4.473099] In-situ OAM (IOAM) with IPv6
    [    4.522599] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    4.555296] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    4.621556] systemd[1]: Hostname set to <am62axx-evm>.
    [    4.637378] systemd[1]: Initializing machine ID from random generator.
    [    4.767770] systemd-sysv-generator[161]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    5.097913] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    5.177711] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    5.263564] systemd[1]: Queued start job for default target Graphical Interface.
    [    5.329166] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    5.354775] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    5.378920] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    5.402369] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    5.424792] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password �ts to Console Directory Watch.
    [    5.448385] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R�uests to Wall Directory Watch.
    [    5.472875] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    5.488218] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    5.508284] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    5.524231] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    5.604166] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    5.629015] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    5.684464] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    5.709096] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    5.734056] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    5.757560] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    5.782700] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.803713] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    5.831182] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.854180] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.878373] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    5.952975] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    5.976050] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.993931] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    6.012942] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    6.036349] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    6.089267] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    6.119512] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    6.141428] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    6.161762] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    6.200837] fuse: init (API version 7.37)
    [    6.221292] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    6.254167] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    6.268555] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    6.290578] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    6.317608] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    6.337480] systemd[1]: Starting Generate network units from Kernel command line...
    [    6.338390] cryptodev: loading out-of-tree module taints kernel.
             Starting Generate network �ts from Kernel co[    6.352647] cryptodev: driver 1.12 loaded.
    mmand line...
    [    6.377064] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    6.396703] EXT4-fs (sda2): re-mounted. Quota mode: none.
    [    6.407492] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    6.433854] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    6.448677] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star�progress communication helper.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    6.872260] systemd-journald[176]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create System Users...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create System Users.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [    7.170318] audit: type=1334 audit(1651167747.784:2): prog-id=5 op=LOAD
    [    7.177036] audit: type=1334 audit(1651167747.792:3): prog-id=6 op=LOAD
             Starting Rule-based Manage�for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Rebuild Journal Catalog...
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [    7.468028] random: crng init done
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Finished Rebuild Journal Catalog.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [    7.906510] mc: Linux media interface: v0.10
    [  OK  ] Found device /dev/ttyS2.
    [    7.971942] videodev: Linux video capture interface: v2.00
    [    8.049650] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    8.059952] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    8.069974] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [    8.081370] k3-dsp-rproc 7e000000.dsp: configured DSP for remoteproc mode
    [    8.084663] i2c i2c-1: Added multiplexed i2c bus 3
    [    8.098381] remoteproc remoteproc0: 7e000000.dsp is available
    [    8.104312] k3-dsp-rproc 7e000000.dsp: register pm nitifiers in remoteproc mode
    [    8.118359] tlv320aic3x 1-001b: supply DVDD not found, using dummy regulator
    [    8.131941] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    8.140424] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    8.141271] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [    8.147850] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    8.148030] platform 79000000.r5f: configured R5F for remoteproc mode
    [    8.153808] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [    8.164124] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [    8.190355] remoteproc remoteproc1: 79000000.r5f is available
    [    8.206574] remoteproc remoteproc1: powering up 79000000.r5f
    [    8.212348] remoteproc remoteproc1: Booting fw image am62a-mcu-r5f0_0-fw, size 53172
    [    8.216794] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    8.243500] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [    8.244350] platform 78000000.r5f: configured R5F for IPC-only mode
    [    8.253167] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.259108] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.269203] rproc-virtio rproc-virtio.8.auto: registered virtio0 (type 7)
    [    8.272350] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    8.280571] remoteproc remoteproc1: remote processor 79000000.r5f is now up
    [    8.296008] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [    8.326476] remoteproc remoteproc2: 78000000.r5f is available
    [    8.334079] remoteproc remoteproc2: attaching to 78000000.r5f
    [    8.348675] e5010 fd20000.e5010: Device registered as /dev/video2
    [    8.363153] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    8.363448] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [    8.370108] rproc-virtio rproc-virtio.9.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [    8.388579] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.389232] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    8.394526] rproc-virtio rproc-virtio.9.auto: registered virtio1 (type 7)
    [    8.414966] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [    8.433178] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [    8.434492] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    8.434492] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [    8.440498] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    8.443742] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    8.444236] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [    8.456898] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    8.859733] remoteproc remoteproc0: powering up 7e000000.dsp
    [    8.865597] remoteproc remoteproc0: Booting fw image am62a-c71_0-fw, size 8391984
    [    8.874573] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x9a000000
    [    8.892803] rproc-virtio rproc-virtio.11.auto: assigned reserved memory node c7x-dma-memory@99800000
    [    8.902842] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    8.904760] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.916125] rproc-virtio rproc-virtio.11.auto: registered virtio2 (type 7)
    [    8.917858] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    8.923294] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
    [    9.131140] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
             Starting Start psplash boot splash screen...
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star�progress communication helper.
    [    9.572889] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    9.600997] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    9.652292] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    9.666454] I/O error, dev mtdblock2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
    [    9.676067] I/O error, dev mtdblock2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
    [    9.684706] Buffer I/O error on dev mtdblock2, logical block 0, async page read
    [    9.693860] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [    9.728535] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [   10.418545] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [   10.456031] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [   10.470525] I/O error, dev mtdblock1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
    [   10.480161] I/O error, dev mtdblock1, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
    [   10.488827] Buffer I/O error on dev mtdblock1, logical block 0, async page read
    [  OK  ] Finished Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Finished Update is Completed.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
             Starting Weston socket...
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Reached target Basic System.
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting DEMO...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting Expand the rootfs�ll size of the boot device....
    [  OK  ] Started strongSwan IPsec I�IKEv2 daemon using ipsec.conf.
             Starting File System Check on /dev/sda1...
    [   11.228051] audit: type=1334 audit(1651167751.840:4): prog-id=7 op=LOAD
    [   11.235166] audit: type=1334 audit(1651167751.848:5): prog-id=8 op=LOAD
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Finished Save/Restore Sound Card State.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Expand the rootfs�full size of the boot device..
    [  OK  ] Finished Telnet Server.
    [  OK  ] Reached target Preparation for Network.
    [  OK  ] Reached target Sound Card.
             Starting Network Configuration...
    [  OK  ] Started DEMO.
    [  OK  ] Started Telephony service.
    [  OK  ] Listening on Load/Save RF �itch Status /dev/rfkill Watch.
    [   11.475848] Bluetooth: Core ver 2.22
    [   11.479642] NET: Registered PF_BLUETOOTH protocol family
    [   11.485589] Bluetooth: HCI device and connection manager initialized
    [   11.492373] Bluetooth: HCI socket layer initialized
    [   11.497332] Bluetooth: L2CAP socket layer initialized
    [   11.503018] Bluetooth: SCO socket layer initialized
    [  OK  ] Started User Login Management.
    [   11.660033] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   11.678311] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   11.685735] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [  OK  ] Finished File System Check on /dev/sda1.
             Mounting /run/media/boot-sda1...
    [  OK  ] Started Network Configuration.
             Starting Network Name Resolution...
    [   11.841089] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   11.850630] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Mounted /run/media/boot-sda1.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma�ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland�ositor, as a system service...
    [  OK  ] Finished Synchronize System and HW clocks.
    [   12.525616] audit: type=1334 audit(1651167753.140:6): prog-id=9 op=LOAD
    [   12.532352] audit: type=1334 audit(1651167753.148:7): prog-id=10 op=LOAD
             Starting User Database Manager...
    [  OK  ] Started User Database Manager.
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [   12.947588] audit: type=1006 audit(1651167753.560:8): pid=623 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [   12.960204] audit: type=1300 audit(1651167753.560:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc171ea98 a2=4 a3=ffff824a1020 items=0 ppid=1 pid=623 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   12.986751] audit: type=1327 audit(1651167753.560:8): proctitle="(systemd)"
    [  OK  ] Started Simple Network Man�ement Protocol (SNMP) Daemon..
    [  OK  ] Started User Manager for UID 1000.
    [  OK  ] Started Session c1 of User weston.
    [   13.730328] audit: type=1006 audit(1651167754.344:9): pid=617 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [   13.742767] audit: type=1300 audit(1651167754.344:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffc171ea98 a2=4 a3=ffff824a1020 items=0 ppid=1 pid=617 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [   13.769059] audit: type=1327 audit(1651167754.344:9): proctitle="(weston)"
    [  OK  ] Started Weston, a Wayland �mpositor, as a system service.
    [  OK  ] Started containerd container runtime.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
    	adwaita-icon-theme-symbolic
    	autoconf
    	bash-dev
    	bash
    	bc
    	binutils
    	cifs-utils
    	coreutils-stdbuf
    	coreutils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gnu-config
    	grub-common
    	grub-editenv
    	grub-efi
    	gzip
    	hidapi
    	less
    	libasm1
    	libatomic-dev
    	libatomic1
    	libbfd
    	libdebuginfod1
    	libdw1
    	libelf1
    	libgcc-s-dev
    	libgcc1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmpc3
    	libmpfr6
    	libopcodes
    	libqt5charts-examples
    	libqt5charts-plugins
    	libqt5charts-qmlplugins
    	libqt5charts5
    	libqt5sensors-plugins
    	libqt5sensors-qmlplugins
    	libqt5sensors5
    	libqt5serialport-examples
    	libqt5serialport-plugins
    	libqt5serialport-qmlplugins
    	libqt5serialport5
    	libqt5svg-examples
    	libqt5svg-plugins
    	libqt5svg-qmlplugins
    	libqt5svg5
    	libqt5virtualkeyboard-plugins
    	libqt5virtualkeyboard-qmlplugins
    	libqt5virtualkeyboard5
    	libqt5webchannel-plugins
    	libqt5webchannel-qmlplugins
    	libqt5webchannel5
    	libreadline-dev
    	libreadline8
    	libstdc++-dev
    	libstdc++6
    	libunistring2
    	m4-dev
    	m4
    	make
    	nettle
    	parted
    	piglit
    	qt3d-plugins
    	qt3d-qmlplugins
    	qt3d
    	qtbase-examples
    	qtbase-plugins
    	qtbase-qmlplugins
    	qtbase
    	qtconnectivity-plugins
    	qtconnectivity-qmlplugins
    	qtconnectivity
    	qtdeclarative-plugins
    	qtdeclarative-qmlplugins
    	qtdeclarative-tools
    	qtdeclarative
    	qtgraphicaleffects-qmlplugins
    	qtlocation-examples
    	qtlocation-plugins
    	qtlocation-qmlplugins
    	qtlocation
    	qtmultimedia-examples
    	qtmultimedia-plugins
    	qtmultimedia-qmlplugins
    	qtmultimedia
    	qtquics-qmlplugins.control
    	qtquics2-plugins.control
    	qtquics2-qmlplugins.control
    	qtquics2.control
    	qtscript-examples
    	qtscript-plugins
    	qtscript-qmlplugins
    	qtscript
    	qtwayland-examples
    	qtwayland-plugins
    	qtwayland-qmlplugins
    	qtwayland
    	tar
    	which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62axx-evm -
    
    Arago 2023.10 am62axx-evm -
    
    am62axx-evm login: r[   19.433270] i2c 0-003f: deferred probe pending
    oot
    [   20.383617] audit: type=1006 audit(1651167760.996:10): pid=1008 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   20.396124] audit: type=1300 audit(1651167760.996:10): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffc171ea98 a2=1 a3=ffff824a1020 items=0 ppid=1 pid=1008 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   20.422561] audit: type=1327 audit(1651167760.996:10): proctitle="(systemd)"
    [   20.429650] audit: type=1334 audit(1651167761.020:11): prog-id=11 op=LOAD
    [   20.436484] audit: type=1300 audit(1651167761.020:11): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe2acaef0 a2=78 a3=0 items=0 ppid=1 pid=1008 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   20.461959] audit: type=1327 audit(1651167761.020:11): proctitle="(systemd)"
    [   20.469056] audit: type=1334 audit(1651167761.036:12): prog-id=11 op=UNLOAD
    [   20.476060] audit: type=1334 audit(1651167761.036:13): prog-id=12 op=LOAD
    [   20.482890] audit: type=1300 audit(1651167761.036:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe2acaf90 a2=78 a3=0 items=0 ppid=1 pid=1008 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   20.508375] audit: type=1327 audit(1651167761.036:13): proctitle="(systemd)"
    root@am62axx-evm:~# 
    root@am62axx-evm:~# 
    root@am62axx-evm:~# 

    Sharing the config changes needed.
    CONFIG_USB_XHCI_PLATFORM=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_OF_SIMPLE=y
    CONFIG_USB_DWC3_AM62=y

    Please find the complete config for tisdk-default-image

    new_config.txt


    Regards,

    Vinu

  • HI Vinu,

    Please clarify me that you are using devtool or bitbake for build.

    please share me the build command you have used for build image. 

    "fetch, build and deploy".

    which specific config we need to change bcz as i know i was change only in am62ax_evm_a53_defconfig file.

    Please provide exact process you applied, so i will do the same thing on my end also.

     

    Thanks 

    Pankaj Verma

  • Hi Pankaj,

    which specific config we need to change bcz as i know i was change only in am62ax_evm_a53_defconfig file.

    am62ax_evm_a53_defconfig is the u-boot config file, which will only affect a53 bootloaders, not Linux.

    To build the Linux, update the config using menuconfig.

    1.run "devtool modify linux-ti-staging"

    2. do the changes in dts file and menuconfig

    3. run "bitbake linux-ti-staging"

    4. for full image run "bitbake tisdk-edgeai-image"

    Following are the rough steps that I have followed.

    devtool modify linux-ti-staging
    bitbake -c menuconfig virtual/kernel
    
    # Modify the DTS
    bitbake virtual/kernel -c devshell
    
    # On devshell
    make dtbs
    exit
    
    bitbake virtual/kernel -c compile
    bitbake -k tisdk-default-image

    Please find the additional configs and DTS changes

    CONFIG_USB_XHCI_PLATFORM=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_OF_SIMPLE=y
    CONFIG_USB_DWC3_AM62=y

    diff -u a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
    --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts	2026-02-04 12:09:16.092943941 +0530
    +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts	2026-02-04 12:11:55.626870078 +0530
    @@ -726,6 +726,8 @@
    &usb0 {
    	usb-role-switch;
    +    bootph-all;
    +    dr_mode = "host";
    	port {
    		usb0_hs_ep: endpoint {

    Regards,
    Vinu

  • HI Vinu,

    sry for late replay

    we have tried as per your instruction. in EVM boot properly tisdk-default-image.

    BUt when we are trying to follow same instruction for our custom board we are getting error while run make dtbs command.

    make[1]: Entering directory '/home/new_sdk_9_02/yocto-build/mvp_usb_build/tmp-default-glibc/work/am62axx_evm-oe-linux/linux-ti-staging/6.1.80+git999-r0b.arago5_tisdk_3_edgeai_0_edgeai_8/linux-ti-staging-6.1.80+git999'
    DTOVL arch/arm64/boot/dts/ti/k3-am62a7-sk-csi2-imx219.dtb

    Failed to apply 'arch/arm64/boot/dts/ti/k3-am62x-sk-csi2-imx219.dtbo': FDT_ERR_NOTFOUND
    make[3]: *** [/home/new_sdk_9_02/yocto-build/mvp_usb_build/workspace/sources/linux-ti-staging/scripts/Makefile.lib:407: arch/arm64/boot/dts/ti/k3-am62a7-sk-csi2-imx219.dtb] Error 1
    make[2]: *** [/home/new_sdk_9_02/yocto-build/mvp_usb_build/workspace/sources/linux-ti-staging/scripts/Makefile.build:502: arch/arm64/boot/dts/ti] Error 2
    make[1]: *** [/home/new_sdk_9_02/yocto-build/mvp_usb_build/workspace/sources/linux-ti-staging/Makefile:1474: dtbs] Error 2
    make[1]: Leaving directory '/home/new_sdk_9_02/yocto-build/mvp_usb_build/tmp-default-glibc/work/am62axx_evm-oe-linux/linux-ti-staging/6.1.80+git999-r0b.arago5_tisdk_3_edgeai_0_edgeai_8/linux-ti-staging-6.1.80+git999'
    make: *** [Makefile:238: __sub-make] Error 2