Attention is currently required from: Shiyu Sun, Edward O'Callaghan. Edward O'Callaghan has uploaded a new patch set (#4) to the change originally created by Shiyu Sun. ( https://review.coreboot.org/c/flashrom/+/49785 )
Change subject: realtek_mst_i2c_spi.c: Move gpio 88 toggle outside write function ......................................................................
realtek_mst_i2c_spi.c: Move gpio 88 toggle outside write function
Gpio 88 toggle is used as write protection disable/enable now and we need that to happen at the initialization of programmer.
Background: The RTD devices has an interesting implementation where the flag we need to flash is `aa aa aa ff ff`. However, after reset, the boot firmware of RTD device will overwrite this flag value to `aa aa aa ff aa`. Given this evidence, the root cause would be that the boot firmware is doing something with protection enable by itself. This explains why the message 'Block protection cannot be disabled' is shown since the block protection is called before write operation.
BUG=b:147402710,b:152558985,b:178766553 BRANCH=none TEST=flashrom -p realtek_mst_i2c_spi:bus=x,reset-mcu=1,enter-isp=1 -w image.bin
Signed-off-by: Shiyu Sun sshiyu@chromium.org Change-Id: I237bf9f8aa0fcbb904e7f0c09c74fd179e8c70c1 --- M realtek_mst_i2c_spi.c 1 file changed, 7 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/85/49785/4