I have a custom board that is a bit of a challenge when it comes to getting u-boot and kernel written to eMMC. The board has no Ethernet, just WiFi, no EEPROM, and no microSD. So my options are limited. I can load u-boot via UART bootmode, I am able to set eMMC boot and rootfs partitions, now I would like to write u-boot and rootfs to eMMC. We tried unsuccessfully to use USB peripheral mode, dfu-util never recognized the board as dfu-capable device. We tried CCS but instructions were for AM3x not AM62x and never worked.
this should work in mainline u-boot as of v2024.10-rc1, but you might have to tweak the u-boot dfu partition settings for the single eMMC.
Regards,
I was able to get it going using ti-sdk u-boot. It is based off u-boot V2023.04. I used “am62x_evm_r5_usbdfu_defconfig” and “am62x_evm_a53_defconfig” to build the u-boot image to run dfu to push the u-boot image to eMMC.
Is there a way to program the eMMC via some other way besides dfu-util? dfu-util V.0.09 seems to do fine with tiboot3.bin, tispl.bin, and u-boot.img. Once I try to push rootfs.ext4, I get an error about file being too big. I tried a more recent version of dfu-util and it failed to run at all. Any ideas, suggestions, thought are most appreciated!