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

Storage/Filesystem code? #4

Open
vbe0201 opened this issue Nov 3, 2019 · 0 comments
Open

Storage/Filesystem code? #4

vbe0201 opened this issue Nov 3, 2019 · 0 comments
Labels
component: libtegra Issues and Pull Requests pertaining to libtegra enhancement New feature or request help wanted Extra attention is needed

Comments

@vbe0201
Copy link
Member

vbe0201 commented Nov 3, 2019

Since RCM payloads are limited in size, it wouldn't make much sense to try to fit everything, including future crates and changes, into it.

Thus, we need the functionality to

  • mount and unmount SD cards

  • read/write files

  • process those in Rust code

and the same aspects for the Switch's internal storage, the eMMC.

This is probably out of scope for libswitch as it isn't totally Switch/Tegra210-related so a separate crate with no_std capability would be adequate.

Thus, we don't have std::fs and need a partial replacement for it. Since Switch only supports Fat32 and exFat by extension, https://github.com/sunriseos/libfat can be used for that. It doesn't support exFat, but this isn't high priority for now.

Once this is implemented, it can be used for chainloading from the SD card.

@vbe0201 vbe0201 added enhancement New feature or request help wanted Extra attention is needed labels Nov 3, 2019
@vbe0201 vbe0201 added the component: libtegra Issues and Pull Requests pertaining to libtegra label Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: libtegra Issues and Pull Requests pertaining to libtegra enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant