Announcement

Collapse
No announcement yet.

HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

    I have a problem with the BIOS for a HP Pro X2.
    What I try to do is to load a new file to the MX25L12873F chip.
    I'm using the RaspberryPi to read/write to the BIOS.
    I connect the BIOS to the RPI as below, I have succesfully used this setup many times before.
    Before I started I saved the current BIOS three times and compare the checksum, without any problems. Then I downloaded and extracted the new BIOS bin file. But the new file was smaller than the original one.
    Error: Image size (9437184 B) doesn't match the expected size (16777216 B)! So i added some extra padding to make it the same size, truncate -s +7340032 ROM-file.bin
    I successfully erase, write and verify the new file to the chip. But when I start the computer nothing happens, except that the Caps Loch and Num Lock flashes seven times, this usually means BIOS failure.
    I have tried to load the original file back again, but the result is the same as with the new file. The screen is black, no sound, just those seven blinks.
    The computer was working before. Does anyone here have any idea what the cause of this behaviour could be?

    RPI MX25L12873 RPI
    Pin24 GPIO8 |CS VCC | +3V
    Pin21 GPIO9 |SO/SIO1 SIO3 | NC
    NC |SIO2 SCLK | Pin23 GPIO11
    GND |GND SI/SIO0| Pin19 GPIO10
    Last edited by SMDFlea; 01-08-2022, 05:21 PM. Reason: HP Pro x2 612 G2

    #2
    Re: HP Pro X2. Flashrom new file to MX25L12873F BIOS

    post the laptop serial number and your original bios backup
    All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

    Comment


      #3
      Re: HP Pro X2. Flashrom new file to MX25L12873F BIOS

      This is the serial number: BDAO0100CTH8X0ABFH.
      I add the backup of the original BIOS file.
      This is the flashrom command that I used to write the BIOS file,
      sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0,spispeed=1000 -w P86_0140.bin
      Attached Files
      Last edited by poon64; 01-08-2022, 05:06 PM.

      Comment


        #4
        Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

        Your serial number is 5CG7372JZ3. The extracted bios is only a 9MB update
        Try the attached bios.
        Attached Files
        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

        Comment


          #5
          Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

          How did you get that serial number?
          Is all of the downloadable BIOS files from HP only updates, and how did you get the attached file?

          But it's still the same thing after writing the file that you sent to me, the Num Lock and Caps Lock flashing seven times when power on. But writing the BIOS file isn't any problem.

          pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0,spispeed=1000 -w P86
          _0140_ME_Clean.bin
          flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
          flashrom is free software, get the source code at https://flashrom.org

          Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
          Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
          Reading old flash chip contents... done.
          Erasing and writing flash chip... Erase/write done.
          Verifying flash... VERIFIED.

          Comment


            #6
            Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

            Originally posted by SMDFlea View Post
            Your serial number is 5CG7372JZ3. The extracted bios is only a 9MB update
            Try the attached bios.
            I just realized that the serial number I gave you was the one from the back cover, but I just saw that there are also a serial number inside the computer
            You got it correct, it's 5CG7372JZ3
            I also realized that the serial number will be in the original BIOS file as well.
            Last edited by poon64; 01-09-2022, 08:54 AM.

            Comment


              #7
              Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

              I did another test, before I wrote the file I did a checksum test.
              Then I wrote the file to the BIOS, and immediately read the file back from the BIOS and did another checksum test. The checksums were identical.
              Then I did a power on and saw the seven flashes again, I then powered of and did another read from the BIOS and did another checksum test. This time the checksum was different, can this be a problem, or is it normal that the checksum changes when you power on the computer, guess som writing to the BIOS occur. Below is the dump from the terminal of the steps I did.


              pi@raspberrypi:~/flashrom $ sha512sum P86_0140_ME_Clean.bin
              b13e9da67c01df433daa3257194cd6f1efdd2dc8b921d28998045acafc928148c37bcc1797fa6e67b836097638131094f5fedcf9fa8b9b0e43838a607489dbba P86_0140_ME_Clean.bin
              pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0 -w P86_0140_ME_Clean.bin
              flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
              flashrom is free software, get the source code at https://flashrom.org

              Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
              Using default 2000kHz clock. Use 'spispeed' parameter to override.
              Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
              Reading old flash chip contents... done.
              Erasing and writing flash chip... Erase/write done.
              Verifying flash... VERIFIED.
              pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0 -r P86_0140_ME_Clean_DL_from_BIOS.bin
              flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
              flashrom is free software, get the source code at https://flashrom.org

              Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
              Using default 2000kHz clock. Use 'spispeed' parameter to override.
              Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
              Reading flash... done.
              pi@raspberrypi:~/flashrom $ sha512sum P86_0140_ME_Clean_DL_from_BIOS.bin
              b13e9da67c01df433daa3257194cd6f1efdd2dc8b921d28998045acafc928148c37bcc1797fa6e67b836097638131094f5fedcf9fa8b9b0e43838a607489dbba P86_0140_ME_Clean_DL_from_BIOS.bin
              pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0 -r P86_0140_ME_Clean_DL_from_BIOS.bin
              flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
              flashrom is free software, get the source code at https://flashrom.org

              Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
              Using default 2000kHz clock. Use 'spispeed' parameter to override.
              Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
              Reading flash... done.
              pi@raspberrypi:~/flashrom $ sha512sum P86_0140_ME_Clean_DL_from_BIOS.bin
              eb7cecc34d09ed064af26f30fed0caa491084a45811b8bad23240507836c826e9fd643d8d2062dd96150f9fa09388a3929f061e97bc9aef4da8f7ebdb762ac2a P86_0140_ME_Clean_DL_from_BIOS.bin

              Comment

              Working...
              X