Commit Graph

120 Commits

Author SHA1 Message Date
comex
80e9af79a8 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-02 18:35:55 -07:00
Michael Scire
c04caeec8f fusee/exo/ams: update with new keydata/version enums 2025-05-09 12:10:02 -07:00
Michael Scire
dc3bb3fde7 fusee/exo/ams: update with new keydata/version enums 2024-10-15 21:51:33 -07:00
Michael Scire
4ccce57e63 exo/fusee: apparently 18.0.0 did not burn a fuse 2024-03-29 02:55:07 -07:00
Michael Scire
18f07b30e5 fusee/exo/ams: update with new keydata/version enums 2024-03-29 02:55:00 -07:00
Michael Scire
5c8a8adc9a fusee/exo: implement the usual changes for new firmware support 2023-10-12 09:22:28 -07:00
Michael Scire
507bc3ddd5 fusee/exo: implement the usual changes for new firmware support 2023-02-23 09:00:34 -07:00
Michael Scire
3cfac35c93 exo: fix MemoryArrange enum typo 2023-01-24 14:39:15 -07:00
Michael Scire
23c6cc2949 fusee/exo: fix up dram id names/mappings 2022-10-12 09:15:46 -07:00
hexkyz
bdb44e1028 exo: add new dram ids 2022-10-12 09:15:46 -07:00
Michael Scire
1073762674 fusee/exo: enum support for 15.0.0 2022-10-12 09:15:44 -07:00
Michael Scire
101b637afd ams/fuse: update version numbers, update DramId read logic 2022-10-12 09:15:44 -07:00
Michael Scire
11f2fadb19 exo: right, Mariko* is a wiki-ism 2022-03-23 09:16:08 -07:00
Michael Scire
80022c72bc exo: update for new dram ids 2022-03-23 09:16:08 -07:00
Michael Scire
446df35368 exo/fusee: first pass at updating enums for 14.0.0 2022-03-23 09:15:57 -07:00
Michael Scire
1f2822fafe abort/error: print backtrace, abuse templates, overhaul result/diag (macos not done yet) 2022-03-23 09:15:49 -07:00
Michael Scire
d7a9c7ec4c ams: support building unit test programs on windows/linux/macos 2022-03-23 09:15:46 -07:00
Michael Scire
0d161b8588 ams: first attempt at 13.2.1 support 2022-01-19 16:28:55 -08:00
Michael Scire
960c5c19f9 ams: improve offsetof style consistency 2021-10-26 01:11:10 -07:00
Michael Scire
3bef5b7d5a ams: allow bootloader to merely approximate correct target firmware 2021-10-15 23:54:37 -07:00
Michael Scire
116e41f790 exo/vapours: refactor member variables to m_ over this-> 2021-10-15 23:54:34 -07:00
Adubbz
ea0bb620f2 settings: implement KeyValueStore (#1659)
* settings: implement KeyValueStore and dependencies

* settings: update KeyValueStore for recent refactoring

* settings: address feedback
2021-10-15 23:54:33 -07:00
Michael Scire
002422d5dc ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-07 23:06:25 -07:00
Michael Scire
7665721e03 ams-libs: AMS_ASSERT no longer invokes expression 2021-10-07 23:06:21 -07:00
Michael Scire
dda95e5832 fusee/exo: update for new dram id changes 2021-09-19 10:35:31 -07:00
Michael Scire
a669f3dcfa fusee/exo: update for recognition of 13.0.0 2021-09-19 10:35:31 -07:00
Michael Scire
452ad57ae0 fusee_cpp: implement package2 rebuild/kip patching 2021-09-06 16:32:46 -07:00
Michael Scire
a64b838b9c fusee_cpp: implement cpu startup 2021-09-06 16:32:42 -07:00
Michael Scire
2e30aa6d98 fusee_cpp: fix some careless search/replace mistakes 2021-09-06 16:32:42 -07:00
Michael Scire
93c773ad54 fusee_cpp: implement warmboot firmware load 2021-09-06 16:32:41 -07:00
Michael Scire
64da919d6b fusee_cpp: implement emummc/system partition mounting 2021-09-06 16:32:40 -07:00
Michael Scire
3fe151c263 fusee_cpp: implement all required key derivation 2021-09-06 16:32:40 -07:00
Michael Scire
e0d08dd6de fusee_cpp: implement tsec_keygen firmware execution 2021-09-06 16:32:39 -07:00
Michael Scire
9ca9c59a19 fusee_cpp: implement mtc erista patram writes 2021-09-06 16:32:38 -07:00
Michael Scire
ae25f6f8d4 fusee_cpp: implement inline storage of EmcDvfsTimingTables 2021-09-06 16:32:38 -07:00
Michael Scire
4043c52691 fusee_cpp: add logic for loading mtc overlays 2021-09-06 16:32:38 -07:00
Michael Scire
797c61b066 fusee_cpp: implement bpmp overclock 2021-09-06 16:32:37 -07:00
Michael Scire
812697c4ba fusee_cpp: Implement fatal display, reading of fusee-secondary 2021-09-06 16:32:37 -07:00
Michael Scire
34cad3b3b6 fusee_cpp: Add display init/fatal error display logic 2021-09-06 16:32:37 -07:00
Michael Scire
ba768c7f62 fusee_cpp: cache cleanup, confirmed working on hardware 2021-09-06 16:32:36 -07:00
Michael Scire
30725cfdec fusee_cpp: implement bpmp cache driver 2021-09-06 16:32:36 -07:00
Michael Scire
6016ab3447 fusee_cpp: implement sdram lp0 scratch param save 2021-09-06 16:32:35 -07:00
Michael Scire
fdab233923 fusee_cpp: implement SDRAM initialization 2021-09-06 16:32:35 -07:00
Michael Scire
26d94b940e fusee-cpp: a little more init in SecureInitialize 2021-09-06 16:32:34 -07:00
Michael Scire
98df0a1906 fusee-cpp: implement SecureInitialize besides InitializeClock() 2021-09-06 16:32:34 -07:00
Michael Scire
6550e73754 fusee-cpp: sketch out remainder of secure initialize 2021-09-06 16:32:33 -07:00
Michael Scire
bc3bcb02ce fusee-cpp: Implement mbist workaround 2021-09-06 16:32:33 -07:00
Michael Scire
635aeb09b9 fusee-cpp: add basic structural stubs 2021-09-06 16:32:33 -07:00
Michael Scire
e96b24f842 ams-libs: fix change detection for library building 2021-07-12 01:59:51 -07:00
Michael Scire
f3f7567066 exo: update for 12.1.0 2021-07-06 07:28:33 -07:00