Commit Graph

115 Commits

Author SHA1 Message Date
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
marcan
2cc31db239 Fix ECC alignment in boot2.c 2009-05-15 05:28:51 -07:00
marcan
5cbe630a0a fixity fix 2009-05-15 05:28:51 -07:00
marcan
8ce5433382 Add shadow buffer for NAND IPC to prevent MEM1 issues, fix some stuff 2009-05-15 05:28:51 -07:00
marcan
d1f9fa8a3a Add NAND ECC correction to miniios and use for boot2 loads 2009-05-15 05:28:50 -07:00
bushing
3310503c11 no, I guess we really did want those IRQs 2009-05-15 05:28:50 -07:00
bushing
018b0b8314 small nand code tweaks, add nand_status() command 2009-05-15 05:28:50 -07:00
marcan
d136bb42c1 Fix NAND_MAX_PAGE stuff 2009-05-15 05:28:50 -07:00
marcan
6465f2f08c Add NAND error bit and check logic 2009-05-15 05:28:50 -07:00
marcan
b23b1890dd formatting fixes 2009-05-15 05:28:50 -07:00
marcan
49660bd39f Make NAND call ahbmemflush/magic_bullshit like IOS does 2009-05-15 05:28:50 -07:00
marcan
efba85b43e Add NAND to ahbmemflush 2009-05-15 05:28:50 -07:00
marcan
a1570ace62 Wrap memflush/magic with irq save/restore 2009-05-15 05:28:50 -07:00
marcan
ac97d347b5 clean up main 2009-05-15 05:28:50 -07:00
marcan
425f540362 Clear IPC registers on shutdown to fix system menu crash 2009-05-15 05:28:50 -07:00