09-16-2018, 02:38 AM
(This post was last modified: 09-16-2018, 05:15 AM by dukla2000.
Edit Reason: update mmc-utils
)
OK - bad assumption on my part (that you would be missing mmcblk1boot0 etc).
But, to stop my machine trying to boot from my eMMC it wasn't sufficient to clear mmcblk1p1-p7, I also had to clear mmcblk1boot0 and mmcblk1boot1.
To do that I had to disable the Read-Only bit:
su (or login as root - sudo did not work for me)
echo 0 > /sys/block/mmcblk1boot0/force_ro
I then did a dd if=/dev/zero there: you have to do the reverse probably dd a u-boot there. (Note the ro bit resets after a reboot so no need to revert it)
This page seems to be dealing with a similar challenge.
PPS - just discovered mmc-utils - have installed and busy playing with it to try fully clean my eMMC. Would imagine you can add uboot with it?
PPPs - cant find major use for mmc-utils except removing ro bit, guess you folks will still need to figure manual dd of uboot?
But, to stop my machine trying to boot from my eMMC it wasn't sufficient to clear mmcblk1p1-p7, I also had to clear mmcblk1boot0 and mmcblk1boot1.
To do that I had to disable the Read-Only bit:
su (or login as root - sudo did not work for me)
echo 0 > /sys/block/mmcblk1boot0/force_ro
I then did a dd if=/dev/zero there: you have to do the reverse probably dd a u-boot there. (Note the ro bit resets after a reboot so no need to revert it)
This page seems to be dealing with a similar challenge.
PPS - just discovered mmc-utils - have installed and busy playing with it to try fully clean my eMMC. Would imagine you can add uboot with it?
PPPs - cant find major use for mmc-utils except removing ro bit, guess you folks will still need to figure manual dd of uboot?
- PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
- PinePhone pmOS Community Edition 2/16Gb driving my picture frame, Tow-boot with pmOS/SXMO on eMMC
- PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
- ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade