OTA Update partitioning scheme
Hi,
I am trying to integrate swupdate for OTA update integration for STM32MP1.
In the due process I will be in need to modify the flash layout file a bit , since I am trying have an extra rootfs partition , named partition B on /dev/mmcblkp06.
I referred to flash layout currently mentioned here.
It looks to me that there is not any support for the extra rootfs which is provided.
How can i do that?
I am sure that I will be in need to change the flashlayout but since offsets are defined static in the mentioned link , I was wondering what should be offset calculation for achieving the same.
I want to achieve following scheme:
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157c-ev1-usb.stm32
- 0x03 fip-boot Binary none 0x0 fip/fip-stm32mp157c-ev1-trusted.bin
P 0x04 fsbl1 Binary mmc1 boot1 arm-trusted-firmware/tf-a-stm32mp157c-ev1-emmc.stm32
P 0x05 fsbl2 Binary mmc1 boot2 arm-trusted-firmware/tf-a-stm32mp157c-ev1-emmc.stm32
PD 0x06 fip Binary mmc1 0x00080000 fip/fip-stm32mp157c-ev1-trusted.bin
P 0x10 boot System mmc1 0x00480000 st-image-bootfs-openstlinux-weston-stm32mp1.ext4
P 0x11 vendorfs FileSystem mmc1 0x04480000 st-image-vendorfs-openstlinux-weston-stm32mp1.ext4
P 0x12 rootfs FileSystem mmc1 0x05480000 st-image-weston-openstlinux-weston-stm32mp1.ext4
P 0x13 rootfs2 FileSystem mmc1 ?????????? st-image-weston-openstlinux-weston-stm32mp1.ext4
P 0x14 userfs FileSystem mmc1 ?????????? st-image-userfs-openstlinux-weston-stm32mp1.ext4What shall be value at the place where I have mentioned ----> "??????????"
TIA
