![]() RPi pinSPI flash25GND24CS23SCK21DO19DI17VCC 3.3V and /HOLD and /WPFlashing the chipIn order to verify Flashrom correctly identifies the chip we run Flashrom without any operations. ![]() Git clone flashrommake & sudo make installConnecting the Raspberry to the SPI flash chipThe table below show the connections between the RaspberryPi and the chip. Sudo apt install git libpci-dev libusb-1.0 libusb-devMake and install Flashrom. Select option 5: Interfacing options Select SPI to enable the SPI interfacesThe SPI interfaces will become available under /dev/spidev0.0 and /dev/spidev0.1.Next we install the packages are needed by Flashrom by using the following command. Preparing the RaspberryPiAs others have pointed out, the latest version of Raspbian (Stretch) will also work by adding the spispeed param to the Flashrom command.Enable the SPI interfaces by typing sudo raspi-config and selecting P4 SPI under the Interfacing options.
0 Comments
Leave a Reply. |