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

Setup for EXT4 usage. #120

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

wwatson4506
Copy link
Contributor

Made 4 additions. Three changes to MassStorage.cpp and one change to USBHost_t36.h. Three of the additions are to allow for usage with EXT4 filesystems. One change to disconnect() adds setting m_errorCode to MS_NO_MEDIA_ERR. The other changes allow for detecting and claiming EXT4 formatted partitions. Have tested these changes over several versions of TD without any detectable problems.

Add EXT4_VOL to enum in line 2507 for EXT4 compatibilitty.
Updated two functions  for compatibility with EXT4 type filesystems. Lines #1286 and 1499.
Set m_errorCode to MS_NO_MEDIA_ERR in disconnect().
Added "#define MS_FSNR_ERROR		0x7F" term. Used for unrecognized filesystems when encountered.
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.

1 participant