Skip to contentSkip to conversation

ARM: dts: NSP: Fix amount of RAM on BCM958625HR

PATCH In review Florian Fainelli 2 participants 3 messages Feb 27, 2018 – Feb 28, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: NSP: Fix amount of RAM on BCM958625HR

Jon attempted to fix the amount of RAM on the BCM958625HR in commit c53beb47f621 ("ARM: dts: NSP: Correct RAM amount for BCM958625HR board") but it seems like we tripped over some poorly documented schematics.

The top-level page of the schematics says the board has 2GB, but when you end-up scrolling to page 6, you see two chips of 4GiB (512MB) but what the bootloader really initializes only 512MB, any attempt to use more than that results in data aborts. Fix this again back to 512MB.

Fixes c53beb47f621 ("ARM: dts: NSP: Correct RAM amount for BCM958625HR board")
---
 arch/arm/boot/dts/bcm958625hr.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm958625hr.dts +1 -1
index 6a44b8021702..f0e2008f7490 100644
@@ -49,7 +49,7 @@
 
 	memory {
 		device_type = "memory";
-		reg = <0x60000000 0x80000000>;
+		reg = <0x60000000 0x20000000>;
 	};
 
 	gpio-restart {
Signature · 1 line
2.14.1
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Florian Fainelli

Jon attempted to fix the amount of RAM on the BCM958625HR in commit c53beb47f621 ("ARM: dts: NSP: Correct RAM amount for BCM958625HR board") but it seems like we tripped over some poorly documented schematics.

The top-level page of the schematics says the board has 2GB, but when you end-up scrolling to page 6, you see two chips of 4GiB (512MB) but what the bootloader really initializes only 512MB, any attempt to use more than that results in data aborts. Fix this again back to 512MB.

Fixes c53beb47f621 ("ARM: dts: NSP: Correct RAM amount for BCM958625HR board")
Quoted 20 lines
---
 arch/arm/boot/dts/bcm958625hr.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm958625hr.dts +1 -2
index 6a44b8021702..f0e2008f7490 100644
@@ -49,7 +49,7 @@
 
        memory {
                device_type = "memory";
-               reg = <0x60000000 0x80000000>;
+               reg = <0x60000000 0x20000000>;
        };
 
        gpio-restart {
--

2.14.1

author Applied
#2 lore raw
Quoted 10 lines · Jon Mason
Quoted 9 lines · Florian Fainelli

Jon attempted to fix the amount of RAM on the BCM958625HR in commit c53beb47f621 ("ARM: dts: NSP: Correct RAM amount for BCM958625HR board") but it seems like we tripped over some poorly documented schematics.

The top-level page of the schematics says the board has 2GB, but when you end-up scrolling to page 6, you see two chips of 4GiB (512MB) but what the bootloader really initializes only 512MB, any attempt to use more than that results in data aborts. Fix this again back to 512MB.

Quoted 4 lines
Quoted 2 lines
Fixes c53beb47f621 ("ARM: dts: NSP: Correct RAM amount for BCM958625HR board")

Applied to devicetree/fixes

Signature · 1 line
Florian