Lines Matching refs:bios
9 # * H2O BIOS, with RO VPD area copied from the current BIOS
24 DEFINE_string bios "" "Path of system firmware (BIOS) binary to write" "b"
68 local which_rom=$1 # EC or BIOS
89 cp "$OLD_BIOS" "$FLAGS_backup_dir/$FLAGS_asset_tag.bios.bin"
93 # from the BIOS binary. Failure of this is only a warning, since
94 # the information is still in the old BIOS.
104 # Add a script to restore the BIOS and GPT
108 echo "Restoring BIOS"
109 ${FLASHROM_BIOS} -w "$FLAGS_asset_tag.bios.bin"
115 echo "To restore original BIOS and SSD:"
124 [ -n "$FLAGS_bios" ] || err_die "Please specify a BIOS file (-b bios.bin)"
139 debug_msg "Reading BIOS from EEPROM"
165 disable_wp "BIOS" ${FLASHROM_BIOS}
171 debug_msg "Writing BIOS"
172 $NOTHING ${FLASHROM_BIOS} -w "$NEW_BIOS" || err_die "Unable to write BIOS"