I'm using Yocto to build custom image for Raspberry Pi 4b. In generated fitImage there is a section:
bootscr-uEnv.txt {
description = "U-boot script";
data = /incbin/("uEnv.txt");
type = "script";
arch = "arm";
compression = "none";
hash-1 {
algo = "sha256";
};
};
When my system is loaded via ethernet, u-boot reads uEnv.txt file from sd card (this file contains ip adddress of server from where fitImage will be downloaded). Then fitImage is downloaded and system boot's up. So my question is: What is the purpose of embedding uEnv.txt in fitImage file? Is this uEnv.txt file included in fit Image is actually read before kernel starts?
Thanks