07-01-2024, 09:26 PM
Correction... /dev/mmcblk2 is the WHOLE emmc
fsck is run on a partition,, as so.... /dev/mmcblk2p2
sorry, typing too fast
BTW, to change uboot, if you know how to use dd, you don't have to open case
Save mbr (1 or 34 sectors depending) save 1st 16MB (on usb stick)
blank 1st 16MB, restore mbr,,, so the only uboot will be on SD card
IT WILL NOT BOOT IF NO SD card is inserted (and likely only boot from SD)
Later, when you choose a different uboot, copy from SD card to emmc, restore emmc mbr
(or restore original if you wish)
But if you don't know how to use dd , don't do this
fsck is run on a partition,, as so.... /dev/mmcblk2p2
sorry, typing too fast
BTW, to change uboot, if you know how to use dd, you don't have to open case
Save mbr (1 or 34 sectors depending) save 1st 16MB (on usb stick)
blank 1st 16MB, restore mbr,,, so the only uboot will be on SD card
IT WILL NOT BOOT IF NO SD card is inserted (and likely only boot from SD)
Later, when you choose a different uboot, copy from SD card to emmc, restore emmc mbr
(or restore original if you wish)
But if you don't know how to use dd , don't do this