AM5728: u-boot 2501 debug log issue sd card

Part Number: AM5728
Other Parts Discussed in Thread: PMP

Hi 

AM5728 based my custom board.

u-boot version is ti u-boot 25.01

im booting through the SD-card and not able boot properly

below are the logs

U-Boot SPL 2025.01-g3c06cd621447-dirty (Jun 05 2026 - 20:05:35 +0530)
DRA752-GP ES2.0
Firmware loading failed
Firmware loading failed for ipu2
Trying to boot from MMC1
Loading Environment from nowhere... OK


U-Boot 2025.01-g3c06cd621447-dirty (Jun 05 2026 - 20:05:35 +0530)

CPU  : DRA752-GP ES2.0
Model: TI AM5728 IDK
Board: AM572x IDK REV
DRAM:  2 GiB
Core:  77 devices, 26 uclasses, devicetree: separate
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from nowhere... OK
Net:   eth2: ethernet@48484000
Hit any key to stop autoboot:  0
WARN: fdtfile already set. Stop using findfdt in script
** Hanmant1 Invalid partition 2 **
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Hanmant1 Invalid partition 2 **
Couldn't find partition mmc 0:2
Can't set block device
Failed to load '/boot/zImage'
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Cannot persist EFI variables without system partition
Loading Boot0000 'mmc 1' failed
Loading Boot0001 'mmc 0' failed
EFI boot manager: Cannot load any image
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Loading Boot0000 'mmc 1' failed
Loading Boot0001 'mmc 0' failed
EFI boot manager: Cannot load any image
starting USB...
Bus usb@48890000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@48890000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17
BOOTP broadcast 18
BOOTP broadcast 19
BOOTP broadcast 20
BOOTP broadcast 21
BOOTP broadcast 22
BOOTP broadcast 23
BOOTP broadcast 24
BOOTP broadcast 25
BOOTP broadcast 26
BOOTP broadcast 27
BOOTP broadcast 28
BOOTP broadcast 29

Retry time exceeded; starting again
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-88-01-f9-dc-ba-34
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/00000000
ethernet@48484000 Waiting for PHY auto negotiation to complete................. TIMEOUT !
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/0000000

 

and also this is happening when i stop autoboot and manually enter these thing

mmc dev 0 switch to partitions #0, OK mmc0 is current device => => fatload mmc 0:1 0x84100000 vxWorks.bin 67420180 bytes read in 2912 ms (22.1 MiB/s) => go 0x84100000 ## Starting application at 0x84100000 ... prefetch abort pc : [<00000108>] lr : [<841002f4>] reloc pc : [<818aa108>] lr : [<059aa2f4>] sp : 4037fd28 ip : 00000000 fp : 840ffff8 r10: fefe9e78 r9 : fcf35ec0 r8 : 00000002 r7 : 0003c07b r6 : 40300000 r5 : 4037f064 r4 : 00000001 r3 : 00000004 r2 : 00000198 r1 : 80800041 r0 : 00000001 Flags: nzcv IRQs off FIQs off Mode SVC_32 Code: 00000000 00000000 00000000 00000000 (00000000) Resetting CPU ...

  • Hello Hanmant,

    Please give us some time to look into this issue. This one is at least on the latest SDK. 

    Do you have any modification to u-boot source files?

    Seems like the same issue as with the other 2 versions of u-boot.

    Starting application at 0x84100000 ... prefetch abort pc

    -Josue

  • Hi Josue,

    Take your time.

    I have modified some uart Pin mux and some printf added.

    my question is why it wont booting from SD card?

  • Hello,
    Thank you for your inquiry. **Josue Zamitiz** is currently on leave and will be available on **2026-06-12**.
    Your query will be addressed upon their return. We appreciate your patience and understanding.
    Best regards,
    TI E2E Support Team
    ---
    *This is an automated notification.*

  • HI Josue,

    Check these logs

    U-Boot 2025.01-g3c06cd621447-dirty (Jun 08 2026 - 18:33:01 +0530)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV
    DRAM: 2 GiB
    Core: 75 devices, 26 uclasses, devicetree: separate
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... OK

    **** RC -1
    Net: Could not get PHY for ethernet@48484000: addr 16
    eth2: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    347 bytes read in 2 ms (168.9 KiB/s)
    ## Warning: Input data exceeds 1048576 bytes - truncated
    ## Info: input data size = 1048578 = 0x100002
    67420180 bytes read in 2903 ms (22.1 MiB/s)
    5186624 bytes read in 226 ms (21.9 MiB/s)
    ## Starting application at 0x84100000 ...
    prefetch abort
    pc : [<00000108>] lr : [<841002f4>]
    reloc pc : [<81885108>] lr : [<059852f4>]
    sp : 4037fd28 ip : 00000000 fp : 840ffff8
    r10: fefea524 r9 : fcf5aed0 r8 : 00000002
    r7 : 0003c07b r6 : 40300000 r5 : 4037f064 r4 : 00000001
    r3 : 00000004 r2 : 00000198 r1 : 80800041 r0 : 00000001
    Flags: nzcv IRQs off FIQs off Mode SVC_32 (T)
    Code: 0000 0000 0000 0000 (0000) 0000
    Resetting CPU ...

    ▒esetting ...
    U-Boot SPL 2025.01-g3c06cd621447-dirty (Jun 08 2026 - 18:33:01 +0530)
    DRA752-GP ES2.0
    Firmware loading failed for ipu2
    Trying to boot from MMC1
    Loading Environment from FAT... OK


    U-Boot 2025.01-g3c06cd621447-dirty (Jun 08 2026 - 18:33:01 +0530)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV
    DRAM: 2 GiB
    Core: 75 devices, 26 uclasses, devicetree: separate
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... OK

    **** RC -1
    Net: Could not get PHY for ethernet@48484000: addr 16
    eth2: ethernet@48484000
    Hit any key to stop autoboot: 0
    =>
    => printenv
    addr_fit=0x90000000
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board_name=beagle_x15
    board_rev=unknown
    board_serial=unknown
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
    boot_fdt=try
    boot_fit=0
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_syslinux_conf=extlinux/extlinux.conf
    boot_targets=ti_mmc mmc0 mmc1 pxe dhcp
    bootcmd=mmc dev 0; fatload mmc 0:1 0x82000000 uEnv.txt; env import -t 0x82000000 ; run uenvcmd
    bootcmd_dhcp=devtype=dhcp; run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
    bootcmd_mmc0=devnum=0; run mmc_boot
    bootcmd_mmc1=devnum=1; run mmc_boot
    bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
    bootcmd_ti_mmc= run get_name_kern; run mmcboot
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootpart=0:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS2,115200n8
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    dfu_bufsiz=0x10000
    distro_bootcmd=scsi_need_init=; for target in ${boot_targets}; do run bootcmd_${target}; done
    dofastboot=0
    dtboaddr=0x89000000
    emmc_android_boot=setenv mmcdev 1; mmc dev $mmcdev; mmc rescan; if bcb load CONFIG_FASTBOOT_FLASH_MMC_DEV misc; then setenv ardaddr -; if bcb test command = bootonce-bootloader; then echo Android: Bootloader boot...; bcb clear command; bcb store; fastboot 1; exit; elif bcb test command = boot-recovery; then echo Android: Recovery boot...; setenv ardaddr $loadaddr;setenv apart recovery; else echo Android: Normal boot...; setenv ardaddr $loadaddr; setenv apart boot${slot_suffix}; fi; else echo Warning: BCB is corrupted or does not exist; echo Android: Normal boot...; fi; setenv eval_bootargs setenv bootargs $bootargs; run eval_bootargs; setenv machid fe6; if part start mmc $mmcdev $apart boot_start; then part size mmc $mmcdev $apart boot_size; mmc read $loadaddr $boot_start $boot_size; echo Preparing FDT...; if test $board_name = am57xx_evm_reva3; then echo " Reading DTBO partition..."; part start mmc ${mmcdev} dtbo${slot_suffix} p_dtbo_start; part size mmc ${mmcdev} dtbo${slot_suffix} p_dtbo_size; mmc read ${dtboaddr} ${p_dtbo_start} ${p_dtbo_size}; echo " Reading DTB for AM57x EVM RevA3..."; abootimg get dtb --index=0 dtb_start dtb_size; cp.b $dtb_start $fdtaddr $dtb_size; fdt addr $fdtaddr 0x80000; echo " Applying DTBOs for AM57x EVM RevA3..."; adtimg addr $dtboaddr; adtimg get dt --index=0 dtbo0_addr dtbo0_size; fdt apply $dtbo0_addr; adtimg get dt --index=1 dtbo1_addr dtbo1_size; fdt apply $dtbo1_addr; elif test $board_name = beagle_x15_revc; then echo " Reading DTB for Beagle X15 RevC..."; abootimg get dtb --index=0 dtb_start dtb_size; cp.b $dtb_start $fdtaddr $dtb_size; fdt addr $fdtaddr 0x80000; else echo Error: Android boot is not supported for $board_name; exit; fi; bootm $loadaddr $ardaddr $fdtaddr; else echo $apart partition not found; exit; fi;
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth2addr=88:01:f9:dc:ba:34
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=fcf37230
    fdtfile=ti/omap/am57xx-beagle-x15.dtb
    fdtoverlay_addr_r=0x89000000
    findfdt=echo WARN: fdtfile already set. Stop using findfdt in script
    finduuid=part uuid mmc 0:2 uuid
    get_fit_config=setexpr name_fit_config gsub "ti/omap/" "" ${fdtfile}
    get_name_kern=if test $boot_fit -eq 1; then setenv bootfile fitImage; else setenv bootfile zImage; fi
    get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} &&fdt apply ${dtboaddr};done;
    get_overlaystring=for overlay in $name_overlays;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados;fi;fi;fi;
    mmcdev=0
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then run get_overlay_mmc;bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    name_fdt=ti/omap/am57xx-beagle-x15.dtb
    name_fit=fitImage
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}
    partitions_android=uuid_disk=${uuid_gpt_disk};name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};name=misc,size=128K,uuid=${uuid_gpt_misc};name=boot_a,size=20M,uuid=${uuid_gpt_boot_a};name=boot_b,size=20M,uuid=${uuid_gpt_boot_b};name=dtbo_a,size=8M,uuid=${uuid_gpt_dtbo_a};name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};name=vbmeta_a,size=64K,uuid=${uuid_gpt_vbmeta_a};name=vbmeta_b,size=64K,uuid=${uuid_gpt_vbmeta_b};name=recovery,size=64M,uuid=${uuid_gpt_recovery};name=super,size=2560M,uuid=${uuid_gpt_super};name=metadata,size=16M,uuid=${uuid_gpt_metadata};name=userdata,size=-,uuid=${uuid_gpt_userdata}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rdaddr=0x88080000
    rootpath=/export/rootfs
    run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then part uuid ${devtype} ${devnum}:${distro_bootpart} distro_bootpart_uuid ; run scan_dev_for_boot; fi; done; setenv devplist
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo EXTLINUX FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    scriptaddr=0x80000000
    scsi_boot=run scsi_init; if scsi dev ${devnum}; then devtype=scsi; run scan_dev_for_boot_part; fi
    scsi_init=if ${scsi_need_init}; then scsi_need_init=false; scsi scan; fi
    serial#=190080137f520922
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@48020000
    stdin=serial@48020000
    stdout=serial@48020000
    update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
    usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
    usbtty=cdc_acm
    ver=U-Boot 2025.01-g3c06cd621447-dirty (Jun 08 2026 - 18:33:01 +0530)
    vram=16M

    Environment size: 9183/131067 bytes
    =>
    addr_fit=0x90000000
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board_name=beagle_x15
    board_rev=unknown
    board_serial=unknown
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
    boot_fdt=try
    boot_fit=0
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_syslinux_conf=extlinux/extlinux.conf
    boot_targets=ti_mmc mmc0 mmc1 pxe dhcp
    bootcmd=mmc dev 0; fatload mmc 0:1 0x82000000 uEnv.txt; env import -t 0x82000000 ; run uenvcmd
    bootcmd_dhcp=devtype=dhcp; run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
    bootcmd_mmc0=devnum=0; run mmc_boot
    bootcmd_mmc1=devnum=1; run mmc_boot
    bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
    bootcmd_ti_mmc= run get_name_kern; run mmcboot
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootpart=0:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS2,115200n8
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    dfu_bufsiz=0x10000
    distro_bootcmd=scsi_need_init=; for target in ${boot_targets}; do run bootcmd_${target}; done
    dofastboot=0
    dtboaddr=0x89000000
    emmc_android_boot=setenv mmcdev 1; mmc dev $mmcdev; mmc rescan; if bcb load CONFIG_FASTBOOT_FLASH_MMC_DEV misc; then setenv ardaddr -; if bcb test command = bootonce-bootloader; then echo Android: Bootloader boot...; bcb clear command; bcb store; fastboot 1; exit; elif bcb test command = boot-recovery; then echo Android: Recovery boot...; setenv ardaddr $loadaddr;setenv apart recovery; else echo Android: Normal boot...; setenv ardaddr $loadaddr; setenv apart boot${slot_suffix}; fi; else echo Warning: BCB is corrupted or does not exist; echo Android: Normal boot...; fi; setenv eval_bootargs setenv bootargs $bootargs; run eval_bootargs; setenv machid fe6; if part start mmc $mmcdev $apart boot_start; then part size mmc $mmcdev $apart boot_size; mmc read $loadaddr $boot_start $boot_size; echo Preparing FDT...; if test $board_name = am57xx_evm_reva3; then echo " Reading DTBO partition..."; part start mmc ${mmcdev} dtbo${slot_suffix} p_dtbo_start; part size mmc ${mmcdev} dtbo${slot_suffix} p_dtbo_size; mmc read ${dtboaddr} ${p_dtbo_start} ${p_dtbo_size}; echo " Reading DTB for AM57x EVM RevA3..."; abootimg get dtb --index=0 dtb_start dtb_size; cp.b $dtb_start $fdtaddr $dtb_size; fdt addr $fdtaddr 0x80000; echo " Applying DTBOs for AM57x EVM RevA3..."; adtimg addr $dtboaddr; adtimg get dt --index=0 dtbo0_addr dtbo0_size; fdt apply $dtbo0_addr; adtimg get dt --index=1 dtbo1_addr dtbo1_size; fdt apply $dtbo1_addr; elif test $board_name = beagle_x15_revc; then echo " Reading DTB for Beagle X15 RevC..."; abootimg get dtb --index=0 dtb_start dtb_size; cp.b $dtb_start $fdtaddr $dtb_size; fdt addr $fdtaddr 0x80000; else echo Error: Android boot is not supported for $board_name; exit; fi; bootm $loadaddr $ardaddr $fdtaddr; else echo $apart partition not found; exit; fi;
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth2addr=88:01:f9:dc:ba:34
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=fcf37230
    fdtfile=ti/omap/am57xx-beagle-x15.dtb
    fdtoverlay_addr_r=0x89000000
    findfdt=echo WARN: fdtfile already set. Stop using findfdt in script
    finduuid=part uuid mmc 0:2 uuid
    get_fit_config=setexpr name_fit_config gsub "ti/omap/" "" ${fdtfile}
    get_name_kern=if test $boot_fit -eq 1; then setenv bootfile fitImage; else setenv bootfile zImage; fi
    get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/${overlay} &&fdt apply ${dtboaddr};done;
    get_overlaystring=for overlay in $name_overlays;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados;fi;fi;fi;
    mmcdev=0
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then run get_overlay_mmc;bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    name_fdt=ti/omap/am57xx-beagle-x15.dtb
    name_fit=fitImage
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}
    partitions_android=uuid_disk=${uuid_gpt_disk};name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};name=misc,size=128K,uuid=${uuid_gpt_misc};name=boot_a,size=20M,uuid=${uuid_gpt_boot_a};name=boot_b,size=20M,uuid=${uuid_gpt_boot_b};name=dtbo_a,size=8M,uuid=${uuid_gpt_dtbo_a};name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};name=vbmeta_a,size=64K,uuid=${uuid_gpt_vbmeta_a};name=vbmeta_b,size=64K,uuid=${uuid_gpt_vbmeta_b};name=recovery,size=64M,uuid=${uuid_gpt_recovery};name=super,size=2560M,uuid=${uuid_gpt_super};name=metadata,size=16M,uuid=${uuid_gpt_metadata};name=userdata,size=-,uuid=${uuid_gpt_userdata}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rdaddr=0x88080000
    rootpath=/export/rootfs
    run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then part uuid ${devtype} ${devnum}:${distro_bootpart} distro_bootpart_uuid ; run scan_dev_for_boot; fi; done; setenv devplist
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo EXTLINUX FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    scriptaddr=0x80000000
    scsi_boot=run scsi_init; if scsi dev ${devnum}; then devtype=scsi; run scan_dev_for_boot_part; fi
    scsi_init=if ${scsi_need_init}; then scsi_need_init=false; scsi scan; fi
    serial#=190080137f520922
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@48020000
    stdin=serial@48020000
    stdout=serial@48020000
    update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
    usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
    usbtty=cdc_acm
    ver=U-Boot 2025.01-g3c06cd621447-dirty (Jun 08 2026 - 18:33:01 +0530)
    vram=16M

    Environment size: 9183/131067 bytes
    => bdinfo
    boot_params = 0x80000100
    DRAM bank = 0x00000000
    -> start = 0x80000000
    -> size = 0x7f000000
    flashstart = 0x00000000
    flashsize = 0x00000000
    flashoffset = 0x00000000
    baudrate = 115200 bps
    relocaddr = 0xfef7b000
    reloc off = 0x7e77b000
    Build = 32-bit
    current eth = ethernet@48484000
    eth2addr = 88:01:f9:dc:ba:34
    IP addr = <NULL>
    fdt_blob = 0xfcf37230
    lmb_dump_all:
    memory.count = 0x1
    memory[0] [0x80000000-0xfeffffff], 0x7f000000 bytes, flags: none
    reserved.count = 0x4
    reserved[0] [0x95700000-0x9577ffff], 0x80000 bytes, flags: no-map
    reserved[1] [0x95800000-0x98ffffff], 0x3800000 bytes, flags: no-overwrite
    reserved[2] [0x9d000000-0x9effffff], 0x2000000 bytes, flags: no-overwrite
    reserved[3] [0xfbf37210-0xfeffffff], 0x30c8df0 bytes, flags: no-overwrite
    devicetree = separate
    serial addr = 0x48020000
    width = 0x00000000
    shift = 0x00000002
    offset = 0x00000000
    clock = 0x02dc6c00
    arch_number = 0x00000000
    TLB addr = 0xfeff0000
    irq_sp = 0xfcf37220
    sp start = 0xfcf37210
    Early malloc usage: 5c4 / 2000
    =>

  • Hi  

    Please look into this matter.its needed to be resolved.

  • Hanmant,

    I just returned from a business trip and I will be delayed  1-2 days in catching up with your thread.

    Thank you for your patience.

    -Josue

  • Josue,

    I understand but this needs to be resolved ASAP.

  • Hnamant,

    Based on your logs I see some improvement over the last time. Your SD actually has the two partitions u-boot scripts normally expect. The only other issue I see with U-boot is using the $filesize variable in order to avoid scanning the entire buffer. 
    I think this would do it: 

    env import -t 0x82000000 $filesize

    The real issue here is the prefetch abort that is not a U-boot issue. This is an issue with the program that you are loading and since you are using vxWorks, that is outside the scope of this forum. You will have to contact WindRiver for support.

    Other than a couple of different quirks in u-boot, you are all set. You need to figure out why your program is branching into unwritable low memory.

    Best, 

    Josue

  • Josue 

    My question is why it not working 2025 uboot version as I'm using same uEnv.txt file what I'm using for 2016 U-boot version.

    Tell me what configuration i needs to do in defconfig file?

  • Check these things

    "

    //on u-boot shell
    => bdinfo
    boot_params = 0x80000100
    DRAM bank = 0x00000000
    -> start = 0x80000000
    -> size = 0x7f000000
    flashstart = 0x00000000
    flashsize = 0x00000000
    flashoffset = 0x00000000
    baudrate = 115200 bps
    relocaddr = 0xfef7b000
    reloc off = 0x7e77b000
    Build = 32-bit
    current eth = ethernet@48484000
    eth2addr = 88:01:f9:dc:ba:34
    IP addr = 192.168.1.100
    fdt_blob = 0xfcf36b10
    lmb_dump_all:
    memory.count = 0x1
    memory[0] [0x80000000-0xfeffffff], 0x7f000000 bytes, flags: none
    reserved.count = 0x4
    reserved[0] [0x95700000-0x9577ffff], 0x80000 bytes, flags: no-map
    reserved[1] [0x95800000-0x98ffffff], 0x3800000 bytes, flags: no-overwrite
    reserved[2] [0x9d000000-0x9effffff], 0x2000000 bytes, flags: no-overwrite
    reserved[3] [0xfbf36af0-0xfeffffff], 0x30c9510 bytes, flags: no-overwrite
    devicetree = separate
    serial addr = 0x48020000
    width = 0x00000000
    shift = 0x00000002
    offset = 0x00000000
    clock = 0x02dc6c00
    arch_number = 0x00000000
    TLB addr = 0xfeff0000
    irq_sp = 0xfcf36b00
    sp start = 0xfcf36af0
    Early malloc usage: 5c4 / 2000
    =>
    //in vxWorks
    LOCAL_MEM_LOCAL_ADRS 0x0
    BOOT_LINE_OFFSET 0x3000
    RAM_LOW_ADRS 0x00100000
    RAM_HIGH_ADRS 0x01000000
    KERNEL_LOAD_ADRS 0x84100000
    LOACAL_MEM_PHYS_ADRS 0x84000000
    LOCAL_MEM_SIZE 0x7c000000
    VEC_BASE_ADRS (LOCAL_MEM_LOCAL_ADRS + 0x50000)
    BOOT_LINE_ADRS (LOCAL_MEM_LOCAL_ADRS + BOOT_LINE_OFFSET)

    "

  • Hanmant,

    Based on the previous threads, it was never clear to me whether you had a working version on that u-boot branch or not. How were you able to get the device to boot in 2016 branch? 
    Do you have a working environment you can share? current logs?

    Again,

    //in vxWorks
    LOCAL_MEM_LOCAL_ADRS 0x0
    BOOT_LINE_OFFSET 0x3000
    RAM_LOW_ADRS 0x00100000
    RAM_HIGH_ADRS 0x01000000
    KERNEL_LOAD_ADRS 0x84100000
    LOACAL_MEM_PHYS_ADRS 0x84000000
    LOCAL_MEM_SIZE 0x7c000000
    VEC_BASE_ADRS (LOCAL_MEM_LOCAL_ADRS + 0x50000)
    BOOT_LINE_ADRS (LOCAL_MEM_LOCAL_ADRS + BOOT_LINE_OFFSET)

    This is outside the scope of our support.

    -Josue

  • U-Boot SPL 2016.05 (Dec 12 2025 - 16:15:17)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2016.05 (Dec 12 2025 - 16:15:17 +0530)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV <NULL>
    DRAM: 2 GiB
    MMC: no pinctrl for sdr104
    no pinctrl for ddr50
    no pinctrl for sdr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    I2C chip 50: requested alen 2 does not match chip offset_len 1
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    373 bytes read in 3 ms (121.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    reading vxWorks.bin
    78491352 bytes read in 3380 ms (22.1 MiB/s)
    reading /SonicsDSP.xe66
    5176048 bytes read in 227 ms (21.7 MiB/s)
    ## Starting application at 0x84100000 ...
    Target Name: vxTarget

    _________ _________
    \........\ /......../
    \........\ /......../
    \........\ /......../
    \........\ /......../
    \........\ \......./
    \........\ \...../ VxWorks SMP 32-bit
    \........\ \.../
    \........\ \./ Release version: 21.07
    \........\ - Build date: Apr 7 2026 13:09:42
    \........\
    \......./ Copyright Wind River Systems, Inc.
    \...../ - 1984-2026
    \.../ /.\
    \./ /...\
    - -------

    Board: TI_AM572X_BRANSON - Cortex-A15 (ARMV7A)
    CPU Count: 2
    OS Memory Size: 1984MB
    ED&R Policy Mode: Deployed
    Debug Agent: Started (always)
    Stop Mode Agent: Started (always)


    //u-boot shell logs

    U-Boot SPL 2016.05 (Dec 12 2025 - 16:15:17)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2016.05 (Dec 12 2025 - 16:15:17 +0530)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV <NULL>
    DRAM: 2 GiB
    MMC: no pinctrl for sdr104
    no pinctrl for ddr50
    no pinctrl for sdr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    I2C chip 50: requested alen 2 does not match chip offset_len 1
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot: 0
    =>
    =>
    =>
    => bdinfo
    arch_number = 0x00000000
    boot_params = 0x80000100
    DRAM bank = 0x00000000
    -> start = 0x80000000
    -> size = 0x7F000000
    DRAM bank = 0x00000001
    -> start = 0x00000000
    -> size = 0x00000000
    eth0name = cpsw
    ethaddr = 88:01:f9:dc:ba:34
    current eth = cpsw
    ip_addr = <NULL>
    baudrate = 115200 bps
    TLB addr = 0xFEFF0000
    relocaddr = 0xFEF53000
    reloc off = 0x7E753000
    irq_sp = 0xFDF307C0
    sp start = 0xFDF307B0
    =>

  • Hi  ,

    why it is not showing this after entering this command bdinfo on latest 25.01 DRAM bank = 0x00000001 but i can see in u-boot 2016.

    please confirm me all the differences is correct?

    //u-boot 2016
    => bdinfo
    arch_number = 0x00000000
    boot_params = 0x80000100
    DRAM bank = 0x00000000
    -> start = 0x80000000
    -> size = 0x7F000000
    DRAM bank = 0x00000001 //i dont see this in latest u-boot bdinfo
    -> start = 0x00000000
    -> size = 0x00000000
    eth0name = cpsw
    ethaddr = 88:01:f9:dc:ba:34
    current eth = cpsw
    ip_addr = <NULL>
    baudrate = 115200 bps
    TLB addr = 0xFEFF0000
    relocaddr = 0xFEF53000
    reloc off = 0x7E753000
    irq_sp = 0xFDF307C0
    sp start = 0xFDF307B0
    =>
    //on u-boot 25.01 shell
    => bdinfo
    boot_params = 0x80000100
    DRAM bank = 0x00000000
    -> start = 0x80000000
    -> size = 0x7f000000
    flashstart = 0x00000000
    flashsize = 0x00000000
    flashoffset = 0x00000000
    baudrate = 115200 bps
    relocaddr = 0xfef7b000
    reloc off = 0x7e77b000
    Build = 32-bit
    current eth = ethernet@48484000
    eth2addr = 88:01:f9:dc:ba:34
    IP addr = 192.168.1.100
    fdt_blob = 0xfcf36b10
    lmb_dump_all:
    memory.count = 0x1
    memory[0] [0x80000000-0xfeffffff], 0x7f000000 bytes, flags: none
    reserved.count = 0x4
    reserved[0] [0x95700000-0x9577ffff], 0x80000 bytes, flags: no-map
    reserved[1] [0x95800000-0x98ffffff], 0x3800000 bytes, flags: no-overwrite
    reserved[2] [0x9d000000-0x9effffff], 0x2000000 bytes, flags: no-overwrite
    reserved[3] [0xfbf36af0-0xfeffffff], 0x30c9510 bytes, flags: no-overwrite
    devicetree = separate
    serial addr = 0x48020000
    width = 0x00000000
    shift = 0x00000002
    offset = 0x00000000
    clock = 0x02dc6c00
    arch_number = 0x00000000
    TLB addr = 0xfeff0000
    irq_sp = 0xfcf36b00
    sp start = 0xfcf36af0
    Early malloc usage: 5c4 / 2000
    =>

  • Thank you Hanmant,

    And this would also be relevant I suppose, the same VxWorks binary is used in both u-boot versions? No changes there?

    -Josue

  • Yes . Same Vxworks binary using for both version.

    No changes there.

    Can you tell me how can I debug further like using ccs .

  • Or any uboot code changes do I need to do?

  • Hanmant,

    Your logs tell a different story.

    2016 binary size:

    reading vxWorks.bin
    78491352 bytes read in 3380 ms (22.1 MiB/s)

    2025 binary size:

    ## Warning: Input data exceeds 1048576 bytes - truncated
    ## Info: input data size = 1048578 = 0x100002
    67420180 bytes read in 2903 ms (22.1 MiB/s)

    If they were the same binary, they would be the same size. I do not see any differences in U-boot at this point and my conclusion is that this is a VX works issue.

    -Josue

  • Hanmant,

    Can you get the exact same binary from the older boot log and try that one on 2025 u boot?

    -Josue

  • Another idea:

    Try adding this to your environment:

    # Current (fails)
    uenvcmd=fatload mmc 0:1 0x84100000 vxWorks.bin; fatload mmc 0:1 0x89000000 /SonicsDSP.xe66; go 0x84100000
    
    # Fixed
    uenvcmd=fatload mmc 0:1 0x84100000 vxWorks.bin; fatload mmc 0:1 0x89000000 /SonicsDSP.xe66; dcache flush; dcache off; go 0x84100000
    

    These lines completely disable the MMU and if there are any translation issues than theoretically this would help. But if it crashes still, It would help strengthen my theory. Please upload any logs you obtain.

    -Josue

  • Check this logs for u-boot 2016

    U-Boot SPL 2016.05 (Dec 12 2025 - 16:15:17)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2016.05 (Dec 12 2025 - 16:15:17 +0530)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV <NULL>
    DRAM: 2 GiB
    MMC: no pinctrl for sdr104
    no pinctrl for ddr50
    no pinctrl for sdr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    I2C chip 50: requested alen 2 does not match chip offset_len 1
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    347 bytes read in 2 ms (168.9 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    reading vxWorks.bin
    78491352 bytes read in 3380 ms (22.1 MiB/s)
    reading /SonicsDSP.xe66
    5176048 bytes read in 227 ms (21.7 MiB/s)
    ## Starting application at 0x84100000 ...
    Target Name: vxTarget

    _________ _________
    \........\ /......../
    \........\ /......../
    \........\ /......../
    \........\ /......../
    \........\ \......./
    \........\ \...../ VxWorks SMP 32-bit
    \........\ \.../
    \........\ \./ Release version: 21.07
    \........\ - Build date: Apr 7 2026 13:09:42
    \........\
    \......./ Copyright Wind River Systems, Inc.
    \...../ - 1984-2026
    \.../ /.\
    \./ /...\
    - -------

    Board: TI_AM572X_BRANSON - Cortex-A15 (ARMV7A)
    CPU Count: 2
    OS Memory Size: 1984MB
    ED&R Policy Mode: Deployed
    Debug Agent: Started (always)
    Stop Mode Agent: Started (always)

    //u-boot 25.01
    U-Boot SPL 2025.01-g3c06cd621447-dirty (Jun 18 2026 - 13:01:03 +0530)
    DRA752-GP ES2.0
    dra7_reset ipu1_rst@510: dra7-reset successfully probed ipu1_rst@510
    ipu ipu@58820000: ID 0 memory l2ram: bus addr 81f1358ca size 0xx va 10000 da 0x58820000
    Firmware loading failed for ipu2
    Trying to boot from MMC1
    Loading Environment from FAT... OK

  • Check this logs u-boot 2501
    
    //u-boot 25.01
    U-Boot SPL 2025.01-g3c06cd621447-dirty (Jun 18 2026 - 13:01:03 +0530)
    DRA752-GP ES2.0
    dra7_reset ipu1_rst@510: dra7-reset successfully probed ipu1_rst@510
    ipu ipu@58820000: ID 0 memory l2ram: bus addr 81f1358ca size 0xx va 10000 da 0x58820000
    Firmware loading failed for ipu2
    Trying to boot from MMC1
    Loading Environment from FAT... OK
    
    
    U-Boot 2025.01-g3c06cd621447-dirty (Jun 18 2026 - 13:01:03 +0530)
    
    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV
    DRAM: 2 GiB
    Core: 75 devices, 26 uclasses, devicetree: separate
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... OK
    
    Net: eth2: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    347 bytes read in 3 ms (112.3 KiB/s)
    ## Warning: Input data exceeds 1048576 bytes - truncated
    ## Info: input data size = 1048578 = 0x100002
    78491352 bytes read in 3380 ms (22.1 MiB/s)
    5176048 bytes read in 226 ms (21.8 MiB/s)
    ## Starting application at 0x84100000 ...
    prefetch abort
    pc : [<000000fe>] lr : [<841002f0>]
    reloc pc : [<818850fe>] lr : [<059852f0>]
    sp : 4037fd28 ip : 00000000 fp : 840ffff8
    r10: fefe9e24 r9 : fcf5aed0 r8 : 00000002
    r7 : 0003c07b r6 : 40300000 r5 : 4037f064 r4 : 00000001
    r3 : 00000004 r2 : 00000198 r1 : 80800041 r0 : 00000001
    Flags: nzcv IRQs off FIQs off Mode SVC_32 (T)
    Code: 0000 0000 0000 0000 (0000) 0000
    Resetting CPU ...
    
    ▒esetting ...

  • I tried these command as on u-boot shell but same crashing issue,
    
    U-Boot SPL 2025.01-g3c06cd621447-dirty (Jun 18 2026 - 13:01:03 +0530)
    DRA752-GP ES2.0
    dra7_reset ipu1_rst@510: dra7-reset successfully probed ipu1_rst@510
    ipu ipu@58820000: ID 0 memory l2ram: bus addr 81f1358ca size 0xx va 10000 da 0x58820000
    Firmware loading failed for ipu2
    Trying to boot from MMC1
    Loading Environment from FAT... OK
    
    
    U-Boot 2025.01-g3c06cd621447-dirty (Jun 18 2026 - 13:01:03 +0530)
    
    CPU : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV
    DRAM: 2 GiB
    Core: 75 devices, 26 uclasses, devicetree: separate
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... OK
    
    Net: eth2: ethernet@48484000
    Hit any key to stop autoboot: 0
    =>
    =>
    => fatload mmc 0:1 0x84100000 vxWorks.bin; fatload mmc 0:1 0x89000000 /SonicsDSP.xe66; dcache flush; dcache off; go 0x84100000
    78491352 bytes read in 3379 ms (22.2 MiB/s)
    5176048 bytes read in 225 ms (21.9 MiB/s)
    ## Starting application at 0x84100000 ...
    prefetch abort
    pc : [<000000fe>] lr : [<841002f0>]
    reloc pc : [<818850fe>] lr : [<059852f0>]
    sp : 4037fd28 ip : 00000000 fp : 840ffff8
    r10: fefe9e24 r9 : fcf5aed0 r8 : 00000002
    r7 : 0003c07b r6 : 40300000 r5 : 4037f064 r4 : 00000001
    r3 : 00000004 r2 : 00000198 r1 : 80800041 r0 : 00000001
    Flags: nzcv IRQs off FIQs off Mode SVC_32 (T)
    Code: 0000 0000 0000 0000 (0000) 0000
    Resetting CPU ...
    
    ▒esetting ...

  • Hanmant,

    Ok, so assuming you are using the same binaries in the working model vs non-working model and we still see a crash could point at an issue in U-boot.

    The cache flush and cache off command do make the binary go a little further but it still crashes, the next step is to do what I asked you before in the other thread - can you or your Vxworks team disassemble the binary and figure out what instructions are making it branch? 

    My guess is they are loading a data structure that should have been initialized by U-boot, the BSP or both. If we can figure out this address than we have a better chance of understanding the differences in the two u-boot branches.

    -Josue

  • Ok i will try this let you know.

    Is there anything you want me to check in u-boot source code?

  • So far it seems everything is the same behaviour.. Please let me know what you find.

  • disassembly.7z.txt this is disassembly file ,please download->edit the name->remove the '.txt' extention from file name then extract the file

  • Hi  

    Have you had a chance to review these logs?

  • Hanmant,

    This is up to you. You need to determine what branching is happening at the near the offsets from the link registers from the crash dump. Again, this seems to be a VX works issue.

    -Josue 

  • How could this be a VxWorks issue when the same VxWorks binary boots successfully with U-Boot 2016 but fails with U-Boot 25.01? How is that possible?

    Vxworks people telling us it's uboot issue and you guys mentioning it's vxworks issue.

  • Hanmant,

    I am trying to helpful here but we do not validate VxWorks filesystems in our software stack so the burden of responsibility here does not  lay on TI. It is not in the scope of this forum to debug VxWorks integration.

    I will let you know if I find anything useful given the data I have.

    -Josue

  • Can you compare the u-boot defconfig settings and check if you have a delta, 2016 vs 2025?

    -Josue

  • I have set CONFIG_ARM=y but why it showing 'T'

    Flags: nzcv IRQs off FIQs off Mode SVC_32 (T)
    

  • Hanmant,

    Could you please share a diff of the two version files? 2016 and 2025 u-boot config files

    but why it showing 'T'

    This is the ARM flag for the data abort. The T is for a Thumb state.. for more info review ARM's documentation

    -Josue

  • Another idea is to use Linux instead and see if this also crashes. Could give us some data points if it crashes. If it doesn't than it wouldn't help.

    -Josue

  • Hi Josue 

    have a look 2016 and 2025 u-boot config files differences

    <

     

    vboxuser@vboxuser:~$ diff -y --suppress-common-lines /home/vboxuser/ti-processor-sdk-linux-am57xx-evm-11_01_02_01/board-support/ti-u-boot-2025.01+git/configs/am57xx_evm_defconfig ~/uboot_sd_/u-boot-2016.05+gitAUTOINC+2f757e5b2c-g2f757e5b2c/configs/am57xx_branson_defconfig 
    CONFIG_HUSH_PARSER=y					      <
    # CONFIG_SYS_THUMB_BUILD=y is not set			      <
    CONFIG_ARCH_OMAP2PLUS=y					      <
    CONFIG_TI_COMMON_CMD_OPTIONS=y				      <
    CONFIG_SF_DEFAULT_SPEED=76800000			      <
    CONFIG_DM_GPIO=y					      <
    CONFIG_SPL_DM_SPI=y					      <
    CONFIG_DEFAULT_DEVICE_TREE="am572x-idk"			      <
    CONFIG_DM_RESET=y					      |	CONFIG_DM_SERIAL=y
    CONFIG_SPL_DRIVERS_MISC=y				      |	CONFIG_DM_GPIO=y
    CONFIG_SPL_TEXT_BASE=0x40300000				      |	CONFIG_SPL_STACK_R_ADDR=0x82000000
    							      |	CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
    # CONFIG_SPL_SPI_FLASH_SUPPORT=y			      |	CONFIG_SPL_STACK_R=y
    CONFIG_SPL_SPI=y					      |	CONFIG_HUSH_PARSER=y
    CONFIG_ARMV7_LPAE=y					      |	CONFIG_CMD_BOOTZ=y
    CONFIG_AHCI=y						      |	# CONFIG_CMD_IMLS is not set
    CONFIG_SPL_LOAD_FIT=y					      <
    # CONFIG_DISTRO_DEFAULTS=y is not set			      <
    CONFIG_OF_BOARD_SETUP=y					      <
    #added							      <
    CONFIG_CMD_GO=y						      <
    CONFIG_SYS_HAS_SRAM=y					      <
    CONFIG_DISK=y						      <
    CONFIG_FIT=y						      <
    CONFIG_USE_BOOTFILE=y					      <
    CONFIG_BOOTFILE="vxWorks.bin"				      <
    							      <
    CONFIG_SYS_LOAD_ADDR=0x84100000				      <
    # CONFIG_SYS_DCACHE_OFF=y is not set			      <
    # CONFIG_SYS_ICACHE_OFF=y is not set			      <
    CONFIG_CMD_EXCEPTION=y					      <
    CONFIG_CMD_CACHE=y					      |	# CONFIG_CMD_FLASH is not set
    # CONFIG_BOOTM_ELF=y is not set				      |	CONFIG_CMD_MMC=y
    # CONFIG_CMD_ELF=y is not set				      |	CONFIG_CMD_SPI=y
    # CONFIG_CMD_ELF_BOOTVX=y is not set			      |	CONFIG_CMD_I2C=y
    # CONFIG_ANDROID_BOOT_IMAGE is not set			      |	CONFIG_CMD_USB=y
    # UEFI Support						      |	CONFIG_CMD_GPIO=y
    #							      |	# CONFIG_CMD_SETEXPR is not set
    # CONFIG_EFI_LOADER is not set				      |	CONFIG_CMD_DHCP=y
    #							      |	CONFIG_CMD_MII=y
    # Filesystem support					      |	CONFIG_CMD_PING=y
    							      >	CONFIG_CMD_EXT2=y
    CONFIG_FS_EXT4=y					      <
    CONFIG_FS_FAT=y						      <
    CONFIG_DM_MMC=y						      <
    CONFIG_DM=y						      <
    							      <
    CONFIG_SUPPORT_EMMC_BOOT=y				      <
    							      <
    # Environment (fixed to SD card)			      <
    #CONFIG_ENV_IS_IN_MMC=y is not set  #//changed		      <
    CONFIG_SYS_MMC_ENV_DEV=0				      <
    #CONFIG_SYS_REDUNDAND_ENVIRONMENT=y			      <
    #CONFIG_SYS_RELOC_GD_ENV_ADDR=y				      <
    # ARM Architecture Security and Mode Overrides		      <
    # Forces U-Boot to boot the CPU in Secure SVC Mode instead of <
    # CONFIG_ARMV7_NONSEC=y is not set			      <
    # CONFIG_ARMV7_PSCI=y is not set			      <
    							      <
    # CONFIG_ARMV7_BOOT_SEC_DEFAULT is not set		      <
    							      <
    CONFIG_CMD_DHCP=y					      <
    CONFIG_CMD_PXE=y					      <
    							      <
    CONFIG_NR_DRAM_BANKS=2					      <
    CONFIG_SD_BOOT=y					      <
    CONFIG_LOGLEVEL=7					      <
    #CONFIG_USE_BOOTARGS=y					      <
    #CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=tty <
    #CONFIG_BOOTCOMMAND="mmc dev 0; fatload mmc 0:1 ${loadaddr} u <
    #CONFIG_BOOTCOMMAND="mmc dev 0; if fatload mmc 0:1 0x82000000 <
    CONFIG_USE_BOOTCOMMAND=y				      <
    # CONFIG_BOOTCOMMAND="if load mmc 0:1 ${loadaddr} /uEnv.txt;  <
    							      <
    #CONFIG_BOOTCOMMAND="run distro_bootcmd" is not set	      <
    							      <
    CONFIG_SYS_CONSOLE_INFO_QUIET=y				      <
    CONFIG_BOARD_EARLY_INIT_F=y				      <
    # CONFIG_MISC_INIT_R is not set				      <
    #CONFIG_AVB_VERIFY=y					      <
    							      <
    # CONFIG_ANDROID_AB=y is not set			      <
    CONFIG_SPL_MAX_SIZE=0x7bc00				      <
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y				      <
    CONFIG_SPL_SYS_MALLOC=y					      <
    CONFIG_SPL_SYS_MALLOC_SIZE=0x800000			      <
    CONFIG_SPL_DMA=y					      <
    CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"		      <
    # CONFIG_SPL_NAND_SUPPORT is not set			      <
    CONFIG_SPL_DM_SPI_FLASH=y				      <
    CONFIG_SPL_OS_BOOT=y					      <
    CONFIG_SPL_FALCON_BOOT_MMCSD=y				      <
    CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700		      <
    CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500		      <
    CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200		      <
    CONFIG_SPL_DM_RESET=y					      <
    CONFIG_SPL_REMOTEPROC=y					      <
    CONFIG_SPL_SPI_LOAD=y					      <
    CONFIG_SYS_BOOTM_LEN=0x8000000				      <
    CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000			      <
    CONFIG_SYS_SPI_KERNEL_OFFS=0x1E0000			      <
    CONFIG_SYS_SPI_ARGS_OFFS=0x140000			      <
    CONFIG_SYS_SPI_ARGS_SIZE=0x80000			      <
    CONFIG_SPL_YMODEM_SUPPORT=y				      <
    CONFIG_CMD_ADTIMG=y					      <
    CONFIG_CMD_ABOOTIMG=y					      <
    CONFIG_CMD_SPL=y					      <
    CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2			      <
    CONFIG_CMD_BCB=y					      <
    # CONFIG_CMD_SETEXPR is not set				      <
    CONFIG_BOOTP_DNS2=y					      <
    # CONFIG_CMD_PMIC is not set				      <
    CONFIG_CMD_AVB=y					      <
    CONFIG_SPL_OF_CONTROL=y					      |	CONFIG_DM=y
    CONFIG_OF_LIST="am572x-idk"				      |	CONFIG_DM_MMC=y
    CONFIG_ENV_IS_IN_FAT=y  #//changed			      |	CONFIG_SPI_FLASH=y
    CONFIG_ENV_FAT_INTERFACE="mmc"				      |	CONFIG_SPI_FLASH_BAR=y
    CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" #//changed		      |	CONFIG_SYS_NS16550=y
    CONFIG_ENV_FAT_FILE="uboot.env" #//changed		      |	CONFIG_FIT=y
    CONFIG_FAT_WRITE=y #//changed				      |	CONFIG_SPL_OF_LIBFDT=y
    CONFIG_AM57XX=y						      |	CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000			      |	CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk am571x-idk"
    CONFIG_SPL=y						      <
    CONFIG_SPL_STACK_R=y					      <
    CONFIG_IODELAY_RECALIBRATION=y				      <
    CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y			      |	CONFIG_DRA7_DSPEVE_OPP_HIGH=y
    CONFIG_VERSION_VARIABLE=y				      |	CONFIG_DRA7_IVA_OPP_HIGH=y
    CONFIG_NET_RETRY_COUNT=10				      |	CONFIG_DRA7_GPU_OPP_HIGH=y
    CONFIG_BOOTP_SEND_HOSTNAME=y				      |	CONFIG_DISK=y
    CONFIG_SPL_DM=y						      <
    CONFIG_SPL_DM_SEQ_ALIAS=y				      <
    CONFIG_SPL_REGMAP=y					      <
    CONFIG_SPL_SYSCON=y					      <
    CONFIG_SPL_OF_TRANSLATE=y				      <
    CONFIG_CLK=y						      |	#CONFIG_DM_ETH=y
    CONFIG_CLK_CDCE9XX=y					      |	CONFIG_CMD_TIME=y
    CONFIG_DFU_MMC=y					      <
    CONFIG_DFU_RAM=y					      <
    CONFIG_DFU_SF=y						      <
    #CONFIG_USB_FUNCTION_FASTBOOT=y				      <
    #CONFIG_FASTBOOT_BUF_ADDR=0x82000000 is not set		      <
    CONFIG_FASTBOOT_BUF_SIZE=0x2F000000			      <
    #CONFIG_FASTBOOT_USB_DEV=1				      <
    #CONFIG_FASTBOOT_FLASH=y				      <
    #CONFIG_FASTBOOT_FLASH_MMC_DEV=1			      <
    #CONFIG_FASTBOOT_CMD_OEM_FORMAT=y			      <
    CONFIG_MISC=y						      |	CONFIG_DM_SPI=y
    CONFIG_SYS_I2C_EEPROM_ADDR=0x50				      <
    CONFIG_SPL_FS_LOADER=y					      <
    							      <
    CONFIG_MMC_OMAP_HS=y					      <
    CONFIG_HSMMC2_8BIT=y					      <
    CONFIG_MTD=y						      <
    CONFIG_PHY_ANEG_TIMEOUT=8000				      <
    CONFIG_PHY_MICREL=y					      <
    # CONFIG_PHY_MICREL_KSZ90X1=y is not set		      <
    CONFIG_MII=y						      <
    #CONFIG_ETH=y is not set				      <
    #CONFIG_DM_ETH=y is not set				      <
    CONFIG_DRIVER_TI_CPSW=y					      <
    CONFIG_PIPE3_PHY=y					      <
    CONFIG_OMAP_USB2_PHY=y					      <
    CONFIG_DM_PMIC=y					      <
    CONFIG_PMIC_PALMAS=y					      <
    CONFIG_DM_REGULATOR=y					      <
    CONFIG_DM_REGULATOR_PALMAS=y				      <
    CONFIG_PALMAS_POWER=y					      <
    CONFIG_REMOTEPROC_TI_IPU=y				      <
    CONFIG_RESET_DRA7=y					      <
    CONFIG_DM_SERIAL=y					      <
    CONFIG_SPI=y						      <
    CONFIG_DM_SPI=y						      <
    CONFIG_USB=y						      <
    CONFIG_DM_USB_GADGET=y					      <
    CONFIG_SPL_DM_USB_GADGET=y				      <
    CONFIG_USB_XHCI_HCD=y					      <
    CONFIG_USB_XHCI_DWC3=y					      <
    CONFIG_USB_XHCI_OMAP=y					      <
    CONFIG_USB_DWC3=y					      <
    CONFIG_USB_DWC3_GENERIC=y				      <
    CONFIG_USB_GADGET=y					      <
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"	      <
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451			      <
    CONFIG_USB_GADGET_PRODUCT_NUM=0xd022			      <
    CONFIG_LIBAVB=y						      <
    vboxuser@vboxuser:~$ 
    
    
    

    >

  • can you share full .config diff as well?

    My suspicion is that there are some differences that get selected in newer u-boot Kconfig that were not there in 2016.

    -Josue

  • What do you think?

    if you have any sample config file the share with me (for u-boot 25.01) so i can try tommorrow.

    Please refer this 2016 u-boot config file.

    CONFIG_ARM=y
    CONFIG_OMAP54XX=y
    CONFIG_TARGET_AM57XX_EVM=y
    CONFIG_DM_SERIAL=y
    CONFIG_DM_GPIO=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
    CONFIG_SPL=y
    CONFIG_SPL_STACK_R=y
    CONFIG_HUSH_PARSER=y
    CONFIG_CMD_BOOTZ=y
    # CONFIG_CMD_IMLS is not set
    CONFIG_CMD_ASKENV=y
    # CONFIG_CMD_FLASH is not set
    CONFIG_CMD_MMC=y
    CONFIG_CMD_SPI=y
    CONFIG_CMD_I2C=y
    CONFIG_CMD_USB=y
    CONFIG_CMD_GPIO=y
    # CONFIG_CMD_SETEXPR is not set
    CONFIG_CMD_DHCP=y
    CONFIG_CMD_MII=y
    CONFIG_CMD_PING=y
    CONFIG_CMD_EXT2=y
    CONFIG_CMD_EXT4=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_FAT=y
    CONFIG_CMD_FS_GENERIC=y
    CONFIG_OF_CONTROL=y
    CONFIG_DM=y
    CONFIG_DM_MMC=y
    CONFIG_SPI_FLASH=y
    CONFIG_SPI_FLASH_BAR=y
    CONFIG_SYS_NS16550=y
    CONFIG_FIT=y
    CONFIG_SPL_OF_LIBFDT=y
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk am571x-idk"
    CONFIG_OF_BOARD_SETUP=y
    CONFIG_DRA7_DSPEVE_OPP_HIGH=y
    CONFIG_DRA7_IVA_OPP_HIGH=y
    CONFIG_DRA7_GPU_OPP_HIGH=y
    CONFIG_DISK=y
    CONFIG_DWC_AHCI=y
    #CONFIG_DM_ETH=y
    CONFIG_CMD_TIME=y
    CONFIG_DM_I2C=y
    CONFIG_DM_SPI=y
    CONFIG_DM_SPI_FLASH=y
    CONFIG_SPI_FLASH_SPANSION=y
    CONFIG_TI_QSPI=y
    CONFIG_CMD_SF=y
    

  • Can you try this change?

    diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
    index c07dd68e..ae5faf12 100644
    --- a/arch/arm/mach-omap2/Kconfig
    +++ b/arch/arm/mach-omap2/Kconfig
    @@ -31,7 +31,7 @@ config OMAP34XX
     
     config OMAP54XX
            bool "OMAP54XX SoC"
    -       select ARM_CORTEX_A15_CVE_2017_5715
    +       imply ARM_CORTEX_A15_CVE_2017_5715
            select ARM_ERRATA_798870
            select DM_EVENT
            select SYS_THUMB_BUILD

  • There is no effect after changing these things as well .

    Please check attached config file for 25.01 version

    CONFIG_ARM=y
    CONFIG_HUSH_PARSER=y
    # CONFIG_SYS_THUMB_BUILD=y is not set
    CONFIG_ARCH_OMAP2PLUS=y
    CONFIG_TI_COMMON_CMD_OPTIONS=y
    CONFIG_SF_DEFAULT_SPEED=76800000
    CONFIG_DM_GPIO=y
    CONFIG_SPL_DM_SPI=y
    CONFIG_DEFAULT_DEVICE_TREE="am572x-idk"
    CONFIG_OMAP54XX=y
    CONFIG_TARGET_AM57XX_EVM=y
    CONFIG_DM_RESET=y
    CONFIG_SPL_DRIVERS_MISC=y
    CONFIG_SPL_TEXT_BASE=0x40300000
    
    CONFIG_SPL=y
    # CONFIG_SPL_SPI_FLASH_SUPPORT=y
    CONFIG_SPL_SPI=y
    CONFIG_ARMV7_LPAE=y
    CONFIG_AHCI=y
    CONFIG_SPL_LOAD_FIT=y
    # CONFIG_DISTRO_DEFAULTS=y is not set
    CONFIG_OF_BOARD_SETUP=y
    #added
    # CONFIG_ARM_CORTEX_A15_CVE_2017_5715=y is not set
    CONFIG_CMD_GO=y
    CONFIG_SYS_HAS_SRAM=y
    CONFIG_DISK=y
    CONFIG_FIT=y
    CONFIG_USE_BOOTFILE=y
    CONFIG_BOOTFILE="vxWorks.bin"
    
    CONFIG_SYS_LOAD_ADDR=0x84100000
    # CONFIG_SYS_DCACHE_OFF=y is not set
    # CONFIG_SYS_ICACHE_OFF=y is not set
    CONFIG_CMD_EXCEPTION=y
    CONFIG_CMD_ASKENV=y
    CONFIG_CMD_CACHE=y
    # CONFIG_BOOTM_ELF=y is not set
    # CONFIG_CMD_ELF=y is not set
    # CONFIG_CMD_ELF_BOOTVX=y is not set
    # CONFIG_ANDROID_BOOT_IMAGE is not set
    # UEFI Support
    #
    # CONFIG_EFI_LOADER is not set
    #
    # Filesystem support
    CONFIG_CMD_EXT4=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_FAT=y
    CONFIG_CMD_FS_GENERIC=y
    CONFIG_FS_EXT4=y
    CONFIG_FS_FAT=y
    CONFIG_DM_MMC=y
    CONFIG_DM=y
    
    CONFIG_SUPPORT_EMMC_BOOT=y
    
    # Environment (fixed to SD card)
    #CONFIG_ENV_IS_IN_MMC=y is not set  #//changed
    CONFIG_SYS_MMC_ENV_DEV=0
    #CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
    #CONFIG_SYS_RELOC_GD_ENV_ADDR=y
    # ARM Architecture Security and Mode Overrides
    # Forces U-Boot to boot the CPU in Secure SVC Mode instead of Non-Secure HYP Mode
    # CONFIG_ARMV7_NONSEC=y is not set
    # CONFIG_ARMV7_PSCI=y is not set
    
    # CONFIG_ARMV7_BOOT_SEC_DEFAULT is not set
    
    CONFIG_CMD_DHCP=y
    CONFIG_CMD_PXE=y
    
    CONFIG_NR_DRAM_BANKS=2
    CONFIG_SD_BOOT=y
    CONFIG_LOGLEVEL=7
    #CONFIG_USE_BOOTARGS is not set
    
    CONFIG_USE_BOOTCOMMAND=y
    
    CONFIG_SYS_CONSOLE_INFO_QUIET=y
    CONFIG_BOARD_EARLY_INIT_F=y
    # CONFIG_MISC_INIT_R is not set
    #CONFIG_AVB_VERIFY=y
    #
    # Security support
    #
    CONFIG_HASH=y
    CONFIG_SPL_HASH=y
    # CONFIG_STACKPROTECTOR is not set
    # CONFIG_BOARD_RNG_SEED is not set
    
    # CONFIG_ANDROID_AB=y is not set
    CONFIG_SPL_MAX_SIZE=0x7bc00
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_SYS_MALLOC=y
    CONFIG_SPL_SYS_MALLOC_SIZE=0x800000
    CONFIG_SPL_DMA=y
    CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"
    # CONFIG_SPL_NAND_SUPPORT is not set
    CONFIG_SPL_DM_SPI_FLASH=y
    CONFIG_SPL_OS_BOOT=y
    CONFIG_SPL_FALCON_BOOT_MMCSD=y
    CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700
    CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500
    CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200
    CONFIG_SPL_DM_RESET=y
    CONFIG_SPL_REMOTEPROC=y
    CONFIG_SPL_SPI_LOAD=y
    CONFIG_SYS_BOOTM_LEN=0x8000000
    CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
    CONFIG_SYS_SPI_KERNEL_OFFS=0x1E0000
    CONFIG_SYS_SPI_ARGS_OFFS=0x140000
    CONFIG_SYS_SPI_ARGS_SIZE=0x80000
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_CMD_ADTIMG=y
    CONFIG_CMD_ABOOTIMG=y
    CONFIG_CMD_SPL=y
    CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
    CONFIG_CMD_BCB=y
    # CONFIG_CMD_SETEXPR is not set
    CONFIG_BOOTP_DNS2=y
    # CONFIG_CMD_PMIC is not set
    CONFIG_CMD_AVB=y
    CONFIG_OF_CONTROL=y
    CONFIG_SPL_OF_CONTROL=y
    CONFIG_OF_LIST="am572x-idk"
    CONFIG_ENV_IS_IN_FAT=y  #//changed
    CONFIG_ENV_FAT_INTERFACE="mmc"
    CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" #//changed
    CONFIG_ENV_FAT_FILE="uboot.env" #//changed
    CONFIG_FAT_WRITE=y #//changed
    CONFIG_AM57XX=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_SPL=y
    CONFIG_SPL_STACK_R=y
    CONFIG_IODELAY_RECALIBRATION=y
    CONFIG_OF_BOARD_SETUP=y
    CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
    CONFIG_VERSION_VARIABLE=y
    CONFIG_NET_RETRY_COUNT=10
    CONFIG_BOOTP_SEND_HOSTNAME=y
    CONFIG_SPL_DM=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    CONFIG_SPL_REGMAP=y
    CONFIG_SPL_SYSCON=y
    CONFIG_SPL_OF_TRANSLATE=y
    CONFIG_DWC_AHCI=y
    CONFIG_CLK=y
    CONFIG_CLK_CDCE9XX=y
    CONFIG_DFU_MMC=y
    CONFIG_DFU_RAM=y
    CONFIG_DFU_SF=y
    #CONFIG_USB_FUNCTION_FASTBOOT=y
    #CONFIG_FASTBOOT_BUF_ADDR=0x82000000 is not set
    CONFIG_FASTBOOT_BUF_SIZE=0x2F000000
    #CONFIG_FASTBOOT_USB_DEV=1
    #CONFIG_FASTBOOT_FLASH=y
    #CONFIG_FASTBOOT_FLASH_MMC_DEV=1
    #CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
    CONFIG_DM_I2C=y
    CONFIG_MISC=y
    CONFIG_SYS_I2C_EEPROM_ADDR=0x50
    CONFIG_SPL_FS_LOADER=y
    
    CONFIG_MMC_OMAP_HS=y
    CONFIG_HSMMC2_8BIT=y
    CONFIG_MTD=y
    CONFIG_DM_SPI_FLASH=y
    CONFIG_SPI_FLASH_SPANSION=y
    CONFIG_PHY_ANEG_TIMEOUT=8000
    CONFIG_PHY_MICREL=y
    # CONFIG_PHY_MICREL_KSZ90X1=y is not set
    CONFIG_MII=y
    #CONFIG_ETH=y is not set
    #CONFIG_DM_ETH=y is not set
    CONFIG_DRIVER_TI_CPSW=y
    CONFIG_PIPE3_PHY=y
    CONFIG_OMAP_USB2_PHY=y
    CONFIG_DM_PMIC=y
    CONFIG_PMIC_PALMAS=y
    CONFIG_DM_REGULATOR=y
    CONFIG_DM_REGULATOR_PALMAS=y
    CONFIG_PALMAS_POWER=y
    CONFIG_REMOTEPROC_TI_IPU=y
    CONFIG_RESET_DRA7=y
    CONFIG_DM_SERIAL=y
    CONFIG_SPI=y
    CONFIG_DM_SPI=y
    CONFIG_TI_QSPI=y
    CONFIG_USB=y
    CONFIG_DM_USB_GADGET=y
    CONFIG_SPL_DM_USB_GADGET=y
    CONFIG_USB_XHCI_HCD=y
    CONFIG_USB_XHCI_DWC3=y
    CONFIG_USB_XHCI_OMAP=y
    CONFIG_USB_DWC3=y
    CONFIG_USB_DWC3_GENERIC=y
    CONFIG_USB_GADGET=y
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451
    CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
    CONFIG_LIBAVB=y
    CONFIG_CMD_SF=y
    

  • did you compare start.S startup code of both uboot version?

    do you think to change in this script?

  • Hanmant,

    My recommendation is for you to do a diff as I mentioned previously of the ".config" files and try to re-create the same u-boot configs in the newer version.

    I am unsure if there will further forward porting needed.

    My theory is that in the modernization of u-boot, certain changes were made in the way the arm core "interprets" the binary originally compiled for u-boot 2016.

    So the issue is an integration issue that eventually needs to be worked on in the VxWorks side to adjust to the newer u-boot releases due to cyber-security updates and u-boot standardization.

    Changing newer u-boot to resemble 2016 version is a good workaround for immediate results but ultimately the VxWorks binary will have to be updated to work with the newer versions of U-boot.

    Please read our open source disclaimer: https://software-dl.ti.com/processor-sdk-linux/esd/AM57X/11_01_02_01/exports/docs/linux/Overview_Technical_Support.html#open-source-software-support-disclaimer

    Let me know if you have any further questions.

    -Josue