PINE64
erase spi flash - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: erase spi flash (/showthread.php?tid=13577)



erase spi flash - aiminick - 04-07-2021

大家好,我只是想将pinebook pro恢复为出厂默认设置,并且想擦除闪存,所以找到了以下命令:
flash_erase / dev / mtd0 0 0
我想知道的是,仅运行上面的命令即可将spi flash擦除为默认值? 

如果有人知道,请告诉我。

谢谢。


Hi every, I wanna konw the command "flash_erase /dev/mtd0 0 0" is erase the spi to factory defsult?

After I run this command "flash_erase /dev/mtd0 0 0" and do not flash ang "spiflash.bin" to /dev/mtd0, then reboot form the sd card will be ok ?

Or after flash_erase /dev/mtd0 must be flash a new spiflash to /dev/mtd0  (erase spi flash cannot boot normally) ?

if anyone knows, tell me please, thanks.


RE: erase spi flash - tophneal - 04-07-2021

This should help: https://wiki.pine64.org/wiki/Pinebook_Pro_SPI#Zeroing_out_the_SPI

(as a side note, i've merged your duplicate post here, and removed the other.)