mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
92a09c4746
commit
af69647e99
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
||||
3) Running on FPGA (optional)
|
||||
|
||||
The OpenRISC community typically uses FuseSoC to manage building and programming
|
||||
|
|
Loading…
Add table
Reference in a new issue