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

[feat] Read from and write to the SD card #7

Open
hgruniaux opened this issue Feb 27, 2024 · 0 comments
Open

[feat] Read from and write to the SD card #7

hgruniaux opened this issue Feb 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hgruniaux
Copy link
Owner

hgruniaux commented Feb 27, 2024

The Raspberry PI has a SD card reader/writer. We should have an interface to it.

Moreover, the kernel is stored in this SD card. Being able to read from the SD card allows to extract other data from the SD (like the initial file system structure or the init program).

Tutorial:

A filesystem driver should also be implemented like Ext2 (https://www.nongnu.org/ext2-doc/ext2.pdf).

According to https://github.com/bztsrc/raspi3-tutorial/tree/master/0E_initrd, it is also possible to load a TAR file from the SD card to memory (using the bootloader) to be used by the kernel. And a TAR reader is trivial to implement.

@hgruniaux hgruniaux added the enhancement New feature or request label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant