DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sven69300
    New Member
    • Jan 2015
    • 9
    • France

    #1

    DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

    // Disclaimer - This tutorial is for information or educational purposes only. I can and will not be held responsible for any damages caused to your laptop, or any violations that could occur //

    Shopping list

    Hardware
    • one raspberry pi rev. B+ with case, micro-usb power supply with at least 1A output (500 mA is too weak for a raspberry pi, and can result in loss of network and other problems...)
    • usb keyboard, mouse, RJ45 network cable + Internet access
    • HDMI cable to connect for ex. to your TV
    • SOIC 8 pins probe and short cables (check on eBay, 15$ max)
    • philips (ph0?) screwdriver

    Software, bios
    • raspbian (debian distribution adapted to raspberry pi).
    • flashrom with necessary libraries
    • unlocked (password, computrace...) U52 and U53 bios

    Summary
    1. Install raspbian and flashrom on raspberry PI
    2. Wire your RASPBERRY PI GPIO ports / SOIC probe
    3. Tear down your E6420 laptop and set testing probe
    4. E6420 bios details
    5. Transferring the bios to Raspberry PI
    6. Backup, erase and flash U52 U53 bios
    7. Assemble back you E6420
    8. Test, check and enjoy


    1) Install raspbian and flashrom on raspberry PI
    Link 1 download the last raspbian image
    Link 2 procedure to write an image on SD card
    Once you get a working raspberry pi with rapsbian, type:
    Code:
    [B]startx[/B]
    open a terminal and type:
    Code:
    [B]sudo apt-get update
    sudo apt get upgrade[/B]
    This will update your raspbian.

    To install Flashrom, you can use following command in a terminal
    Code:
    [B]apt-get install flashrom[/B]
    or Download Flashrom sources 0.9.7 http://www.flashrom.org, untar it and compile it for best chip support. To compile, in a terminal run:
    Code:
    [B]sudo apt-get install pciutils-dev
    [/B]
    then in the terminal go to the directory you extracted flashrom to run:
    Code:
    [B]sudo make[/B]
    [B]sudo make install[/B]
    [B]sudo vi /etc/modprobe.d/raspi-blacklist.conf[/B]
    Then press 'i' to be able to insert characters
    Add '#' in front of 'blacklist spi-bcm2708' to comment it out
    Press 'i' again to exit insert mode
    Exit the editor with ':wq'
    Then turn off your Raspberry.

    2) Wire your RASPBERRY PI GPIO ports / SOIC probe

    3) Tear down your E6420 laptop and set testing probe














    I advise to power off your raspberry pi before moving the testing clip/probe in order to avoid any shortcut that will not please your GPIO ports. In some forums, people recommend also the use of R150 ohms to protect the GPIO ports, but this will work without. Make sure that your cables are short as possible, and use quality cable.
    You can restart you raspberry.

    4) E6420 bios details
    Before starting, a short explanation on E6420 bios. You understood that you have 2 x bios chips to flash on this laptop. This is not a backup bios strategy, but just one 16Mb Bios (U53) dealing with I/O (keyboard...) and the other 64Mb one being the main bios (U52).

    5) Transferring the bios to Raspberry PI
    The best thing to do is having a server (SMB, NAS, ftp...) available to download your bios files (U52 & U53), or you can also use a USB dongle, send it by email ...

    You can use the great bios files posted by Wallace80 (Link)

    6) Backup, erase and flash U52 U53 bios
    If everything went well with flashrom install, following command will test the hardware connection and detect the chip you connected:
    Code:
    flashrom --p linux_spi:dev=/dev/spidev0.0

    If you get error messages, please check your wires, flashrom install. If it does not detect the chip, you may have a non configured "raspi-blacklist.conf". Try running:
    Code:
    modprobe spi_bcm2708
    Save you old bios:
    To save an old BIOS backup use the following command:
    Code:
    [B]flashrom --p -V linux_spi:dev=/dev/spidev0.0 -r oldBIOS.bin
    [/B]
    where oldBIOS.bin is the filename of saved bios. It should be save in /home directory.

    Erase your bios:
    Use the following command:
    Code:
    [B]flashrom --p -V linux_spi:dev=/dev/spidev0.0 -E
    [/B]
    Flash your new Bios:
    To upload the new BIOS in the chip use the following command:
    Code:
    flashrom --p -V linux_spi:dev=/dev/spidev0.0 -w newBIOS.bin


    Where newBIOS.bin is the name of your new Bios file. Successful flashing should end up with VERIFIED message.

    7) Assemble back you E6420

    8) Test, check and enjoy

    This thread could not have been written without following sources:
    https://winraid.level1techs.com/t/gu...berry-pi/30264
    http://diy.viktak.com/2014/07/how-to...iled-bios.html
    Last edited by SMDFlea; 05-07-2023, 07:59 AM. Reason: edited winraid links
  • ktmmotocross
    Boardkiller
    • Feb 2014
    • 3560
    • slovakia

    #2
    Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

    way tougher than with this programmer
    http://www.ebay.com/itm/24-25-series...item3f3c7a6af8

    and this clip
    http://www.ebay.com/itm/New-SOIC8-SO...item27dc762148


    but it give me some new ideas. Thank u

    Comment

    • sven69300
      New Member
      • Jan 2015
      • 9
      • France

      #3
      Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

      @ KTM, thanks for your links, looks like an OOB solution. I agree that if you have no RASPI, that's much more convenient

      Comment

      • sking88
        New Member
        • Mar 2015
        • 3
        • usa

        #4
        Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

        Does this come with a software that will flash bios. That will work on windows 64bit. The .bin or .ROM file. Also is there a book that is best for me to learn more about bios. And the workings of a motheboard
        Last edited by sking88; 03-14-2015, 11:32 PM.

        Comment

        • sking88
          New Member
          • Mar 2015
          • 3
          • usa

          #5
          Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

          Originally posted by ktmmotocross
          way tougher than with this programmer
          http://www.ebay.com/itm/24-25-series...item3f3c7a6af8

          and this clip
          http://www.ebay.com/itm/New-SOIC8-SO...item27dc762148


          but it give me some new ideas. Thank u
          Forgot to say my last question was for you

          Comment

          • Chicago
            New Member
            • Apr 2015
            • 1
            • USA

            #6
            Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

            Originally posted by sven69300
            Shopping list

            Hardware
            • SOIC 8 pins probe and short cables (check on eBay, 15$ max)
            Hi Sven,

            Would you kindly recommend a specific Test Connector which worked for you in this application.
            The SOIC Narrow Test Clip which I ordered for this project is giving me a hard time and I suspect it is simply not making the proper physical connection.

            Both flashrom v0.9.8 and flashrom v0.9.7 indicate the following after a best effort has been made to apply the Test Connector securely.

            Code:
            Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on linux_spi.
            ===
            This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
            The test status of this chip may have been updated in the latest development
            version of flashrom. If you are running the latest development version,
            please email a report to flashrom@flashrom.org if any of the above operations
            work correctly for you with this flash part. Please include the flashrom
            output with the additional -V option for all operations you tested (-V, -Vr,
            -VE, -Vw), and mention which mainboard or programmer you tested.
            Please mention your board in the subject line. Thanks for your help!
            No operations were specified.
            The flashrom installation was performed from source and the spi_bcm2708 module is loaded.
            Others have complained about the 3M Test Connectors here and here.

            Whether the solution is hardware or software, any suggestions or tips are appreciated.

            Kind Regards,
            -Chicago

            Comment

            • stj
              Great Sage 齊天大聖
              • Dec 2009
              • 30941
              • Albion

              #7
              Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

              the flash chips arent narrow usually,
              and i hope you didnt buy the clip from there - they cost about 2$ from china on ebay complete wih a cable on them.

              Comment

              • sven69300
                New Member
                • Jan 2015
                • 9
                • France

                #8
                Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                Hi,

                I have been ordering quite the same as the one you mention, but a noname version

                Please make sure:
                - your wires are as short as possible
                - your power supply is strong enough, I would recommend at least 2Amps
                - soldering legs of your chips chip are not "dry". You can spray a bit of WD-40 to ensure a proper contact

                Hope this helps.
                Last edited by sven69300; 04-29-2015, 01:23 AM.

                Comment

                • malek_bh
                  New Member
                  • Mar 2015
                  • 5
                  • alger

                  #9
                  Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                  hi ,i have dell e6320 after flash with raspberry now is dead. my computer automatic power after plug in power corde then fun control about 30s then restar.i mac a backup bios and flash another rom laptop dead . im flash original backap but som problem .
                  any help pleas!!!!!!
                  sory for my eng..

                  Comment

                  • malek_bh
                    New Member
                    • Mar 2015
                    • 5
                    • alger

                    #10
                    Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                    i get new bios.bin but flashrom give me ( error: extra parameter found ) any solution please?
                    or bios.bin A19. this is original bios
                    http://downloads.dell.com/FOLDER0185...1/E6320A19.exe

                    Comment

                    • sven69300
                      New Member
                      • Jan 2015
                      • 9
                      • France

                      #11
                      Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                      Hi,

                      That tutorial was written for E6420 laptop, not for E6320, sorry.

                      Comment

                      • hugomac
                        New Member
                        • Nov 2012
                        • 1
                        • mexico

                        #12
                        Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                        hello i trayed it but i desolded the chips and programed with SOFI SP8 and all look ok but when turn up the laptop nothing hapens! i bunrned de chips???? i can red the chips into my eeprom programer

                        Comment

                        • beck6
                          New Member
                          • Apr 2019
                          • 1
                          • United States

                          #13
                          Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                          I ordered it here because the price is quite cheap.
                          Last edited by SMDFlea; 05-07-2023, 07:57 AM.

                          Comment

                          • R_J
                            Badcaps Legend
                            • Jun 2012
                            • 9518
                            • Canada

                            #14
                            Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                            I ordered a clip from China that did not work, this is what I got, It was replaced with a better one that did work, so check the pins
                            Attached Files
                            Last edited by R_J; 04-18-2019, 11:07 AM.

                            Comment

                            • csacsi
                              New Member
                              • Jul 2021
                              • 3
                              • Romania

                              #15
                              Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                              Thank you a lot! My Dell Latitude E6320 was frosen at dell logo. I could not access to boot menu nor bios setup. I tried several times to restart but no luck. I think my problem was that i formatted the uefi partition. It was the A22 bios which was frosen. I was soldering out the chips, it was a bit difficult (the soldering part), but now it's working again. Thank you!

                              Comment

                              • csacsi
                                New Member
                                • Jul 2021
                                • 3
                                • Romania

                                #16
                                Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                                At Dell Latitude E6320 you just flip over the laptop, remove the battery, unscrew the bottom plate and both of the chips are near ram memories and the dock connector.

                                Comment

                                • csacsi
                                  New Member
                                  • Jul 2021
                                  • 3
                                  • Romania

                                  #17
                                  Re: DELL E6420 (LA-6591P) U52 U53 Bios Flash with a Raspberry pi B+

                                  On raspbian my commands was like these:
                                  for help you can type
                                  flashrom -h
                                  or
                                  flashrom --help
                                  flashrom -p linux_spiev=/dev/spidev0.0,spispeed=2000 -V
                                  flashrom -p linux_spiev=/dev/spidev0.0,spispeed=2000 -V -r oldBIOS.bin
                                  flashrom -p linux_spiev=/dev/spidev0.0,spispeed=2000 -V -E
                                  flashrom -p linux_spiev=/dev/spidev0.0,spispeed=2000 -V -w newBIOS.bin

                                  Comment

                                  Related Topics

                                  Collapse

                                  • Vesko356
                                    [Guide] How to find the right HP bios version to flash
                                    by Vesko356
                                    First of all thanks to all of our members who have posted previously all methods posted here.
                                    Please leave a comment if you find something new,or have anything else to add.
                                    -----------------------------------------------------------------------------------------

                                    Find by serial number,model number or series

                                    If you know the laptop serial or model number go to HP support https://support.hp.com/us-en/drivers/laptops .
                                    Enter the serial number or model number and click submit.On the next screen you will have to enter the OS
                                    Operating system and OS version.If...
                                    08-11-2023, 03:27 AM
                                  • jbonavita
                                    ASUS TP500LA BIOS request/repair/merge?
                                    by jbonavita
                                    Hi, my laptop wont boot at all
                                    With original bios no POST, only LED lights
                                    With alternative BIOS from model TP500LN (flashed via programmer) the notebook works again
                                    Some issues
                                    A- with bios from 500LN, it won't update from bios of model 500LA (from 500LN v203 to 500LA v300)
                                    B- If updated from 500LN version 203 to 300, the battery stops being recognized

                                    Things I tried

                                    1- Update / clear ME: Took the non working bios, made a backup, and did this: https://www.badcaps.net/forum/troubl...theory/trouble...
                                    04-29-2025, 09:38 PM
                                  • zenius
                                    [REQUEST] Dell G3 3579 BIOS Password & AMI Protected Range/BIOS Guard Unlock
                                    by zenius
                                    Hello, I have an old Dell G3 3579 (ST: 2WQ7LP2-8FC8) with a newer 8FC8 BIOS password. I have successfully attached to the flash chip (W25Q128JVSQ) on the motherboard with a CH341A programmer and made several modifications using Intel FIT (e.g., allow software SPI write) without bricking. I was also able to boot to a modified GRUB shell where I attempted to edit many BIOS security related options like BIOS Guard/Lock, Flash Signature Override, ME FW Image Re-Flash, etc.

                                    Unfortunately, some of these modifications like to Intel BIOS Guard failed because it is fused into the PCH. Also,...
                                    12-08-2024, 06:13 AM
                                  • Wahaz
                                    Lenovo Thinkbook 15 G2 ITL i5 (serial number: MP2BFZEF) bios request
                                    by Wahaz
                                    Hello,

                                    I have a Lenovo Thinkbook 15 G2 ITL i5 Laptop (serial number: MP2BFZEF) that when I turn it on, the led on the power button lights up for 5 seconds, then goes out. There's no display and nothing happens.
                                    So I thought it was a Bios problem.
                                    I found 3 bios chips on the board, which I read with a bios programmer: two XMC model bios chips and a Winbond model bios chip. Each XMC model bios chip has two partitions named XM25QH128A [3.3V] and XT25F128A [3.3V]. And the Winbond model bios chip has three partitions named W25Q80BL 3.3V, W25Q80xV 3.3V and W25Q80DV 3.3V....
                                    10-30-2023, 08:42 PM
                                  • Bloodhoundje
                                    HP Pavilion Gaming Laptop 15-ec2523nd - Dimm2 slot disabled after corrupt bios repair? Advice requested.
                                    by Bloodhoundje
                                    Hi everyone,

                                    I have been doing hardware repair as a hobby for some years now and recently decided to learn about repairing laptops as a fun challenge.

                                    I managed to get my hands on a "HP Pavilion Gaming 15-ec2523nd" notebook that only shows a white power LED and doesnt respond to anything.

                                    After initial testing I concluded the bios seems to be corrupted since all voltages are normal and there are no shorts. HP has a feature for a bios restore from USB with winkey+B for this model. This did not work.

                                    I have desoldered the bios chip (GigaDevice...
                                    03-16-2024, 03:12 PM
                                  • Loading...
                                  • No more items.
                                  Working...