optionaldata - 2024.2 English - UG1283

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2024-12-13
Version
2024.2 English

Syntax

optionaldata {<filename>, id=<id>}

Description

This allows you to specify ID and data file. It is also possible to specify multiple optionaldata in the BIF. The data file must be a binary file with a .bin extension. Each optional data file needs a unique id, which can be used to identify related optional data. The IDs from 0x0 to 0x20 for optional data are reserved for internal use. User optional data ID can be anything > 0x20. This optional data goes after IHT in the PDI.

Arguments

Filename

id

Example

new_bif:
	{
	     id_code = 0x04ca8093
	     extended_id_code = 0x01
	     id = 0x2
	 
	    optionaldata {data2.bin, id=33}
	    optionaldata {data3.bin, id=34}
	
	     image
	     {
	         name = pmc_subsys, id = 0x1c000001
	         partition {id = 0x01, type = bootloader, file = plm.elf}
	         partition {id = 0x09, type = pmcdata, load = 0xf2000000, file = pmc_data.cdo}
	     }
	}