Change uboot environment parameters from userspace (YOCTO Kirskstone)

  • Hi all,

    I'm trying to view and set environment parameters from userspace using last Yocto Kirstone release. I append recipes "u-boot-tools" and "u-boot-fw-utils" to have fw_printenv and fw_setenv tools, but now I need to create /etc/fw_env.config file to access to parameters. Could you indicate the right configuration of device / offset / size...? I'm using single board computer ArmStoneMX8MP.

    /dev/mmcblk0 ????? ??????

    Thanks in advance.

  • Hello,

    for the Pre-Release fsimx8mp-Y5.15-pre.1 you can use the following values:


    # Configuration file for fw_(printenv/setenv) utility.

    # F&S Block device

    /dev/mmcblk0boot0 0x00138000 0x4000

    /dev/mmcblk0boot0 0x0013C000 0x4000

    The values are documented in the following file in the U-boot sources:


    Please that these values will change with the actual release as we are relocating the U-boot environment!

    I will post the new values in this thread as soon as the release is ready.

    Your F&S Support Team

  • Hello,

    please excuse the late answer.

    For the Release fsimx8mp-Y2023.09 on the armstonemx8mp the following values are now needed

    1. # Configuration file for fw_(printenv/setenv) utility.
    2. # F&S Block device
    3. /dev/mmcblk0boot0 0x00040000 0x4000
    4. /dev/mmcblk0boot1 0x00040000 0x4000

    Your F&S Support Team