How to back up or write BIOS in Linux

Source: Internet
Author: User

Install Flashrom
Before using Flashrom, you must install it first. Currently, some popular Linux distributions can install Flashrom through their own package manager. For example, Debian/Ubuntu users can execute the following command:
$ Sudo apt-get install flashrom
The Fedora user must execute:
$ Sudo yum install flashrom
If you cannot install Flashrom through the Package Manager of the Linux release, you can choose to manually compile and install Flashrom. Run the following command:
$ Svn co svn: // coreboot.org/repos/trunk/util/flashrom
$ Cd flashrom
$ Make
$ Sudo make install
Note that you will need compilation tools, Subversion, dependency packages pciutils and zlib.
Flashrom usage
Besides
Http://www.coreboot.org/Flashrom
You can also directly use the Flashrom tool to check whether Flash ROM supports your current motherboard or chip. After you use the root user permission to execute the flashrom command, Flashrom will output information similar to the following:
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH7/icw.r", enabling flash write... OK.
Found chip "Winbond W39V040B" (512 KB) at physical address 0xfff80000.
No operations were specified.
To back up the current BIOS image, run the following command:
# Flashrom-r bios_image.bin
Similarly, Flashrom provides output information for reference:
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH7/icw.r", enabling flash write... OK.
Found chip "Winbond W39V040B" (512 KB) at physical address 0xfff80000.
Reading flash... done.
Run the following command to fl the new BIOS:
# Flashrom-wv new_bios.bin
Some chip drivers need to be erased before writing:
# Flashrom-E

  1. Questions about BIOS ~~
  2. BIOS Overview
  3. Open BIOS for Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.