Other Parts Discussed in Thread: UNIFLASH
I wanted to flash custom images into the images of the evk,which have the following components:
- A boot patition
- tiboot3.bin
- tispl.bin
- u-boot.img
- uboot.env
- A ext4 partition in the user data area containing
- Linux Kernel image
- Linux DTB
- Linux file system
suraj@suraj-HP-Laptop-15s-fr2xxx:/opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash$ sudo python3 uart_uniflash.py -p /dev/ttyUSB0 --cfg=/home/suraj/Downloads/uart_flash.cfg Parsing config file ... Parsing config file ... SUCCESS. Found 7 command(s) !!! Executing command 1 of 7 ... Found flash writer ... sending /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage1.release.hs_fs.tiimage Sent flashwriter /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage1.release.hs_fs.tiimage of size 246687 bytes in 23.84s. Executing command 2 of 7 ... Command arguments : --file=/opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage2.release.appimage.hs_fs --operation=flash --flash-offset=0x0 Sent /opt/ti-processor-sdk-linux-am62xx-evm-09.02.01.09/bin/uart_uniflash/bin/am62xx-evm/sbl_uart_uniflash_stage2.release.appimage.hs_fs of size 122931 bytes in 15.11s. [STATUS] SUCCESS !!! Executing command 3 of 7 ... Command arguments : --file=/home/suraj/Downloads/tiboot3-am62x-hs-fs-evm.bin --operation=flash --flash-offset=0x0 Sent /home/suraj/Downloads/tiboot3-am62x-hs-fs-evm.bin of size 295438 bytes in 31.51s. [STATUS] SUCCESS !!! Executing command 4 of 7 ... Command arguments : --file=/home/suraj/Downloads/tispl.bin-am62xx-evm --operation=flash --flash-offset=0x80000 Sent /home/suraj/Downloads/tispl.bin-am62xx-evm of size 1178343 bytes in 116.58s. [STATUS] SUCCESS !!! Executing command 5 of 7 ... Command arguments : --file=/home/suraj/Downloads/u-boot-am62xx-evm.img --operation=flash --flash-offset=0x280000 Sent /home/suraj/Downloads/u-boot-am62xx-evm.img of size 984939 bytes in 95.35s. [STATUS] SUCCESS !!! Executing command 6 of 7 ... Command arguments : --file=/home/suraj/Downloads/agl-demo-platform-am62xx-evm-20240416145915.rootfs/boot/Image --operation=flash --flash-offset=0x83000000 Sent /home/suraj/Downloads/agl-demo-platform-am62xx-evm-20240416145915.rootfs/boot/Image of size 24447488 bytes in 2366.150000000001s. [STATUS] ERROR: Flashing failed !!! Executing command 7 of 7 ... Command arguments : --file=/home/suraj/Downloads/agl-demo-platform-am62xx-evm-20240416145915.rootfs/boot/dtb/ti/k3-am625-sk.dtb --operation=flash --flash-offset=0x83080000 Sent /home/suraj/Downloads/agl-demo-platform-am62xx-evm-20240416145915.rootfs/boot/dtb/ti/k3-am625-sk.dtb of size 61983 bytes in 8.86s. [STATUS] ERROR: Flashing failed !!! All commands from config file are executed !!!
This is the output to flash all the images using uart uniflash script.U-Boot 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Board: AM62B-SKEVM-P1 rev A DRAM: 2 GiB Core: 72 devices, 32 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 => mmc dev 0 0 switch to partitions #0, OK mmc0(part 0) is current device => mmc part Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 32768 0d0c5ad5-01 0e Boot 2 34816 31045632 0d0c5ad5-02 83 => ls mmc 0:2 => ls mmc 0:2 /boot => ls mmc 0:2 /boot/dtb/ti => mmc part Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 32768 0d0c5ad5-01 0e Boot 2 34816 31045632 0d0c5ad5-02 83
This is the output after flash.
This are the logs , i have tried many times to flash all the images using uart uniflash script, now u-boot images are flashing but kernel and dtb images both are not flashing in logs u can see last two images are showing failed to flash please give any solution asap.