Opened 4 years ago
Closed 3 years ago
#144 closed defect (worksforme)
TYAN S7012 support
| Reported by: | john@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | flashrom (please use trac on flashrom.org) | Keywords: | TYAN S7012 Intel ICH10R SST SST25VF032B |
| Cc: | Dependencies: | ||
| Patch Status: | there is no patch |
Description
I'm unable to flash a system that runs on a TYAN S7012 motherboard.
# flashrom -w bios.bin
flashrom v0.9.0-r659
No coreboot table found.
Found chipset "Intel ICH10R", enabling flash write... OK.
This chipset supports the following protocols: LPC,FWH,SPI.
Calibrating delay loop... OK.
Found chip "SST SST25VF032B" (4096 KB, SPI) at physical address 0xffc00000.
Flash image seems to be a legacy BIOS. Disabling checks.
Writing flash chip... COMPLETE.
Verifying flash... VERIFY FAILED at 0x00002000! Expected=0x00, Read=0xff
Running it with verbose the following error messages are printed out (repeating).
Writing flash chip... Invalid OPCODE 0x06
due to SPI master limitation, ignoring and hoping it will be run as PREOP
Transaction error!
run OPCODE 0x02 failed
spi_byte_program failed during command execution
Invalid OPCODE 0x06
due to SPI master limitation, ignoring and hoping it will be run as PREOP
Transaction error!
run OPCODE 0x02 failed
spi_byte_program failed during command execution
Invalid OPCODE 0x06
CONFIG_STRICT_DEVMEM is not set in my kernel.
Anything I should try out?
Attachments (0)
Change History (2)
comment:1 Changed 4 years ago by hailfinger
comment:2 Changed 3 years ago by hailfinger
- Resolution set to worksforme
- Status changed from new to closed
The code in question has been rewritten and it should work now. There was no response from the reporter in 3 months, so I guess this can be closed.

Latest flashrom has better error messages, but the problem you're hitting (transaction error) is ICH specific and not easy to address. The good news is that I may have figured out a trick (changing opcode type from write-with-address to write-without-address) to solve this.
If you're still interested in solving this puzzle, please download latest flashrom from svn and fun
flashrom -V
You can either attach the output to this ticket or mail it to flashrom@… . If you decide to mail it, please include a link to this ticket in your mail.
Thanks.