Part Number: AM625
we are working on custom board based on am625 sk.
Modified include/environment/ti/k3_dfu.h file to support write images to emmc partition schema to support USB firmware upgrade.
#define DFU_ALT_INFO_EMMC \
"dfu_alt_info_emmc=" \
"rawemmc raw 0 0x800000 mmcpart 1;" \
"rootfs_A part 0 2 mmcpart 0;" \
"rootfs_B part 0 3 mmcpart 0;" \
"Upgrade part 0 4 mmcpart 0;" \
"tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;" \
"tispl.bin.raw raw 0x400 0x1000 mmcpart 1;" \
"u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;" \
"u-env.raw raw 0x3400 0x200 mmcpart 1;" \
"uEnv.txt raw raw 0x3700 0x100 mmcpart 1\0"
i am able to do dfu of rootfs_A,rootfs_B,tiboot3.bin,tispl.bin,u-boot.img,uEnv.txt from host machine. Able to boot linux from both partiutions.
I need to save the env variables to a blob file & update the blob from linux using fw_setenv commands.
saveenv gives error.
=>saveenv
Saving Environment to MMC... Writing to MMC(0)... MMC: block number 0x3500 exceeds max(0x2000)
failed
Failed (1)
Any help on where to look into this.