diff options
Diffstat (limited to 'scripts/lib/wic/canned-wks/ls1043ardb-ota.wks')
-rw-r--r-- | scripts/lib/wic/canned-wks/ls1043ardb-ota.wks | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/lib/wic/canned-wks/ls1043ardb-ota.wks b/scripts/lib/wic/canned-wks/ls1043ardb-ota.wks new file mode 100644 index 0000000..aed6870 --- /dev/null +++ b/scripts/lib/wic/canned-wks/ls1043ardb-ota.wks | |||
@@ -0,0 +1,14 @@ | |||
1 | # short-description: Create SD card OTA image for NXP LS1043ARDB | ||
2 | # long-description: | ||
3 | # Create an OTA-enabled image that can be written onto a SD card using dd | ||
4 | # for use with NXP LS1043ARDB SoC. | ||
5 | # For data layout see Layerscape SDK User Guide, Chapter 4.2, tables 14 and 16. | ||
6 | # | ||
7 | part BL2 --source rawcopy2 --sourceparams="file=atf/bl2_sd.pbl" --ondisk mmcblk --no-table --align 4 | ||
8 | part BL3 --source rawcopy2 --sourceparams="file=atf/fip_uboot.bin" --ondisk mmcblk --no-table --align 1024 | ||
9 | part fman-ucode --source rawcopy2 --sourceparams="file=fsl_fman_ucode_ls1043_r1.1_108_4_9.bin" --ondisk mmcblk --no-table --align 9216 | ||
10 | part qe-ucode --source rawcopy2 --sourceparams="file=boot/fsl_qe_ucode_1021_10_A.bin" --ondisk mmcblk --no-table --align 9472 | ||
11 | part uboot-scr --source bootimg-partition --ondisk mmcblk --fstype=msdos --fixed-size=100M --align 65540 | ||
12 | part / --source otaimage --ondisk mmcblk --fstype=ext4 --label root --align 167940 | ||
13 | |||
14 | bootloader --ptable msdos | ||