diff options
Diffstat (limited to 'mfgtool')
-rw-r--r-- | mfgtool/bootloader.uuu.in | 19 | ||||
-rw-r--r-- | mfgtool/full_image.uuu.in | 20 |
2 files changed, 39 insertions, 0 deletions
diff --git a/mfgtool/bootloader.uuu.in b/mfgtool/bootloader.uuu.in new file mode 100644 index 00000000..60522d0c --- /dev/null +++ b/mfgtool/bootloader.uuu.in | |||
@@ -0,0 +1,19 @@ | |||
1 | uuu_version 1.2.39 | ||
2 | |||
3 | SDP: boot -f imx-boot-mfgtool | ||
4 | |||
5 | SDPV: delay 1000 | ||
6 | SDPV: write -f u-boot-mfgtool.itb | ||
7 | SDPV: jump | ||
8 | |||
9 | FB: ucmd setenv fastboot_dev mmc | ||
10 | FB: ucmd setenv mmcdev ${emmc_dev} | ||
11 | FB: ucmd mmc dev ${emmc_dev} 1; mmc erase 0 0x2000 | ||
12 | FB: flash bootloader ../imx-boot-@@MACHINE@@ | ||
13 | FB: flash bootloader2 ../u-boot-@@MACHINE@@.itb | ||
14 | FB: flash bootloader_s ../imx-boot-@@MACHINE@@ | ||
15 | FB: flash bootloader2_s ../u-boot-@@MACHINE@@.itb | ||
16 | FB: flash sit ../sit-@@MACHINE@@.bin | ||
17 | FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; | ||
18 | FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 | ||
19 | FB: done | ||
diff --git a/mfgtool/full_image.uuu.in b/mfgtool/full_image.uuu.in new file mode 100644 index 00000000..80e42007 --- /dev/null +++ b/mfgtool/full_image.uuu.in | |||
@@ -0,0 +1,20 @@ | |||
1 | uuu_version 1.2.39 | ||
2 | |||
3 | SDP: boot -f imx-boot-mfgtool | ||
4 | |||
5 | SDPV: delay 1000 | ||
6 | SDPV: write -f u-boot-mfgtool.itb | ||
7 | SDPV: jump | ||
8 | |||
9 | FB: ucmd setenv fastboot_dev mmc | ||
10 | FB: ucmd setenv mmcdev ${emmc_dev} | ||
11 | FB: ucmd mmc dev ${emmc_dev} 1; mmc erase 0 0x2000 | ||
12 | FB: flash -raw2sparse all ../@@MFGTOOL_FLASH_IMAGE@@-@@MACHINE@@.wic | ||
13 | FB: flash bootloader ../imx-boot-@@MACHINE@@ | ||
14 | FB: flash bootloader2 ../u-boot-@@MACHINE@@.itb | ||
15 | FB: flash bootloader_s ../imx-boot-@@MACHINE@@ | ||
16 | FB: flash bootloader2_s ../u-boot-@@MACHINE@@.itb | ||
17 | FB: flash sit ../sit-@@MACHINE@@.bin | ||
18 | FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; | ||
19 | FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 | ||
20 | FB: done | ||