Skip to content
Snippets Groups Projects
Verified Commit b985b7c7 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

x-avenger96.wks.in: Add wic configuration for Avenger96


This is based on FlashLayout_sdcard_stm32mp157a-av96-extensible.tsv as a
starting point.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent efcb0358
No related branches found
No related tags found
No related merge requests found
# 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}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment