Hi, i use this option to provide a default environment:
https://github.com/frank-w/u-boot/blob/89401dc85a3d1793261024a6e4047a7e4c9d079d/configs/mt7623n_bpir2_defconfig#L64 regards Frank > Gesendet: Mittwoch, 12. Juni 2019 um 10:43 Uhr > Von: "Stefano Babic" <sba...@denx.de> > Fully agree. Rather, I do not think there is a relevant example. But the > environment is something like data and should not be part of the header > file as it is for histoical reason. I added some times ago a way to > extract the environment from the header and make the transition easy > (see make u-boot-initial-env). And if the environment is split from the > header as CONFIG_USE_DEFAULT_ENV_FILE allows, it is also easier to set > an own environment via OE BSP layer without pushing for each small > change to U-Boot. Not only, environments often conflict, and what is > good for a project becomes evil for another one. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot