Write usb4-pd

This commit is contained in:
Jeremy Soller
2020-12-01 12:11:29 -07:00
parent 9b4ccb2837
commit 7cadbfc4cf

View File

@@ -11,9 +11,11 @@ cargo build \
--release \
--manifest-path ../tools/coreboot-collector/Cargo.toml \
--example usb4-pd
sudo ../tools/coreboot-collector/target/release/examples/usb4-pd
make -C eeprog-0.7.6-tear12
sudo ./eeprog-0.7.6-tear12/eeprog \
"${I2C_DEV}" \
0x50 \
@@ -21,4 +23,10 @@ sudo ./eeprog-0.7.6-tear12/eeprog \
-r 0:32768 \
-o eeprom.rom
xxd eeprom.rom | less
echo sudo ./eeprog-0.7.6-tear12/eeprog \
"${I2C_DEV}" \
0x50 \
-16 \
-t 5 \
-w 0 \
-i ../models/galp5/usb4-pd.rom