Commit Graph

129 Commits

Author SHA1 Message Date
dhewg
1c137199ac Update to FatFs R0.07 2009-05-15 05:33:08 -07:00
Sven Peter
7715064060 restoremii: make sure bootmii-boot2 is installed
update armboot.bin and ppcboot.elf (mini will panic otherwise)
and someone please look at my wait_any_key() change.
2009-05-15 05:33:08 -07:00
dhewg
b409c9694e IPC to boot in-mem PPC ELF, with some test code. 2009-05-15 05:33:08 -07:00
bushing
05efa74484 add some profiling code to mini
remove dead code from backupmii
add stub sdload for blasty to fill in =)
2009-05-15 05:33:08 -07:00
dhewg
ec03192492 Use PHDR's p_paddr for loading PPC ELFs.
Use the entry point, from now on this is a realmode vector.
2009-05-15 05:33:08 -07:00
dhewg
65ef5abb3d new Makefile var LDSCRIPT 2009-05-15 05:33:08 -07:00
dhewg
90f794db6c USBGecko code cleanup, exposing only gecko_printf() with the ability to turn off debug spew via an IPC call. 2009-05-15 05:33:08 -07:00
dhewg
7a26537f8a Build system cleanup, and -T != -Wl,-T 2009-05-15 05:33:08 -07:00
dhewg
d8440368d9 Build system cleanup, less c&p ftw. 2009-05-15 05:33:08 -07:00
Sven Peter
13bcec0a91 gamecube compatibility for mini 2009-05-15 05:33:08 -07:00
Sven Peter
753c97a90a added some copyright headers to mini 2009-05-15 05:33:08 -07:00
marcan
6b26684bbc MINI -> mini 2009-05-15 05:33:08 -07:00
dhewg
e89d05a109 flush loaded ppc binary 2009-05-15 05:33:08 -07:00
Sven Peter
a6afa5e49d no more blocking gecko writes 2009-05-15 05:33:08 -07:00
dhewg
9b5a83f30e build cleanup. 2009-05-15 05:33:01 -07:00
bushing
3513e897ed finish renaming miniios -> MINI 2009-05-15 05:28:54 -07:00
bushing
52ae9c2329 working -- albeit slow -- restoremii 2009-05-15 05:28:54 -07:00
marcan
9b8f1df12c Kill sdhc.c stack hogs 2009-05-15 05:28:54 -07:00
marcan
56f89abd31 Take powerpc FIL structure out of stack ffs 2009-05-15 05:28:54 -07:00
marcan
91b3ef1e6c Reduce useless stack alignment 2009-05-15 05:28:53 -07:00
marcan
2d3664c76e shring gecko buffer size in stack 2009-05-15 05:28:53 -07:00
marcan
92f9544d8c Clear stack to 0xDEADBEEF for debugging 2009-05-15 05:28:53 -07:00
bushing
12ac9bc4eb proper CSD handling, so we can detect SD card capacity
and format the card appropriately for BackupMii
2009-05-15 05:28:53 -07:00
bushing
aed064fa37 correctly handle CID and CSD (but the volume size calc is borked) 2009-05-15 05:28:53 -07:00
bushing
69102c9b0c try to decode and display CID / CSD 2009-05-15 05:28:53 -07:00
Sven Peter
711873e0c3 :/ 2009-05-15 05:28:53 -07:00
Sven Peter
ee8004d9c0 sdhc: CSD fixed 2009-05-15 05:28:53 -07:00
marcan
99f0c52b7e Turn off long longs again in vsprintf, epic fail 2009-05-15 05:28:53 -07:00
marcan
77ca5f888c Fix long long support for miniios vsprintf 2009-05-15 05:28:53 -07:00
marcan
d6e55bbcd0 Mebbe speed up IPC a bit 2009-05-15 05:28:53 -07:00
marcan
e8e0851ebe New boot2 load code, fix up IPC interaction 2009-05-15 05:28:53 -07:00
marcan
e1ca14840e Fix nand wait/IRQ stuff, make nand_wait wait for IRQ now 2009-05-15 05:28:53 -07:00
marcan
5c09a5c16b make stuff static 2009-05-15 05:28:52 -07:00
marcan
851aceb1f8 move nand constants to nand.h 2009-05-15 05:28:52 -07:00
marcan
9351362f10 Clean up main 2009-05-15 05:28:52 -07:00
marcan
c8c8d92787 Add more IRQ numbers 2009-05-15 05:28:52 -07:00
marcan
5bfe8f17d9 Clean up hollywood, IRQ, IPC, match Wiibrew 2009-05-15 05:28:52 -07:00
marcan
75017b64a4 Fix AES: invalidate dst, not src 2009-05-15 05:28:52 -07:00
marcan
0fac62b39b FIXME: clean up vsprintf, still no long long support due to gcc fail
long long math fails for me
2009-05-15 05:28:52 -07:00
marcan
829dca8ae7 Get rid of nand debug for now 2009-05-15 05:28:52 -07:00
marcan
fb4bac8db1 Miniios fixes 2009-05-15 05:28:52 -07:00
marcan
0df332812f iosboot.bin -> armboot.bin 2009-05-15 05:28:52 -07:00
marcan
96775ffa5a Kill NAND write/erase support until we're Really Sure that it works 2009-05-15 05:28:52 -07:00
Sven Peter
320f255a5c response for CID fixed
CSD does not seem to work yet :s
2009-05-15 05:28:51 -07:00
bushing
0a4f721ada enable erase and write commands
turn on debugging, because something is wrong
with the status command -- sometimes it hangs, sometimes
it gives bogus results.
2009-05-15 05:28:51 -07:00
bushing
577f9aa316 fix build issue 2009-05-15 05:28:51 -07:00
marcan
287248e77c Add AES and SHA-1 to AHB stuff, move cache ops to crypto.c 2009-05-15 05:28:51 -07:00
marcan
689f718c64 Add ahb stuff for SD 2009-05-15 05:28:51 -07:00
marcan
526c6d3865 Add/rename/fix ahb stuff 2009-05-15 05:28:51 -07:00
marcan
52f2309ef7 Fix what I think is a bug in dcache flush/inval?? 2009-05-15 05:28:51 -07:00