# Pastebin hd7GIdCN root@fomu-dev:~/fomu-factory-test/jig# git diff diff --git a/jig/bin/fomu-flash b/jig/bin/fomu-flash old mode 100644 new mode 100755 diff --git a/jig/bin/validate-spi.sh b/jig/bin/validate-spi.sh index 0798d9e..c4da243 100755 --- a/jig/bin/validate-spi.sh +++ b/jig/bin/validate-spi.sh @@ -9,29 +9,38 @@ rm -f $infofile # Memory size: 16 Mbit (15) # Device ID: 15 +# Manufacturer ID: Adesto (1f) +# Memory model: AT25SF161 (86) +# Memory size: 16 Mbit (01) +# Device ID: 14 +# Serial number: ff ff ff ff +# Status 1: 02 +# Status 2: 00 +# Status 3: ff + error_count=0 -if ! grep -q 'Manufacturer ID: Macronix (c2)' $infofile +if ! grep -q 'Manufacturer ID: Adesto (1f)' $infofile then echo -n "Unrecognized SPI manufacturer: " grep 'Manufacturer ID: ' $infofile error_count=$(($error_count+1)) fi -if ! grep -q 'Memory model: MX25R1635F (28)' $infofile +if ! grep -q 'Memory model: AT25SF161 (86)' $infofile then echo -n "Unrecognized memory model: " grep 'Memory model: ' $infofile error_count=$(($error_count+1)) fi -if ! grep -q 'Memory size: 16 Mbit (15)' $infofile +if ! grep -q 'Memory size: 16 Mbit (01)' $infofile then echo -n "Unrecognized memory size: " grep 'Memory size: ' $infofile error_count=$(($error_count+1)) fi -if ! grep -q 'Device ID: 15' $infofile +if ! grep -q 'Device ID: 14' $infofile then echo -n "Unrecognized device id: " grep 'Device ID: ' $infofile