tests: enable flash tests for s32z board
Enable flash tests for s32z board Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
This commit is contained in:
parent
862706380e
commit
c4d1c55319
16 changed files with 234 additions and 1 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -15,7 +15,12 @@ common:
|
|||
tests:
|
||||
filesystem.littlefs.default:
|
||||
timeout: 60
|
||||
platform_allow: nrf54l15dk/nrf54l15/cpuapp
|
||||
platform_allow:
|
||||
- nrf54l15dk/nrf54l15/cpuapp
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
filesystem.littlefs.custom:
|
||||
timeout: 180
|
||||
extra_configs:
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -12,6 +12,10 @@ common:
|
|||
- native_sim/native/64
|
||||
- nrf52840dk/nrf52840
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- native_sim
|
||||
tests:
|
||||
|
|
|
@ -6,6 +6,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
- native_sim
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -8,6 +8,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
tags:
|
||||
|
|
|
@ -6,6 +6,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
tags:
|
||||
|
@ -17,6 +21,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- native_sim
|
||||
tags:
|
||||
|
|
|
@ -6,6 +6,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- native_sim
|
||||
tags:
|
||||
|
|
|
@ -4,6 +4,10 @@ tests:
|
|||
- qemu_x86
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
tags:
|
||||
- settings
|
||||
- nvs
|
||||
|
@ -12,6 +16,10 @@ tests:
|
|||
platform_allow:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
tags:
|
||||
- settings
|
||||
- nvs
|
||||
|
@ -20,6 +28,10 @@ tests:
|
|||
platform_allow:
|
||||
- nrf52840dk/nrf52840
|
||||
- nrf52dk/nrf52832
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
tags:
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
|
@ -7,6 +7,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
tags: flash_map
|
||||
integration_platforms:
|
||||
- native_sim
|
||||
|
@ -30,6 +34,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
tags: flash_map
|
||||
integration_platforms:
|
||||
- native_sim
|
||||
|
@ -40,6 +48,10 @@ tests:
|
|||
- native_sim
|
||||
- native_sim/native/64
|
||||
- mr_canhubk3
|
||||
- s32z2xxdc2/s32z270/rtu0
|
||||
- s32z2xxdc2/s32z270/rtu1
|
||||
- s32z2xxdc2@D/s32z270/rtu0
|
||||
- s32z2xxdc2@D/s32z270/rtu1
|
||||
tags: flash_map
|
||||
integration_platforms:
|
||||
- native_sim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue