summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-07-29 15:07:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-07-29 15:07:21 +0200
commitb3ba87c0f6d1f45db09f15c653a5125721842a3e (patch)
treef7ae732dfe154ac141f7a658b7e5686398d24e0d
parent1e725013d78f8bf09df3bb7944d503389463c506 (diff)
nios2: fix bootup when defconfig is used
-rw-r--r--target/linux/patches/6.1.41/nios2.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/6.1.41/nios2.patch b/target/linux/patches/6.1.41/nios2.patch
new file mode 100644
index 000000000..43631971e
--- /dev/null
+++ b/target/linux/patches/6.1.41/nios2.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-6.1.41.orig/arch/nios2/configs/10m50_defconfig linux-6.1.41/arch/nios2/configs/10m50_defconfig
+--- linux-6.1.41.orig/arch/nios2/configs/10m50_defconfig 2023-07-24 18:55:35.000000000 +0200
++++ linux-6.1.41/arch/nios2/configs/10m50_defconfig 2023-07-29 13:12:27.796785539 +0200
+@@ -20,6 +20,8 @@
+ CONFIG_NIOS2_DCACHE_SIZE=0x8000
+ CONFIG_NIOS2_ICACHE_SIZE=0x8000
+ # CONFIG_NIOS2_CMDLINE_IGNORE_DTB is not set
++CONFIG_NIOS2_DTB_SOURCE_BOOL=y
++CONFIG_NIOS2_DTB_SOURCE="10m50_devboard.dts"
+ CONFIG_NET=y
+ CONFIG_PACKET=y
+ CONFIG_UNIX=y