Skip to content

Commit

Permalink
imx8qm_var_som: Update uuu scripts for Android 13.0.0_1.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Harshesh Valera <[email protected]>
  • Loading branch information
hj2006 committed Sep 20, 2023
1 parent 71fa08f commit 6452707
Show file tree
Hide file tree
Showing 6 changed files with 318 additions and 0 deletions.
55 changes: 55 additions & 0 deletions scripts/uuu_scripts/emmc_burn_android_imx8qm_spear_dp.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-imx8qm-som-uuu.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-imx8qm-som-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-imx8qm-som-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-imx8qm-som-uuu.imx -skipspl
SDPV: jump
# }


FB: ucmd mmc dev 0
FB: ucmd setenv mmcdev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd mmc partconf 0 0 0 0
FB: ucmd mmc partconf 0 0 0 0
FB: flash bootloader0 u-boot-imx8qm.imx
FB: flash gpt partition-table.img
FB: flash dtbo_a dtbo-imx8qm-var-spear-dp.img
FB: flash dtbo_b dtbo-imx8qm-var-spear-dp.img
FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB: flash init_boot_a init_boot.img
FB: flash init_boot_b init_boot.img
FB: flash vendor_boot_a vendor_boot.img
FB: flash vendor_boot_b vendor_boot.img
FB: flash vbmeta_a vbmeta-imx8qm-var-spear-dp.img --disable-verity
FB: flash vbmeta_b vbmeta-imx8qm-var-spear-dp.img --disable-verity
FB[-t 600000]: flash super super.img
FB[-t 600000]: flash firmware firmware.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: ucmd mmc partconf 0 0 0 0
FB: ucmd setenv hdp_file dpfw.bin
FB: ucmd saveenv
FB: set_active _a
FB: done
53 changes: 53 additions & 0 deletions scripts/uuu_scripts/emmc_burn_android_imx8qm_spear_hdmi.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-imx8qm-som-uuu.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-imx8qm-som-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-imx8qm-som-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-imx8qm-som-uuu.imx -skipspl
SDPV: jump
# }


FB: ucmd mmc dev 0
FB: ucmd setenv mmcdev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd mmc partconf 0 0 0 0
FB: ucmd mmc partconf 0 0 0 0
FB: flash bootloader0 u-boot-imx8qm.imx
FB: flash gpt partition-table.img
FB: flash dtbo_a dtbo-imx8qm-var-spear-hdmi.img
FB: flash dtbo_b dtbo-imx8qm-var-spear-hdmi.img
FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB: flash init_boot_a init_boot.img
FB: flash init_boot_b init_boot.img
FB: flash vendor_boot_a vendor_boot.img
FB: flash vendor_boot_b vendor_boot.img
FB: flash vbmeta_a vbmeta-imx8qm-var-spear-hdmi.img --disable-verity
FB: flash vbmeta_b vbmeta-imx8qm-var-spear-hdmi.img --disable-verity
FB: flash firmware firmware.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: ucmd mmc partconf 0 0 0 0
FB: set_active _a
FB: done
52 changes: 52 additions & 0 deletions scripts/uuu_scripts/emmc_burn_android_imx8qm_spear_lvds.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-imx8qm-som-uuu.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-imx8qm-som-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-imx8qm-som-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-imx8qm-som-uuu.imx -skipspl
SDPV: jump
# }


FB: ucmd mmc dev 0
FB: ucmd setenv mmcdev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd mmc partconf 0 0 0 0
FB: ucmd mmc partconf 0 0 0 0
FB: flash bootloader0 u-boot-imx8qm.imx
FB: flash gpt partition-table.img
FB: flash dtbo_a dtbo-imx8qm-var-spear-lvds.img
FB: flash dtbo_b dtbo-imx8qm-var-spear-lvds.img
FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB: flash init_boot_a init_boot.img
FB: flash init_boot_b init_boot.img
FB: flash vendor_boot_a vendor_boot.img
FB: flash vendor_boot_b vendor_boot.img
FB: flash vbmeta_a vbmeta-imx8qm-var-spear-lvds.img --disable-verity
FB: flash vbmeta_b vbmeta-imx8qm-var-spear-lvds.img --disable-verity
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: ucmd mmc partconf 0 0 0 0
FB: set_active _a
FB: done
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-imx8qm-som-uuu.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-imx8qm-som-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-imx8qm-som-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-imx8qm-som-uuu.imx -skipspl
SDPV: jump
# }


FB: ucmd mmc dev 0
FB: ucmd setenv mmcdev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd mmc partconf 0 0 0 0
FB: ucmd mmc partconf 0 0 0 0
FB: flash bootloader0 u-boot-imx8qm.imx
FB: flash gpt partition-table.img
FB: flash dtbo_a dtbo-imx8qm-var-som-dp.img
FB: flash dtbo_b dtbo-imx8qm-var-som-dp.img
FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB: flash init_boot_a init_boot.img
FB: flash init_boot_b init_boot.img
FB: flash vendor_boot_a vendor_boot.img
FB: flash vendor_boot_b vendor_boot.img
FB: flash vbmeta_a vbmeta-imx8qm-var-som-dp.img --disable-verity
FB: flash vbmeta_b vbmeta-imx8qm-var-som-dp.img --disable-verity
FB: flash firmware firmware.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: ucmd mmc partconf 0 0 0 0
FB: set_active _a
FB: done
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-imx8qm-som-uuu.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-imx8qm-som-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-imx8qm-som-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-imx8qm-som-uuu.imx -skipspl
SDPV: jump
# }


FB: ucmd mmc dev 0
FB: ucmd setenv mmcdev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd mmc partconf 0 0 0 0
FB: ucmd mmc partconf 0 0 0 0
FB: flash bootloader0 u-boot-imx8qm.imx
FB: flash gpt partition-table.img
FB: flash dtbo_a dtbo-imx8qm-var-som-hdmi.img
FB: flash dtbo_b dtbo-imx8qm-var-som-hdmi.img
FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB: flash init_boot_a init_boot.img
FB: flash init_boot_b init_boot.img
FB: flash vendor_boot_a vendor_boot.img
FB: flash vendor_boot_b vendor_boot.img
FB: flash vbmeta_a vbmeta-imx8qm-var-som-hdmi.img --disable-verity
FB: flash vbmeta_b vbmeta-imx8qm-var-som-hdmi.img --disable-verity
FB: flash firmware firmware.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: ucmd mmc partconf 0 0 0 0
FB: set_active _a
FB: done
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-imx8qm-som-uuu.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-imx8qm-som-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-imx8qm-som-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-imx8qm-som-uuu.imx -skipspl
SDPV: jump
# }


FB: ucmd mmc dev 0
FB: ucmd setenv mmcdev 0
FB: ucmd setenv fastboot_dev mmc
FB: ucmd mmc partconf 0 0 0 0
FB: ucmd mmc partconf 0 0 0 0
FB: flash bootloader0 u-boot-imx8qm.imx
FB: flash gpt partition-table.img
FB: flash dtbo_a dtbo-imx8qm-var-som-lvds.img
FB: flash dtbo_b dtbo-imx8qm-var-som-lvds.img
FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB: flash init_boot_a init_boot.img
FB: flash init_boot_b init_boot.img
FB: flash vendor_boot_a vendor_boot.img
FB: flash vendor_boot_b vendor_boot.img
FB: flash vbmeta_a vbmeta-imx8qm-var-som-lvds.img --disable-verity
FB: flash vbmeta_b vbmeta-imx8qm-var-som-lvds.img --disable-verity
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: ucmd mmc partconf 0 0 0 0
FB: set_active _a
FB: done

0 comments on commit 6452707

Please sign in to comment.