Support for booting from eMMC

Fusee will Look for FAT32 partition on BOOT1 (1MB offset), BOOT1, GPP, SD, in this order
If a .no_boot_storage file is found in the root directory, the partition is skipped
This commit is contained in:
Christoph Baumann
2025-05-13 13:07:25 +02:00
parent c1b5cc411e
commit 867ff62dfa
15 changed files with 264 additions and 32 deletions

View File

@@ -101,6 +101,16 @@ namespace ams::fs {
bool MountSys();
void UnmountSys();
bool MountBoot1();
void UnmountBoot1();
/* Mount FAT32 FS on BOOT1 at 1MB offset */
bool MountBoot1Off();
void UnmountBoot1Off();
Result ChangeDrive(const char *path);
Result ChangeDirectory(const char *path);
Result GetEntryType(DirectoryEntryType *out_entry_type, bool *out_archive, const char *path);
Result CreateFile(const char *path, s64 size);