/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_savearea_management.robot | 34 ${content-1} Sample Content to test partition file upload 35 ... Sample Content to test partition file upload 36 ... Sample Content to test partition file upload 37 ${content-2} Sample Content to test partition file upload after reboot 38 ... Sample Content to test partition file upload after reboot 39 ... Sample Content to test partition file upload after reboot 45 Redfish Upload Lower Limit Partition File To BMC 46 [Documentation] Upload lower limit of allowed partition file to BMC using Redfish. 48 [Template] Redfish Upload Partition File 51 100-file [all …]
|
/openbmc/u-boot/disk/ |
H A D | Kconfig | 2 menu "Partition Types" 5 bool "Enable Partition Labels (disklabels) support" 12 Partition Labels (disklabels) Supported: 14 - CONFIG_MAC_PARTITION Apple's MacOS partition table. 15 - CONFIG_DOS_PARTITION MS Dos partition table, traditional on the 17 - CONFIG_ISO_PARTITION ISO partition table, used on CDROM etc. 18 - CONFIG_EFI_PARTITION GPT partition table, common when EFI is the 19 bootloader. Note 2TB partition limit; see 21 - CONFIG_MTD_PARTITIONS Memory Technology Device partition table. 23 you must configure support for at least one non-MTD partition type [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | fsl_hypervisor.h | 1 /* SPDX-License-Identifier: ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) */ 5 * Copyright (C) 2008-2011 Freescale Semiconductor, Inc. 47 * struct fsl_hv_ioctl_restart - restart a partition 49 * @partition: the ID of the partition to restart, or -1 for the 50 * calling partition 56 __u32 partition; member 60 * struct fsl_hv_ioctl_status - get a partition's status 62 * @partition: the ID of the partition to query, or -1 for the 63 * calling partition 64 * @status: The returned status of the partition [all …]
|
/openbmc/linux/block/partitions/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # Partition configuration 5 menu "Partition Types" 8 bool "Advanced partition selection" 21 bool "Acorn partition support" if PARTITION_ADVANCED 27 bool "Cumana partition support" if PARTITION_ADVANCED 35 bool "EESOX partition support" if PARTITION_ADVANCED 40 bool "ICS partition support" if PARTITION_ADVANCED 48 bool "Native filecore partition support" if PARTITION_ADVANCED 53 RiscOS operating system which runs on Acorn's ARM-based Risc PC [all …]
|
/openbmc/openbmc/poky/documentation/ref-manual/ |
H A D | kickstart.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 7 .. _openembedded-kickstart-wks-reference: 13 partitioning commands: ``partition`` (or ``part`` for short) and 27 https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html 29 Command: part or partition 32 Either of these commands creates a partition on the system and uses the 36 partition [mntpoint] 39 provide mntpoint, Wic creates a partition but does not mount it. 41 The ``mntpoint`` is where the partition is mounted and must be in one of 44 - ``/path``: For example, "/", "/usr", or "/home" [all …]
|
/openbmc/u-boot/include/ |
H A D | part.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * (C) Copyright 2000-2004 22 #define LOG2_INVALID(type) ((type)((sizeof(type)<<3)-1)) 32 /* maximum number of partition entries supported by search */ 38 * Type string for U-Boot bootable partitions 40 #define BOOT_PART_TYPE "U-Boot" /* primary boot partition type */ 47 #define DEV_TYPE_CDROM 0x05 /* CD-ROM */ 55 lbaint_t start; /* # of first block in partition */ 56 lbaint_t size; /* number of blocks in partition */ 58 uchar name[PART_NAME_LEN]; /* partition name */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/partitions/ |
H A D | partition.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/partition.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Partition 10 This binding describes a single flash partition. Each partition must have its 11 relative offset and size specified. Depending on partition function extra 14 A partition may be dynamically allocated by a specific parser at runtime. 16 Everything after 'partition-' will be used as the partition name to compare 18 If the partition contains invalid char a label can be provided that will [all …]
|
H A D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 on-flash partition table such as RedBoot. 14 The partition table should be a node named "partitions". Partitions are then 18 - Rafał Miłecki <rafal@milecki.pl> 23 - const: fixed-partitions 24 - items: 25 - const: sercomm,sc-partitions [all …]
|
/openbmc/hiomapd/vpnor/ |
H A D | table.hpp | 1 /* SPDX-License-Identifier: Apache-2.0 */ 30 /** @brief Convert the input partition table to big endian. 32 * @param[in] src - reference to the pnor partition table 34 * @returns converted partition table 38 /** @brief Parse a ToC line (entry) into the corresponding FFS partition 41 * @param[in] line - The ToC line to parse 42 * @param[in] blockSize - The flash block size in bytes 43 * @param[out] part - The partition object to populate with the information 54 /** @brief Compute XOR-based checksum, by XORing consecutive words 57 * @param[in] data - input data on which checksum is computed [all …]
|
H A D | partition.hpp | 1 /* SPDX-License-Identifier: Apache-2.0 */ 30 * @param[in] backend - The backend context used to process the request 31 * @param[in] offset - The absolute offset into the flash device as 40 backend(backend), partition(((struct vpnor_data*)backend->priv) in Request() 41 ->vpnor->table->partition(offset)), in Request() 42 base(partition.data.base << backend->block_size_shift), in Request() 43 offset(offset - base) in Request() 59 /** @brief Returns the partition file path associated with the offset. 61 * The search strategy for the partition file depends on the value of the 66 * 1. Depending on the partition type,tries to open the file [all …]
|
H A D | ffs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 8 /* There are two structures outlined here - one that represents the PNOR 9 * partition table (or header) - this appears first in the PNOR image. 10 * The last field of the PNOR partition table structure is an array 11 * of another structure - which represents the partition. 14 * https://github.com/open-power/hostboot/blob/master/src/usr/pnor/ffs.h */ 17 /* The maximum length of a partition's name */ 20 /* The version of this partition implementation. This is an 24 /* Magic number for the partition partition_table (ASCII 'PART') */ 27 /* Default parent partition id */ [all …]
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | pnor_partition_table.hpp | 1 /* SPDX-License-Identifier: Apache-2.0 */ 23 /** @brief Convert the input partition table to big endian. 25 * @param[in] src - reference to the pnor partition table 27 * @returns converted partition table 31 /** @brief Parse a ToC line (entry) into the corresponding FFS partition 34 * @param[in] line - The ToC line to parse 35 * @param[in] blockSize - The flash block size in bytes 36 * @param[out] part - The partition object to populate with the information 47 /** @brief Compute XOR-based checksum, by XORing consecutive words 50 * @param[in] data - input data on which checksum is computed [all …]
|
H A D | pnor_partition_defs.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 8 /* There are two structures outlined here - one that represents the PNOR 9 * partition table (or header) - this appears first in the PNOR image. 10 * The last field of the PNOR partition table structure is an array 11 * of another structure - which represents the partition. 14 * https://github.com/open-power/hostboot/blob/master/src/usr/pnor/ffs.h */ 17 /* The maximum length of a partition's name */ 20 /* The version of this partition implementation. This is an 24 /* Magic number for the partition partition_table (ASCII 'PART') */ 27 /* Default parent partition id */ [all …]
|
H A D | pnor_partition.hpp | 1 /* SPDX-License-Identifier: Apache-2.0 */ 28 * @param[in] ctx - The mbox context used to process the request 29 * @param[in] offset - The absolute offset into the flash device as 38 ctx(ctx), partition(ctx->vpnor->table->partition(offset)), in Request() 39 base(partition.data.base << ctx->block_size_shift), in Request() 40 offset(offset - base) in Request() 63 << std::hex << offset << " exceeds the partition size 0x" in write() 64 << std::hex << (partition.data.size << ctx->block_size_shift); in write() 89 /** @brief Returns the partition file path associated with the offset. 91 * The search strategy for the partition file depends on the value of the [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl1251/ |
H A D | io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * a chip-specific register address, so look it up in the registers in wl1251_translate_reg_addr() 36 return -EINVAL; in wl1251_translate_reg_addr() 41 return addr - wl->physical_reg_addr + wl->virtual_reg_addr; in wl1251_translate_reg_addr() 46 return addr - wl->physical_mem_addr + wl->virtual_mem_addr; in wl1251_translate_mem_addr() 55 wl->if_ops->read(wl, physical, buf, len); in wl1251_mem_read() 64 wl->if_ops->write(wl, physical, buf, len); in wl1251_mem_write() 89 * There are two VIRTUAL partitions (the memory partition and the 90 * registers partition), which are mapped to two different areas of the 93 * memory partition comes before the register partition, but the opposite is [all …]
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 This provides partition parsing for BCM63xx devices with CFE 24 tristate "Broadcom's U-Boot partition parser" 27 Broadcom uses a custom way of storing U-Boot environment variables. 28 They are placed inside U-Boot partition itself at unspecified offset. 34 tristate "Command line partition table parsing" 37 Allow generic configuration of the MTD partition tables via the kernel 49 <mtddef> := <mtd-id>:<partdef>[,<partdef>] 51 <mtd-id> := unique id used in mapping driver/device 52 <size> := standard linux memsize OR "-" to denote all [all …]
|
H A D | qcomsmempart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Qualcomm SMEM NAND flash partition parser 28 * struct smem_flash_pentry - SMEM Flash partition entry 29 * @name: Name of the partition 31 * @length: Length of the partition in blocks 32 * @attr: Flags for this partition 42 * struct smem_flash_ptable - SMEM Flash partition table 43 * @magic1: Partition table Magic 1 44 * @magic2: Partition table Magic 2 45 * @version: Partition table version [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.gpt | 1 # SPDX-License-Identifier: GPL-2.0+ 9 - UUID -(Universally Unique Identifier) 10 - GUID - (Globally Unique ID) 11 - EFI - (Extensible Firmware Interface) 12 - UEFI - (Unified EFI) - EFI evolution 13 - GPT (GUID Partition Table) - it is the EFI standard part 14 - partitions - lists of available partitions (defined at u-boot): 19 This document describes the GPT partition table format and usage of 20 the gpt command in u-boot. 26 globally unique value. A UUID is a 16-byte (128-bit) number. The number of [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_ops.h | 1 /* SPDX-License-Identifier: MIT */ 19 /* Well-known names of named persistent values. */ 33 * partition does not exist. 37 * of the partition. 62 /* Forward-declaration of operations in libavb_ab. */ 65 /* Forward-declaration of operations in libavb_atx. */ 68 /* High-level operations/functions/methods that are platform 78 * to platform-specific resources. It cannot be used by libraries. 92 /* Reads |num_bytes| from offset |offset| from partition with name 93 * |partition| (NUL-terminated UTF-8 string). If |offset| is [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | partitions.h | 16 * Partition definition structure: 18 * An array of struct partition is passed along with a MTD object to 21 * For each partition, these fields are available: 22 * name: string that will be used to label the partition's MTD device. 25 * partition that contains at least kernel and rootfs. In such case an 29 * size: the partition size; if defined as MTDPART_SIZ_FULL, the partition 32 * defined as MTDPART_OFS_APPEND, the partition will start where the 35 * after the end of partition. 37 * master MTD flag set for the corresponding MTD partition. 38 * For example, to force a read-only partition, simply adding [all …]
|
/openbmc/u-boot/cmd/ |
H A D | mtdparts.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de> 15 * Added support for reading flash partition table from environment. 23 * Copyright 2002 SYSGO Real-Time Solutions GmbH 29 * 'partition' - keeps current partition identifier 31 * partition := <part-id> 32 * <part-id> := <dev-id>,part_num 35 * 'mtdids' - linux kernel mtd device id <-> u-boot device id mapping 39 * <idmap> := <dev-id>=<mtd-id> 40 * <dev-id> := 'nand'|'nor'|'onenand'|'spi-nand'<dev-num> [all …]
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | partitions.h | 16 * Partition definition structure: 18 * An array of struct partition is passed along with a MTD object to 21 * For each partition, these fields are available: 22 * name: string that will be used to label the partition's MTD device. 23 * size: the partition size; if defined as MTDPART_SIZ_FULL, the partition 26 * defined as MTDPART_OFS_APPEND, the partition will start where the 29 * after the end of partition. 31 * master MTD flag set for the corresponding MTD partition. 32 * For example, to force a read-only partition, simply adding 41 uint64_t size; /* partition size */ [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/ |
H A D | direct.py | 4 # SPDX-License-Identifier: GPL-2.0-only 36 An image file is formatted with a partition table, each partition 64 self.name = "%s-%s" % (os.path.splitext(os.path.basename(wks_file))[0], 71 # as a convenience, set source to the boot partition source 72 # instead of forcing it to be set via bootloader --source 106 """Assume partition order same as in wks""" 127 device_name = "UUID=%s-%s" % \ 158 return os.path.join(path, "%s-%s.%s" % (self.name, name, extention)) 165 For 'wic', we already have our build artifacts - we just create 175 # and if rootfs name is specified for the partition [all …]
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | help.py | 3 # SPDX-License-Identifier: GPL-2.0-only 35 pager.communicate(hlp.encode('utf-8')) 67 Dispatch to subcommand handler borrowed from combo-layer. 94 usage: wic [--version] | [--help] | [COMMAND [ARGS]] 102 overview wic overview - General overview of wic 103 plugins wic plugins - Overview and API 104 kickstart wic kickstart - wic kickstart reference 118 usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] 119 [-e | --image-name] [-s, --skip-build-check] [-D, --debug] 120 [-r, --rootfs-dir] [-b, --bootimg-dir] [all …]
|
/openbmc/linux/fs/hfsplus/ |
H A D | part_tbl.c | 4 * Copyright (C) 1996-1997 Paul H. Hargrove 8 * Original code to handle the new style Mac partition table based on 12 * a structure means that the pointer is non-NULL and the structure it 22 #define HFS_PMAP_BLK 1 /* First block of partition map */ 23 #define HFS_MDB_BLK 2 /* Block (w/i partition) of MDB */ 27 #define HFS_OLD_PMAP_MAGIC 0x5453 /* "TS": old-type partition map */ 28 #define HFS_NEW_PMAP_MAGIC 0x504D /* "PM": new-type partition map */ 33 * The new style Mac partition map 35 * For each partition on the media there is a physical block (512-byte 42 __be32 pmMapBlkCnt; /* partition blocks count */ [all …]
|