PINE64
SPI - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: General Discussion on ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=99)
+--- Thread: SPI (/showthread.php?tid=18923)



SPI - hazz - 12-03-2023

Hi there i've messed up with my spi
I'm able to boot the netbsd emmc only shorting the pin 20-21.How can i reset as a default spi?
I do not want to connect via the serial console but just run the NETBSD 10RC1 and connect via ssh
Any tips would be very appreciated


RE: SPI - wdt - 12-03-2023

I assume you have a linux boot?
A number of solutions to blank SPI, if you have mtd-utils installed...nandtest /dev/mtdblock0
Takes about 15m, blanks SPI
OR
dd if=/dev/zero of=/dev/mtdblock0 bs=1M count=16
lots of advice shows writing /dev/mtd0, whatever lsblk shows is the right device
writing SPI is slow, be patient