From b7f6f9c23c803fbaee096a88f35249c75291c764 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 14 Apr 2024 18:10:35 +0200 Subject: or1k: use 256 MB RAM by default --- target/linux/patches/6.1.82/or1k-more-ram.patch | 12 ++++++++++++ target/or1k/Makefile | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 target/linux/patches/6.1.82/or1k-more-ram.patch diff --git a/target/linux/patches/6.1.82/or1k-more-ram.patch b/target/linux/patches/6.1.82/or1k-more-ram.patch new file mode 100644 index 000000000..6397f8445 --- /dev/null +++ b/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 { diff --git a/target/or1k/Makefile b/target/or1k/Makefile index 030c4efe6..b9273c6f8 100644 --- a/target/or1k/Makefile +++ b/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) -- cgit v1.2.3