Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation:openrisc: Add build instructions with initramfs

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@gmail.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>

authored by

Ann Yun and committed by
Stafford Horne
af69647e 92a09c47

+6
+6
Documentation/arch/openrisc/openrisc_port.rst
··· 40 40 make ARCH=openrisc CROSS_COMPILE="or1k-linux-" defconfig 41 41 make ARCH=openrisc CROSS_COMPILE="or1k-linux-" 42 42 43 + If you want to embed initramfs in the kernel, also pass ``CONFIG_INITRAMFS_SOURCE``. For example:: 44 + 45 + make ARCH=openrisc CROSS_COMPILE="or1k-linux-" CONFIG_INITRAMFS_SOURCE="path/to/rootfs path/to/devnodes" 46 + 47 + For more information on this, please check Documentation/filesystems/ramfs-rootfs-initramfs.rst. 48 + 43 49 3) Running on FPGA (optional) 44 50 45 51 The OpenRISC community typically uses FuseSoC to manage building and programming