Skip to content

Conversation

@michallenc
Copy link
Contributor

Summary

This moves the initialization of s25fl1 NOR flash from sam_bringup.c to a separate file sam_s25fl1.c and allows to easily set what types of partitions should be present on the NOR flash.

New example configuration that allows NXFFS, BCH and MTD layers is added. SmartFS is currently not configured as the initialization fails on s25fl1 flash.

SmartFS partition is not added yet as it doesn't work on s25fl1 for some reason (fails somewhere in smart_scan with EINVAL errno).

Impact

New configuration option that serves as an example (and CI check) for s25fl1 NOR flash and NXFFS, BCH and MTD layers.

Testing

Tested on SAMv71-xult evaluation board. All selected partitions are mounted/created in /dev.

This moves the initialization of s25fl1 NOR flash from sam_bringup.c
to a separate file sam_s25fl1.c and allows to easily set what
types of partitions should be present on the NOR flash.

New example configuration that allows NXFFS, BCH and MTD layers
is added. SmartFS is currently not configured as the initialization
fails on s25fl1 flash.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
@michallenc
Copy link
Contributor Author

This can't be merged before #16624

@github-actions github-actions bot added Board: arm Size: L The size of the change in this PR is large labels Jun 25, 2025
@michallenc michallenc closed this Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: arm Size: L The size of the change in this PR is large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant