Raspberry Pi users are facing difficulties when trying to update the RAM of the devices because the boards now block this procedure. Even when users replace the component following all necessary technical procedures, they are confronted with an error message that prevents the board from functioning.
Although this block is not new, the topic recently gained prominence after being discussed on the Reddit platform. A thread author reported that when replacing the RAM chip of a Raspberry Pi 5, they received the error notification: “BOOT ERROR: code 9 – ‘SDRAM mismatch’”.
Previously, in June of this year, another user shared a similar situation on the Raspberry Pi forum, while trying to increase the memory from 2 GB to 4 GB in a Compute Module 5. In this case, an engineer from the organization itself clarified the reason for this failure.
According to the website It’s Foss, the limitation on swapping the RAM module in Raspberry Pi devices has been active since the end of 2024, with the release of firmware version 2024-09-23-x and its subsequent updates. This firmware performs a memory check during the board's boot-up. If the system detects that the installed RAM does not match the equipment's original module, the error message is displayed.
Phil Elwell, known as PhilE, a Raspberry Pi engineer, detailed that this restriction was introduced with the goal of preventing scammers from acquiring models with less RAM, performing an upgrade using modules of dubious origin, and subsequently selling these devices as if they were original units with higher memory capacity.
PhilE exemplified the risk, citing the case of someone who buys a Raspberry Pi with 2 GB of RAM, replaces the component, and resells the product claiming it is an original 8 GB model. He explained that this poses a risk to the consumer, since the board has not been tested by the company, and imposes a potential support cost due to complaints about unreliable equipment. For this reason, the company eliminated the commercial incentive by blocking the devices so they only function with the original RAM size.
Considering that the price increase of many Raspberry Pi boards occurred due to RAM scarcity, the justification presented by Raspberry Pi has merit. However, reports show that there are technically knowledgeable users who acquire boards with specific RAM capacity and perform upgrades themselves, seeking better performance in applications or for other legitimate reasons.
These users do not intend to cause harm to third parties, which makes their frustration with the limitation understandable. Furthermore, PhilE informed that the replacement can be prevented even if the new module has the same capacity as the previous one. Some people are bypassing the problem by installing an older firmware that does not contain the block, such as version 2024-09-10-x or earlier.

