[ ] represents a pinO represents a mounting hole----------------------------------------------------------------------------------------------------- ---------- | [ 2] [ 4] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [24] [ ] [ ] [ ] [ ] [ ] [ ] [38] [40] | | | O [ 1] [ 3] [ ] [ ] [ ] [ ] [ ] [ ] [17] [19] [21] [23] [25] [ ] [ ] [ ] [ ] [ ] [37] [39] O | USB | | | | | VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV (chips and other stuff below) VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
[ ] represents a pinO represents a mounting hole----------------------------------------------------------------------------------------------------------- ---------- | [5v ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ 8] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [21 ] | | | O [3.3V] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [3.3V] [10] [ 9] [11] [GND] [ ] [ ] [ ] [ ] [ ] [ ] [GND] O | USB | | | | | VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV (chips and other stuff below) VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
W25Q64.V in flashrom --------
[1]__|O |__[8]
[2]__| Chip |__[7]
[3]__| |__[6]
[4]__| |__[5]
--------
--------
[/CS]__|O |__[VCC]
[DO]__| Chip |__[/HOLD]
[/WP]__| |__[CLK]
[GND]__| |__[DI]
--------
\ \ represents the springs on the clip[24] [17] [21] \ \ [ ] [ ] \ \ [23] [25] [19]
W25Q64FVW25Q256.V 11)sudo apt install 'flashrom'
****
sudo apt install libpci-dev libftdi-dev libusb-1.0-0-dev git-core build-essential
****
rm -Rf ~/'flashrom' && git clone -b 'master' 'https://github.com/flashrom/flashrom.git' ~/'flashrom' --depth '1'
****
cd ~/'flashrom' && make --jobs='4' && sync
spispeed=8000 is necessary for reading from a W25Q64FV chipsudo flashrom --programmer 'linux_spi':'dev=/dev/spidev0.0,spispeed=8000' --read ~/'test1.bin' && sudo flashrom --programmer 'linux_spi':'dev=/dev/spidev0.0,spispeed=8000' --read ~/'test2.bin' && sudo flashrom --programmer 'linux_spi':'dev=/dev/spidev0.0,spispeed=8000' --read ~/'test3.bin' && sync
md5sum ~/'test1.bin' && md5sum ~/'test2.bin' && md5sum ~/'test3.bin'
rm -fv ~/'test2.bin' ~/'test3.bin' && sync
spispeed=8000 is necessary for reading from a W25Q64FV chipsudo flashrom --programmer 'linux_spi':'dev=/dev/spidev0.0,spispeed=8000' --read ~/'backup-original.bin' && sync
md5sum ~/'test1.bin' && md5sum ~/'backup-original.bin'
rm -fv ~/'test1.bin' && sync
x to the location of the new ROM you want flashedspispeed=8000 is necessary for writing to a W25Q64FV chipspispeed as-neededsync && sudo flashrom --programmer 'linux_spi':'dev=/dev/spidev0.0,spispeed=8000' --write x
****
git clone -b 'master' 'https://github.com/corna/me_cleaner.git' ~/'me_cleaner' --depth '1'
****
python ~/'me_cleaner/me_cleaner.py' --check ~/'backup-original.bin'
--descriptor caused an Acer laptop to not boot; remove if it causes problems--soft-disable-only can be used to set the MeAltDisable or HAP bit only and not remove partitions 12)python ~/'me_cleaner/me_cleaner.py' --soft-disable --descriptor --output ~/'me_cleaner-soft-disable-descriptor.bin' ~/'backup-original.bin'
spispeed as-neededsync && sudo flashrom --programmer 'linux_spi':'dev=/dev/spidev0.0,spispeed=8000' --write ~/'me_cleaner-soft-disable-descriptor.bin'
****
cd ~ && rm -Rf ~/'flashrom' && sync
cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/coreboot/src' && git clone --branch 'master' --depth '1' 'https://github.com/coreboot/coreboot.git' ~/'Projects/coreboot/src' && sync
sudo dnf install 'pciutils-devel'
****
cd ~/'Projects/coreboot/src/util/intelmetool' && make --jobs='3' && sync
****
cd ~/'Projects/coreboot/src/util/intelmetool' && sudo ~/'Projects/coreboot/src/util/intelmetool/intelmetool' --help
sudo dnf install 'pciutils-devel'
****
cd ~/'Projects/coreboot/src/util/ifdtool' && make --jobs='3' && sync
me_cleaner's --soft-disable-onlyme_cleaner's --check optionme_cleaner****
cd ~/'Projects/coreboot/src/util/ifdtool' && ~/'Projects/coreboot/src/util/ifdtool/ifdtool' --help