[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aA0G74KvymHRU44-@antec>
Date: Sat, 26 Apr 2025 17:16:47 +0100
From: Stafford Horne <shorne@...il.com>
To: Ann Yun <by.ann.yun@...il.com>
Cc: jonas@...thpole.se, stefan.kristiansson@...nalahti.fi, corbet@....net,
linux-openrisc@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] Documentation:openrisc: Add build instructions with
initramfs
On Sat, Apr 26, 2025 at 11:45:44AM -0400, Ann Yun wrote:
> Mention how to include initramfs when building the kernel and
> direct the reader to ramfs-rootfs-initramfs.rst documentation for more
> details
>
> Signed-off-by: Ann Yun <by.ann.yun@...il.com>
> ---
> V1 -> V2: Mention Documentation/filesystems/ramfs-rootfs-initramfs.rst
>
> Documentation/arch/openrisc/openrisc_port.rst | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/arch/openrisc/openrisc_port.rst b/Documentation/arch/openrisc/openrisc_port.rst
> index a8f307a3b499..69aed4069e3b 100644
> --- a/Documentation/arch/openrisc/openrisc_port.rst
> +++ b/Documentation/arch/openrisc/openrisc_port.rst
> @@ -40,6 +40,12 @@ 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"
> +
> +For more information on this, please check Documentation/filesystems/ramfs-rootfs-initramfs.rst.
This is one trailing whitespace on the above line. Can it be removed
-Stafford
> 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