Adding an Internal SD Card

From hakchi
Jump to: navigation, search

Requirements[edit | edit source]

Hardware - MicroSD Installation[edit | edit source]

The following is the pinout so you know which pins on your microSD module to solder the SNES pins to:
PF0  SDC0-D1
PF1  SDC0-D0
PF2  SDC0-CLK
PF3  SDC0-CMD
PF4  SDC0-D3
PF5  SDC0-D2
VCC  SDC0-VCC
GND  SDC0-GND

If you'd like a reference, here are some pictures of the installation (don't mind the crossed wires at the microSD module, I'd rather have it tangle-free under the SNES motherboard instead of at the microSD module):

Software - Hakchi Installation[edit | edit source]

0. Just for good measure, uninstall hakchi from your SNES and flash the original kernel to it if it is currently modded (unless it is already on the newest kernel provided by hakchi2 CE). This can be done using hakchi2 CE, and likely other distributions of hakchi2 as well.

1. Download the newest version of hakchi2 CE. Go ahead and run it, making sure you have a dump folder inside with your original, stock kernel dump (this can be copied from a previous installation of hakchi2). If you don't have one, go ahead and dump the stock kernel from your console now.

2. Now, click Kernel > Install in hakchi2 CE. Once completed, power your system down.

3. Put your system in FEL mode, then click Kernel > Flash Uboot > SD mode. Once that's complete, power your system back down again. The software installation on your (S)NES is now complete.~~~~

Finalization - SD Card Prep[edit | edit source]

4. Prep your SD card in the same way you'd prep your flash drive for a USB host mod. Essentially, make a /hakchi/games and a /hakchi/saves directory at the root of the SD card, with some games in /hakchi/games/ (you can use the export function in hakchi2 CE for this, similar to USB; this is only needed for initial setup). The card must be formatted as NTFS, ext2, ext3, or ext4. Do not use FAT32. Once it's prepped with the games you want, go ahead and insert it into your SNES and power it on!

6. If all went well, once the system boots up, you should see your games from the SD card on the home screen. If you use hakchi2 CE, the app should detect your SNES and show the free space available on your microSD card. As well, you should be able to sync games to it with hakchi2, so you can leave the microSD card internal if you'd like. At this point, you shouldn't have a need to remove the card again unless you want to change it to a different card.

Troubleshooting[edit | edit source]

  1. Ensure there are no wires shorting. A continuity tester will make this process much easier.
  2. Verify 3.3v between VCC and GND
  3. Check for  /dev/mmc*  after boot. If nothing matches that prefix, the SD card was not detected. Check your wires and make sure you've flashed the proper uboot