53 Commits

Author SHA1 Message Date
Brian Pugh
a6b4930152 support 64MB chip flashing 2021-11-22 10:47:45 -08:00
Brian Pugh
3b64fe25c2 added openocd_dump_image target 2021-11-22 10:47:45 -08:00
Brian Pugh
73b6a7d840 disable save encryption 2021-11-22 10:47:45 -08:00
Brian Pugh
1feaa47578 Add notification when flashing is complete 2021-11-16 08:42:33 -08:00
Brian Pugh
46c0ada18a get rid of extra unnecessary reset 2021-11-15 13:55:13 -08:00
Brian Pugh
e0a73f4e00 Add empty-file check so flash_patched target can always be used 2021-11-15 13:55:13 -08:00
Brian Pugh
503c333383 get rid of flashapp 2021-11-15 12:36:34 -08:00
Brian Pugh
3a58deaaba generate device-specific linker params 2021-11-14 09:21:20 -08:00
Brian Pugh
0fe44e1106 define GNW_DEVICE_* from PATCH_PARAMS. Breakup zelda and mario stock_firmware headers 2021-11-14 09:21:20 -08:00
Brian Pugh
f0dd81b34c infrastructure for dynamic ips patching 2021-09-30 16:21:54 -07:00
Brian Pugh
95a792f667 dos2unix frequently editted files 2021-09-29 09:12:53 -07:00
Brian Pugh
b352960468 Disable smb1-graphics mod macro if no mods are specified 2021-09-29 08:53:43 -07:00
Brian Pugh
e3d70af1b3 Minimal on-demand clock sprite switching 2021-09-28 14:21:19 -07:00
Brian Pugh
696011e464 progress in having dynamically loadable rom graphics 2021-09-26 17:37:23 -07:00
Brian Pugh
5e28daa57c properly initialize custom rwdata 2021-09-26 14:52:27 -07:00
Brian Pugh
e652169a62 Don't rebuild if specifying openocd or gdb targets 2021-09-26 10:56:26 -07:00
Brian Pugh
51f2fa856f Add functionality to detect what gnw mode we are in 2021-09-26 10:12:38 -07:00
Brian Pugh
cbb12d9cb3 remove unused/deprecated code 2021-09-24 17:34:43 -07:00
Brian Pugh
b417498ec7 Black linting 2021-09-24 17:14:06 -07:00
Brian Pugh
2594038f17 fix python call in make help 2021-09-24 15:14:50 -07:00
Brian Pugh
cbe7d570f6 force env to always be rebuilt 2021-09-22 22:09:21 -07:00
Brian Pugh
95d5842c21 Have complete rebuild if PATCH_PARAMS changes 2021-09-22 20:47:54 -07:00
Brian Pugh
18e7454788 towards dynamic section placement 2021-09-22 08:46:22 -07:00
Brian Pugh
ccfcec96c4 Implemented disabling nvram saving 2021-09-20 10:03:57 -07:00
Brian Pugh
217d0a1ae5 Add dump_ext target 2021-09-20 09:54:15 -07:00
Brian Pugh
73a575a246 Added erase_ext target to makefile 2021-09-20 08:19:20 -07:00
Brian Pugh
a4071865a0 improve some makefile dependencies; optimize for size 2021-09-19 11:32:10 -07:00
Brian Pugh
f9011f5631 lzma compress rwdata 2021-09-16 19:37:16 -07:00
Brian Pugh
0b2cc35f7b install debug fault handlers 2021-09-10 08:56:58 -07:00
Brian Pugh
c2bac68f89 add --clock-only feature 2021-09-05 08:37:09 -07:00
Brian Pugh
500a292d45 Add more docs about ADAPTER 2021-09-05 08:22:13 -07:00
Brian Pugh
173b164f4c remove lz4 2021-09-03 16:18:22 -07:00
Brian Pugh
878cd4e656 lzma files 2021-09-03 15:11:29 -07:00
Brian Pugh
c96aa4549a remove miniz references 2021-09-03 15:09:13 -07:00
Brian Pugh
48cb299d01 working smb2 lz4 compression; need to update offset 2021-09-03 09:24:01 -07:00
Brian Pugh
cbc8916a84 compress opcode 2021-09-02 20:44:35 -07:00
Brian Pugh
4e4d778b6b fix some makefile targets 2021-09-02 20:02:33 -07:00
Brian Pugh
dff5764df4 update documentation 2021-09-02 20:02:33 -07:00
Brian Pugh
0d43f77717 Good general progress 2021-09-02 20:02:33 -07:00
Brian Pugh
887dbe91a1 framework to start modifying external flash 2021-09-02 20:02:33 -07:00
Brian Pugh
afa7fd44f5 Added keystone engine, hard_reset_timeout, sleep, is_usb_connected 2021-08-21 16:29:15 -07:00
Brian Pugh
3ae195b764 cleanup some and set python binary to python3 2021-08-20 09:23:53 -07:00
Brian Pugh
c142d4e398 super basic identity read_buttons patch 2021-08-19 12:18:00 -07:00
Brian Pugh
27e15bf19e working multi-app bootloader 2021-08-17 17:52:05 -07:00
Brian Pugh
a522875977 making a little bit of progress 2021-08-17 10:52:51 -07:00
Brian Pugh
0a808f88df patch.py reorg into new Firmware class 2021-08-17 09:40:34 -07:00
Brian Pugh
1960c0cd84 rebuild patch when patch.py changes 2021-08-15 21:40:44 -07:00
Brian Pugh
4cce48bf7e combine stock and patch binaries, no inplace changes yet 2021-08-15 21:08:08 -07:00
Brian Pugh
b92b7f5c07 rename patcher->patch 2021-08-15 19:20:05 -07:00
Brian Pugh
989a4a4b07 more flashing targets 2021-08-15 15:25:13 -07:00