修改DRAM SIZE
BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES="CFG_EMBED_DTB_SOURCE_FILE=stm32mp157f-dk2-mx.dts CFG_STM32MP15=y CFG_DRAM_SIZE=0x20000000 CFG_STM32MP1_OPTEE_IN_SYSRAM=y"
fip.bin包含
optee
metadata
uboot
flash.tsv
#opt Id Name Type Device Offset Binary
- 0x01 fsbl_boot Binary none 0x0 tf-a-stm32mp157f-dk2-mx.stm32
- 0x03 fip_boot Binary none 0x0 fip.bin
P 0x10 sdcard RawImage mmc0 0x0 sdcard.img
Opt:
- '-' : no action
- 'P' : update = program the partition or the flash device
- 'PE' : do not update (also 'EP') : allow GPT partitioning with empty partition for block device but equivalent to '-' for RAW flash device
- 'PD' : delete and update (also 'DP’)
- 'PDE' : delete and keep empty (also 'PED' / 'DPE' / 'DEP' / 'EPD' / 'EDP’)
ID fields :
- Two ranges :
- 0x01 to 0x0F Boot partitions with FIP header: file containing SSBL or with STM32 header: FSBL or other without
header: metadata
- 0x10 to 0xF0 user partitions programmed without header (uimage, dtb, rootfs, vendorfs, userfs)
- Reserved Id :
- 0x00 FlashLayout (used internally, cannot be used in FlashLayout file)
- 0x01 FSBL (first copy) : used by ROM code (load in RAM)
- 0x03 SSBL : used by FSBL=TF-A (load in RAM)
- 0xF1 to 0xFD "virtual partition": used internally
Optee/Trusted(OpenSTLinux看得到)
openSTLinux在4以後,只用Optee
STM32_Programmer
$ STM32_Programmer_CLI -c port=usb -w flash.tsv
沒有留言:
張貼留言