-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: enable flash tests for s32z board
Enable flash tests for s32z board Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
- Loading branch information
1 parent
068ab66
commit d8a10ef
Showing
19 changed files
with
265 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
tests/subsys/fs/fcb/boards/s32z2xxdc2_s32z270_rtu0.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&s26hs512t { | ||
partitions { | ||
slot1_partition: partition@0 { | ||
reg = <0x000000 0x10000>; | ||
}; | ||
}; | ||
}; |
13 changes: 13 additions & 0 deletions
13
tests/subsys/fs/fcb/boards/s32z2xxdc2_s32z270_rtu1.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&s26hs512t { | ||
partitions { | ||
slot1_partition: partition@0 { | ||
reg = <0x000000 0x10000>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
tests/subsys/fs/littlefs/boards/s32z2xxdc2_s32z270_rtu0.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &storage_partition; | ||
|
||
&s26hs512t { | ||
partitions { | ||
small_partition: partition@0 { | ||
label = "small"; | ||
reg = <0x00000000 0x00010000>; | ||
}; | ||
medium_partition: partition@10000 { | ||
label = "medium"; | ||
reg = <0x00010000 0x000F0000>; | ||
}; | ||
large_partition: partition@100000 { | ||
label = "large"; | ||
reg = <0x00100000 0x00300000>; | ||
}; | ||
}; | ||
}; |
24 changes: 24 additions & 0 deletions
24
tests/subsys/fs/littlefs/boards/s32z2xxdc2_s32z270_rtu1.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &storage_partition; | ||
|
||
&s26hs512t { | ||
partitions { | ||
small_partition: partition@0 { | ||
label = "small"; | ||
reg = <0x00000000 0x00010000>; | ||
}; | ||
medium_partition: partition@10000 { | ||
label = "medium"; | ||
reg = <0x00010000 0x000F0000>; | ||
}; | ||
large_partition: partition@100000 { | ||
label = "large"; | ||
reg = <0x00100000 0x00300000>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/subsys/logging/log_backend_fs/boards/s32z2xxdc2_s32z270_rtu0.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &storage_partition; | ||
|
||
/ { | ||
fstab { | ||
compatible = "zephyr,fstab"; | ||
lfs1: lfs1 { | ||
compatible = "zephyr,fstab,littlefs"; | ||
mount-point = "/lfs1"; | ||
partition = <&lfs1_part>; | ||
read-size = <16>; | ||
prog-size = <16>; | ||
cache-size = <64>; | ||
lookahead-size = <32>; | ||
block-cycles = <512>; | ||
}; | ||
}; | ||
}; | ||
|
||
&s26hs512t { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
lfs1_part: partition@0 { | ||
label = "storage"; | ||
reg = <0x00000000 0x00010000>; | ||
}; | ||
}; | ||
}; |
35 changes: 35 additions & 0 deletions
35
tests/subsys/logging/log_backend_fs/boards/s32z2xxdc2_s32z270_rtu1.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &storage_partition; | ||
|
||
/ { | ||
fstab { | ||
compatible = "zephyr,fstab"; | ||
lfs1: lfs1 { | ||
compatible = "zephyr,fstab,littlefs"; | ||
mount-point = "/lfs1"; | ||
partition = <&lfs1_part>; | ||
read-size = <16>; | ||
prog-size = <16>; | ||
cache-size = <64>; | ||
lookahead-size = <32>; | ||
block-cycles = <512>; | ||
}; | ||
}; | ||
}; | ||
|
||
&s26hs512t { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
lfs1_part: partition@0 { | ||
label = "storage"; | ||
reg = <0x00000000 0x00010000>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
tests/subsys/settings/file/boards/s32z2xxdc2_s32z270_rtu0.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &storage_partition; | ||
|
||
&s26hs512t { | ||
partitions { | ||
settings_file_partition: partition@0 { | ||
label = "settings_file_partition"; | ||
reg = <0x00000000 0x00010000>; | ||
}; | ||
}; | ||
}; |
16 changes: 16 additions & 0 deletions
16
tests/subsys/settings/file/boards/s32z2xxdc2_s32z270_rtu1.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/delete-node/ &storage_partition; | ||
|
||
&s26hs512t { | ||
partitions { | ||
settings_file_partition: partition@0 { | ||
label = "settings_file_partition"; | ||
reg = <0x00000000 0x00010000>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/subsys/storage/flash_map/boards/s32z2xxdc2_s32z270_rtu0.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include "../app.overlay" | ||
|
||
&s26hs512t { | ||
partitions { | ||
slot1_partition: partition@100000 { | ||
reg = <0x100000 0x100000>; | ||
}; | ||
}; | ||
}; |
15 changes: 15 additions & 0 deletions
15
tests/subsys/storage/flash_map/boards/s32z2xxdc2_s32z270_rtu1.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include "../app.overlay" | ||
|
||
&s26hs512t { | ||
partitions { | ||
slot1_partition: partition@100000 { | ||
reg = <0x100000 0x100000>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters