Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmu-v6xrt: hotfix sdio crash when reading multiblock to unaligned memory #22722

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

PetervdPerk-NXP
Copy link
Member

When reading big files > 256 bytes from the SD card to an address that wasn't 8 byte aligned then the SDIO DMA controller will corrupt the memory and crash the board.

As an hotfix we set CONFIG_MMCSD_MULTIBLOCK_LIMIT to disable multiblock transfers resolving this bug for now.
Proper fix will follow later.

Copy link
Member

@davids5 davids5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@davids5 davids5 merged commit 8dae990 into PX4:main Feb 5, 2024
86 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants