Skip to content

Commit

Permalink
imx8mm-var-dart: Align UUU script with nxp scripts.
Browse files Browse the repository at this point in the history
Use the command to generate uuu script for imx8mm.
command: ./uuu_imx_android_flash.sh -f imx8mm -dryrun

Make sure in imx8mm-var-dart-uuu-defconfig has set CONFIG_USE_EMMC_BOOT_PART
to flash the spl on user partition. if its not enabled then it will flash it
on boot partition of eMMC.

Signed-off-by: Pitchaiah Prakash <[email protected]>
  • Loading branch information
pitchaiahp committed Jun 24, 2024
1 parent e3cb9ed commit ebba8a8
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuu_version 1.4.182
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx
SDPU: delay 1000
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 2
FB: ucmd mmc dev 2
FB: ucmd mmc dev 2 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 2 0 0 0
FB[-t 600000]: flash bootloader0 spl-imx8mm-var-dart-dual.bin
FB[-t 600000]: flash gpt partition-table-dual.img
FB[-t 600000]: flash bootloader_a bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_a dtbo-imx8mm-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash boot_a boot.img
FB[-t 600000]: flash vendor_boot_a vendor_boot.img
FB[-t 600000]: flash init_boot_a init_boot.img
FB[-t 600000]: flash vbmeta_a vbmeta-imx8mm-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash bootloader_b bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_b dtbo-imx8mm-var-dart-1.x-dt8mcustomboard.img
FB[-t 600000]: flash boot_b boot.img
FB[-t 600000]: flash vendor_boot_b vendor_boot.img
FB[-t 600000]: flash init_boot_b init_boot.img
FB[-t 600000]: flash vbmeta_b vbmeta-imx8mm-var-dart-1.x-dt8mcustomboard.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: set_active _a
FB: done
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuu_version 1.4.182
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx
SDPU: delay 1000
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 2
FB: ucmd mmc dev 2
FB: ucmd mmc dev 2 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 2 0 0 0
FB[-t 600000]: flash bootloader0 spl-imx8mm-var-dart-dual.bin
FB[-t 600000]: flash gpt partition-table-dual.img
FB[-t 600000]: flash bootloader_a bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_a dtbo-imx8mm-var-dart-dt8mcustomboard.img
FB[-t 600000]: flash boot_a boot.img
FB[-t 600000]: flash vendor_boot_a vendor_boot.img
FB[-t 600000]: flash init_boot_a init_boot.img
FB[-t 600000]: flash vbmeta_a vbmeta-imx8mm-var-dart-dt8mcustomboard.img
FB[-t 600000]: flash bootloader_b bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_b dtbo-imx8mm-var-dart-dt8mcustomboard.img
FB[-t 600000]: flash boot_b boot.img
FB[-t 600000]: flash vendor_boot_b vendor_boot.img
FB[-t 600000]: flash init_boot_b init_boot.img
FB[-t 600000]: flash vbmeta_b vbmeta-imx8mm-var-dart-dt8mcustomboard.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: set_active _a
FB: done
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuu_version 1.4.182
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx
SDPU: delay 1000
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 2
FB: ucmd mmc dev 2
FB: ucmd mmc dev 2 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 2 0 0 0
FB[-t 600000]: flash bootloader0 spl-imx8mm-var-dart-dual.bin
FB[-t 600000]: flash gpt partition-table-dual.img
FB[-t 600000]: flash bootloader_a bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_a dtbo-imx8mm-var-dart-wbe-dt8mcustomboard.img
FB[-t 600000]: flash boot_a boot.img
FB[-t 600000]: flash vendor_boot_a vendor_boot.img
FB[-t 600000]: flash init_boot_a init_boot.img
FB[-t 600000]: flash vbmeta_a vbmeta-imx8mm-var-dart-wbe-dt8mcustomboard.img
FB[-t 600000]: flash bootloader_b bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_b dtbo-imx8mm-var-dart-wbe-dt8mcustomboard.img
FB[-t 600000]: flash boot_b boot.img
FB[-t 600000]: flash vendor_boot_b vendor_boot.img
FB[-t 600000]: flash init_boot_b init_boot.img
FB[-t 600000]: flash vbmeta_b vbmeta-imx8mm-var-dart-wbe-dt8mcustomboard.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: set_active _a
FB: done
36 changes: 36 additions & 0 deletions scripts/uuu_scripts/emmc_burn_android_imx8mm_var_som_symphony.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
uuu_version 1.4.182
SDP: boot -f u-boot-imx8mm-var-dart-uuu.imx
SDPU: delay 1000
SDPU: write -f u-boot-imx8mm-var-dart-uuu.imx -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f u-boot-imx8mm-var-dart-uuu.imx -skipspl
SDPV: jump
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 2
FB: ucmd mmc dev 2
FB: ucmd mmc dev 2 0
FB: ucmd mmc erase 0x3800 0x20
FB: ucmd mmc partconf 2 0 0 0
FB[-t 600000]: flash bootloader0 spl-imx8mm-var-dart-dual.bin
FB[-t 600000]: flash gpt partition-table-dual.img
FB[-t 600000]: flash bootloader_a bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_a dtbo-imx8mm-var-som-symphony.img
FB[-t 600000]: flash boot_a boot.img
FB[-t 600000]: flash vendor_boot_a vendor_boot.img
FB[-t 600000]: flash init_boot_a init_boot.img
FB[-t 600000]: flash vbmeta_a vbmeta-imx8mm-var-som-symphony.img
FB[-t 600000]: flash bootloader_b bootloader-imx8mm-var-dart-dual.img
FB[-t 600000]: flash dtbo_b dtbo-imx8mm-var-som-symphony.img
FB[-t 600000]: flash boot_b boot.img
FB[-t 600000]: flash vendor_boot_b vendor_boot.img
FB[-t 600000]: flash init_boot_b init_boot.img
FB[-t 600000]: flash vbmeta_b vbmeta-imx8mm-var-som-symphony.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: set_active _a
FB: done

0 comments on commit ebba8a8

Please sign in to comment.