Hi igor,
Thanks for the response. this is a iMX6ULL EVK customized board, I have already set up the NAND ENV parameters in mx6ullevk.h based on following customized ubootenv partition in NAND:
0: boot 0x00400000 0x00000000 0
1: ubootenv 0x00100000 0x00400000 0
$ cat mx6ullevk.h
.........
#define CONFIG_ENV_OFFSET 0x400000
#define CONFIG_ENV_SECT_SIZE 0x100000
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
........
Did I get wrong for setting up ENV_OFFSET and ENV_SECT_SIZE based on the ubootenv NAND partition offset and size? I did notice your reference u-boot source version is 2019 where my u-boot version is 2018 defined by Zeus meta-freescale.
Thank you.
Kind regards,
jupiter