Skip to main content

Module raw

Module raw 

Expand description

The on-flash structures and constants of the kernel’s ubi-media.h.

The structures keep the kernel names and stop before their CRC, which Checksummed adds. The parsed types of the crate check them.

ModulesΒ§

checksummed πŸ”’
ec_hdr πŸ”’
flag πŸ”’
u31 πŸ”’
vid_hdr πŸ”’
vol_type πŸ”’
vtbl_record πŸ”’

ConstantsΒ§

UBI_EC_HDR_MAGIC πŸ”’
UBI_EC_HDR_MAGIC: UBI#.
UBI_FM_DATA_VOLUME_ID πŸ”’
UBI_FM_DATA_VOLUME_ID: the volume of the fastmap data.
UBI_FM_SB_VOLUME_ID πŸ”’
UBI_FM_SB_VOLUME_ID: the volume of the fastmap superblock.
UBI_INTERNAL_VOL_START πŸ”’
UBI_INTERNAL_VOL_START: the first ID of an internal volume.
UBI_LAYOUT_VOLUME_EBS πŸ”’
UBI_LAYOUT_VOLUME_EBS: the logical eraseblocks of the layout volume.
UBI_LAYOUT_VOLUME_ID πŸ”’
UBI_LAYOUT_VOLUME_ID: the volume that stores the volume table.
UBI_MAX_ERASECOUNTER πŸ”’
UBI_MAX_ERASECOUNTER: the highest erase counter that the kernel accepts.
UBI_MAX_VOLUMES πŸ”’
UBI_MAX_VOLUMES: the number of user volumes. Their IDs are below it.
UBI_VERSION πŸ”’
UBI_VERSION: the only UBI version.
UBI_VID_HDR_MAGIC πŸ”’
UBI_VID_HDR_MAGIC: UBI!.
UBI_VOL_NAME_MAX πŸ”’
UBI_VOL_NAME_MAX: the longest volume name in bytes.
UBI_VTBL_AUTORESIZE_FLG πŸ”’
UBI_VTBL_AUTORESIZE_FLG: grow the volume to fill the device on the first attach.
UBI_VTBL_SKIP_CRC_CHECK_FLG πŸ”’
UBI_VTBL_SKIP_CRC_CHECK_FLG: skip the CRC check of static data.