summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/ls1043ardb-ota.wks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/canned-wks/ls1043ardb-ota.wks')
-rw-r--r--scripts/lib/wic/canned-wks/ls1043ardb-ota.wks14
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#
7part BL2 --source rawcopy2 --sourceparams="file=atf/bl2_sd.pbl" --ondisk mmcblk --no-table --align 4
8part BL3 --source rawcopy2 --sourceparams="file=atf/fip_uboot.bin" --ondisk mmcblk --no-table --align 1024
9part fman-ucode --source rawcopy2 --sourceparams="file=fsl_fman_ucode_ls1043_r1.1_108_4_9.bin" --ondisk mmcblk --no-table --align 9216
10part qe-ucode --source rawcopy2 --sourceparams="file=boot/fsl_qe_ucode_1021_10_A.bin" --ondisk mmcblk --no-table --align 9472
11part uboot-scr --source bootimg-partition --ondisk mmcblk --fstype=msdos --fixed-size=100M --align 65540
12part / --source otaimage --ondisk mmcblk --fstype=ext4 --label root --align 167940
13
14bootloader --ptable msdos