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/23 00:23] hyphop [Cleanup eMMC boot-loaders] |
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 eMMC boot-loaders ==== | + | ==== Cleanup eMMC boot loaders ==== |
Cleanup special eMMC boot areas. | Cleanup special eMMC boot areas. | ||
Line 74: | Line 74: | ||
</ | </ | ||
- | Universal method for cleanup all eMMC boot-areas. | + | ==== Universal method for cleanup all eMMC boot-areas |
```sh | ```sh | ||
+ | sudo dd if=/ | ||
sudo dd if=/ | sudo dd if=/ | ||
- | sudo dd if=/ | ||
``` | ``` | ||
- | ==== Get block-device names for boot-loaders ==== | + | ==== Get block-device names for boot loaders ==== |
Get block-device names for special boot areas. | Get block-device names for special boot areas. | ||
Line 93: | Line 93: | ||
/ | / | ||
``` | ``` | ||
+ | <WRAP important > | ||
+ | ''/ | ||
+ | </ | ||
Get eMMC block-device name. | Get eMMC block-device name. | ||
Line 101: | Line 104: | ||
``` | ``` | ||
- | <WRAP important > | + | ==== How-to check boot loaders content ==== |
- | ''/ | + | |
- | </ | + | |
- | + | ||
- | ==== How-to check boot-loaders content ==== | + | |
This example display empty content for special boot-loaders areas. | This example display empty content for special boot-loaders areas. | ||
Line 123: | Line 122: | ||
``` | ``` | ||
- | Display same but for other boot-areas names. | + | Display same but for other boot areas names. |
```shell | ```shell | ||
~$ for m in / | ~$ for m in / | ||
+ | |||
+ | / | ||
+ | 00000000 | ||
+ | * | ||
+ | 00000200 | ||
+ | / | ||
+ | 00000000 | ||
+ | * | ||
+ | 00000200 | ||
``` | ``` | ||
- | 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 | ||
``` | ``` |