Commit Graph

263 Commits

Author SHA1 Message Date
marcan
482f99327f Add IOSFlags display 2009-05-15 05:28:49 -07:00
marcan
9ad13f0a62 key works fine in SRAM now, use ALIGNED() instead of __attribute__ 2009-05-15 05:28:49 -07:00
marcan
4014d55c0c Improve crypto structures (seeprom, otp) 2009-05-15 05:28:49 -07:00
marcan
b140065503 Make NAND, crypto use dma_addr 2009-05-15 05:28:49 -07:00
marcan
d0956805d3 Add NO_CACHES option to debug memory issues 2009-05-15 05:28:49 -07:00
marcan
e463cdea43 Add dma_addr to convert pointers to DMA addresses 2009-05-15 05:28:49 -07:00
marcan
5b14f07ea2 Code dump for more exceptions, more instructions 2009-05-15 05:28:49 -07:00
marcan
00f369a6d4 Fix PC display for UNDF and SWI 2009-05-15 05:28:49 -07:00
marcan
4c4148aa5b gpio_delay -> seeprom_delay 2009-05-15 05:28:43 -07:00
marcan
4d1a048d42 Use symbolic names for SEEPROM pins 2009-05-15 05:28:43 -07:00
marcan
683ea6d8eb Move gpio.h from loader to miniios, make loader one a link 2009-05-15 05:28:43 -07:00
marcan
c0940c0630 Fix exception returns, maybe? 2009-05-15 05:28:42 -07:00
marcan
1cd160ebc9 Add slot LED panics for exception and IPC 2009-05-15 05:28:42 -07:00
Sven Peter
8335cc690e just protect memory instead of hanging the powerpc 2009-05-15 05:28:42 -07:00
marcan
f3f78fab9f Fix undefined instruction dump report 2009-05-15 05:28:42 -07:00
bushing
380c342890 update nand code with flags constants
add better range checking on NAND addresses as per marcan
2009-05-15 05:28:42 -07:00
bushing
8e35b4150e fix exception handler again, as per marcan 2009-05-15 05:28:42 -07:00
bushing
ddc707fceb added more debugging output for undefined instruction exceptions 2009-05-15 05:28:42 -07:00
Sven Peter
baa002b6f1 fix? 2009-05-15 05:28:42 -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
John Kelley
de1284379d change nand_wait to __nand_wait so things compile 2009-05-15 05:28:42 -07:00
marcan
e494b77692 Replace vsprintf implementation 2009-05-15 05:28:42 -07:00
Sven Peter
f1256c2b77 boot2 loading and titleid patching for miniios
seems to fail sometimes in dc_ functions :/
2009-05-15 05:28:24 -07:00
bushing
51553cd77a HW_214 = HW_VERSION 2009-05-15 05:28:24 -07:00
bushing
b877791528 add seeprom support to miniios 2009-05-15 05:28:15 -07:00
bushing
d2b0ec94ec forbid writing to boot1/boot2 2009-05-15 05:28:15 -07:00
Sven Peter
e14be86d6c fix for dma problems? 2009-05-15 05:28:15 -07:00
bushing
3fc45b7dd8 some compiler warning fixes 2009-05-15 05:28:15 -07:00
Sven Peter
66982e9c37 sd ipc fix 2009-05-15 05:28:15 -07:00
bushing
902d0adac0 added code to support IPC for SDHC 2009-05-15 05:28:15 -07:00
bushing
bb5862f67c fixed nand get-id to work
added ECC checking code
2009-05-15 05:28:14 -07:00
Sven Peter
f2dd69f3d7 nandfs fixed :> 2009-05-15 05:28:14 -07:00
Sven Peter
66f09a14de nand/nandfs stuff
not working yet :/
2009-05-15 05:28:14 -07:00
Sven Peter
1eef8e083c untested NAND IPC support which breaks nandfs
i'll test this and port nandfs to the powerpc tomorrow
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
bushing
c4465b02b8 change target names to the actual filenames we need 2009-05-15 05:28:14 -07:00
Sven Peter
3bfca0ca64 ...
this just seems to work now even without this align crap.
2009-05-15 05:28:14 -07:00
marcan
29caadc06b miniIOS IPC updates 2009-05-15 05:28:14 -07:00
marcan
d4cdb1f01d Make miniIOS gecko writes blocking 2009-05-15 05:28:14 -07:00
marcan
f96905ff8f Add mem2 unprotect 2009-05-15 05:28:14 -07:00
Sven Peter
51fd48f066 nand, nandfs and crypto code for miniios
i blame lack of sleep for ugly code.
2009-05-15 05:28:13 -07:00
Sven Peter
a02074a8ae removed some sd debug stuff 2009-05-15 05:28:13 -07:00
marcan
3e758bdfcf silly fix 2009-05-15 05:28:13 -07:00
marcan
99c38eebe1 Woo MMU Woo Caches Woo AHBMemFlush! 2009-05-15 05:28:13 -07:00
marcan
debfa55f86 Add exception handler. This one *does* work! 2009-05-15 05:28:13 -07:00
marcan
26816ee411 Memory stuff and add not working (so far) MMU/pagetable enable code 2009-05-15 05:28:13 -07:00
marcan
3a258f2ed9 Beginnings of IPC system. Totally untested. 2009-05-15 05:28:13 -07:00
marcan
cc5b7ea98c Add get_cpsr 2009-05-15 05:28:13 -07:00
marcan
9fb59af098 Fix horrible stack and CPSR problems 2009-05-15 05:28:13 -07:00
marcan
f0edf39096 Mark gecko_printf as printf-style for arg checking 2009-05-15 05:28:13 -07:00