Part Number: TMDS64GPEVM
Hi,
I am working on a AM64x GP EVM board.
I am using prebuilt image from ti: tisdk-default-image-am64xx-evm-08.02.00.23.wic
I stop at u-boot menu and try to set a new environment variable.
After saving changes, I make a reset command, and the environment variable I previously saved is gone.
U-Boot SPL 2021.01-g44a87e3ab8 (May 05 2022 - 17:43:41 +0000) SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') SPL initial stack usage: 13392 bytes Trying to boot from MMC2 Starting ATF on ARM64 core... NOTICE: BL31: v2.5(release):08.03.00.002-dirty NOTICE: BL31: Built : 17:38:37, May 5 2022 U-Boot SPL 2021.01-g44a87e3ab8 (May 05 2022 - 17:42:22 +0000) SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') Trying to boot from MMC2 U-Boot 2021.01-g44a87e3ab8 (May 05 2022 - 17:42:22 +0000) SoC: AM64X SR1.0 Model: Texas Instruments AM642 EVM Board: AM64-GPEVM rev E2 DRAM: 2 GiB NAND: 0 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 => setenv aaa 1 => saveenv Saving Environment to FAT... OK => printenv aaa aaa=1 => reset resetting ... U-Boot SPL 2021.01-g44a87e3ab8 (May 05 2022 - 17:43:41 +0000) SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') SPL initial stack usage: 13392 bytes Trying to boot from MMC2 Starting ATF on ARM64 core... NOTICE: BL31: v2.5(release):08.03.00.002-dirty NOTICE: BL31: Built : 17:38:37, May 5 2022 U-Boot SPL 2021.01-g44a87e3ab8 (May 05 2022 - 17:42:22 +0000) SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') Trying to boot from MMC2 U-Boot 2021.01-g44a87e3ab8 (May 05 2022 - 17:42:22 +0000) SoC: AM64X SR1.0 Model: Texas Instruments AM642 EVM Board: AM64-GPEVM rev E2 DRAM: 2 GiB NAND: 0 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1 In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 => printenv aaa ## Error: "aaa" not defined
The same error happens if i try to make changes from Linux using fw_setenv command.
I am aware of using the file uEnv.txt to make changes.
However this solution is not good for us because the file is loaded after some uboot variables are parsed, and we need our variables to be parsed earlier.
How can we make changes to u-boot variables from u-boot menu, and from Linux as well.
Thanks,
Ben s.