Commit Graph

27 Commits

Author SHA1 Message Date
bushing
ec1e5b7687 allow client apps to disable the safety check that normally prevents you
from overwriting boot1/boot2, using an IPC call. use with caution,
see comments in source code.
2010-04-07 22:39:59 -07:00
Albert Herranz
68791a05fe sdhc: add ipc call IPC_SDHC_EXIT
In some cases it is desirable to let the Broadway processor take complete
control of hardware initially managed by 'mini'.
Add a new IPC call to instruct 'mini' to relinquish control of the
SD Host Controller.

One immediate user of this IPC call is Linux on the Nintendo Wii which
takes complete control of the SDHC hardware.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
2009-05-24 20:56:47 -07:00
John Kelley
8366174042 Implemented git version printing in infobox 2009-05-15 05:35:18 -07:00
bushing
49c33236df copyright header cleanup for MINI 2009-05-15 05:35:17 -07:00
dhewg
2100d84d7c IPC cleanup.
New function ipc_enqueue_slow() to enqueue to the slow in_queue from
within mini's irq context. The SDHC driver and the geckoloader uses
this, which in return gets our irq stack size down again to a sane
value.
2009-05-15 05:33:12 -07:00
John Kelley
9f7849ec5f Added my copyright notices 2009-05-15 05:33:11 -07:00
dhewg
52de4a6655 License/consistency/whitespace cleanup 2009-05-15 05:33:11 -07:00
bushing
f27118319b added IPC versioning system
PPC code can ask mini for its version number ... not currently
used for anything, but we should bump it next time we break ABI
2009-05-15 05:33:11 -07:00
Sven Peter
168ec956ae added missing sdhc ipc calls 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
cccd6f5332 less sd fail. 2009-05-15 05:33:09 -07:00
Sven Peter
ca7836a7a6 some more sd fail. 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
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
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
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
marcan
e8e0851ebe New boot2 load code, fix up IPC interaction 2009-05-15 05:28:53 -07:00
bushing
018b0b8314 small nand code tweaks, add nand_status() command 2009-05-15 05:28:50 -07:00
John Kelley
bb683c50a2 Added boot2_run IPC code
Cleaned up ipc.h a little and removed unused IPC_MISC stuff
2009-05-15 05:28:42 -07:00
bushing
902d0adac0 added code to support IPC for SDHC 2009-05-15 05:28:15 -07:00
Sven Peter
66f09a14de nand/nandfs stuff
not working yet :/
2009-05-15 05:28:14 -07:00
bushing
513926130a initial stab at some IPC defs; please expand or fix as appropriate 2009-05-15 05:28:14 -07:00
marcan
29caadc06b miniIOS IPC updates 2009-05-15 05:28:14 -07:00
marcan
3a258f2ed9 Beginnings of IPC system. Totally untested. 2009-05-15 05:28:13 -07:00