Sven Peter
4b8d500948
sdhc: csd fixed
2009-05-15 05:33:10 -07:00
Sven Peter
168ec956ae
added missing sdhc ipc calls
2009-05-15 05:33:10 -07:00
Sven Peter
8792586575
new sd code for loader/
2009-05-15 05:33:10 -07:00
Sven Peter
b84f393c92
sdhc seems to work now :>
2009-05-15 05:33:10 -07:00
Sven Peter
5ba315148b
dma for sdhc.
...
it still fails after having read a few blocks
2009-05-15 05:33:10 -07:00
Sven Peter
2ad64f59a8
sdhc/sdmmc is getting closer to read valid data :>
2009-05-15 05:33:09 -07:00
Sven Peter
cccd6f5332
less sd fail.
2009-05-15 05:33:09 -07:00
Sven Peter
6b5ca1a194
did i mention that i hate this sd controller yet?
2009-05-15 05:33:09 -07:00
Sven Peter
ca7836a7a6
some more sd fail.
2009-05-15 05:33:09 -07:00
Sven Peter
516d5e8d2f
loader/ still needs this
2009-05-15 05:33:09 -07:00
Sven Peter
3438ba21bb
port of the BSD sdhc driver. breaks sd support atm
2009-05-15 05:33:09 -07:00
dhewg
cd4872979d
a little readability and a bugfix we prolly never run into
2009-05-15 05:33:09 -07:00
dhewg
5c64add743
rlyclean
2009-05-15 05:33:09 -07:00
marcan
088bbdff6f
Add more copyright headers, plz add yourself where relevant
2009-05-15 05:33:09 -07:00
dhewg
68397f67cd
Reworked vectoring for mini's _main()
...
ipc_process_slow() and friends return a vector where bootmii branches
to upon exit. Implemented IPC_SYS_JUMP via ipc_queue_slow_jump().
Ability to upload armboot.bin with the bootmii client.
2009-05-15 05:33:09 -07:00
dhewg
a5c87a6127
remove IPC_SYS_DBGMSGS again
2009-05-15 05:33:08 -07:00
dhewg
993bda8a49
Makefile cleanup
2009-05-15 05:33:08 -07:00
dhewg
1f9aa5b566
Inital version of a ARM side geckoloader.
2009-05-15 05:33:08 -07:00
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