@@ -180,6 +180,10 @@ board_config() {
180180 PROGRAMMER_EC=" ite_ec"
181181 if check_if_dasharo; then
182182 # if v1.5.1 or older, flash the whole bios region
183+ # TODO: Let DTS determine which parameters are suitable.
184+ # FIXME: Can we ever get rid of that? We change so much in each release,
185+ # that we almost always need to flash whole BIOS regions
186+ # because of non-backward compatbile or breaking changes.
183187 compare_versions $DASHARO_VERSION 1.5.2
184188 if [ $? -eq 1 ]; then
185189 # For Dasharo version lesser than 1.5.2
@@ -208,7 +212,11 @@ board_config() {
208212 PROGRAMMER_BIOS=" internal"
209213 PROGRAMMER_EC=" ite_ec"
210214 if check_if_dasharo; then
211- # if v1.5.0 or older, flash the whole bios region
215+ # if v1.5.1 or older, flash the whole bios region
216+ # TODO: Let DTS determine which parameters are suitable.
217+ # FIXME: Can we ever get rid of that? We change so much in each release,
218+ # that we almost always need to flash whole BIOS regions
219+ # because of non-backward compatbile or breaking changes.
212220 compare_versions $DASHARO_VERSION 1.5.1
213221 if [ $? -eq 1 ]; then
214222 # For Dasharo version lesser than 1.5.1
@@ -237,6 +245,10 @@ board_config() {
237245 PROGRAMMER_EC=" ite_ec"
238246 if check_if_dasharo; then
239247 # if v1.7.2 or older, flash the whole bios region
248+ # TODO: Let DTS determine which parameters are suitable.
249+ # FIXME: Can we ever get rid of that? We change so much in each release,
250+ # that we almost always need to flash whole BIOS regions
251+ # because of non-backward compatbile or breaking changes.
240252 compare_versions $DASHARO_VERSION 1.7.2
241253 if [ $? -eq 1 ]; then
242254 # For Dasharo version lesser than 1.7.2
@@ -266,6 +278,10 @@ board_config() {
266278 PROGRAMMER_EC=" ite_ec"
267279 if check_if_dasharo; then
268280 # if v1.7.2 or older, flash the whole bios region
281+ # TODO: Let DTS determine which parameters are suitable.
282+ # FIXME: Can we ever get rid of that? We change so much in each release,
283+ # that we almost always need to flash whole BIOS regions
284+ # because of non-backward compatbile or breaking changes.
269285 compare_versions $DASHARO_VERSION 1.7.2
270286 if [ $? -eq 1 ]; then
271287 # For Dasharo version lesser than 1.7.2
@@ -775,7 +791,7 @@ check_if_me_disabled() {
775791 echo " ME disabled by Security Override MEI Message/HMRFPO" >> $ERR_LOG_FILE
776792 ME_DISABLED=1
777793 return
778- elif [ $ME_OPMODE == " 5 " ]; then
794+ elif [ $ME_OPMODE == " 6 " ]; then
779795 echo " ME disabled by Security Override MEI Message/HMRFPO" >> $ERR_LOG_FILE
780796 ME_DISABLED=1
781797 return
@@ -808,12 +824,12 @@ force_me_update() {
808824 print_warning " You have been warned."
809825 while : ; do
810826 echo
811- read -r -p " Force the flashing without updating ME ? (Y|n) " OPTION
827+ read -r -p " Skip ME flashing and proceed with BIOS/firmware flashing/udpating ? (Y|n) " OPTION
812828 echo
813829
814830 case ${OPTION} in
815831 yes|y|Y|Yes|YES)
816- print_warning " Proceeding without ME flashing, because we were forced to."
832+ print_warning " Proceeding without ME flashing, because we were asked to."
817833 break
818834 ;;
819835 n|N)
@@ -887,7 +903,7 @@ set_intel_regions_update_params() {
887903 if [ $ME_DISABLED -eq 1 ]; then
888904 FLASHROM_ADD_OPT_REGIONS+=" -i me"
889905 else
890- echo " The firmware binary to be flashed contains Management Engine (ME), but ME is not disabled!" >> $ERR_LOG_FILE
906+ echo " The firmware binary to be flashed contains Management Engine (ME), but ME is not disabled!" >> $ERR_LOG_FILE
891907 print_error " The firmware binary contains Management Engine (ME), but ME is not disabled!"
892908 force_me_update
893909 fi
0 commit comments