What is the layout of the .tsv file?
I'm updating a .tsv file, used by the CubeProgramer to program a STM32MP DK1. The file I'm looking at contains:
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl1-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp157a-dk1-serialboot.stm32
- 0x03 ssbl-boot Binary none 0x0 bootloader/u-boot-stm32mp157a-dk1-trusted.stm32
P 0x04 fsbl1 Binary mmc0 0x00004400 arm-trusted-firmware/tf-a-stm32mp157a-dk1-trusted.stm32
P 0x05 fsbl2 Binary mmc0 0x00044400 arm-trusted-firmware/tf-a-stm32mp157a-dk1-trusted.stm32
PD 0x06 ssbl Binary mmc0 0x00084400 bootloader/u-boot-stm32mp157a-dk1-trusted.stm32
P 0x21 boot System mmc0 0x00284400 st-image-bootfs-openstlinux-weston-stm32mp1.ext4
P 0x22 vendorfs FileSystem mmc0 0x04284400 st-image-vendorfs-openstlinux-weston-stm32mp1.ext4
P 0x23 rootfs FileSystem mmc0 0x05284400 st-image-weston-openstlinux-weston-stm32mp1.ext4
P 0x24 userfs FileSystem mmc0 0x33C84400 st-image-userfs-openstlinux-weston-stm32mp1.ext4I'm trying to understand the file's contents and how to modify it correctly.
1) Is there any documentation on this file?
2) From playing with the file it seems, the "fsbl1-boot" and "ssbl-boot", appear to be an initial load used to flash the rest of the board. Is that correct?
3) When preparing images, how are the fsbl1-boot/ssbl-boot generated? When I ran a bootloader build, the output seemed to have been:
u-boot u-boot.cfg.configs u-boot.lds u-boot.srec u-boot.sym
u-boot.bin u-boot.dtb u-boot.map u-boot.stm32
u-boot.cfg u-boot-dtb.bin u-boot-nodtb.bin u-boot.stm32.logThanks.
