BPI-R2 factory reset - eMMC clear


#1

Hello,

is there way to perform factory reset BPI-R2? Can I clear all eMMC and not to brick the board?

I found this great blog - http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:storage , but I can’t figure how to clear eMMC…

I did some nasty things to my BPI and I want start from the beginning with fresh board (system).

Thank you for advice!


(Frank W.) #2

imho you can set the partitionconfig with mmc-utils/uboot to 0x00 and write with dd from /dev/zero to mmcblk1 (make sure this is your emmc)


(ZB) #3

Yes,frank is right,you can program emmc again to reset it,here are detail operation steps :BPI-R2 new image : ubuntu 16.04 V1.2.1 BT and WIFI AP mode are working fine 2017-11-27

you can find it in FAQ.


#4

Thank you guys

I run BPI-R2> emmc pconf 0x00 from u-boot

and than from Ubuntu MATE:

root@bpi-iot-ros-ai:~# dd if=/dev/zero of=/dev/mmcblk1

and everything is good as new!