comex
7c54aff4d4
build: portability fixes
...
- Invoke Python scripts with `python3` if `python` is not available.
Despite SciresM preferring Python 2, the scripts used in the build all
worked in Python 3 already, so this is just a Makefile change.
- Export `MAKE` to work around a GNU bug.
See the comment for details.
- `rmdir --ignore-fail-on-non-empty` -> `rmdir 2>/dev/null`
macOS `rmdir` doesn't support `--ignore-fail-on-non-empty`.
This is a slight downgrade in functionality, because now we ignore all
errors from `rmdir` rather than just 'Directory not empty'. I could
have avoided this with a more complicated fix, but the benefit strikes
me as not worth the complexity. Let me know if you disagree.
- Append `$(DEVKITPRO)/tools/bin/` to `$PATH` when invoking
`build_romfs`.
This avoids the need to add devkitPro directories to `$PATH` when
building Atmosphere.
If you already have `build_romfs` in your PATH, then that will still
take precedence. (This seemed like the nicer option, though I don't
have strong opinions.)
2025-09-12 19:10:47 +02:00
Michael Scire
cb0ad3aaf3
fusee/emummc: add support for FS 20.1.0
2025-06-14 21:07:06 +02:00
Christoph Baumann
8c11b287ff
fix strcat
2025-05-22 22:50:17 +02:00
Christoph Baumann
8254e56b58
fix MountSd check
2025-05-22 13:34:20 +02:00
Christoph Baumann
5468af8934
reset active partition cache when deinit
2025-05-22 12:28:07 +02:00
Christoph Baumann
941a624642
Use SD card if emusd disabled
2025-05-22 12:24:18 +02:00
Christoph Baumann
6cff5a41b4
indentation
2025-05-22 12:23:27 +02:00
Christoph Baumann
11d32ec78f
Only deinit if necessary
2025-05-22 12:22:32 +02:00
Christoph Baumann
5819f3a830
add exosphere.ini option to determine memory mode from physical memory instead of boot config
2025-05-21 01:17:18 +02:00
Christoph Baumann
77a01f0a9b
allow emmc writes (to write warmboot to emusd), allow unaligned emmc writes
2025-05-20 23:52:02 +02:00
Christoph Baumann
b301bba5e7
support file based/sd partition emusd
2025-05-20 20:57:35 +02:00
Christoph Baumann
178c833862
forgot to init m_file_size
2025-05-20 20:53:58 +02:00
Christoph Baumann
6f3f468a5b
fusee: read from emuSD, if enabled
2025-05-15 13:32:40 +02:00
Christoph Baumann
867ff62dfa
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
2025-05-13 16:04:41 +02:00
Christoph Baumann
886fa9cc97
Add support for file/partition based emummc on emmc,
...
Add support for emuSD
2025-05-12 02:06:28 +02:00
Christoph Baumann
633bb63fc2
add missing cast
2025-05-12 02:06:28 +02:00
Michael Scire
0e2ef545f9
fusee: commit mtc table combined bins, to remove need for running py script outside of makefile
2025-05-09 12:00:44 -07:00
Michael Scire
2c50ef717a
fusee: use embed in mtc/sdram param scripts
2025-05-09 11:55:21 -07:00
Michael Scire
cb032006d5
fusee: fix off-by-one in nogc patches for exFAT firm
2025-05-09 11:55:21 -07:00
Michael Scire
ef5334c3ca
fusee/exo/ams: update with new keydata/version enums
2025-05-09 11:55:21 -07:00
Michael Scire
c4a5d4db09
fusee/exo/ams: update with new keydata/version enums
2024-10-15 21:48:59 -07:00
hexkyz
4617fec672
fusee: add missing mtc tables
2024-07-10 21:36:22 +01:00
Michael Scire
e85bc4db0b
fusee: add nogc case for 18.1
2024-06-11 10:29:02 -07:00
Michael Scire
76628e273a
ams: bump to 1.7.1 (support for 18.1.0)
2024-06-10 22:17:23 -07:00
Michael Scire
f35c94810c
ams: fix compilation with gcc 14 ( closes #2330 )
2024-06-01 22:36:37 -07:00
Michael Scire
1f37fbed1d
fusee/exo/ams: update with new keydata/version enums
2024-03-29 02:41:14 -07:00
Michael Scire
e09ba765a1
kern: fix various comment/style hygiene issues (thanks @liamwhite)
2023-12-27 23:24:35 -07:00
Michael Scire
46a4357882
fusee: remove ips patch parsing from sd filesystem
...
Parsing the SD fs is very slow. In addition, the only KIPs are either a) atmosphere modules, or b) FS.
The IPS subsystem was originally designed to make nogc/etc patches work for FS,
but these are now internal, and it appears that the literal only kip patches
that exist are for piracy.
It just doesn't make sense to slow down boot for every normal user for a feature
that has no actual usecase, and especially when fusee is already so minimal.
2023-11-13 12:45:00 -07:00
Michael Scire
59a24fa646
fusee: support parsing 17.0.0+ INI
2023-10-12 08:55:58 -07:00
Michael Scire
c5d7ca5159
fusee/exo: implement the usual changes for new firmware support
2023-10-12 08:55:58 -07:00
Michael Scire
0daef4a6e8
kern/ldr: move crt0 into .rodata
2023-10-12 08:55:58 -07:00
Michael Scire
85c23b5781
fusee: actually identify new FS
2023-05-08 18:38:13 -07:00
Michael Scire
b800953d66
ams: recognize 16.0.3('s FS)
2023-05-08 17:51:13 -07:00
Michael Scire
e85a512cf4
fusee/exo: implement the usual changes for new firmware support
2023-02-22 17:19:51 -08:00
Michael Scire
05fee5d53c
fusee: fix 15.x exFAT nogc patch
2022-10-16 15:45:47 -07:00
Michael Scire
0ebbbc839f
fusee/exo: fix up dram id names/mappings
2022-10-12 09:15:16 -07:00
hexkyz
ef07964ea0
fusee: update sdram handling for 15.0.0
2022-10-12 09:15:16 -07:00
Michael Scire
9929517a83
fusee/exo: enum support for 15.0.0
2022-10-12 09:15:16 -07:00
Michael Scire
bbf22b4c60
ams: globally prefer R_RETURN to return for ams::Result
2022-03-26 14:48:33 -07:00
Michael Scire
dd78ede99f
ams: use R_SUCCEED, R_THROW globally
2022-03-26 00:14:36 -07:00
Michael Scire
a4a2cc2218
fs: update IStorage::Check functions for 14.0.0
2022-03-25 23:29:36 -07:00
hexkyz
79afa3b64c
fusee: add unused mtc table
2022-03-23 09:10:50 -07:00
hexkyz
f3968f5f7c
fusee: add new sdram params
2022-03-23 09:10:50 -07:00
hexkyz
a8e23adffe
fusee: add new mtc tables
2022-03-23 09:10:50 -07:00
Michael Scire
51c145f6c9
fusee: update static_assert on key generation
2022-03-23 09:10:50 -07:00
Michael Scire
588d761615
exo/fusee: first pass at updating enums for 14.0.0
2022-03-23 09:10:50 -07:00
Michael Scire
11e4bed199
strat: revise fs unsupported operation results, add overflow utils
2022-03-21 17:21:44 -07:00
Michael Scire
646f84bad1
abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet)
2022-03-21 17:21:44 -07:00
Michael Scire
64a97576d0
ams: support building unit test programs on windows/linux/macos
2022-03-21 17:21:44 -07:00
Michael Scire
4efa5d7dd0
ams: first attempt at 13.2.1 support
2022-01-19 16:28:32 -08:00