notaz
Certified Guru
Update: I've backported 4.0.0 SDHC code (was only copy-paste, really), you can download new patch here, and source here. The SDHC support in this update should be exactly the same as in GPH 4.0.0 firmware, so this update should have the same card compatibility as 4.0.0 firmware. This kernel also has read-ahead disabled, as it causes problems with software, which tends to stream data from SD card. Haven't noticed any bad effects because of this.
Short history of this patch: my previous patch was merged by DJWillis with his code, and went into Open2x. GPH took that code and merged it into their 4.0.0 firmware, after that I took it back and merged with 2.1.1, what resulted in a thing you can download above.
Updated readme:
Old post below:
I recently bought a 4GB SD card and well it was SDHC. So I hacked up a quick support for SDHC. I know DJWillis was working on this, and probably achieved similar results, but I wanted to do it myself.
To test it out, you have to flash my custom kernel, because gph has built SD card support into kernel (instead of building it as a module). This involves some risks, but should be easily reversible.
The kernel is based on kernel from 2.1.1 firmware here.
Older, download here.
The source changes to this kernel are here.
Short history of this patch: my previous patch was merged by DJWillis with his code, and went into Open2x. GPH took that code and merged it into their 4.0.0 firmware, after that I took it back and merged with 2.1.1, what resulted in a thing you can download above.
Updated readme:
Code:
About
-----
This is a modified GP2X firmware 2.1.1 kernel with SDHC SD card support
for F100 GP2Xs. It also has read-ahead disabled by default, which is
better for apps, which do data streaming from SD card.
The SDHC code used is exactly the same as in GPH 4.0.0 firmware, which is
my code with some enhancements by DJWillis (Open2x).
WARNING: this update involves flashing kernel area in your GP2X NAND.
While this should be reversible, because boot loader (the vital part)
should not get harmed, small chances of bricking exist.
Do not use this on GP2X versions other than F100, as it will cause some
things (like touchscreen) not to work.
I TAKE NO RESPONSIBILITY IN FLASHING YOUR GP2X. DO IT AT YOUR OWN RISK.
- notaz
Installing
----------
Format your SD card with FAT32 filesystem, then copy ONLY gp2xkernel.img
from this archive to the root (main) directory. The SD card used for
updating must NOT be SDHC, and it must be firmware update compatible.
See the page below for details:
http://wiki.gp2x.org/wiki/SD_card_compatibility
The procedure is similar as of firmware update. Turn off your GP2X, insert
the card, press START and SELECT and while holding them turn on your GP2x.
Then "firmware update" (or similar) screen should appear. When this finishes,
restart your GP2X, it should boot exactly as before, but start supporting
SDHC cards.
Uninstalling
------------
Download firmware upgrade files of firmware you were previously using. Take
only gp2xkernel.img from the firmware upgrade and copy it alone to your SD.
Then repeat the update procedure you have done before. Everything should go
back as it was before.
Old post below:
I recently bought a 4GB SD card and well it was SDHC. So I hacked up a quick support for SDHC. I know DJWillis was working on this, and probably achieved similar results, but I wanted to do it myself.
To test it out, you have to flash my custom kernel, because gph has built SD card support into kernel (instead of building it as a module). This involves some risks, but should be easily reversible.
The kernel is based on kernel from 2.1.1 firmware here.
Older, download here.
The source changes to this kernel are here.