mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Leave the SD slot empty when there is no SD image
Without --sd (and no sd.img in the working directory) the emulator still presented a card: a blank one, which SDMMC1 initialised at SDR104 and FatFs then found no volume on. A console with nothing in the slot shows the payload no card at all. Now the slot starts empty when there is no image: card detect (PZ1) reads no card and every SDMMC1 command times out, which the existing [sd] inserted = 0 path already modelled. The config window's SD toggle can still insert a blank card at runtime. hwtest, which CI runs without --sd, now reports sd_initialize failing and the SD as not ready instead of an unformatted 32 GiB card; its verdict goes from 35 to 34 passes with no failures, and every CI expectation still holds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YYewwDPujjo5B2xRyC5Grb
This commit is contained in:
3 files changed
+16
-3
No files matched your search
@@ -36,7 +36,8 @@ slow or destructive.
|
||||
- Read real eMMC (embedded MMC) dumps (`BOOT0`, multi-part `rawnand.bin.NN`)
|
||||
and decrypt them with XTS-AES-128 (XEX-based Tweaked-codebook with ciphertext
|
||||
stealing) against keys from `prod.keys`.
|
||||
- Serve a real FAT32 SD image to the payload (`--sd sd.img`).
|
||||
- Serve a real FAT32 SD image to the payload (`--sd sd.img`). Without one the
|
||||
SD slot is empty.
|
||||
|
||||
## Quick start
|
||||
|
||||
@@ -270,7 +271,7 @@ needed.
|
||||
|
||||
| Flag | Argument | Purpose |
|
||||
| --------------------- | ------------- | --------------------------------------------------------- |
|
||||
| `--sd` | `sd.img` | Back the SD card (SDMMC1) with this raw FAT32 image. |
|
||||
| `--sd` | `sd.img` | Back the SD card (SDMMC1) with this raw FAT32 image. Without it (and with no `sd.img` in the working directory) the slot is empty. |
|
||||
| `--boot0` | `BOOT0` | eMMC BOOT0 partition file (SDMMC4). |
|
||||
| `--rawnand` | `rawnand.bin` | eMMC GPP partition prefix (auto-detects `.00`, `.01`, …). |
|
||||
| `--prod-keys` | `prod.keys` | Override BIS keys from a Lockpick-style key file. |
|
||||
|
||||
Reference in new issue
Block a user