Re: [flashrom] Update bios (not full flash) with flashrom

2018-05-30 Thread Mike Banon
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  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 
> Envoyé : mardi 29 mai 2018 19:19
> À : Skoll RC
> Cc : flashrom@flashrom.org
> Objet : Re: [flashrom] Update bios (not full flash) with flashrom
>
> On Sun, May 27, 2018 at 11:44 AM, Skoll RC  wrote:
>> Hi everyone,
>>
>> 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
> flashrom@flashrom.org
> https://mail.coreboot.org/mailman/listinfo/flashrom

___
flashrom mailing list
flashrom@flashrom.org
https://mail.coreboot.org/mailman/listinfo/flashrom

Re: [flashrom] Update bios (not full flash) with flashrom

2018-05-30 Thread Skoll RC
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 
Envoyé : mardi 29 mai 2018 19:19
À : Skoll RC
Cc : flashrom@flashrom.org
Objet : Re: [flashrom] Update bios (not full flash) with flashrom

On Sun, May 27, 2018 at 11:44 AM, Skoll RC  wrote:
> Hi everyone,
>
> 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
flashrom@flashrom.org
https://mail.coreboot.org/mailman/listinfo/flashrom

Re: [flashrom] Update bios (not full flash) with flashrom

2018-05-29 Thread David Hendricks
On Sun, May 27, 2018 at 11:44 AM, Skoll RC  wrote:
> Hi everyone,
>
> 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
flashrom@flashrom.org
https://mail.coreboot.org/mailman/listinfo/flashrom