-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm trying to flash an image for the stm32mp257f-ev1 on the emmc. OpenWRT on a sdcard works. I've managed to flash the openstlinux distribution to the emmc on the board, but I don't quite understand how to write the .tsv file from the docs/stm32cubeprogrammer.md document.
The document talks about a flashing/ directory, from which files should be copied. I don't have that after my build. I've therefore copied the files from the openstlinux directory, so ended up with this:
- 0x01 fsbl-boot Binary none 0x0 arm-trusted-firmware/tf-a-stm32mp257f-ev1-optee-programmer-usb.stm32
- 0x02 fip-ddr FIP none 0x0 fip/fip-stm32mp257f-ev1-ddr-optee-programmer-usb.bin
- 0x03 fip-boot FIP none 0x0 fip/fip-stm32mp257f-ev1-optee-programmer-usb.bin
P 0x10 sdcard RawImage mmc1 0x0 openwrt-stm32-stm32mp2-stm32mp257f-ev1-ext4-factory.img
However, this fails with
INFO: Instance 2
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.10-stm32mp2-r2.0(debug):lts-v2.10.13-dirty(b1f57509)
NOTICE: BL2: Built : 17:10:59, Feb 14 2025
ERROR: Unable to find a metadata partition
WARNING: Failed to set reference to image id=12 (-2)
WARNING: loading of FWU-Metadata failed, using Bkup-FWU-Metadata
ERROR: Unable to find a metadata partition
WARNING: Failed to set reference to image id=13 (-2)
ERROR: loading of Bkup-FWU-Metadata failed
BACKTRACE: START: fwu_init
0: EL3: 0xe017bac
1: EL3: 0xe019134
2: EL3: 0xe017ad8
3: EL3: 0xe0170e0
BACKTRACE: END: fwu_init
presumably since the RawImage flashing is wrong (?). Is there an example you can point to? Or perhaps update the documentation?
Metadata
Metadata
Assignees
Labels
No labels