Skip to content

[i.MX6][i.MX8] Add support to SYSDATA

SYSDATA uses a memory closed to the one reserved for environment. In this moment it contains all data needed for the switich of the partitions and the library includes some functions useful to manage these data. SYSDATA is used to edgehog OS for the switching partiton system. Moreover there is also a tool compiled using a static library. This tool allows the management of the data at user space level.

To include SYSDATA to the U-Boot, for a particular machine, the follow CONFIG must to be included:

CONFIG_SECO_SYSTEM_DATA=y CONFIG_SECO_SYSDATA_IN_MMC=y CONFIG_CMD_SECO_SYSDATA=y CONFIG_CMD_SECO_SWITCHPART=y

To compile also the the tool:

make sysdatatools

output:

  • tools/sysdata/libsysdata.a
  • tools/sysdata/fw_sysdata

The data in SYSTEMDATA memory are under CRC control. At first boot, when the memory is not yet initialized, the prompt in serial debug port will be

Loading Environment from MMC... OK System data from MMC1... Inizializated.

The subsequent boot will ...

Merge request reports

Loading