[feat] Read from and write to the SD card #7
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hubert/Pi-kachULM_OS#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.