This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim1s:development:erase-emmc [2022/08/22 23:34] hyphop |
products:sbc:vim1s:development:erase-emmc [2022/08/24 02:00] (current) hyphop old revision restored (2022/08/23 15:37) |
||
|---|---|---|---|
| Line 56: | Line 56: | ||
| eMMC boot-loader can be stored on ''/ | eMMC boot-loader can be stored on ''/ | ||
| - | ==== Cleanup | + | ==== Cleanup eMMC boot loaders ==== |
| Cleanup special eMMC boot areas. | Cleanup special eMMC boot areas. | ||
| ```sh | ```sh | ||
| - | dd if=/ | + | dd if=/ |
| ``` | ``` | ||
| Line 67: | Line 67: | ||
| ```sh | ```sh | ||
| - | sudo dd if=/ | + | sudo dd if=/ |
| ``` | ``` | ||
| <WRAP important > | <WRAP important > | ||
| - | ''/ | + | ''/ |
| </ | </ | ||
| + | ==== Universal method for cleanup all eMMC boot-areas ==== | ||
| - | ==== Get block-device names for boot-loaders ==== | + | ```sh |
| + | sudo dd if=/ | ||
| + | sudo dd if=/ | ||
| + | |||
| + | ``` | ||
| + | |||
| + | ==== Get block-device names for boot loaders ==== | ||
| Get block-device names for special boot areas. | Get block-device names for special boot areas. | ||
| Line 86: | Line 93: | ||
| / | / | ||
| ``` | ``` | ||
| + | <WRAP important > | ||
| + | ''/ | ||
| + | </ | ||
| Get eMMC block-device name. | Get eMMC block-device name. | ||
| Line 94: | Line 104: | ||
| ``` | ``` | ||
| - | <WRAP important > | + | ==== How-to check boot loaders content ==== |
| - | ''/ | + | This example display empty content |
| - | </WRAP> | + | ```shell |
| + | ~$ for m in /dev/ | ||
| - | ==== How-to check boot-loaders content ==== | + | / |
| + | 00000000 | ||
| + | * | ||
| + | 00000200 | ||
| + | / | ||
| + | 00000000 | ||
| + | * | ||
| + | 00000200 | ||
| - | This example display empty content | + | ``` |
| + | |||
| + | Display same but for other boot areas names. | ||
| ```shell | ```shell | ||
| - | ~$ for m in / | + | ~$ for m in / |
| + | |||
| + | / | ||
| 00000000 | 00000000 | ||
| * | * | ||
| 00000200 | 00000200 | ||
| + | / | ||
| 00000000 | 00000000 | ||
| * | * | ||
| Line 114: | Line 137: | ||
| ``` | ``` | ||
| - | Next example display valid boot-loader header '' | + | Next example display valid boot loader header '' |
| ```shell | ```shell | ||
| - | ~$ dd if=/dev/mmcblk2 | + | ~$ dd if=/dev/mmcblk0 |
| 00000000 | 00000000 | ||
| ``` | ``` | ||