extend environment with file

Frank Wunderlich frank-w at public-files.de
Tue Dec 21 13:56:02 CET 2021


Hi,

currently i use distroboot on my board which sets some environment-variables, some other (memory addresses) were set in my soc-specific header file (include/configs/rk3568_common.h).

But distroboot is a bit too limited for my needs (no tftp, no script, ...), so imho i need to use the bootmenu way here, but for local kernel-bootup run distro_bootcmd.

I want to add some more variables (e.g. for bootmenu) and for easier maintaining i used a txt-file for it and defined

CONFIG_DEFAULT_ENV_FILE="uEnv_r2pro.txt"

but this option seems to clear the previous environment from distroboot and soc header file...i have now only the vars from the file defined.

i tried adding CONFIG_ENV_APPEND=y but i have still only the vars from the file.

Is there a way to append (distrocmd + soc-header + uenv-file) instead of overwriting?

regards Frank


More information about the U-Boot mailing list