/openbmc/u-boot/board/imgtec/malta/ |
H A D | flash-malta-boot.tcl | 22 flash erase sector 0xbe000000; 23 flash erase sector 0xbe020000; 24 flash erase sector 0xbe040000; 25 flash erase sector 0xbe060000; 26 flash erase sector 0xbe080000; 27 flash erase sector 0xbe0a0000; 28 flash erase sector 0xbe0c0000; 29 flash erase sector 0xbe0e0000;
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 293.out | 13 == erase slot 4 == 25 == erase slot 0 and try it == 28 == erase slot 2 and try it == 50 == erase all keys of secret 2== 51 == erase all keys of secret 1== 52 == erase all keys of secret 0== 54 …ve keyslots match the (old) password that was given and erasing them will erase all the data in th… 64 == erase secret3 == 74 qemu-img: Refusing to overwrite active keyslot 0 - please erase it first 85 == erase last secret (should fail) == [all …]
|
/openbmc/estoraged/include/ |
H A D | erase.hpp | 6 /** @class Erase 7 * @brief Erase object provides a base class for the specific erase types 9 class Erase class 12 /** @brief creates an erase object 15 Erase(std::string_view inDevPath) : devPath(inDevPath) {} in Erase() function in estoraged::Erase
|
H A D | verifyDriveGeometry.hpp | 3 #include "erase.hpp" 11 class VerifyDriveGeometry : public Erase 14 /** @brief Creates a verifyDriveGeomentry erase object. 18 VerifyDriveGeometry(std::string_view inDevPath) : Erase(inDevPath) {} in VerifyDriveGeometry() 23 * @param[in] eraseMaxGeometry - the max expected size to erase. 24 * @param[in] eraseMinGeometry - the min expected size to erase.
|
H A D | sanitize.hpp | 3 #include "erase.hpp" 70 class Sanitize : public Erase 73 /** @brief Creates a sanitize erase object 82 Erase(inDevPath), ioctlWrapper(std::move(inIOCTL)) in Sanitize() 85 /** @brief sanitize the drive, using eMMC specified erase commands 91 /** @brief sanitize the drive, using eMMC specified erase commands 107 /** @brief uses the eMMC defined erase command
|
H A D | cryptErase.hpp | 4 #include "erase.hpp" 14 class CryptErase : public Erase 17 /** @brief Creates a CryptErase erase object.
|
H A D | zero.hpp | 3 #include "erase.hpp" 16 class Zero : public Erase 19 /** @brief Creates a zero erase object. 23 Zero(std::string_view inDevPath) : Erase(inDevPath) {} in Zero()
|
H A D | pattern.hpp | 3 #include "erase.hpp" 17 class Pattern : public Erase 20 /** @brief Creates a pattern erase object. 24 Pattern(std::string_view inDevPath) : Erase(inDevPath) {} in Pattern()
|
/openbmc/estoraged/src/test/ |
H A D | meson.build | 5 'erase/verifyGeometry_test', 6 'erase/pattern_test', 7 'erase/zero_test', 8 'erase/crypto_test', 9 'erase/sanitize_test',
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdconcat.c | 346 static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) in concat_dev_erase() argument 357 erase->mtd = mtd; in concat_dev_erase() 358 erase->callback = concat_erase_callback; in concat_dev_erase() 359 erase->priv = (unsigned long) &waitq; in concat_dev_erase() 365 err = mtd_erase(mtd, erase); in concat_dev_erase() 369 if (erase->state != MTD_ERASE_DONE in concat_dev_erase() 370 && erase->state != MTD_ERASE_FAILED) in concat_dev_erase() 375 err = (erase->state == MTD_ERASE_FAILED) ? -EIO : 0; in concat_dev_erase() 386 struct erase_info *erase; in concat_erase() local 389 * Check for proper erase block alignment of the to-be-erased area. in concat_erase() [all …]
|
/openbmc/u-boot/doc/SPI/ |
H A D | README.ti_qspi_dra_test | 21 Commands to erase/write u-boot/mlo to flash device 24 SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c0… 25 U-Boot# sf erase 0 0x10000 27 U-Boot# sf erase 0x20000 0x10000 29 U-Boot# sf erase 0x30000 0x10000 31 U-Boot# sf erase 0x40000 0x10000 33 U-Boot# sf erase 0x50000 0x10000 35 U-Boot# sf erase 0x60000 0x10000
|
/openbmc/u-boot/include/ |
H A D | ubispl.h | 13 * Defines the maximum number of logical erase blocks per loadable 18 * Defines the maximum physical erase block size to size the fastmap 23 * Define the maximum number of physical erase blocks to size the 49 * @peb_size: Physical erase block size 51 * @leb_start: Start of the logical erase block, i.e. offset of data 52 * @peb_count: Number of physical erase blocks in the UBI FLASH area 55 * to the real start of the FLASH in erase blocks.
|
/openbmc/qemu/hw/block/ |
H A D | pflash_cfi02.c | 26 * - sector erase 27 * - chip erase 199 * Returns the time it takes to erase the number of sectors scheduled for 201 * block erase 2^N ms." 206 * If there are no sectors to erase (which can happen if all of the sectors in pflash_erase_time() 207 * to be erased are protected), then erase takes 100 us. Protected sectors in pflash_erase_time() 214 * Returns true if the device is currently in erase suspend mode. 228 * Sector erase. If DQ3 is 0 when the timer expires, then the 50 in pflash_timer() 229 * us erase timeout has expired so we need to start the timer for the in pflash_timer() 230 * sector erase algorithm. Otherwise, the erase completed and we should in pflash_timer() [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | UCP1020.h | 216 #define CONFIG_SYS_FLASH_ERASE_TOUT 60000 /* Flash Erase Timeout (ms) */ 470 "sf erase $mbr_offset +$filesize; " \ 474 "erase $nor_recoveryaddr +$filesize; " \ 479 "erase $nor_ubootaddr +$filesize; " \ 484 "erase $nor_workingaddr +$filesize; " \ 496 "mmc erase 1 1; " \ 499 "mmc erase 0x40 0x400; " \ 542 "erase 0xEC000000 +$filesize; " \ 548 "erase 0xEFF80000 +$filesize; " \ 553 "sf probe 0; sf erase 0x8000 +$filesize; " \ [all …]
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_flash.c | 88 /* We know the erase size so we can allocate the flash_erased bytemap */ in init_flash_dev() 93 MSG_DBG("Flash erase size: 0x%.8x\n", context->mtd_info.erasesize); in init_flash_dev() 129 * The flash bytemap only tracks the erased status at the erase block level so 130 * this will update the erased state for an (or many) erase blocks 152 * erase_flash() - Erase the flash 154 * @offset: The flash offset to erase (bytes) 155 * @size: The number of bytes to erase 165 MSG_DBG("Erase flash @ 0x%.8x for 0x%.8x\n", offset, count); in erase_flash() 170 * which aren't erased and erase the entire run at once to avoid how in erase_flash() 171 * often we have to call the erase ioctl. If the block is already in erase_flash() [all …]
|
/openbmc/hiomapd/mtd/ |
H A D | backend.c | 98 /* We know the erase size so we can allocate the flash_erased bytemap */ in mtd_dev_init() 104 MSG_DBG("Flash erase size: 0x%.8x\n", priv->mtd_info.erasesize); in mtd_dev_init() 158 * The flash bytemap only tracks the erased status at the erase block level so 159 * this will update the erased state for an (or many) erase blocks 183 * mtd_erase() - Erase the flash 185 * @offset: The flash offset to erase (bytes) 186 * @size: The number of bytes to erase 197 MSG_DBG("Erase flash @ 0x%.8x for 0x%.8x\n", offset, count); in mtd_erase() 202 * which aren't erased and erase the entire run at once to avoid how in mtd_erase() 203 * often we have to call the erase ioctl. If the block is already in mtd_erase() [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.commands.spl | 22 nand erase 0x680000 0x20000 /* erase - one page */ 30 nand erase 0x680000 0x20000 /* erase - one page */
|
H A D | README.nand | 21 nand erase off|partition size 22 nand erase clean [off|partition size] 23 Erase `size' bytes starting at offset `off'. Alternatively partition 26 and write commands). Only complete erase blocks can be erased. 28 If `erase' is specified without an offset or size, the entire flash 29 is erased. If `erase' is specified with partition but without an 35 This command will not erase blocks that are marked bad. There is 291 implement "nand erase clean" and old "nand erase" 293 "nand erase clean" additionally writes JFFS2-cleanmarkers in the oob. 300 like "erase" but don't skip bad block. Instead erase them. [all …]
|
/openbmc/phosphor-bmc-code-mgmt/cpld/lattice/ |
H A D | lattice_xo3_cpld.cpp | 61 Erase the different internal in eraseFlash() 66 8 Erase CFG0 in eraseFlash() 67 9 Erase CFG1 in eraseFlash() 68 10 Erase UFM0 in eraseFlash() 69 11 Erase UFM1 in eraseFlash() 70 12 Erase UFM2 in eraseFlash() 71 13 Erase UFM3 in eraseFlash() 72 14 Erase CSEC in eraseFlash() 73 15 Erase USEC in eraseFlash() 74 16 Erase PUBKEY in eraseFlash() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | flash.c | 36 * sector to erase, and SL is the last sector to erase (defaults to SF). 131 * erase and protect commands. The range of the addresses on which 199 s_first[bank] = -1; /* first sector to erase */ in flash_fill_sect_ranges() 200 s_last [bank] = -1; /* last sector to erase */ in flash_fill_sect_ranges() 317 printf ("Erase Flash Bank # %ld ", bank); in do_flerase() 329 printf ("Erase Flash Sectors %d-%d in Bank # %zu ", in do_flerase() 336 /* erase <part-id> - erase partition */ in do_flerase() 346 printf ("Erase Flash Partition %s, " in do_flerase() 355 printf("cannot erase, not a NOR device\n"); in do_flerase() 371 printf ("Erase Flash Bank # %ld ", bank); in do_flerase() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/fatcat/fatcat/ |
H A D | 0001-Replace-std-ptr_fun-for-c-17.patch | 12 | s.erase(find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(), s.end()); 34 - s.erase(s.begin(), find_if(s.begin(), s.end(), not1(ptr_fun<int, int>(isspace)))); 35 + s.erase(s.begin(), find_if(s.begin(), s.end(), [](unsigned char c) {return !isspace(c);})); 41 - s.erase(find_if(s.rbegin(), s.rend(), not1(ptr_fun<int, int>(isspace))).base(), s.end()); 42 + s.erase(find_if(s.rbegin(), s.rend(), [](unsigned char c) {return !isspace(c);}).base(), s.end()…
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
H A D | README.qspi | 25 SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB 26 => sf erase 0 +<size of rcw image> 36 SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB 37 => sf erase 10000 +<size of u-boot image>
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | spi-nor.h | 55 #define SPINOR_OP_BE_4K 0x20 /* Erase 4KiB block */ 56 #define SPINOR_OP_BE_4K_PMC 0xd7 /* Erase 4KiB block on PMC chips */ 57 #define SPINOR_OP_BE_32K 0x52 /* Erase 32KiB block */ 58 #define SPINOR_OP_CHIP_ERASE 0xc7 /* Erase whole flash chip */ 59 #define SPINOR_OP_SE 0xd8 /* Sector erase (usually 64KiB) */ 78 #define SPINOR_OP_BE_4K_4B 0x21 /* Erase 4KiB block */ 79 #define SPINOR_OP_BE_32K_4B 0x5c /* Erase 32KiB block */ 80 #define SPINOR_OP_SE_4B 0xdc /* Sector erase (usually 64KiB) */ 100 #define SPINOR_OP_XSE 0x50 /* Sector erase */ 154 #define FSR_E_ERR BIT(5) /* Erase operation status */ [all …]
|
/openbmc/hiomapd/ |
H A D | backend.h | 34 /* Erase size (as a shift) */ 75 * The flash bytemap only tracks the erased status at the erase block level so 76 * this will update the erased state for an (or many) erase blocks 84 * erase() - Erase the flash 86 * @offset: The flash offset to erase (bytes) 87 * @size: The number of bytes to erase 91 int (*erase)(struct backend *backend, uint32_t offset, member 204 if (backend->ops->erase) in backend_erase() 205 return backend->ops->erase(backend, offset, count); in backend_erase()
|
/openbmc/estoraged/src/erase/ |
H A D | verifyDriveGeometry.cpp | 17 lg2::error("Erase verify Geometry too large", "REDFISH_MESSAGE_ID", in geometryOkay() 27 "eStorageD erase verify Geometry too small", "REDFISH_MESSAGE_ID", in geometryOkay() 34 lg2::info("eStorageD erase verify Geometry in range", "REDFISH_MESSAGE_ID", in geometryOkay()
|