Home
last modified time | relevance | path

Searched refs:erase (Results 1 – 25 of 131) sorted by relevance

123456

/u-boot/board/imgtec/malta/
A Dflash-malta-boot.tcl22 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;
/u-boot/doc/SPI/
A DREADME.ti_qspi_dra_test21 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
A DREADME.sh_qspi_test23 #2, Commands to erase/write u-boot to flash device
29 SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 64 KiB, total 64 MiB
30 => sf erase 80000 40000
/u-boot/drivers/mtd/
A Dmtdconcat.c360 erase->mtd = mtd; in concat_dev_erase()
368 err = mtd_erase(mtd, erase); in concat_dev_erase()
389 struct erase_info *erase; in concat_erase() local
441 if (!erase) in concat_erase()
444 *erase = *instr; in concat_erase()
472 erase->len = subdev->size - erase->addr; in concat_erase()
474 erase->len = length; in concat_erase()
476 length -= erase->len; in concat_erase()
493 erase->addr = 0; in concat_erase()
496 instr->state = erase->state; in concat_erase()
[all …]
/u-boot/doc/
A DREADME.commands.spl22 nand erase 0x680000 0x20000 /* erase - one page */
30 nand erase 0x680000 0x20000 /* erase - one page */
A DREADME.ubispl20 The maximum physical erase block size. Either a compile time
25 The maximum physical erase block count. Either a compile time
87 * MY_NAND_NR_SPL_PEBS is the number of physical erase blocks
120 * The flash reports the total number of erase blocks, so
A DREADME.nand21 nand erase off|partition size
22 nand erase clean [off|partition size]
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.
310 The analyzed block is put through 3 erase / write cycles (or less if the block
[all …]
/u-boot/drivers/mtd/nand/raw/
A Dnand_util.c58 erase_info_t erase; in nand_erase_opts() local
71 memset(&erase, 0, sizeof(erase)); in nand_erase_opts()
74 erase.mtd = mtd; in nand_erase_opts()
75 erase.len = mtd->erasesize; in nand_erase_opts()
76 erase.addr = opts->offset; in nand_erase_opts()
89 erase.scrub = opts->scrub; in nand_erase_opts()
103 erase.addr += mtd->erasesize) { in nand_erase_opts()
118 erase.addr); in nand_erase_opts()
135 result = mtd_erase(mtd, &erase); in nand_erase_opts()
174 erase.addr, percent); in nand_erase_opts()
[all …]
/u-boot/drivers/fastboot/
A DKconfig117 bool "Enable EMMC_BOOT flash/erase"
120 The fastboot "flash" and "erase" commands normally does operations
122 flash/erase eMMC boot partition.
131 The fastboot "flash" and "erase" commands support operations on
133 the "fastboot flash" and "fastboot erase" commands match the value
142 The fastboot "flash" and "erase" commands support operations on
144 the "fastboot flash" and "fastboot erase" commands match the value
149 bool "Enable eMMC userdata partition flash/erase"
152 Define this to enable the support "flash" and "erase" command on
155 The "erase" command erase all the userdata.
[all …]
A Dfb_command.c37 static void erase(char *, char *);
76 .dispatch = erase
334 static void erase(char *cmd_parameter, char *response) in erase() function
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/
A DREADME.qspi25 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>
/u-boot/drivers/mtd/spi/
A Dsf-uclass.c31 return log_ret(sf_get_ops(dev)->erase(dev, offset, len)); in spi_flash_erase_dm()
91 if (ops->erase) in spi_flash_post_bind()
92 ops->erase += gd->reloc_off; in spi_flash_post_bind()
/u-boot/board/kobol/helios4/
A DKconfig14 # Use SPI or SATA flash erase block size of 4 KiB
16 # Use optimistic 64 KiB erase block, will vary between actual media
/u-boot/board/freescale/p2041rdb/
A DREADME21 => erase eff40000 efffffff
27 => erase e8000000 e801ffff
33 => erase eff00000 eff3ffff
76 => sf erase 0 100000
81 => sf erase 110000 10000
/u-boot/env/
A Denv.c32 if (entry->erase) in env_fix_drivers()
33 entry->erase += gd->reloc_off; in env_fix_drivers()
304 if (!drv->erase) in env_erase()
311 ret = drv->erase(); in env_erase()
/u-boot/board/st/common/
A DKconfig16 Each partition need to be aligned with the device erase block size,
26 Each partition need to be aligned with the device erase block size,
36 Each partition need to be aligned with the device erase block size,
38 U-Boot env partition (512kB) use 2 erase block for redundancy.
/u-boot/drivers/mtd/ubi/
A Dattach.c125 } else if (list == &ai->erase) { in add_to_list()
537 &ai->erase); in ubi_add_to_av()
560 cmp_res & 4, &ai->erase); in ubi_add_to_av()
640 list_add_tail(&aeb->u.list, &ai->erase); in ubi_remove_av()
847 UBI_UNKNOWN, 0, &ai->erase); in scan_peb()
851 UBI_UNKNOWN, 1, &ai->erase); in scan_peb()
963 UBI_UNKNOWN, ec, 1, &ai->erase); in scan_peb()
972 ec, 1, &ai->erase); in scan_peb()
979 UBI_UNKNOWN, ec, 1, &ai->erase); in scan_peb()
1009 ec, 1, &ai->erase); in scan_peb()
[all …]
A DKconfig29 erase counter value and the lowest erase counter value of eraseblocks
31 wear leveling by means of moving data from eraseblock with low erase
32 counter to eraseblocks with high erase counter.
/u-boot/board/myir/mys_6ulx/
A DREADME34 $ nand erase.part spl
40 $ nand erase.part uboot
/u-boot/board/freescale/ls1021atsn/
A DREADME.rst49 …=> tftp 0x82000000 u-boot-with-spl-pbl.bin && mmc rescan && mmc erase 8 0x1100 && mmc write 0x8200…
71 …=> tftp 0x82000000 rcw_1200_qspiboot.bin.swapped && sf probe && sf erase 0x0 +${filesize} && sf wr…
72 …=> tftp 0x82000000 u-boot.bin && sf probe && sf erase 0x100000 +${filesize} && sf write 0x82000000…
73 …=> tftp 0x82000000 uboot-env.bin && sf probe && sf erase 0x400000 +${filesize} && sf write 0x82000…
/u-boot/board/freescale/mpc8323erdb/
A DREADME35 an erase goes ahead and wipes out your current firmware.
44 erase fe000000 +$filesize
/u-boot/tools/env/
A Dfw_env.c983 struct erase_info_user erase; in flash_write_buf() local
1083 erase.length = erasesize; in flash_write_buf()
1108 erase.start = blockstart; in flash_write_buf()
1110 ioctl(fd, MEMUNLOCK, &erase); in flash_write_buf()
1113 if (ioctl(fd, MEMERASE, &erase) != 0) { in flash_write_buf()
1140 ioctl(fd, MEMLOCK, &erase); in flash_write_buf()
1160 struct erase_info_user erase; in flash_flag_obsolete() local
1165 erase.start = DEVOFFSET(dev); in flash_flag_obsolete()
1166 erase.length = DEVESIZE(dev); in flash_flag_obsolete()
1175 ioctl(fd, MEMUNLOCK, &erase); in flash_flag_obsolete()
[all …]
/u-boot/board/sbc8641d/
A DREADME46 g) erase failed image: "erase FFF00000 FFF5FFFF"
/u-boot/board/congatec/cgtqmx6eval/
A DREADME34 => sf erase 0x0 0x10000
40 => sf erase 0x10000 0x70000
/u-boot/board/work-microwave/work_92105/
A DREADME76 nand erase 0x00000000 0x80000
82 nand erase 0x00000000 0x40000
89 nand erase 0x00040000 0x40000

Completed in 53 milliseconds

123456