diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-06-01 18:56:34 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-06-01 18:56:34 +0300 |
| commit | 82dad698061c2db166fdcf92f549d34ba038e829 (patch) | |
| tree | b2fb570cb42ebdf6d100307af17ef248e20d89ed /Documentation/arch | |
| parent | f563ba4ac68a4dfdfb37baa24ff1a4f917e9ffe7 (diff) | |
| parent | f698ee1f40030118e3ae1af1a02fa76f79452b5c (diff) | |
| download | linux-82dad698061c2db166fdcf92f549d34ba038e829.tar.xz | |
Merge tag 'for-linus' of https://github.com/openrisc/linux
Pull OpenRISC updates from Stafford Horne:
"Just a few documentation updates from the community:
- Device tree documentation conversion from txt to yaml
- Documentation addition to help users getting started with initramfs
on OpenRISC
* tag 'for-linus' of https://github.com/openrisc/linux:
dt-bindings: interrupt-controller: Convert openrisc,ompic to DT schema
dt-bindings: interrupt-controller: Convert opencores,or1k-pic to DT schema
Documentation:openrisc: Add build instructions with initramfs
Diffstat (limited to 'Documentation/arch')
| -rw-r--r-- | Documentation/arch/openrisc/openrisc_port.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/arch/openrisc/openrisc_port.rst b/Documentation/arch/openrisc/openrisc_port.rst index a8f307a3b499..60b0a9e51d70 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. + 3) Running on FPGA (optional) The OpenRISC community typically uses FuseSoC to manage building and programming |
