Commit c0a27c51762ea0f9cb7cb05f7653ed5ec47054f2

Authored by Eric Lee
1 parent 79edc1b632

Add SPDV protocol in uuu script

Showing 2 changed files with 34 additions and 19 deletions Side-by-side Diff

imx8m/smarc_mx8mq/uuu/uuu-android-smarc-mx8mq-emmc.lst
1 1 uuu_version 1.1.81
2 2 # uuu scripts for imx8mq Android imx_pi9.0 eMMC
3   -SDP: boot -f u-boot-smarcimx8mq_2g-uuu.imx
  3 +SDP: boot -f u-boot-imx8mq-smarcimx8mq_2g_uuu.imx
4 4 # This command will be run when use SPL
5 5 SDPU: delay 1000
6   -SDPU: write -f u-boot-smarcimx8mq_2g-uuu.imx -offset 0x57c00
  6 +SDPU: write -f u-boot-imx8mq-smarcimx8mq_2g_uuu.imx -offset 0x57c00
7 7 SDPU: jump
  8 +
  9 +# This command will be run when use SDPV
  10 +SDPV: delay 1000
  11 +SDPV: write -f u-boot-imx8mq-smarcimx8mq_2g_uuu.imx -offset 0x57c00
  12 +SDPV: jump
  13 +
8 14 # This command will be run when ROM support stream mode
9   -SDPS: boot -f u-boot-imx8mq.imx
  15 +SDPS: boot -f u-boot-imx8mq-smarcimx8mq_2g.imx
10 16  
11 17 FB: ucmd setenv fastboot_dev mmc
12 18 FB: ucmd setenv mmcdev 0
13 19 FB: ucmd mmc dev 0
14   -FB: flash bootloader0 u-boot-imx8mq.imx
  20 +FB: flash bootloader0 u-boot-imx8mq-smarcimx8mq_2g.imx
15 21 FB[-t 600000]: flash gpt partition-table.img
16 22  
17 23 # erase environment variables of uboot
18 24  
... ... @@ -24,12 +30,12 @@
24 30 FB: flash boot_b boot.img
25 31 FB[-t 100000]: flash system_a system.img
26 32 FB[-t 100000]: flash system_b system.img
27   -FB: flash vbmeta_a vbmeta-imx8mq.img
28   -FB: flash vbmeta_b vbmeta-imx8mq.img
  33 +FB: flash vbmeta_a vbmeta-smarcimx8mq-hdmi.img
  34 +FB: flash vbmeta_b vbmeta-smarcimx8mq-hdmi.img
29 35 FB: flash vendor_a vendor.img
30 36 FB: flash vendor_b vendor.img
31   -FB: flash dtbo_a dtbo-imx8mq.img
32   -FB: flash dtbo_b dtbo-imx8mq.img
  37 +FB: flash dtbo_a dtbo-smarcimx8mq-hdmi.img
  38 +FB: flash dtbo_b dtbo-smarcimx8mq-hdmi.img
33 39  
34 40 # erase userdata and misc partition
35 41 FB[-t 600000]: ERASE userdata
imx8m/smarc_mx8mq/uuu/uuu-android-smarc-mx8mq-sd.lst
1 1 uuu_version 1.1.81
2   -# uuu scripts for imx8mq Android imx_pi9.0 sd
3   -SDP: boot -f u-boot-smarcimx8mq_2g-uuu.imx
  2 +# uuu scripts for imx8mq Android imx_pi9.0 eMMC
  3 +SDP: boot -f u-boot-imx8mq-smarcimx8mq_2g_uuu.imx
4 4 # This command will be run when use SPL
5 5 SDPU: delay 1000
6   -SDPU: write -f u-boot-smarcimx8mq_2g-uuu.imx -offset 0x57c00
  6 +SDPU: write -f u-boot-imx8mq-smarcimx8mq_2g_uuu.imx -offset 0x57c00
7 7 SDPU: jump
  8 +
  9 +# This command will be run when use SDPV
  10 +SDPV: delay 1000
  11 +SDPV: write -f u-boot-imx8mq-smarcimx8mq_2g_uuu.imx -offset 0x57c00
  12 +SDPV: jump
  13 +
8 14 # This command will be run when ROM support stream mode
9   -SDPS: boot -f u-boot-imx8mq.imx
  15 +SDPS: boot -f u-boot-imx8mq-smarcimx8mq_2g.imx
10 16  
11 17 FB: ucmd setenv fastboot_dev mmc
12 18 FB: ucmd setenv mmcdev 1
13 19 FB: ucmd mmc dev 1
14   -FB: flash bootloader0 u-boot-imx8mq.imx
  20 +FB: flash bootloader0 u-boot-imx8mq-smarcimx8mq_2g.imx
15 21 FB[-t 600000]: flash gpt partition-table.img
16 22  
17 23 # erase environment variables of uboot
  24 +FB: ucmd mmc dev 1
18 25 FB: ucmd mmc erase 0x2000 8
19 26  
  27 +FB: ucmd mmc partconf 1 0 1 0
  28 +
20 29 FB: flash boot_a boot.img
21 30 FB: flash boot_b boot.img
22   -FB[-t 200000]: flash system_a system.img
23   -FB[-t 200000]: flash system_b system.img
24   -FB: flash vbmeta_a vbmeta-imx8mq.img
25   -FB: flash vbmeta_b vbmeta-imx8mq.img
  31 +FB[-t 100000]: flash system_a system.img
  32 +FB[-t 100000]: flash system_b system.img
  33 +FB: flash vbmeta_a vbmeta-smarcimx8mq-hdmi.img
  34 +FB: flash vbmeta_b vbmeta-smarcimx8mq-hdmi.img
26 35 FB: flash vendor_a vendor.img
27 36 FB: flash vendor_b vendor.img
28   -FB: flash dtbo_a dtbo-imx8mq.img
29   -FB: flash dtbo_b dtbo-imx8mq.img
  37 +FB: flash dtbo_a dtbo-smarcimx8mq-hdmi.img
  38 +FB: flash dtbo_b dtbo-smarcimx8mq-hdmi.img
30 39  
31 40 # erase userdata and misc partition
32 41 FB[-t 600000]: ERASE userdata