Ticket #611 (Fixed)Fri Aug 04 16:34:06 UTC 2023
Large SD cards not seen on CM4 Lite
Reported by: | Chris Hall (132) | Severity: | Critical |
Part: | Release: | ||
Milestone: | Status | Fixed |
Details by Chris Hall (132):
Some 32GB cards are SDHC and some are SDXC: below this size are SDHC and above this size are SDXC.
SDXC cards do not seem to work on CM4 Lite since this commit: https://gitlab.riscosopen.org/RiscOS/Sources/HW… that was ‘Back out part-implemented DDR support for eMMC devices’. This got eMMc working on CM4 but an SD card that works on roms prior to this change stopped working and gave a ‘drive empty’ error.
Changelog:
Modified by RISCOSBits (3000) Mon, October 30 2023 - 07:58:09 GMT
Further investigations suggest that later ROMs work reliably with one certain brand and model of SD card – a SanDisk EDGE card (as largely used by official NOOBS and Raspberry Pi OS). This has been tested with 32GB and 128GB cards.
Modified by RISCOSBits (3000) Thu, December 07 2023 - 18:43:56 GMT
- Severity changed from Major to Critical
Upon further investiation, it looks like only a subset of the SanDisk EDGE cards work with newer ROMs. Other SanDisk EDGE cards seem to work up to a point, will boot the OS, run partway through !Boot and then report multiple disc errors (31/34 seem most common). I assume this is a controller/chip difference with different batches of card. There is no way to visually tell which ones work and which ones won’, until booted from.
This leaves the state of Lite Compute Module 4s in an almost unusable state with Nightly Builds.
Modified by Chris Hall (132) Thu, February 29 2024 - 16:22:55 GMT
Latest versions of start.elf now allow discrimination between Lite and non-Lite CM4 models by returning the extended revision code in the GET-BOARD_REVISION mailbox property. This should help to get this issue fixed.
Modified by Sprow (202) Thu, March 21 2024 - 14:59:59 GMT
- Status changed from Open to Fixed
Fixed with HAL_BCM2835-1_04, and you also need Pi boot firmware from 29-Feb-2024 or later in order to get the eMMC detection right.