Firmware flashing
This commit is contained in:
parent
ff52318032
commit
412ee1d52b
1 changed files with 17 additions and 0 deletions
17
how_to
17
how_to
|
@ -1215,3 +1215,20 @@ Convert docx to text format in CLI:
|
||||||
docx2txt <name>.docx
|
docx2txt <name>.docx
|
||||||
# Can output markdown
|
# Can output markdown
|
||||||
pandoc <name>.docx -o <name>.md
|
pandoc <name>.docx -o <name>.md
|
||||||
|
|
||||||
|
Flash BIOS using CH341A and SOP8 clip:
|
||||||
|
Hardware setup:
|
||||||
|
/!\ Don't connect USB before everything else is plugged-in correctly
|
||||||
|
/!\ Remove all source of alimentation from the target board (power jack AND battery)
|
||||||
|
Connect clip to EEPROM: red wire is pin 1
|
||||||
|
Connect clip to CH341A: use the SPI/BIOS side of the programmer
|
||||||
|
Reading firmware:
|
||||||
|
sudo pacman -S flashrom
|
||||||
|
# Flashrom list of supported chips: https://www.flashrom.org/Supported_hardware
|
||||||
|
# https://wiki.archlinux.org/title/Flashing_BIOS_from_Linux#Flashrom
|
||||||
|
sudo flashrom --programmer ch341a_spi -r backup1.bin
|
||||||
|
sudo flashrom --programmer ch341a_spi -r backup2.bin
|
||||||
|
# Check we got a correct read
|
||||||
|
cmp backup1.bin backup2.bin
|
||||||
|
Flashing firmware:
|
||||||
|
sudo flashrom --programmer ch341a_spi -w <new_firmware.bin>
|
||||||
|
|
Loading…
Reference in a new issue