Browse Source

x230: add -d to me_cleaner to remove RW permissions to the flash

me_cleaner says:
remove the ME/TXE Read/Write permissions to the other regions on the
flash from the Intel Flash Descriptor (requires a full dump).

Which sounds reasonable to do.

Fixes #76
pull/80/head
Martin Kepplinger 5 years ago
parent
commit
4b37ce7377
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      x230/external_install_bottom.sh

+ 2
- 2
x230/external_install_bottom.sh View File

@ -27,7 +27,7 @@ usage()
echo ""
echo " -f <hardware_flasher> supported flashers: rpi, ch341a"
echo " -c <chipname> flashrom chip description to use"
echo " -m apply me_cleaner -S"
echo " -m apply me_cleaner -S -d"
echo " -l lock the flash instead of unlocking it"
echo " -k <backup> save the current image as"
echo " -b <spi frequency> frequency of the RPi SPI bus in Hz. default: 128"
@ -225,7 +225,7 @@ echo -e "${GREEN}connection ok${NC}"
echo "start unlocking ..."
if [ "$me_clean" -gt 0 ] ; then
${ME_CLEANER_PATH} -S -O "${TEMP_DIR}"/work.rom "${TEMP_DIR}"/test1.rom
${ME_CLEANER_PATH} -d -S -O "${TEMP_DIR}"/work.rom "${TEMP_DIR}"/test1.rom
else
cp "${TEMP_DIR}"/test1.rom "${TEMP_DIR}"/work.rom
fi


Loading…
Cancel
Save