Commit Graph

173 Commits

Author SHA1 Message Date
dhewg
75958b2508 Fix usbgecko detection.
Avoid hangs when no usbgecko is present.
2009-05-15 05:33:12 -07:00
Sven Peter
4f1ed52dd7 nand ecc correction fixed 2009-05-15 05:33:12 -07:00
dhewg
0c2fb136e8 installer cleanup. 2009-05-15 05:33:12 -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
Sven Peter
456b26c1b7 decrease the irq stack usage a bit 2009-05-15 05:33:12 -07:00
Sven Peter
fc9963f1db less warnings 2009-05-15 05:33:12 -07:00
dhewg
c4699bda33 aaaand some more license crap 2009-05-15 05:33:12 -07:00
Sven Peter
d48c3284b3 more license stuff 2009-05-15 05:33:12 -07:00
dhewg
b18ec392ce License/consistency/whitespace cleanup 2009-05-15 05:33:12 -07:00
dhewg
ab4a2046fc cleanup 2009-05-15 05:33:12 -07:00
bushing
4b52ea373e compiler warnings -- 2009-05-15 05:33:11 -07:00
Sven Peter
5346a42d2d already done. i just forgot to remove the TODO 2009-05-15 05:33:11 -07:00
John Kelley
9f7849ec5f Added my copyright notices 2009-05-15 05:33:11 -07:00
marcan
eb3f81595d More license stuff 2009-05-15 05:33:11 -07:00
dhewg
52de4a6655 License/consistency/whitespace cleanup 2009-05-15 05:33:11 -07:00
dhewg
1d03b15fce cleanup 2009-05-15 05:33:11 -07:00
dhewg
39710e1b0d Decrease timer frequency (to flush crap). 2009-05-15 05:33:11 -07:00
bushing
e5aec6fcc9 compiler warnings -- 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
bushing
d68251da45 add my copyright :) 2009-05-15 05:33:10 -07:00
bushing
4788621a9b a little bit of nand cleanup 2009-05-15 05:33:10 -07:00
bushing
f806abdac2 cleanup sdmmc <-> fatfs glue 2009-05-15 05:33:10 -07:00
bushing
abb179e675 ff.c: don't build dir_read if we don't need it 2009-05-15 05:33:10 -07:00
bushing
0cf1b66b2e fix compiler warning 2009-05-15 05:33:10 -07:00
dhewg
eb81f81507 Increased mini's irq stack size.
The new sd driver requires this, I can reproduce a panic easily here.
This is hopefully temporarily, maybe we can push this requirement down a
little.
2009-05-15 05:33:10 -07:00
dhewg
4dcef26df8 Moved most CFLAGS and LDFLAGS to the global rules.
As recommended by segher :)
2009-05-15 05:33:10 -07:00
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