-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imx8mm_var_dart: Add UUU script to flash Android on eMMC
- Loading branch information
Showing
4 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
scripts/uuu_scripts/emmc_burn_android_imx8mm_var_dart_dt8mcustomboard.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
uuu_version 1.2.39 | ||
|
||
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ | ||
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# This command will be run when ROM support stream mode | ||
# i.MX8QXP, i.MX8QM | ||
SDPS: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# SDPU will be deprecated. please use SDPV instead of SDPU | ||
# { | ||
SDPU: delay 1000 | ||
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00 | ||
SDPU: jump | ||
# } | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# if (SPL support SDPV) | ||
# { | ||
SDPV: delay 1000 | ||
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl | ||
SDPV: jump | ||
# } | ||
|
||
|
||
FB: ucmd mmc dev 2 | ||
FB: ucmd setenv mmcdev 2 | ||
FB: ucmd setenv fastboot_dev mmc | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: flash bootloader0 u-boot-imx8mm-var-dart.imx | ||
FB: flash gpt partition-table.img | ||
FB: flash dtbo_a dtbo-imx8mm-var-dart-dt8mcustomboard.img | ||
FB: flash dtbo_b dtbo-imx8mm-var-dart-dt8mcustomboard.img | ||
FB: flash boot_a boot.img | ||
FB: flash boot_b boot.img | ||
FB[-t 600000]: flash super super.img | ||
FB[-t 600000]: erase misc | ||
FB[-t 600000]: erase presistdata | ||
FB[-t 600000]: erase fbmisc | ||
FB[-t 600000]: erase metadata | ||
FB[-t 600000]: erase userdata | ||
FB: flash vbmeta_a vbmeta-imx8mm-var-dart-dt8mcustomboard.img --disable-verity | ||
FB: flash vbmeta_b vbmeta-imx8mm-var-dart-dt8mcustomboard.img --disable-verity | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: set_active _a | ||
FB: done | ||
|
49 changes: 49 additions & 0 deletions
49
scripts/uuu_scripts/emmc_burn_android_imx8mm_var_dart_dt8mcustomboard_legacy.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
uuu_version 1.2.39 | ||
|
||
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ | ||
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# This command will be run when ROM support stream mode | ||
# i.MX8QXP, i.MX8QM | ||
SDPS: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# SDPU will be deprecated. please use SDPV instead of SDPU | ||
# { | ||
SDPU: delay 1000 | ||
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00 | ||
SDPU: jump | ||
# } | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# if (SPL support SDPV) | ||
# { | ||
SDPV: delay 1000 | ||
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl | ||
SDPV: jump | ||
# } | ||
|
||
|
||
FB: ucmd mmc dev 2 | ||
FB: ucmd setenv mmcdev 2 | ||
FB: ucmd setenv fastboot_dev mmc | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: flash bootloader0 u-boot-imx8mm-var-dart.imx | ||
FB: flash gpt partition-table.img | ||
FB: flash dtbo_a dtbo-imx8mm-var-dart-dt8mcustomboard-legacy.img | ||
FB: flash dtbo_b dtbo-imx8mm-var-dart-dt8mcustomboard-legacy.img | ||
FB: flash boot_a boot.img | ||
FB: flash boot_b boot.img | ||
FB[-t 600000]: flash super super.img | ||
FB[-t 600000]: erase misc | ||
FB[-t 600000]: erase presistdata | ||
FB[-t 600000]: erase fbmisc | ||
FB[-t 600000]: erase metadata | ||
FB[-t 600000]: erase userdata | ||
FB: flash vbmeta_a vbmeta-imx8mm-var-dart-dt8mcustomboard-legacy.img --disable-verity | ||
FB: flash vbmeta_b vbmeta-imx8mm-var-dart-dt8mcustomboard-legacy.img --disable-verity | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: set_active _a | ||
FB: done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
uuu_version 1.2.39 | ||
|
||
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ | ||
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# This command will be run when ROM support stream mode | ||
# i.MX8QXP, i.MX8QM | ||
SDPS: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# SDPU will be deprecated. please use SDPV instead of SDPU | ||
# { | ||
SDPU: delay 1000 | ||
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00 | ||
SDPU: jump | ||
# } | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# if (SPL support SDPV) | ||
# { | ||
SDPV: delay 1000 | ||
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl | ||
SDPV: jump | ||
# } | ||
|
||
|
||
FB: ucmd mmc dev 2 | ||
FB: ucmd setenv mmcdev 2 | ||
FB: ucmd setenv fastboot_dev mmc | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: flash bootloader0 u-boot-imx8mm-var-dart.imx | ||
FB: flash gpt partition-table.img | ||
FB: flash dtbo_a dtbo-imx8mm-var-som-symphony.img | ||
FB: flash dtbo_b dtbo-imx8mm-var-som-symphony.img | ||
FB: flash boot_a boot.img | ||
FB: flash boot_b boot.img | ||
FB[-t 600000]: flash super super.img | ||
FB[-t 600000]: erase misc | ||
FB[-t 600000]: erase presistdata | ||
FB[-t 600000]: erase fbmisc | ||
FB[-t 600000]: erase metadata | ||
FB[-t 600000]: erase userdata | ||
FB: flash vbmeta_a vbmeta-imx8mm-var-som-symphony.img --disable-verity | ||
FB: flash vbmeta_b vbmeta-imx8mm-var-som-symphony.img --disable-verity | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: set_active _a | ||
FB: done | ||
|
49 changes: 49 additions & 0 deletions
49
scripts/uuu_scripts/emmc_burn_android_imx8mm_var_som_legacy.lst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
uuu_version 1.2.39 | ||
|
||
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ | ||
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# This command will be run when ROM support stream mode | ||
# i.MX8QXP, i.MX8QM | ||
SDPS: boot -f u-boot-imx8mm-var-dart-uuu.imx | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# SDPU will be deprecated. please use SDPV instead of SDPU | ||
# { | ||
SDPU: delay 1000 | ||
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00 | ||
SDPU: jump | ||
# } | ||
|
||
# These commands will be run when use SPL and will be skipped if no spl | ||
# if (SPL support SDPV) | ||
# { | ||
SDPV: delay 1000 | ||
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl | ||
SDPV: jump | ||
# } | ||
|
||
|
||
FB: ucmd mmc dev 2 | ||
FB: ucmd setenv mmcdev 2 | ||
FB: ucmd setenv fastboot_dev mmc | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: flash bootloader0 u-boot-imx8mm-var-dart.imx | ||
FB: flash gpt partition-table.img | ||
FB: flash dtbo_a dtbo-imx8mm-var-som-symphony-legacy.img | ||
FB: flash dtbo_b dtbo-imx8mm-var-som-symphony-legacy.img | ||
FB: flash boot_a boot.img | ||
FB: flash boot_b boot.img | ||
FB[-t 600000]: flash super super.img | ||
FB[-t 600000]: erase misc | ||
FB[-t 600000]: erase presistdata | ||
FB[-t 600000]: erase fbmisc | ||
FB[-t 600000]: erase metadata | ||
FB[-t 600000]: erase userdata | ||
FB: flash vbmeta_a vbmeta-imx8mm-var-som-symphony-legacy.img --disable-verity | ||
FB: flash vbmeta_b vbmeta-imx8mm-var-som-symphony-legacy.img --disable-verity | ||
FB: ucmd mmc partconf 2 0 0 0 | ||
FB: set_active _a | ||
FB: done | ||
|