Commit Graph

135 Commits

Author SHA1 Message Date
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
marcan
766e793372 Make sdhc.c use dma_addr also 2009-05-15 05:28:50 -07:00
marcan
c5e8bf0b9b Typofix 2009-05-15 05:28:49 -07:00
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