It could be that a manufacturer has released the same motherboards with two various sizes of a BIOS chip. You could try padding your 256 KB image with FF's to increase its' size up to 512 KB and then flash to the chip, after making a full backup ofcourse. Also you could look through your existing backup, to see how much of your 512 KB image is really occupied with anything thats not FF's, especially at the end. Could use some simple hex editor like Okteta to quickly check this
On Tue, May 29, 2018 at 10:45 PM, Skoll RC firstname.lastname@example.org wrote:
I have an external programmer and a full backup of my current bios. nothing writen, there was a label but it had to come off with time. How can I concatenate images? The update is not a full bios, is it? ________________________________ De : David Hendricks email@example.com Envoyé : mardi 29 mai 2018 19:19 À : Skoll RC Cc : firstname.lastname@example.org Objet : Re: [flashrom] Update bios (not full flash) with flashrom
On Sun, May 27, 2018 at 11:44 AM, Skoll RC email@example.com wrote:
I would like to update my GA-8I915P-MF's bios with flashrom but Gigabyte only provide updates and no full bios so when I try to update with flashrom -p internal -w 8i9pmf.f2 I have an error message: Error: Image size (262144 B) doesn't match the flash chip's size (524288 B)! How can I fix it?
That's unfortunate. Do you have an external programmer (something like a buspirate) that can be used in case things go wrong? Can you tell if there is anything written to the lower half of the chip? It could be as simple as concatenating the 256KB image to itself to create a 512KB image. But I wouldn't recommend trying that unless you have a good means of recovering.
flashrom mailing list firstname.lastname@example.org https://mail.coreboot.org/mailman/listinfo/flashrom