learngin uboot design parameter recovery mechanism
pseudocode:
if( getenv(“uboot_env_init”) != NULL){
if(uboot_env_init != HAVE_INIT){
Set uboot_env_init=1;
Write to uboot_env partition;
}else{
Means uboot env lost;
Run restort_factory_env;
}