Dear TI.
Our platform is j721s2, SDK 8.0.4.
First, I written tiboot3.bin tispl.bin and u-boot.img into emmc with DFU. Upgrade succeeded.
Then, I boot device from eMMC and made it into fastboot mode to flash rootfs with fastboot_flash.bat
Fastboot flash failed
Log as below:
U-Boot SPL 2021.01 (Feb 23 2023 - 03:39:09 +0000) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi') SPL initial stack usage: 13472 bytes Trying to boot from MMC1 init_env from device 17 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.6(release):v2.7-rc0-dirty NOTICE: BL31: Built : 11:58:46, Aug 30 2022 I/TC: I/TC: OP-TEE version: 3.17.0-125-g15a746d28 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Tue Aug 30 11:59:08 UTC 2022 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi') I/TC: HUK Initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2021.01 (Feb 23 2023 - 03:44:19 +0000) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.1--v08.04.01 (Jolly Jellyfi') Trying to boot from MMC1 U-Boot 2021.01 (Feb 23 2023 - 03:44:19 +0000) SoC: J721S2 SR1.0 GP Model: Texas Instruments J721S2 EVM DRAM: 4 GiB Flash: 0 Bytes MMC: mmc@4f80000: 0, mmc@4fb0000: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@2880000 Out: serial@2880000 Err: serial@2880000 Failed to probe am65_cpsw_nuss driver In fastboot ... [ggf]board_late_init: bootcmd = fastboot -l $loadaddr -s 0x2F000000 usb 0 Net: No ethernet found. cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61) cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -61) cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200) cdns-usb3-peripheral usb@6000000: Initialized ep0 support: cdns-usb3-peripheral usb@6000000: Initialized ep1out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep1in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15in support: BULK, INT ISO WARNING: unknown variable: is-logical Starting download of 534864964 bytes
But with the same method, the j721e platform can successfully upgrade the emmc.
Please help to check why j721s2 failed to fastboot flash eMMC.
Thanks.