diff --git a/meta-ohos-core/wic/x-avenger96.wks.in b/meta-ohos-core/wic/x-avenger96.wks.in new file mode 100644 index 0000000000000000000000000000000000000000..56cd18b6fd8bce4ba80cdd30e7c4f575227657f6 --- /dev/null +++ b/meta-ohos-core/wic/x-avenger96.wks.in @@ -0,0 +1,28 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +# short-description: Disk image for Avenger96 boards +# long-description: Creates a GPT partitioned SD image using a +# FlashLayout_sdcard_stm32mp157a-av96-extensible.tsv setup for the bootloader +# partitions and common partitions for the rest of the entries. +# +# Disk layout: +# -- ------- ------- ------ -------- --------- --------- ------------ ------------ ------------ +# | | fsbl1 | fsbl2 | ssbl | x-boot | x-sys-a | x-sys-b | x-dev-data | x-sys-data | x-app-data | +# -- ------- ------- ------ -------- --------- --------- ------------ ------------ ------------ +# ^ ^ ^ ^ ^ +# | | | | | +# 0 17KiB 273KiB 529KiB 4096KiB + +bootloader --ptable gpt + +part fsbl1 --source rawcopy --sourceparams="file=arm-trusted-firmware/tf-a-stm32mp157a-av96-sdcard.stm32" --part-name fsbl1 --part-type 8DA63339-0007-60C0-C436-083AC8230908 --offset 17 +part fsbl2 --source rawcopy --sourceparams="file=arm-trusted-firmware/tf-a-stm32mp157a-av96-sdcard.stm32" --part-name fsbl2 --part-type 8DA63339-0007-60C0-C436-083AC8230908 --offset 273 +part fip --source rawcopy --sourceparams="file=fip/fip-stm32mp157a-av96-trusted.bin" --part-name fip --part-type 8DA63339-0007-60C0-C436-083AC8230908 --offset 529 +part --source bootimg-partition --fstype=ext4 --label x-boot --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096 +${WIC_ROOTA_PARTITION} +${WIC_ROOTB_PARTITION} +${WIC_DEVICEDATA_PARTITION} +${WIC_SYSDATA_PARTITION} +${WIC_APPDATA_PARTITION}