Why I did it [E1031] fix pca9548 initializes failed occasionally in stress test. When failure happened, ismt i2c bus hang up and need power cycle to recover it. How I did it Add 0.5s delay between setuping and configuring pca9548 i2c mux. How to verify it Reboot stress test at least 100 times without failure. Co-authored-by: Ikki Zhu <79439153+qnos@users.noreply.github.com>
This commit is contained in:
parent
d351e05f82
commit
642358c474
@ -33,6 +33,7 @@ start)
|
||||
[ $found -eq 0 ] && echo "cannot find iSMT" && exit 1
|
||||
|
||||
i2cset -y ${devnum} 0x73 0x10 0x00 0x01 i
|
||||
sleep 0.5
|
||||
|
||||
# Attach PCA9548 0x73 Channel Extender for CPU Board
|
||||
echo pca9548 0x73 > /sys/bus/i2c/devices/i2c-${devnum}/new_device
|
||||
|
Loading…
Reference in New Issue
Block a user