/openbmc/u-boot/common/spl/ |
H A D | spl_ubi.c | 19 struct ubispl_load volumes[2]; in spl_ubi_load_image() local 49 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_KERNEL_ID; in spl_ubi_load_image() 50 volumes[0].load_addr = (void *)CONFIG_SYS_LOAD_ADDR; in spl_ubi_load_image() 51 volumes[1].vol_id = CONFIG_SPL_UBI_LOAD_ARGS_ID; in spl_ubi_load_image() 52 volumes[1].load_addr = (void *)CONFIG_SYS_SPL_ARGS_ADDR; in spl_ubi_load_image() 54 ret = ubispl_load_volumes(&info, volumes, 2); in spl_ubi_load_image() 56 header = (struct image_header *)volumes[0].load_addr; in spl_ubi_load_image() 65 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_MONITOR_ID; in spl_ubi_load_image() 66 volumes[0].load_addr = (void *)header; in spl_ubi_load_image() 68 ret = ubispl_load_volumes(&info, volumes, 1); in spl_ubi_load_image()
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | VolumeCollection.json | 93 … "/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes", 94 …onService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes", 95 "/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes", 96 …edfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes", 97 "/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes", 101 "/redfish/v1/Storage/{StorageId}/Volumes", 102 …/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes", 106 "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes", 107 … "/redfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes", 111 "/redfish/v1/StorageServices/{StorageServiceId}/Volumes", [all …]
|
H A D | Storage.v1_19_0.json | 57 "Disabled": "Do not automatically create volumes.", 58 "NonRAID": "Automatically create non-RAID volumes.", 59 "RAID0": "Automatically create RAID0 volumes.", 60 "RAID1": "Automatically create RAID1 volumes." 538 … "The percentage of controller resources used for performing a data consistency check on volumes.", 539 …all contain the percentage of controller resources used for checking data consistency on volumes.", 550 … "description": "The percentage of controller resources used for rebuilding/repairing volumes.", 551 … "This property shall contain the percentage of controller resources used for rebuilding volumes.", 562 …cription": "The percentage of controller resources used for transforming volumes from one configur… 563 …This property shall contain the percentage of controller resources used for transforming volumes.", [all …]
|
H A D | DriveCollection.json | 96 …"/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDr… 99 …"/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{Ca… 103 …"/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySource…
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | VolumeCollection_v1.xml | 46 …redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String> 47 …ce/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String> 48 … <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String> 49 …v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String> 50 … <String>/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String> 54 <String>/redfish/v1/Storage/{StorageId}/Volumes</String> 55 …tems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String> 59 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String> 60 …dfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String> 64 <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes</String> [all …]
|
H A D | DriveCollection_v1.xml | 60 …<String>/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/Prov… 63 …<String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySour… 67 …<String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{Capacit…
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | ubi-media.h | 72 * table of the UBI image. In this case, one of the volumes (e.g., the one 85 * Compatibility constants used by internal volumes. 224 * There are 2 sorts of volumes in UBI: user volumes and internal volumes. 225 * Internal volumes are not seen from outside and are used for various internal 227 * layout volume. Internal volumes are the main mechanism of UBI extensions. 229 * volumes have their own reserved range of IDs. 231 * The @compat field is only used for internal volumes and contains the "degree 232 * of their compatibility". It is always zero for user volumes. This field 242 * eraseblock if this is a static volume. In case of dynamic volumes, it does 248 * The @data_size field is used only for static volumes because UBI has to know [all …]
|
H A D | vmt.c | 59 * out that the volume was removed from the @ubi->volumes array. 73 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show() 170 if (!ubi->volumes[i]) { in ubi_create_volume() 189 if (ubi->volumes[vol_id]) { in ubi_create_volume() 196 if (ubi->volumes[i] && in ubi_create_volume() 197 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume() 198 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume() 305 ubi->volumes[vol_id] = vol; in ubi_create_volume() 362 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume() 376 ubi->volumes[vol_id] = NULL; in ubi_remove_volume() [all …]
|
H A D | vtbl.c | 30 * information about how much data static volumes contain. 66 * ubi_update_layout_vol - helper for updatting layout volumes on flash 74 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol() 119 * ubi_vtbl_rename_volumes - rename UBI volumes in the volume table. 123 * This function re-names multiple volumes specified in @req in the volume 268 ubi_err(ubi, "volumes %d and %d have the same name \"%s\"", 518 * init_volumes - initialize volume information for existing volumes. 523 * This function allocates volume description objects for existing volumes. 569 ubi_assert(!ubi->volumes[i]); 570 ubi->volumes[i] = vol; [all …]
|
/openbmc/u-boot/include/mtd/ |
H A D | ubi-user.h | 32 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character 50 * UBI volumes re-name 53 * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command 125 * Block devices on UBI volumes 157 /* Re-name volumes */ 199 /* Maximum amount of UBI volumes that can be re-named at one go */ 218 * eraseblocks on dynamic volumes 286 * This structure is used by user-space programs when creating new volumes. The 287 * @used_bytes field is only necessary when creating static volumes. 321 * Re-sizing is possible for both dynamic and static volumes. But while dynamic [all …]
|
/openbmc/libbej/test/json/ |
H A D | drive_oem.json | 84 "Volumes": [ array 86 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/1" 89 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/2" 92 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/3"
|
/openbmc/u-boot/include/ |
H A D | ubispl.h | 28 * Defines the maximum number of volumes in which UBISPL is 31 * want to load from the SPL anyway. So the volumes which can be 81 * ubispl_load_volumes - Scan flash and load volumes 83 * @lovls: Pointer to array of volumes to load
|
/openbmc/u-boot/doc/ |
H A D | README.ubi | 64 UBI: max. allowed volumes: 128 66 UBI: number of internal volumes: 1 67 UBI: number of user volumes: 1 131 UBI: max. allowed volumes: 128 133 UBI: number of internal volumes: 1 134 UBI: number of user volumes: 1
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | ubi.h | 52 * @corrupted: non-zero if the volume is corrupted (static volumes only) 61 * The @corrupted flag is only relevant to static volumes and is always zero 82 * volumes and contain the number of bytes stored in this static volume and how 83 * many eraseblock this data occupies. In case of dynamic volumes, the 161 * Volumes of this UBI device may have smaller logical eraseblock size if their 227 /* UBI descriptor given to users when they open UBI volumes */
|
/openbmc/u-boot/cmd/ |
H A D | ubi.c | 43 if (!ubi->volumes[i]) in display_volume_info() 45 ubi_dump_vol_info(ubi->volumes[i]); in display_volume_info() 62 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info() 64 ubi_msg("number of internal volumes: %d", UBI_INT_VOL_COUNT); in display_ubi_info() 65 ubi_msg("number of user volumes: %d", in display_ubi_info() 94 if (!ubi->volumes[i]) in ubi_check() 97 if (!ubi_check_volumename(ubi->volumes[i], name)) in ubi_check() 184 vol = ubi->volumes[i]; in ubi_find_volume() 223 ubi->volumes[vol->vol_id]->eba_tbl = NULL; in ubi_remove_vol() 224 ubi->volumes[vol->vol_id] = NULL; in ubi_remove_vol()
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Storage.v1_19_0.json | 57 "Disabled": "Do not automatically create volumes.", 58 "NonRAID": "Automatically create non-RAID volumes.", 59 "RAID0": "Automatically create RAID0 volumes.", 60 "RAID1": "Automatically create RAID1 volumes." 538 … "The percentage of controller resources used for performing a data consistency check on volumes.", 539 …all contain the percentage of controller resources used for checking data consistency on volumes.", 550 … "description": "The percentage of controller resources used for rebuilding/repairing volumes.", 551 … "This property shall contain the percentage of controller resources used for rebuilding volumes.", 562 …cription": "The percentage of controller resources used for transforming volumes from one configur… 563 …This property shall contain the percentage of controller resources used for transforming volumes.", [all …]
|
H A D | DriveCollection.json | 96 "/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives", 99 "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives", 103 "/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives"
|
/openbmc/docs/architecture/code-update/ |
H A D | emmc-storage-design.md | 46 Logical Volumes in the Alternatives section below). 96 the remaining of the flash. Store the dual kernel volumes in the UBI 166 - Logical Volumes: 179 logical volumes, instead of fixed-size partitions. This provides flexibility 182 volumes in the single eMMC device.
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-crypto/cryptsetup/ |
H A D | cryptsetup_2.7.5.bb | 1 SUMMARY = "Manage plain dm-crypt and LUKS encrypted volumes" 3 device-mapper mappings. These include plain dm-crypt volumes and \ 4 LUKS volumes. The difference is that LUKS uses a metadata header \
|
/openbmc/qemu/tests/functional/ |
H A D | test_aarch64_sbsaref.py | 20 Flash volumes generated using: 41 fd.truncate(256 << 20) # Expand volumes to 256MiB
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | obmc-flash-bios-cleanup.service | 2 Description=Clean up UBI volumes unattached to a Host version
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/ |
H A D | obmc-flash-bmc-cleanup.service.in | 2 Description=Clean up UBI volumes unattached to a BMC version after DeleteAll
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | Volume.interface.yaml | 3 interface only supports LUKS encrypted volumes, but it can be extended in 4 the future to support other types of volumes, as well.
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init/ |
H A D | 20-udev | 3 # We need to run udevd in order to get the /dev/mtd volumes to show up.
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | DriveCollection_v1.xml | 60 …<String>/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/Prov… 63 …<String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySour… 67 …<String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{Capacit…
|