Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

increase memory on VEXPRESS_A15?



Hello.
I am running NetBSD 8.1 release on qemu on a FreeBSD64 machine..
I change some in the dts/dtb file in order to define 4 cpu and more
memory. I need these to compile large programs in the NetBSD RPI-armv7
platform. running in the RPI chip is very slow besides RPI3 have only
1GB of memory.
The 4 cpu is running fine, the problem is with memory that even if qemu
defines 4gb of memory the VEXPRESS_A15 kernel only recognizes 2GB...
Is there a way to make the NetBSD arm kernel recognize more than 2GB??
the changes are...
=======================================================================
/cvsroot/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/vexpress-v2p-
ca15-tc1.dts,v
retrieving revision 1.1.1.1.4.2
diff -u -r1.1.1.1.4.2 vexpress-v2p-ca15-tc1.dts
--- vexpress-v2p-ca15-tc1.dts	18 Jul 2017 16:08:49 -0000	1.1.1.1
.4.2
+++ vexpress-v2p-ca15-tc1.dts	26 Jul 2019 13:08:56 -0000
@@ -44,11 +44,21 @@
 			compatible = "arm,cortex-a15";
 			reg = <1>;
 		};
+		cpu@2 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a15";
+			reg = <2>;
+		};
+		cpu@3 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a15";
+			reg = <3>;
+		};
 	};
 
 	memory@80000000 {
 		device_type = "memory";
-		reg = <0 0x80000000 0 0x40000000>;
+		reg = <0 0x80000000>;
 	};
 
 	hdlcd@2b000000 {




Home | Main Index | Thread Index | Old Index