Raspberry Pi 5 4GB shows total RAM as 2GB in Raspberry Pi OS
I have a Raspberry Pi 5 4GB with D8CJG Micron RAM chip that is running the raspberry pi os 64bit version, in the bootloader and in the raspberry pi os it shows the total RAM is only 2GB and when I ran otp_dump command it identified the Raspberry Pi as 2GB model "b04171".
I suspect that the Raspberry pi 5 was originally a 2GB model but it was replaced with a D8CJG Micron RAM chip and sold to me as a 4GB model, but why is it not showing the total RAM as 4GB in the raspberry pi os?
Does anyone know how to make it showing 4GB instead of 2GB?
Note: I am running the Raspberry Pi on a 5V 3A power supply and I tried to replace the SD card with another one and it still shows 2GB.
Edited: My suspicion was true, the Raspberry Pi 5 was originally a 2GB model and it has been replaced with a D8CJG Micron RAM chip and sold to me as 4GB.
After some research I found that Raspberry Pi EEPROM (version 2024/9/23 and above) checks for otp dump and if it was a 2GB model it will lock it into 2GB, even if it has a RAM chip more than 2GB.
Solution: since I can't get a refund or replacement from the seller, I downgrade my EEPROM into old version (2024/9/10) and it recognizes the 4GB RAM.