ua3nbw Posted February 8, 2017 Share Posted February 8, 2017 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: spi_mosi = port:PC00spi_miso = port:PC01spi_sclk = port:PC02spi_cs0 = port:PC03 root@orangepipc:~/flashrom# ./flashrom -p linux_spi:dev=/dev/spidev0.0flashrom 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 More sharing options...
ua3nbw Posted February 9, 2017 Author Share Posted February 9, 2017 No work. where is me mistake ? http://www.orangepi.org/orangepibbscn/forum.php?mod=viewthread&tid=326 Link to comment Share on other sites More sharing options...
martinayotte Posted February 9, 2017 Share Posted February 9, 2017 Could be several possibilities : - check your wiring again. - check if the Flash chip part number/manufacturer is in the list of flashrom/flashchips.h - provide us the log output of the execution to see what JEDEC ID is reported. Link to comment Share on other sites More sharing options...
Recommended Posts