Behöver du hjälp? Chatta med oss WhatsApp

Please, enable Compare.

Building Yocto Scarthgap BSP Distribution


https:/github.com/STMicroelectronics/meta-st-openstlinux
https://github.com/STMicroelectronics/meta-st-stm32mp/
https://github.com/STMicroelectronics/meta-st-stm32mp-addons

Overview of the meta-embedian Yocto Layer


Notes on meta-embedian layer content

Setting Up the Tools and Build Environment











Notes

Building the Target Platforms




Notes

Building Images with QT




Notes



ID

Partition

Type

Device

Offset

Start Positiom

Size

Binary

Description


0x01

fsbl-boot

Binary

none

0x0

—

—

arm-trusted-firmware/tf-a-stm32mp255c-osm-optee-programmer-usb.stm32

USB Programmer boot firmware. TF-A/FSBL used to initialize the STM32MP255 and start the programming service from USB.

0x02

fip-ddr

FIP

none

0x0

—

—

fip/fip-stm32mp255c-osm-ddr-optee-programmer-usb.bin

USB Programmer FIP used during DDR initialization. Contains the firmware components required by the programming environment.

0x03

fip-boot

FIP

none

0x0

—

—

fip/fip-stm32mp255c-osm-optee-programmer-usb.bin

USB Programmer boot FIP. Used to boot the target into the STM32 programming environment.

0x04

fsbla1

Binary

mmc0

0x00004400

17 KiB

256 KiB

arm-trusted-firmware/tf-a-stm32mp255c-osm-optee-sdcard.stm32

Primary TF-A/FSBL stored in SD card. Responsible for early boot and hardware initialization.

0x05

fsbla2

Binary

mmc0

0x00044400

273 KiB

256 KiB

arm-trusted-firmware/tf-a-stm32mp255c-osm-optee-sdcard.stm32

Backup copy of TF-A/FSBL for boot redundancy and recovery.

0x06

metadata1

FWU_MDATA

mmc0

0x00084400

529 KiB

256 KiB

arm-trusted-firmware/metadata.bin

Primary Firmware Update (FWU) metadata. Stores firmware update state and boot-slot information.

0x07

metadata2

FWU_MDATA

mmc0

0x000C4400

785 KiB

256 KiB

arm-trusted-firmware/metadata.bin

Backup FWU metadata used for redundancy and reliable firmware update management.

0x08

fip-a

FIP

mmc0

0x00104400

1.02 MiB

4 MiB

fip/fip-stm32mp255c-osm-optee-sdcard.bin

Primary firmware slot (A). FIP normally contains TF-A/BL31, OP-TEE/BL32 and U-Boot/BL33.

0x09

fip-b

FIP

mmc0

0x00504400

5.02 MiB

4 MiB

none

Backup firmware slot (B), reserved for FWU/A-B firmware updates and rollback.

0x0A

u-boot-env

ENV

mmc0

0x00904400

9.02 MiB

512 KiB

none

U-Boot environment storage. Contains boot commands, boot configuration and runtime environment variables.

0x10

bootfs

System

mmc0

0x00984400

9.52 MiB

64 MiB

st-image-qt-openstlinux-weston-osmmp255.splitted-bootfs.ext4

Linux boot filesystem containing the kernel, device trees and other boot-related files.

0x11

vendorfs

FileSystem

mmc0

0x04984400

73.52 MiB

250 MiB

st-image-qt-openstlinux-weston-osmmp255.splitted-vendorfs.ext4

Vendor-specific filesystem containing ST/board-specific software and configuration files.

0x12

rootfs

FileSystem

mmc0

0x14384400

323.52 MiB

4 GiB

st-image-qt-openstlinux-weston-osmmp255.splitted-rootfs.ext4

Main Linux root filesystem (/) containing the operating system, libraries, applications and system configuration.

0x13

userfs

FileSystem

mmc0

0x114384400

4.315 GiB

Remaining

st-image-qt-openstlinux-weston-osmmp255.splitted-userfs.ext4

User data filesystem for application data, persistent configuration, logs and customer-specific data.


ID

Partition

Type

Device

Offset

Start Positiom

Size

Binary

Description


0x01

fsbl-boot

Binary

none

0x0

—

—

arm-trusted-firmware/tf-a-stm32mp255c-osm-optee-programmer-usb.stm32

USB Programmer boot firmware. TF-A/FSBL used to initialize the STM32MP255 and start the programming service from USB.

0x02

fip-ddr

FIP

none

0x0

—

—

fip/fip-stm32mp255c-osm-ddr-optee-programmer-usb.bin

USB Programmer FIP used during DDR initialization. Contains the firmware components required by the programming environment.

0x03

fip-boot

FIP

none

0x0

—

—

fip/fip-stm32mp255c-osm-optee-programmer-usb.bin

USB Programmer boot FIP. Used to boot the target into the STM32 programming environment.

0x04

fsbla1

Binary

mmc1

boot1

eMMC Boot1

–

arm-trusted-firmware/tf-a-stm32mp255c-osm-optee-sdcard.stm32

Primary TF-A/FSBL stored in eMMC. Responsible for early boot and hardware initialization.

0x05

fsbla2

Binary

mmc1

boot2

eMMC Boot2

–

arm-trusted-firmware/tf-a-stm32mp255c-osm-optee-sdcard.stm32

Backup copy of TF-A/FSBL for boot redundancy and recovery.

0x06

metadata1

FWU_MDATA

mmc1

0x00080000

512 KiB

512 KiB

arm-trusted-firmware/metadata.bin

Primary Firmware Update (FWU) metadata. Stores firmware update state and boot-slot information.

0x07

metadata2

FWU_MDATA

mmc1

0x00100000

1 MiB

512 KiB

arm-trusted-firmware/metadata.bin

Backup FWU metadata used for redundancy and reliable firmware update management.

0x08

fip-a

FIP

mmc1

0x00180000

1.5 MiB

4 MiB

fip/fip-stm32mp255c-osm-optee-sdcard.bin

Primary firmware slot (A). FIP normally contains TF-A/BL31, OP-TEE/BL32 and U-Boot/BL33.

0x09

fip-b

FIP

mmc1

0x00580000

5.5 MiB

4 MiB

none

Backup firmware slot (B), reserved for FWU/A-B firmware updates and rollback.

0x0A

u-boot-env

ENV

mmc1

0x00980000

9.5 MiB

512 KiB

none

U-Boot environment storage. Contains boot commands, boot configuration and runtime environment variables.

0x10

bootfs

System

mmc1

0x00A00000

10 MiB

64 MiB

st-image-qt-openstlinux-weston-osmmp255.splitted-bootfs.ext4

Linux boot filesystem containing the kernel, device trees and other boot-related files.

0x11

vendorfs

FileSystem

mmc1

0x04A00000

74 MiB

256 MiB

st-image-qt-openstlinux-weston-osmmp255.splitted-vendorfs.ext4

Vendor-specific filesystem containing ST/board-specific software and configuration files.

0x12

rootfs

FileSystem

mmc1

0x14400000

324 MiB

3 GiB

st-image-qt-openstlinux-weston-osmmp255.splitted-rootfs.ext4

Main Linux root filesystem (/) containing the operating system, libraries, applications and system configuration.

0x13

userfs

FileSystem

mmc1

0xD4400000

3396 MiB

Remaining

st-image-qt-openstlinux-weston-osmmp255.splitted-userfs.ext4

User data filesystem for application data, persistent configuration, logs and customer-specific data.


DTB FILENAME

DESCRIPTION

stm32mp255c-osm.dtb

Device tree blob for 2GB LPDDR4x configuration

stm32mp255c-osm-1g.dtb

Device tree blob for 1GB LPDDR4x configuration



Setup SD Card Automatically



Note


Install additional Packages


Note


Writing Bitbake Recipes








Create an eMMC raw image


Copy files to rootfs partition of SD card in your Host PC


Device Console


Device Console


Device Console



Note


Was this article helpful?