I'm trying to flash an HP Probook 450 G5 (2XY63EA) BIOS using Arduino.
It's the first time I try this procedure so maybe I'm missing something stupid.
I've been able to unsolder bios chip (Winbond W25Q128JV) and wire it up to Arduino.
I also dumped it succesfully (dump.bin).
Now I'm having a hard time trying to reflash it, because the bios file I downloaded from HP has the wrong size.
I downloaded bios from HP (https://ftp.hp.com/pub/softpaq/sp103...0/sp103710.exe).
When launched, the executable extracts a file (Q85_011101.bin), that has a size of 11469376 bytes.
The tool can also put bios on a USB pen drive for flashing. This procedure creates a file on the pen drive (firmware.bin) whose size is 11470016 bytes.
The content of this file is the same as 1), plus a small header.
These two files are not accepted by Flashrom because are they are not the right size. The expected size is 16777216 bytes. This is actually the size of the file I dumped from the chip.
I tried to compare bios files with the current dump: I expected to see the same content + some padding, but while the content is similar, these files are definitely different, also in their "structure" (first bytes, last bytes,...).
Is there a way to convert one of the files provided by HP to something I can flash with Flashrom?
I tried to open them with UEFITool but I don't have enough experience on this to end up with something useful.
I attach all the files.
Thank you!
Roberto
It's the first time I try this procedure so maybe I'm missing something stupid.
I've been able to unsolder bios chip (Winbond W25Q128JV) and wire it up to Arduino.
I also dumped it succesfully (dump.bin).
Now I'm having a hard time trying to reflash it, because the bios file I downloaded from HP has the wrong size.
I downloaded bios from HP (https://ftp.hp.com/pub/softpaq/sp103...0/sp103710.exe).
When launched, the executable extracts a file (Q85_011101.bin), that has a size of 11469376 bytes.
The tool can also put bios on a USB pen drive for flashing. This procedure creates a file on the pen drive (firmware.bin) whose size is 11470016 bytes.
The content of this file is the same as 1), plus a small header.
These two files are not accepted by Flashrom because are they are not the right size. The expected size is 16777216 bytes. This is actually the size of the file I dumped from the chip.
I tried to compare bios files with the current dump: I expected to see the same content + some padding, but while the content is similar, these files are definitely different, also in their "structure" (first bytes, last bytes,...).
Is there a way to convert one of the files provided by HP to something I can flash with Flashrom?
I tried to open them with UEFITool but I don't have enough experience on this to end up with something useful.
I attach all the files.
Thank you!
Roberto
Comment