Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common: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
products:sbc:common:development:erase-emmc [2023/04/03 21:59]
nick
products:sbc:common:development:erase-emmc [2024/04/24 03:23] (current)
ivan [Serial Mode (For developers)]
Line 23: Line 23:
  
 ```shell ```shell
-kvim3l#store erase boot +kvim3#store init 3 
-emmckey_is_protected(): protect +XXXXXXX======enter EMMC boot======XXXXXX 
-start = 0,end = 8191 +co-phase 0x1, tx-dly 0, clock 40000000 
-do_store_erase() 989 +co-phase 0x1, tx-dly 0, clock 40000000 
-do_store_erase() 992, i = 0 +co-phase 0x3, tx-dly 0, clock 400000 
-mmc switch to boot0 success +emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x3ff2800 
-emmckey_is_protected(): protect +emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x3ff2800 
-blkcnt = 8192 +co-phase 0x3, tx-dly 0, clock 400000 
-start = 0,end = 8191 +co-phase 0x1, tx-dly 0, clock 40000000 
-start = 0,end = 8191 +[set_emmc_calc_fixed_adj][860]find fixed adj_delay=20 
-do_store_erase() 9921 +init_part() 297PART_TYPE_AML 
-mmc switch to boot1 success +[mmc_init] mmc init success 
-emmckey_is_protected(): protect +switch to partitions #0, OK 
-blkcnt = 8192 +mmc1(part 0is current device 
-start = 0,end = 8191 +Device: SDIO Port C 
-start = 0,end = 8191 +Manufacturer ID: 15 
-mmc switch to user success+OEM: 100 
 +Name: AJTD4  
 +Tran Speed: 52000000 
 +Rd Block Len: 512 
 +MMC version 5.1 
 +High Capacity: Yes 
 +Capacity: (0x3a3e00000 Bytes14.6 GiB 
 +mmc clock: 40000000 
 +Bus Width: 8-bit 
 +[store]amlmmc erase 1emmckey_is_protected(): protect 
 +bootloader partition is erased: start = 0x0,end = 0x1fff 
 +reserved   partition is protected 
 +env        partition is erased: start = 0x36000,end = 0x39fff 
 +rootfs     partition is erased: start = 0x3e000,end 0x1d1efff 
 +Erasing blocks 0 to 8192 @ boot0 
 +start = 0x0,end = 0x1fff 
 +Erasing blocks 0 to 8192 @ boot1 
 +start = 0x0,end = 0x1fff
 ``` ```
 <tabbox Interrupt Mode> <tabbox Interrupt Mode>
Last modified: 2023/04/03 21:59 by nick