Dear Sir,
I use flashrom0.9.8 to update Coreboot BIOS on Rangeley platform,
Flash result its fail, could you help teach me how to fix this issue?
Thanks.
Attach file is log file.
Best Regards
James Lee / 李清正
BIOS Engineer
james_lee@lannerinc.com mailto:allan_su@lannerinc.com
立端科技股份有限公司
Lanner Electronics
www.lannerinc.com http://www.lannerinc.com/
(886) Tel:(886) 286926060 # 553
5F, 173, section 2 Datong road, Sijhih City, Taipei 221, Taiwan.
On Fri, 20 Mar 2015 14:04:59 +0800 "james_lee" james_lee@lannerinc.com wrote:
0x54: 0x000f0000 FREG0: Flash Descriptor region (0x00000000-0x0000ffff) is read-write. 0x58: 0x07ff0400 FREG1: BIOS region (0x00400000-0x007fffff) is read-write. […] Reading old flash chip contents... SSFS: SCIP=0, FDONE=1, FCERR=1, AEL=0 SSFC: SCGO=0, ACS=0, SPOP=0, COP=1, DBC=63, SME=0, SCF=0 Running OPCODE 0x03 failed at address 0x010000 (payload length was 64).
Hi,
the problem is that the regions in the flash descriptor do not cover the whole address space of the chip. The is a hole between FREG0 and FREG1 from 0x10000 to 0x3fffff. The chipset does not allow any accesses to these uncovered addresses but flashrom usually reads and writes the complete chip. The easiest way to fix this is to change the flash descriptor and extend FREG1 so that it starts immediately after FREG0 at 0x10000 (with an external programmer).
Hi Stefan, Thanks, I modify the descript region length to 400000 (0~3fffff), Now its work fine, issue is fixed, I will test more for this, thanks. Best Regards James
0x54: 0x000f0000 FREG0: Flash Descriptor region (0x00000000-0x0000ffff) is read-write. 0x58: 0x07ff0400 FREG1: BIOS region (0x00400000-0x007fffff) is read-write. […] Reading old flash chip contents... SSFS: SCIP=0, FDONE=1, FCERR=1, AEL=0 SSFC: SCGO=0, ACS=0, SPOP=0, COP=1, DBC=63, SME=0, SCF=0 Running OPCODE 0x03 failed at address 0x010000 (payload length was 64).
Hi,
the problem is that the regions in the flash descriptor do not cover the whole address space of the chip. The is a hole between FREG0 and FREG1 from 0x10000 to 0x3fffff. The chipset does not allow any accesses to these uncovered addresses but flashrom usually reads and writes the complete chip. The easiest way to fix this is to change the flash descriptor and extend FREG1 so that it starts immediately after FREG0 at 0x10000 (with an external programmer). -- Kind regards/Mit freundlichen Grüßen, Stefan Tauner