Home
last modified time | relevance | path

Searched +full:partition +full:- +full:erase (Results 1 – 25 of 88) sorted by relevance

1234

/Zephyr-latest/dts/bindings/mtd/
Dzephyr,emu-eeprom.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,emu-eeprom"
8 include: eeprom-base.yaml
17 partition:
20 description: Flash partition used to store the emulated EEPROM data
24 partition-erase:
27 Delay erase until complete partition is used. This enables a
28 ram buffer to allow data to be copied during the partition erase. If
29 power is lost during the partition erase the data will be lost.
Datmel,sam-flash.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The Atmel SAM flash area varies in write-block-size, memory area,
8 and the layout of erase-blocks.
12 |--------------------|
13 | 8 Kbytes | erase block size = 2048
14 |--------------------|
15 | 8 Kbytes | erase block size = 2048
16 |--------------------|
17 | 48 Kbytes | erase block size = 4096
18 |--------------------|
[all …]
/Zephyr-latest/dts/bindings/misc/
Dzephyr,flash-disk.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Block storage device on flash partition
6 compatible: "zephyr,flash-disk"
11 partition:
15 Backing storage flash map partition.
17 disk-name:
23 sector-size:
29 cache-size:
34 adequately chosen. On storage backends with uniform erase-blocks it
35 should be at least the erase-block-size, on storage backends with
[all …]
/Zephyr-latest/include/zephyr/storage/
Dflash_map.h2 * Copyright (c) 2017-2024 Nordic Semiconductor ASA
6 * SPDX-License-Identifier: Apache-2.0
49 * @brief Flash partition
51 * This structure represents a fixed-size partition on a flash device.
52 * Each partition contains one or more flash sectors.
65 /** Partition label if defined in DTS. Otherwise nullptr; */
87 * This is used to pass data to be used to check flash integrity using SHA-256
114 * Function Retrieves flash_area from flash_map for given partition.
116 * @param[in] id ID of the flash partition.
120 * @return 0 on success, -EACCES if the flash_map is not available ,
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nrf/
DREADME.rst1 .. zephyr:code-sample:: soc-flash-nrf
3 :relevant-api: flash_interface flash_area_api
12 partition defined with the label ``storage_partition``, then uses :ref:`Flash API <flash_api>`
14 partition.
16 Within the sample, user may observe how read/write/erase operations
24 there is a fixed-partition named ``storage_partition`` defined
27 .. zephyr-app-commands::
28 :zephyr-app: samples/drivers/soc_flash_nrf
36 .. code-block:: console
38 *** Booting Zephyr OS build v2.7.99-17621-g54832687bcbb ***
[all …]
/Zephyr-latest/samples/subsys/fs/fs_sample/boards/
Dnrf52840dk_nrf52840_qspi.overlay4 * SPDX-License-Identifier: Apache-2.0
7 /* Note that default partition layout, provided by board DTS, is not
9 * over QSPI device and does not collide with any other partition
15 compatible = "fixed-partitions";
16 #address-cells = <1>;
17 #size-cells = <1>;
19 /* 128kiB external storage partition */
20 external_partition: partition@0 {
29 compatible = "zephyr,flash-disk";
30 partition = <&external_partition>;
[all …]
Dnrf52840dk_nrf52840.overlay4 * SPDX-License-Identifier: Apache-2.0
7 /* Because FAT FS needs at least 64kiB partition and default
11 * and removes the storage partition to add the additional 2*64kiB to
14 /delete-node/ &slot0_partition;
15 /delete-node/ &slot1_partition;
16 /delete-node/ &storage_partition;
21 compatible = "fixed-partitions";
22 #address-cells = <1>;
23 #size-cells = <1>;
25 slot0_partition: partition@c000 {
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/zephyr_basic/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
12 bool "Storage erase command"
15 Enables command that allows to erase storage partition.
18 module-str = mcumgr_grp_zbasic
/Zephyr-latest/tests/drivers/flash/erase_blocks/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
76 remaining = size - (size_t)offset; in test_flash_is_erased()
83 if (!test_flash_mem_is_set_to(test_erase_buffer, parameters->erase_value, in test_flash_is_erased()
104 flash_controller->name); in test_flash_erase_partition()
114 "Failed to erase partition"); in test_flash_before()
116 "Failed to erase partition"); in test_flash_before()
133 off_t page_boundary = info->start_offset; in test_flash_write_across_page_boundary()
134 uint32_t page0_index = info->index - 1; in test_flash_write_across_page_boundary()
135 uint32_t page1_index = info->index; in test_flash_write_across_page_boundary()
136 off_t cross_write_start_offset = page_boundary - (off_t)write_block_size; in test_flash_write_across_page_boundary()
[all …]
/Zephyr-latest/doc/services/storage/zms/
Dzms.rst5 Zephyr Memory Storage is a new key-value storage system that is designed to work with all types
6 of non-volatile storage technologies. It supports classical on-chip NOR flash as well as new
7 technologies like RRAM and MRAM that do not require a separate erase operation at all, that is,
12 ZMS divides the memory space into sectors (minimum 2), and each sector is filled with key-value
15 The key-value pair is divided into two parts:
17 - The key part is written in an ATE (Allocation Table Entry) called "ID-ATE" which is stored
19 - The value part is defined as "DATA" and is stored raw starting from the top of the sector
21 Additionally, for each sector we store at the last positions Header-ATEs which are ATEs that
26 N+1 empty sector, we erase the garbage collected sector and then we close the current sector by
30 This behavior is repeated until it reaches the end of the partition. Then it starts again from
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Desp32.py4 # SPDX-License-Identifier: Apache-2.0
16 '''Runner front-end for espidf.'''
19 app_address, erase=False, reset=False, baud=921600, argument
26 self.erase = bool(erase)
47 return RunnerCaps(commands={'flash'}, erase=True, reset=True)
52 parser.add_argument('--esp-idf-path', required=True,
53 help='path to ESP-IDF')
55 parser.add_argument('--esp-boot-address', default='0x1000',
57 parser.add_argument('--esp-partition-table-address', default='0x8000',
58 help='partition table load address')
[all …]
Dbossac.py4 # SPDX-License-Identifier: Apache-2.0
6 '''bossac-specific runner (flash only) for Atmel SAM microcontrollers.'''
25 '''Runner front-end for bossac.'''
28 speed=DEFAULT_BOSSAC_SPEED, boot_delay=0, erase=False): argument
34 self.erase = erase
42 return RunnerCaps(commands={'flash'}, erase=True)
46 parser.add_argument('--bossac', default='bossac',
48 parser.add_argument('--bossac-port', default=DEFAULT_BOSSAC_PORT,
51 parser.add_argument('--speed', default=DEFAULT_BOSSAC_SPEED,
54 parser.add_argument('--delay', default=0, type=float,
[all …]
Dezflashcli.py3 # SPDX-License-Identifier: Apache-2.0
13 '''Runner front-end for ezFlashCLI'''
15 def __init__(self, cfg, tool, dev_id=None, tool_opt=None, erase=False, reset=True): argument
21 self.erase = bool(erase)
35 return RunnerCaps(commands={'flash'}, dev_id=True, tool_opt=True, erase=True, reset=True)
38 def dev_id_help(cls) -> str:
39 return '''Device identifier. Use it to select the J-Link Serial Number
43 def tool_opt_help(cls) -> str:
44 return "Additional options for ezFlashCLI e.g. '--verbose'"
48 parser.add_argument('--tool', default=DEFAULT_EZFLASHCLI,
[all …]
/Zephyr-latest/tests/subsys/llext/boards/
Dqemu_arc_qemu_arc_em.overlay3 compatible = "zephyr,sim-flash";
5 #address-cells = <1>;
6 #size-cells = <1>;
7 erase-value = <0x00>;
10 compatible = "soc-nv-flash";
13 erase-block-size = <1024>;
14 write-block-size = <4>;
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
Dqemu_cortex_a9.overlay3 compatible = "zephyr,sim-flash";
5 #address-cells = <1>;
6 #size-cells = <1>;
7 erase-value = <0x00>;
10 compatible = "soc-nv-flash";
13 erase-block-size = <1024>;
14 write-block-size = <4>;
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
Dqemu_cortex_r5.overlay3 compatible = "zephyr,sim-flash";
5 #address-cells = <1>;
6 #size-cells = <1>;
7 erase-value = <0x00>;
10 compatible = "soc-nv-flash";
13 erase-block-size = <1024>;
14 write-block-size = <4>;
17 compatible = "fixed-partitions";
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
/Zephyr-latest/boards/qemu/x86/
Dqemu_x86.dts1 /* SPDX-License-Identifier: Apache-2.0 */
4 /dts-v1/;
17 #include <zephyr/dt-bindings/pcie/pcie.h>
24 compatible = "soc-nv-flash";
29 uart-0 = &uart0;
30 uart-1 = &uart1;
31 eeprom-0 = &eeprom0;
32 eeprom-1 = &eeprom1;
40 zephyr,bt-hci = &bt_hci_uart;
41 zephyr,shell-uart = &uart0;
[all …]
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_backend_flash_partition.c4 * SPDX-License-Identifier: Apache-2.0
23 * @brief Simple coredump backend to store data in flash partition.
26 * partition, labeled "coredump-partition" in devicetree.
28 * On the partition, a header is stored at the beginning with padding
38 #error "Need a fixed partition named 'coredump-partition'!"
52 /* Device has no erase block size */
111 * @brief Open the flash partition.
123 LOG_ERR("Error opening flash partition for coredump!"); in partition_open()
133 * @brief Close the flash partition.
148 * @brief Read data from flash partition.
[all …]
/Zephyr-latest/boards/nxp/mimxrt1060_evk/
Dmimxrt1060_evk_mimxrt1062_qspi.dts4 * SPDX-License-Identifier: Apache-2.0
11 zephyr,flash-controller = &is25wp064;
13 zephyr,code-partition = &slot0_partition;
19 pinctrl-0 = <&pinmux_flexspi1>;
20 pinctrl-names = "default";
21 ahb-prefetch;
22 ahb-read-addr-opt;
23 rx-clock-source = <1>;
26 compatible = "nxp,imx-flexspi-nor";
29 spi-max-frequency = <104000000>;
[all …]
Dmimxrt1060_evk_mimxrt1062_hyperflash.dts4 * SPDX-License-Identifier: Apache-2.0
11 zephyr,flash-controller = &s26ks512s0;
13 zephyr,code-partition = &slot0_partition;
19 ahb-prefetch;
20 ahb-read-addr-opt;
21 ahb-bufferable;
22 ahb-cacheable;
23 sck-differential-clock;
24 combination-mode;
25 rx-clock-source = <3>;
[all …]
/Zephyr-latest/boards/nxp/mimxrt1050_evk/
Dmimxrt1050_evk_mimxrt1052_qspi.dts4 * SPDX-License-Identifier: Apache-2.0
11 zephyr,flash-controller = &is25wp064;
13 zephyr,code-partition = &slot0_partition;
19 ahb-prefetch;
20 ahb-read-addr-opt;
21 rx-clock-source = <1>;
24 compatible = "nxp,imx-flexspi-nor";
27 spi-max-frequency = <104000000>;
29 jedec-id = [9d 70 17];
30 erase-block-size = <4096>;
[all …]
Dmimxrt1050_evk_mimxrt1052_hyperflash.dts4 * SPDX-License-Identifier: Apache-2.0
11 zephyr,flash-controller = &s26ks512s0;
13 zephyr,code-partition = &slot0_partition;
19 ahb-prefetch;
20 ahb-read-addr-opt;
21 pinctrl-0 = <&pinmux_flexspi1>;
22 pinctrl-names = "default";
23 ahb-bufferable;
24 ahb-cacheable;
25 sck-differential-clock;
[all …]
/Zephyr-latest/boards/nxp/mimxrt1170_evk/
Dmimxrt1170_evk_mimxrt1176_cm4_B.overlay4 * SPDX-License-Identifier: Apache-2.0
9 /delete-property/ zephyr,flash-controller;
10 /delete-property/ zephyr,code-partition;
14 /delete-property/ magn0;
15 /delete-property/ accel0;
21 /delete-node/ is25wp128@0;
25 compatible = "nxp,imx-flexspi-nor";
28 spi-max-frequency = <133000000>;
30 jedec-id = [ef 60 20];
31 erase-block-size = <4096>;
[all …]
/Zephyr-latest/tests/drivers/flash_simulator/flash_sim_impl/boards/
Dnucleo_f411re.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "zephyr,memory-region", "mmio-sram";
11 zephyr,memory-region = "FlashSim";
16 sim_flash_controller: sim-flash-controller@0 {
17 compatible = "zephyr,sim-flash";
20 #address-cells = <1>;
21 #size-cells = <1>;
22 erase-value = <0xff>;
23 memory-region = <&sram_2001C000>;
27 compatible = "soc-nv-flash";
[all …]
/Zephyr-latest/subsys/secure_storage/
DKconfig.its_store2 # SPDX-License-Identifier: Apache-2.0
8 DT_CHOSEN_Z_SETTINGS_PARTITION := zephyr,settings-partition
16 && $(dt_node_has_compat,$(dt_node_parent,$(DT_ITS_PARTITION)),fixed-partitions)
21 to a fixed storage partition that will be dedicated to the ITS. It has lower
22 overhead compared to the settings-based implementation, both in terms of runtime
31 && $(dt_node_has_compat,$(dt_node_parent,$(DT_SETTINGS_PARTITIION)),fixed-partitions))\
33 && $(dt_node_has_compat,$(dt_node_parent,$(DT_STORAGE_PARTITION)),fixed-partitions)))
52 int "Sector size of the ZMS partition"
57 Changing it will result in loss of existing data stored on a partition.
58 It must be a multiple of the flash page size on devices that require an erase.

1234