AM625: AM62x EVM – Need clarification on uEnv.txt / uboot.env load address for fw_printenv

Part Number: AM625

Tool/software:

Description:

I am working with an AM62x-EVM board and facing an issue with environment variable access.
My concern is that fw_printenv is not working properly, and I suspect it may be due to incorrect configuration of the U-Boot environment offset/address. 

for your ref i provided the logs : root@am62xx-evm:~# fw_printenv
Cannot read environment, using default
Cannot read default environment from file

I would like to confirm at which address uEnv.txt (or uboot.env) is loaded in the AM62x-EVM, so I can configure fw_printenv correctly.

Hardware / Software Details:

  • Part Number: AM62x-EVM

  • Bootloader (U-Boot): 2025.01

  • Linux Kernel: 6.6.58

  • Storage medium: eMMC

Steps Tried:

  1. Booting the board with Linux from eMMC

  2. Verified boot log shows successful boot with U-Boot 2025.01.

  3. Attempted to run fw_printenv, but it fails to read the environment.

  4. I suspect the fw_env.config file is not pointing to the correct environment address.

Questions:

  1. At which address/offset is the uEnv.txt / uboot.env stored on the AM62x-EVM (for eMMC and SD boot cases)?

  2. How should the fw_env.config file be configured correctly to access fw_printenv on this platform?

    Thank you . 

  • Hi Mohseen,

    I believe fw_printenv accesses the env stored in any block device based on the configuration in fw_env.config. However, the AM62x Processor SDK U-Boot doesn't store the env in any block device. The env is built in the U-Boot binary and loaded in DDR for U-Boot and kernel to use.