Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21399 Discussions

Agilex 7 U-Boot Environment Save

JonGoh
Novice
245 Views

Hi,

 

I am using the Agilex 7 F-Series Development Kit, and I would like to know how to change and save the U-boot environment (by using U-boot command save env) to flash instead of the SD card. 

 

I have looked through socfpga_agilex_defconfig and saw CONFIG_ENV_IS_IN_FAT=y. May I know if I should change this to something else, such as FLASH?

 

Thanks,

Jon

0 Kudos
3 Replies
JingyangTeh
Employee
143 Views

Hi

 

Sorry for the late response.

 

Yes, you are right.

The CONFIG_ENV_IS_IN_FAT flag informs the uboot to use the content of the env file as the run time environmental variable if it exist in the sdcard FAT partition.

 

For storage in flash you could set the CONFIG_ENV_IS_IN_UBI only and disable the CONFIG_ENV_IS_IN_FAT .

With this option uboot will store the environmental variable into the flash.

 

Regards

Jingyang, Teh

 

0 Kudos
JingyangTeh
Employee
107 Views

Hi


Do you have any follow up question on this question?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
73 Views

Hi


As we did not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


Regards

Jingyang, Teh



0 Kudos
Reply