1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-20 05:11:42 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Kostas Missos
55262fe9fa [sdmmc] Fixes Part 2
Now that the cid/csd/ssr/etc bytes/bitfields are correct:
* MMC/SD: Add cid/csd parsing and use new cid/csd variables
* SD: Add ssr (sd status) reading/parsing
2018-05-14 12:25:29 +12:00
Kostas Missos
acdc8b580c [sdmmc] Fixes Part 1
* MMC/SD: Change many hardcoded values to named ones
* MMC/SD: Fix scr and csd byte/bitfield ordering
* MMC: Add ext csd parsing and using these variables isntead of arrays
* MMC: Fix BKOPS support but disabled
* SD: Add partial sd v1 support
* SD: Fix we support low voltage OCR bit
* SD: Add scr parsing and using these variables instead of hardcoded ones
2018-05-14 12:25:29 +12:00
Ced2911
4d7f016e3a Feature/4x (#10)
* Dump sm, added JanV work
* add Ac_K patches, fix boot, keygen is wrong, need more work
* cleanup keygen, correct key for 4xx
* remove unused code, cleanup code
2018-05-13 13:13:17 +12:00
Kostas Missos
5ca3bbcaf1 Make write error fatal but let user choose to continue
Write error to sd is now fatal as per FatFs guidelines.
Let the user choose to continue or to abort and try again.
Add a message to let the user know that we calculate free space
2018-05-09 02:25:59 +12:00
Kostas Missos
b6b000fd28 Fix small typo 2018-05-09 02:25:59 +12:00
Kostas Missos
6878e87764 Add SD write retry and some other changes
Increase retry count to 6 tries
Add colors and change a little bit some messages
Change some namings
2018-05-09 02:25:59 +12:00
Kostas Missos
0a426db985 Add partial dumping when free space is not enough 2018-05-09 02:25:59 +12:00
Kostas Missos
724970f795 Add lv support back and fix its change logic 2018-05-09 02:25:00 +12:00
Kostas Missos
5363029e60 Add support for SD cards that report wrong info
Some vendors, *I'm looking at you Samsung*, report support for 1.8 voltage, even though the card does not support it.

So, disable low voltage support for now until the behavior is changed to act more like what Linux does. (re-initializing the SD card and disables the low voltage switch).

Fix the switch to high speed mode for high voltages also.

Additionally, correct the IF COND reply. 0xAA is the important part.
2018-05-09 02:25:00 +12:00
Selver-gba
fc0a94bd84 BUG: gfx_putc() was attempting to print from
two characters (126, 127) not in font table
FIX: Do not print non-printable char 127
FIX: Add tilde character to font table
2018-05-09 02:24:03 +12:00
st4rk
8d6b6c4f0e Fix mistake where I was reading pkg1 twice 2018-05-04 00:32:28 -07:00
st4rk
6ebfaa1200 keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:31:08 -07:00
st4rk
8b9e65e76f keygen for 3.0.x, 4.0.x, 5.0.x added, 3.0.X FW booting, fixed TSEC wrong offset for 4.0.X 2018-05-04 00:15:29 -07:00
Rajko Stojadinovic
e7373548fa Make it smaller 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
138a7658ad Add missing const on constants 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
8a327030bd Enable exFAT support, don't split files if using it (fsync them instead at 2GiB boundaries), add RawNand dump option 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
ee30961b3a Fix percentage overflow when dumping USER, also add retry in case of read failure (experienced by some users) 2018-05-02 15:37:15 +12:00
Rajko Stojadinovic
04de3d184a Support dumping all possible eMMC partitions (with file splitting when necessary) 2018-05-02 15:37:15 +12:00
nwert
8365426fc3 So it has come to this. 2018-05-01 17:22:03 +12:00