Procházet zdrojové kódy

or1k: use 256 MB RAM by default

Waldemar Brodkorb před 6 měsíci
rodič
revize
b7f6f9c23c

+ 12 - 0
target/linux/patches/6.1.82/or1k-more-ram.patch

@@ -0,0 +1,12 @@
+diff -Nur linux-6.1.82.orig/arch/openrisc/boot/dts/or1ksim.dts linux-6.1.82/arch/openrisc/boot/dts/or1ksim.dts
+--- linux-6.1.82.orig/arch/openrisc/boot/dts/or1ksim.dts	2024-03-15 19:27:50.000000000 +0100
++++ linux-6.1.82/arch/openrisc/boot/dts/or1ksim.dts	2024-04-14 16:37:35.139984380 +0200
+@@ -17,7 +17,7 @@
+ 
+ 	memory@0 {
+ 		device_type = "memory";
+-		reg = <0x00000000 0x02000000>;
++		reg = <0x00000000 0x08000000>;
+ 	};
+ 
+ 	cpus {

+ 1 - 1
target/or1k/Makefile

@@ -7,7 +7,7 @@ include $(ADK_TOPDIR)/mk/image.mk
 
 KERNEL:=$(LINUX_DIR)/vmlinux
 OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
-QEMU_ARGS:=-nographic
+QEMU_ARGS:=-m 256 -nographic
 
 # target helper text
 ifeq ($(ADK_TARGET_FS),initramfs)