There's an additional hoop that you need to jump through but this should fix it. The SPI EEPROM shares some pins on the IO boards so by default it's disabled by driving GPIO57 high.
GPIO57 isn't defined by device-tree so you can't use pinctrl
GPIO57 isn't defined by device-tree so you can't use pinctrl
Code:
# Dump GP_FSEL5 pi@raspberrypi:~$ sudo busybox devmem 0xfe2000140x00200000# GPIO7 is 23:21 - 1 is OUTPUT - 0 INPUTpi@raspberrypi:~$ sudo busybox devmem 0xfe200014 32 0# Flashrom will without the --chip --force params and treat it as a generic chip but it might be better to select something that is a very close matchsudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=16000 --chip W25X40 --force -r eeprom.bin -V
Statistics: Posted by timg236 — Wed Nov 13, 2024 5:05 pm