ERROR LOG:
U-Boot SPL 2021.01-00012-g392433f4b6 (Jul 20 2022 - 10:27:59 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
Trying to boot from MMC2
U-Boot 2021.01-00012-g392433f4b6 (Jul 20 2022 - 10:27:59 +0800)
SoC: AM64X SR1.0
Model: Texas Instruments AM642 SK
DRAM: 2 GiB
MMC: mmc@fa00000: 1
Loading Environment from SPIFlash... SF: Detected s28hs512t with page size 256 B
*** Warning - bad CRC, using default environment
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Net:
Warning: ethernet@8000000port@1 MAC addresses don't match:
Address in ROM is ac:1f:0f:8b:cf:97
Address in environment is ac:1f:0f:8b:4d:25
eth0: ethernet@8000000port@1
Warning: ethernet@8000000port@2 MAC addresses don't match:
Address in ROM is ac:1f:0f:8b:cf:97
Address in environment is ac:1f:0f:8b:4d:26
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot: 0
=> saveenv
Saving Environment to SPIFlash... SF: Detected s28hs512t with page size 256 BytB
Erasing SPI flash...Writing to SPI flash...jedec_spi_nor flash@0: flash operatit
Failed (-110)
Hi TI
After I enable "Enable redundant environment support" function at uboot menuconfig and set save env in spi flash.
[*] SPI flash bus for environment │ │
│ │ (0) Value of SPI flash bus for environment │ │
│ │ [ ] SPI flash chip select for environment │ │
│ │ [ ] SPI flash max frequency for environment │ │
│ │ [ ] SPI flash mode for environment │ │
│ │ [ ] Access Environment in SPI flashes before relocation │ │
│ │ [ ] Environment in a UBI volume │ │
│ │ [*] Enable redundant environment support │ │
│ │ (0x0) Environment address │ │
│ │ (0x700000) Environment offset │ │
│ │ (0x740000) Redundant environment offset │ │
│ │ (0x40000) Environment Size │ │
│ │ (0x4000) Environment Sector-Size