File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ zephyr_udc0: &usbhs {
397397 status = "okay";
398398 jedec-id = [c2 81 3a];
399399 erase-block-size = <4096>;
400- write-block-size = <16>;
400+ write-block-size = <2>; /* FLASH_MCUX_FLEXSPI_MX25UM51345G_OPI_DTR set */
401401
402402 partitions {
403403 compatible = "fixed-partitions";
@@ -408,20 +408,20 @@ zephyr_udc0: &usbhs {
408408 label = "mcuboot";
409409 reg = <0x00000000 DT_SIZE_K(128)>;
410410 };
411- /* The MCUBoot swap-move algorithm uses the last 98 sectors
411+ /* The MCUBoot swap-move algorithm uses the last 3 sectors
412412 * of the primary slot0 for swap status and move.
413413 */
414414 slot0_partition: partition@20000 {
415415 label = "image-0";
416- reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(98 * 4))>;
416+ reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(3 * 4))>;
417417 };
418- slot1_partition: partition@382000 {
418+ slot1_partition: partition@323000 {
419419 label = "image-1";
420- reg = <0x00382000 DT_SIZE_M(3)>;
420+ reg = <0x00323000 DT_SIZE_M(3)>;
421421 };
422- storage_partition: partition@682000 {
422+ storage_partition: partition@623000 {
423423 label = "storage";
424- reg = <0x00682000 (DT_SIZE_M(58) - DT_SIZE_K(520 ))>;
424+ reg = <0x00623000 (DT_SIZE_M(58) - DT_SIZE_K(140 ))>;
425425 };
426426 };
427427 };
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ i2s1: &flexcomm3 {
259259 status = "okay";
260260 jedec-id = [c2 81 3a];
261261 erase-block-size = <4096>;
262- write-block-size = <16>;
262+ write-block-size = <1>; /* FLASH_MCUX_FLEXSPI_MX25UM51345G_OPI_STR set */
263263
264264 partitions {
265265 compatible = "fixed-partitions";
@@ -270,20 +270,20 @@ i2s1: &flexcomm3 {
270270 label = "mcuboot";
271271 reg = <0x00000000 DT_SIZE_K(128)>;
272272 };
273- /* The MCUBoot swap-move algorithm uses the last 98 sectors
273+ /* The MCUBoot swap-move algorithm uses the last 2 sectors
274274 * of the primary slot0 for swap status and move.
275275 */
276276 slot0_partition: partition@20000 {
277277 label = "image-0";
278- reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(98 * 4))>;
278+ reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(2 * 4))>;
279279 };
280- slot1_partition: partition@382000 {
280+ slot1_partition: partition@323000 {
281281 label = "image-1";
282- reg = <0x00382000 DT_SIZE_M(3)>;
282+ reg = <0x00323000 DT_SIZE_M(3)>;
283283 };
284- storage_partition: partition@682000 {
284+ storage_partition: partition@623000 {
285285 label = "storage";
286- reg = <0x00682000 (DT_SIZE_M(58) - DT_SIZE_K(520 ))>;
286+ reg = <0x00623000 (DT_SIZE_M(58) - DT_SIZE_K(136 ))>;
287287 };
288288 };
289289 };
Original file line number Diff line number Diff line change 206206 status = "okay";
207207 jedec-id = [c2 81 3a];
208208 erase-block-size = <4096>;
209- write-block-size = <16>;
209+ write-block-size = <2>; /* FLASH_MCUX_FLEXSPI_MX25UM51345G_OPI_DTR set */
210210
211211 partitions {
212212 compatible = "fixed-partitions";
216216 label = "mcuboot";
217217 reg = <0x00000000 DT_SIZE_K(128)>;
218218 };
219- /* The MCUBoot swap-move algorithm uses the last 14 sectors
219+ /* The MCUBoot swap-move algorithm uses the last 3 sectors
220220 * of the primary slot0 for swap status and move.
221221 */
222222 slot0_partition: partition@20000 {
223223 label = "image-0";
224- reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(56 ))>;
224+ reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(3 * 4 ))>;
225225 };
226226 slot1_partition: partition@32E000 {
227227 label = "image-1";
228228 reg = <0x0032E000 DT_SIZE_M(3)>;
229229 };
230230 storage_partition: partition@62E000 {
231231 label = "storage";
232- reg = <0x0062E000 (DT_SIZE_M(58) - DT_SIZE_K(184 ))>;
232+ reg = <0x0062E000 (DT_SIZE_M(58) - DT_SIZE_K(140 ))>;
233233 };
234234 };
235235 };
You can’t perform that action at this time.
0 commit comments