Forum Discussion

JonGoh's avatar
JonGoh
Icon for New Contributor rankNew Contributor
11 months ago

Agilex 7 U-Boot Environment Save

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

3 Replies

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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

  • tehjingy_Altera's avatar
    tehjingy_Altera
    Icon for Regular Contributor rankRegular Contributor

    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