Add sunrise ch341a chip

This commit is contained in:
Jeremy Soller
2022-02-24 16:31:43 -07:00
parent 68d53a511c
commit 4f277a36df
3 changed files with 3 additions and 2 deletions

1
models/sunrise/chip.txt Normal file
View File

@@ -0,0 +1 @@
W25Q256.V

View File

@@ -11,7 +11,7 @@ MODEL="$1"
source scripts/_ch341a.sh
flashrom -p ch341a_spi -c "${CHIP}" -r build/dump.rom
sudo flashrom -p ch341a_spi -c "${CHIP}" -r build/dump.rom
./coreboot/build/cbfstool build/dump.rom read -r CONSOLE -f build/dump.log

View File

@@ -11,4 +11,4 @@ MODEL="$1"
source scripts/_ch341a.sh
flashrom -p ch341a_spi -c "${CHIP}" -w "build/${MODEL}/firmware.rom"
sudo flashrom -p ch341a_spi -c "${CHIP}" -w "build/${MODEL}/firmware.rom"