Commit Graph

144 Commits

Author SHA1 Message Date
marcan
c8c8d92787 Add more IRQ numbers 2009-05-15 05:28:52 -07:00
marcan
5bfe8f17d9 Clean up hollywood, IRQ, IPC, match Wiibrew 2009-05-15 05:28:52 -07:00
marcan
75017b64a4 Fix AES: invalidate dst, not src 2009-05-15 05:28:52 -07:00
marcan
0fac62b39b FIXME: clean up vsprintf, still no long long support due to gcc fail
long long math fails for me
2009-05-15 05:28:52 -07:00
marcan
829dca8ae7 Get rid of nand debug for now 2009-05-15 05:28:52 -07:00
marcan
fb4bac8db1 Miniios fixes 2009-05-15 05:28:52 -07:00
marcan
0df332812f iosboot.bin -> armboot.bin 2009-05-15 05:28:52 -07:00
marcan
96775ffa5a Kill NAND write/erase support until we're Really Sure that it works 2009-05-15 05:28:52 -07:00
Sven Peter
320f255a5c response for CID fixed
CSD does not seem to work yet :s
2009-05-15 05:28:51 -07:00
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