Jump to content

OrangePi PC Flashrom


ua3nbw

Recommended Posts

Hi there

# uname -a

Linux orangepipc 3.4.113-sun8i #28 SMP PREEMPT Thu Feb 2 02:01:28 CET 2017 armv7l GNU/Linux

 

#apt-get install pciutils-dev pkg-config

#git clone https://github.com/flashrom/flashrom.git

#cd flashrom
#make CONFIG_INTERNAL=no CONFIG_RAYER_SPI=no CONFIG_NIC3COM=no CONFIG_GFXNVIDIA=no CONFIG_SATASII=no \
CONFIG_ATAHPT=no CONFIG_DRKAISER=no CONFIG_NICREALTEK=no CONFIG_NICNATSEMI=no \
CONFIG_NICINTEL=no CONFIG_NICINTEL_SPI=no CONFIG_OGP_SPI=no CONFIG_SATAMV=no

 

No work! hooked:

f.png

spi_mosi = port:PC00
spi_miso = port:PC01
spi_sclk = port:PC02
spi_cs0 = port:PC03

 

root@orangepipc:~/flashrom# ./flashrom -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-unknown on Linux 3.4.113-sun8i (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
root@orangepipc:~/flashrom#

 

 

 

 

 

Who runs the program respond. Thank you

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines