Commit Graph

43 Commits

Author SHA1 Message Date
dhewg
f742371e9e move usbgecko defines to Makefile, fix warnings 2010-07-09 01:27:09 +02:00
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
bushing
49c33236df copyright header cleanup for MINI 2009-05-15 05:35:17 -07:00
bushing
fe7bcef787 calm down error messages during NAND write / erase 2009-05-15 05:35:17 -07:00
dhewg
813a7a1c33 Dont pass the HW ECC data on ipc calls. 2009-05-15 05:35:16 -07:00
bushing
ef02581dda fix crasher bug in nandfs, add code to get nandfs usage 2009-05-15 05:35:15 -07:00
bushing
45b8895ac9 don't try to correct ECC on uninitialized pages 2009-05-15 05:35:15 -07:00
bushing
5811742c07 correct ECC for pages read via IPC 2009-05-15 05:35:15 -07:00
bushing
1d66f36578 not sure erase is using IRQ correctly; make a note for later
(I don't want to fix it unless it's broken)
2009-05-15 05:35:15 -07:00
bushing
7e40961741 add a DEFINE to let the installer write to the boot2 area 2009-05-15 05:35:15 -07:00
bushing
09823ee038 just some formatting fixes 2009-05-15 05:35:15 -07:00
bushing
f0e2b549a9 get rid of obsolete read/write macros 2009-05-15 05:35:15 -07:00
bushing
382518d42a move STACK_ALIGN to utils.h 2009-05-15 05:35:15 -07:00
Sven Peter
4f1ed52dd7 nand ecc correction fixed 2009-05-15 05:33:12 -07:00
dhewg
52de4a6655 License/consistency/whitespace cleanup 2009-05-15 05:33:11 -07:00
bushing
4788621a9b a little bit of nand cleanup 2009-05-15 05:33:10 -07:00
marcan
088bbdff6f Add more copyright headers, plz add yourself where relevant 2009-05-15 05:33:09 -07:00
bushing
52ae9c2329 working -- albeit slow -- restoremii 2009-05-15 05:28:54 -07:00
marcan
e1ca14840e Fix nand wait/IRQ stuff, make nand_wait wait for IRQ now 2009-05-15 05:28:53 -07:00
marcan
5c09a5c16b make stuff static 2009-05-15 05:28:52 -07:00
marcan
851aceb1f8 move nand constants to nand.h 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
96775ffa5a Kill NAND write/erase support until we're Really Sure that it works 2009-05-15 05:28:52 -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
526c6d3865 Add/rename/fix ahb stuff 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
b140065503 Make NAND, crypto use dma_addr 2009-05-15 05:28:49 -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
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
d2b0ec94ec forbid writing to boot1/boot2 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
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
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