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:31] hyphop [Cleanup all eMMC boot-loaders] |
products:sbc:vim1s:development:erase-emmc [2022/08/24 02:00] 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=/ |
``` | ``` | ||
- | Cleanup | + | Also need cleanup |
```sh | ```sh | ||
- | sudo dd if=/ | + | sudo dd if=/ |
``` | ``` | ||
- | ==== Get block-device names for boot-loaders ==== | + | <WRAP important > |
+ | ''/ | ||
+ | </ | ||
+ | |||
+ | ==== Universal method for cleanup all eMMC boot-areas ==== | ||
+ | |||
+ | ```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 81: | Line 93: | ||
/ | / | ||
``` | ``` | ||
+ | <WRAP important > | ||
+ | ''/ | ||
+ | </ | ||
Get eMMC block-device name. | Get eMMC block-device name. | ||
Line 89: | 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 109: | 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 | ||
``` | ``` |