On Mon, 22 Jul 2013 17:14:58 +0200 goodgod261 goodgod261@wp.pl wrote:
Hi,
I've successfully flashed my Gigabyte GA-P55A-UD7 with flashrom (svn 1701)! Flashrom reported an error when erasing chip, but everything worked fine. Three flash chips have been detected with one physical address and the same contents. Flashing the first one changed all of them, so it's probably a bug. It might related to Gigabyte's DualBIOS. By the way, wouldn't it be relatively easy to port Coreboot to motherboards with DualBIOS?
Yet another one who got confused by my wording :) What really happens is that flashrom can not distinguish between the 3 chips mentioned (yet). They all look the same to flashrom and the user has to help a bit.
I have changed the wording now... old: Multiple flash chips were detected: "MX25L1605", "MX25L1605A/MX25L1606E", "MX25L1605D/MX25L1608D" Please specify which chip to use with the -c <chipname> option.
new: Multiple flash chip definitions match the detected chip(s): "MX25L1605", "MX25L1605A/MX25L1606E", "MX25L1605D/MX25L1608D" Please specify which chip definition to use with the -c <chipname> option.
Would that have been less confusing to you? MX25L1605 is apparently not the correct choice, since that one failed to erase correctly BTW. It does not matter too much because there are multiple erase functions defined for each chip and some of them work on all models.
Regarding DualBios: it is of no help for coreboot development (yet), rather the opposite because the fallback mechanism is not fully understood yet and makes things more complicated than if it would not be there to begin with.
But there has been some interest in this and one community member is working on a coreboot port of a gigabyte board with DualBios which also led to a new version of a old patch for flashrom that allows to select the flash chip to act upon. If you want to help testing, please take a look at this tree on github: https://github.com/stefanct/flashrom/tree/dualbios and/or join our IRC channel.