if($v)printf("Files to be flashed:<ul>$tmp</ul>");
if($v)printf("Files to be flashed:<ul>$tmp</ul>");
}
}
//$safe_list is ready
//$safe_list is ready
if(is_dir($NAND_PATH)){
if(is_dir($NAND_PATH)&&$rootfs_uploaded){
backup_note();
backup_note();
die("<b style='color:red'>ERROR</b>: Please boot from mmc (<a href='http://wiki.elphel.com/index.php?title=Tmp_manual#Boot'>instructions</a>)");
rootfs_warning_note();
}else{
}
if($v){
if($v){
backup_note();
backup_note();
printf("<span style='color:green'>Ready for flashing.</span>");
printf("<span style='color:green'>Ready for flashing.</span>");
}
}
}
return$safe_list;
return$safe_list;
}
}
functionrootfs_warning_note(){
printf("<b style='color:orange'>Warning</b>: To update rootfs, please boot from mmc (<a href='http://wiki.elphel.com/index.php?title=Tmp_manual#Boot'>instructions</a>). Will skip <b>rootfs.ubi</b>");