diff --git a/.gitignore b/.gitignore index c6df07e..9c913f5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ data_output **/data **/obj -*.bat \ No newline at end of file +*.bat diff --git a/Makefile b/Makefile index 1b6b19d..2fe5729 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ stage2: @cp payload_stage2/payload_stage2.bin $(OUTDIR)/stage0x5C000.bin installer: + @mkdir payload_installer/brahma2/data/ @cp $(OUTDIR)/sector.bin payload_installer/brahma2/data/sector.bin @cp $(OUTDIR)/firm0.bin payload_installer/brahma2/data/firm0.bin @cp $(OUTDIR)/firm1.bin payload_installer/brahma2/data/firm1.bin @@ -58,3 +59,7 @@ clean: @$(MAKE) -C payload_stage2 clean @$(MAKE) -C payload_installer clean TARGET=../$(TARGET) @$(MAKE) -C bootloader clean + rm -rf data_output + +purge: clean + rm -rf data_input/otp.bin diff --git a/README.md b/README.md index f59fd09..435c1fb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,11 @@ It loads an **arm9loaderhax.bin** arm9 payload from the root of the sdcard at ad This means that it offers a BRAHMA-like setup, and as such has compatibility with every payload BRAHMA can run; you can also perform a firmlaunch by writing the ARM11 kernel entrypoint at address 0x1FFFFFF8. -The problem here is that it doesn't still initialize the screens, that has still to be achieved, though i was able to load an external patched firmware and make boot the console without any problem while testing. +Screen initialization was implemented by [**dark-samus**' pull request](https://github.com/delebile/arm9loaderhax/pull/9) (thanks!). + +## How do I update it? + +An updater is currently in developement. You can test [**dark-samus' one**](https://gbatemp.net/attachments/installer-zip.40329/), but it's currently unfinished and unstable. ## Installation @@ -67,7 +71,7 @@ sdmmc.c & sdmmc.h originally written by Normatt Licensed under GPLv2 or any later version, refer to the license.txt file included. * Smealum and contributors for libctru -* Normatt for sdmmc.c and .h, and also for .ld files and the log from 3dmoo9 that provided us with some of the information needed to get screen init +* Normmatt for sdmmc.c and .h, and also for .ld files and the log from XDS by ichfly that provided us some of the information needed to get screen init * Christophe Devine for the SHA codes * Archshift for i2c.c and .h * Megazig for crypto.c and .h @@ -77,12 +81,3 @@ Licensed under GPLv2 or any later version, refer to the license.txt file include * [3dbrew community](http://3dbrew.org/) * bilis/b1l1s for his screen init code, and work on inegrating it into stage 2 * dark_samus for work on integrating screen init into stage 2 - - - - - - - - - diff --git a/payload_installer/brahma2/Makefile b/payload_installer/brahma2/Makefile index c8c7f63..9f12d5b 100644 --- a/payload_installer/brahma2/Makefile +++ b/payload_installer/brahma2/Makefile @@ -132,6 +132,7 @@ $(BUILD): clean: @echo clean ... @rm -fr $(BUILD) $(TARGET).3dsx $(OUTPUT).smdh $(TARGET).elf + @rm -fr data #--------------------------------------------------------------------------------- diff --git a/payload_installer/brahma2/data/.place_here b/payload_installer/brahma2/data/.place_here deleted file mode 100644 index e69de29..0000000