Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s:development:erase-emmc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
products:sbc:vim1s:development:erase-emmc [2022/08/23 00:30]
hyphop [Get block-device names for boot-loaders]
products:sbc:vim1s:development:erase-emmc [2022/08/24 01:59]
hyphop [How-to check boot loaders content]
Line 56: Line 56:
 eMMC boot-loader can be stored on ''/dev/mmcblk0'' and special areas ''/dev/mmcblk0boot0'' or ''/dev/mmcblk0boot0''. eMMC boot-loader can be stored on ''/dev/mmcblk0'' and special areas ''/dev/mmcblk0boot0'' or ''/dev/mmcblk0boot0''.
  
-==== Cleanup eMMC boot-loaders ====+==== Cleanup eMMC boot loaders ====
  
 Cleanup special eMMC boot areas.  Cleanup special eMMC boot areas. 
Line 71: Line 71:
  
 <WRAP important > <WRAP important >
-''/dev/mmcblk0'' maybe different, please check how-to [[#get-block-device-names-for-boot-loaders]]+''/dev/mmcblk0'' eMMC device block name maybe different, please check how-to [[#get-block-device-names-for-boot-loaders]]
 </WRAP> </WRAP>
  
Line 82: Line 82:
 ``` ```
  
-==== 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 104: Line 104:
 ``` ```
  
-==== 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 122: Line 122:
 ``` ```
  
-Display same but for other boot-areas names.+Display same but for other boot areas names.
  
 ```shell ```shell
Line 137: Line 137:
 ``` ```
  
-Next example display valid boot-loader header ''@ML''.+Next example display valid boot loader header ''@ML''.
  
 ```shell ```shell
-~$ dd if=/dev/mmcblk2 count=1 skip=1 2>/dev/null | hexdump -C | head -n1+~$ dd if=/dev/mmcblk0 count=1 skip=1 2>/dev/null | hexdump -C | head -n1
 00000000  40 4d 4c 20 8d 66 31 ed  00 00 00 00 80 05 00 00  |@ML .f1.........| 00000000  40 4d 4c 20 8d 66 31 ed  00 00 00 00 80 05 00 00  |@ML .f1.........|
 ``` ```
Last modified: 2022/08/24 02:00 by hyphop