<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w" -->

---
title: Raspberry Pi won't let you swap the RAM on your SBC...
description: Raspberry Pi 5 owners discovered that after applying the pieeprom-2024-09-23.bin EEPROM update, the board performs a hard RAM capacity check at boot and...
canonical: https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Raspberry Pi won't let you swap the RAM on your SBC because you may use memory of "dubious origin" | daily.dev
og:description: Raspberry Pi 5 owners discovered that after applying the pieeprom-2024-09-23.bin EEPROM update, the board performs a hard RAM capacity check at boot and...
og:url: https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w
og:image: https://api.daily.dev/og/posts/rlZO8h89w.png
og:image:alt: Raspberry Pi won't let you swap the RAM on your SBC because you may use memory of "dubious origin"
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Raspberry Pi won't let you swap the RAM on your SBC because you may use memory of "dubious origin"

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 2 min read · 0 upvotes · 0 comments

## Summary

Raspberry Pi 5 owners discovered that after applying the pieeprom-2024-09-23.bin EEPROM update, the board performs a hard RAM capacity check at boot and refuses to start with Error Code 9 if it detects RAM that doesn't match the factory-specified size. An official Raspberry Pi forum post explains this was a deliberate move to stop resellers from swapping in cheaper or unauthorized memory chips (e.g. replacing a 2GB chip with an 8GB one of "dubious origin") and reselling boards as higher-capacity devices, which had been creating support burdens from unreliable units. The Foundation confirmed even same-size RAM swaps can fail if other device attributes don't match, and that RAM swapping between authorized devices of different sizes is not expected to work.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/raspberry-pi-wont-let-you-swap-the-ram-on-your-sbc-because-you-may-swap-it-with-memory-of-dubious-origin>

## Questions this post answers

### Why does my Raspberry Pi 5 show Error Code 9 and refuse to boot after a firmware update?

Error Code 9 appears because the Raspberry Pi 5's EEPROM firmware, updated via pieeprom-2024-09-23.bin, now performs a hard RAM capacity check at boot and refuses to start if it detects RAM that doesn't match the board's original factory specification. This was implemented deliberately by the Raspberry Pi Foundation to block unauthorized RAM chip swaps.

_Anyone chasing firmware quirks on single-board computers can follow real fixes and workarounds on daily.dev._

### Can I upgrade the RAM on my Raspberry Pi 5 by swapping the memory chip?

No, manually swapping RAM chips on a Raspberry Pi 5 does not work. The Foundation confirmed that even RAM of the same size can fail if it lacks other matching device attributes, and swapping RAM between authorized devices of different sizes is not supported and will trigger a boot failure via Error Code 9.

_Hardware tinkerers weighing SBC upgrade limits can track findings like this on daily.dev._

### Why did Raspberry Pi block manual RAM upgrades on the Pi 5?

Raspberry Pi locked the RAM size to the original factory specification to stop resellers from swapping a low-capacity chip, such as 2GB, for a higher-capacity one of dubious origin, then reselling the board as a larger-memory device. The Foundation cited the resulting support burden from customers experiencing unreliable devices from untested RAM as the reason for the change.

_Developers picking SBCs for projects can weigh hardware trade-offs like this via daily.dev._

## Similar posts on daily.dev

- [Raspberry Pi RAM Restrictions No Big Deal, Frankly](https://daily.dev/posts/raspberry-pi-ram-restrictions-no-big-deal-frankly-734yso3jf) · Hackaday · 0 upvotes · 0 comments
- [New Raspberry Pi 4 models splits RAM across dual chips](https://daily.dev/posts/new-raspberry-pi-4-models-splits-ram-across-dual-chips-kfa6icpro) · omg\! ubuntu\! · 0 upvotes · 0 comments
- [Raspberry Pi owners are missing this one free tweak that changes everything](https://daily.dev/posts/raspberry-pi-owners-are-missing-this-one-free-tweak-that-changes-everything-okdgek8v3) · XDA Developers · 0 upvotes · 0 comments
- [I Think We Should See Other SBCs](https://daily.dev/posts/i-think-we-should-see-other-sbcs-inio3hbku) · Hackaday · 0 upvotes · 0 comments

---

Tags: [#hardware](https://daily.dev/tags/hardware), [#raspberry-pi](https://daily.dev/tags/raspberry-pi), [#firmware](https://daily.dev/tags/firmware)

[View this post on daily.dev](https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Raspberry Pi won't let you swap the RAM on your SBC because you may use memory of \"dubious origin\"","url":"https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w"},"datePublished":"2026-09-21T14:40:14.568Z","dateModified":"2026-09-26T14:19:58.373Z","description":"Raspberry Pi 5 owners discovered that after applying the pieeprom-2024-09-23.bin EEPROM update, the board performs a hard RAM capacity check at boot and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ab793b7f5e8928f17875ddff1fcd6c31?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ab793b7f5e8928f17875ddff1fcd6c31?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"hardware,raspberry-pi,firmware","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"Raspberry Pi won't let you swap the RAM on your SBC because you may use memory of \"dubious origin\""}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/raspberry-pi-won-t-let-you-swap-the-ram-on-your-sbc-because-you-may-use-memory-of-dubious-origin--rlzo8h89w#faq","mainEntity":[{"@type":"Question","name":"Why does my Raspberry Pi 5 show Error Code 9 and refuse to boot after a firmware update?","acceptedAnswer":{"@type":"Answer","text":"Error Code 9 appears because the Raspberry Pi 5's EEPROM firmware, updated via pieeprom-2024-09-23.bin, now performs a hard RAM capacity check at boot and refuses to start if it detects RAM that doesn't match the board's original factory specification. This was implemented deliberately by the Raspberry Pi Foundation to block unauthorized RAM chip swaps. Anyone chasing firmware quirks on single-board computers can follow real fixes and workarounds on daily.dev."}},{"@type":"Question","name":"Can I upgrade the RAM on my Raspberry Pi 5 by swapping the memory chip?","acceptedAnswer":{"@type":"Answer","text":"No, manually swapping RAM chips on a Raspberry Pi 5 does not work. The Foundation confirmed that even RAM of the same size can fail if it lacks other matching device attributes, and swapping RAM between authorized devices of different sizes is not supported and will trigger a boot failure via Error Code 9. Hardware tinkerers weighing SBC upgrade limits can track findings like this on daily.dev."}},{"@type":"Question","name":"Why did Raspberry Pi block manual RAM upgrades on the Pi 5?","acceptedAnswer":{"@type":"Answer","text":"Raspberry Pi locked the RAM size to the original factory specification to stop resellers from swapping a low-capacity chip, such as 2GB, for a higher-capacity one of dubious origin, then reselling the board as a larger-memory device. The Foundation cited the resulting support burden from customers experiencing unreliable devices from untested RAM as the reason for the change. Developers picking SBCs for projects can weigh hardware trade-offs like this via daily.dev."}}]}
```

