[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250425201018.12756-1-by.ann.yun@gmail.com>
Date: Fri, 25 Apr 2025 16:10:18 -0400
From: Ann Yun <by.ann.yun@...il.com>
To: jonas@...thpole.se,
stefan.kristiansson@...nalahti.fi,
shorne@...il.com
Cc: corbet@....net,
linux-openrisc@...r.kernel.org,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org,
Ann Yun <by.ann.yun@...il.com>
Subject: [PATCH] Documentation:openrisc: Add build instructions with initramfs
Mention how to include initramfs when building the kernel
Signed-off-by: Ann Yun <by.ann.yun@...il.com>
---
Documentation/arch/openrisc/openrisc_port.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/arch/openrisc/openrisc_port.rst b/Documentation/arch/openrisc/openrisc_port.rst
index a8f307a3b499..4ab28879d7ed 100644
--- a/Documentation/arch/openrisc/openrisc_port.rst
+++ b/Documentation/arch/openrisc/openrisc_port.rst
@@ -40,6 +40,10 @@ Build the Linux kernel as usual::
make ARCH=openrisc CROSS_COMPILE="or1k-linux-" defconfig
make ARCH=openrisc CROSS_COMPILE="or1k-linux-"
+If you want to embed initramfs in the kernel, also pass ``CONFIG_INITRAMFS_SOURCE``. For example::
+
+ make ARCH=openrisc CROSS_COMPILE="or1k-linux-" CONFIG_INITRAMFS_SOURCE="path/to/rootfs path/to/devnodes"
+
3) Running on FPGA (optional)
The OpenRISC community typically uses FuseSoC to manage building and programming
--
2.37.2
Powered by blists - more mailing lists