Sudo make install Connecting the Raspberry to the SPI flash chip To install from source first install the dependencies: sudo apt install git libpci-dev libusb-1.0 libusb-devįinish up by cloning the flashrom repo, compiling and installing flashrom: git clone Installing flashrom can be done via a simple apt-get or from source. In raspi-config select option 5: Interfacing options Under interfaces options select P4 SPI Installing flashrom After which the SPI interface will become available under: The SPI interface are enabled by typing sudo raspi-config and selecting P4 SPI under the Interfacing options. Using flashrom to interact with the chipĪs others have pointed out, the latest version of Raspbian (Stretch) will also work by adding the spispeed param to the Flashrom command.Connecting the Raspberry Pi to the chip.Installing flashrom (either from source or via apt get).For this project I used a Winbond 25X80 salvaged from a motherboard I had lying around. I was eager to try this out for myself so I got out my Pi 3 model B and got to work. Apparently the Raspberry Pi is very suitable for this kind of thing as it has a SPI interface and is able to run linux. ![]() While doing some research online I found several articles/posts from people using a Raspberry Pi to flash SPI flash chips. This post is an addition to my previous post: “ How to flash bios chips with Arduino“.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |