Skip to content

Commit 32fc3cd

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: openrisc: convert to ReST and add to documentation body
Manually convert the two openRisc documents to ReST, adding them to the Linux documentation body. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Acked-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent e77e918 commit 32fc3cd

4 files changed

Lines changed: 43 additions & 10 deletions

File tree

‎Documentation/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ implementation.
147147
ia64/index
148148
m68k/index
149149
powerpc/index
150+
openrisc/index
150151
parisc/index
151152
riscv/index
152153
s390/index

‎Documentation/openrisc/index.rst‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
=====================
4+
OpenRISC Architecture
5+
=====================
6+
7+
.. toctree::
8+
:maxdepth: 2
9+
10+
openrisc_port
11+
todo
12+
13+
.. only:: subproject and html
14+
15+
Indices
16+
=======
17+
18+
* :ref:`genindex`
Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
==============
12
OpenRISC Linux
23
==============
34

@@ -6,8 +7,10 @@ target architecture, specifically, is the 32-bit OpenRISC 1000 family (or1k).
67

78
For information about OpenRISC processors and ongoing development:
89

10+
======= =============================
911
website http://openrisc.io
1012
email openrisc@lists.librecores.org
13+
======= =============================
1114

1215
---------------------------------------------------------------------
1316

@@ -24,13 +27,15 @@ Toolchain binaries can be obtained from openrisc.io or our github releases page.
2427
Instructions for building the different toolchains can be found on openrisc.io
2528
or Stafford's toolchain build and release scripts.
2629

30+
========== =================================================
2731
binaries https://github.com/openrisc/or1k-gcc/releases
2832
toolchains https://openrisc.io/software
2933
building https://github.com/stffrdhrn/or1k-toolchain-build
34+
========== =================================================
3035

3136
2) Building
3237

33-
Build the Linux kernel as usual
38+
Build the Linux kernel as usual::
3439

3540
make ARCH=openrisc defconfig
3641
make ARCH=openrisc
@@ -43,6 +48,8 @@ development board with the OpenRISC SoC. During the build FPGA RTL is code
4348
downloaded from the FuseSoC IP cores repository and built using the FPGA vendor
4449
tools. Binaries are loaded onto the board with openocd.
4550

51+
::
52+
4653
git clone https://github.com/olofk/fusesoc
4754
cd fusesoc
4855
sudo pip install -e .
@@ -65,7 +72,9 @@ platform. Please follow the OpenRISC instructions on the QEMU website to get
6572
Linux running on QEMU. You can build QEMU yourself, but your Linux distribution
6673
likely provides binary packages to support OpenRISC.
6774

75+
============= ======================================================
6876
qemu openrisc https://wiki.qemu.org/Documentation/Platforms/OpenRISC
77+
============= ======================================================
6978

7079
---------------------------------------------------------------------
7180

@@ -75,36 +84,38 @@ Terminology
7584
In the code, the following particles are used on symbols to limit the scope
7685
to more or less specific processor implementations:
7786

87+
========= =======================================
7888
openrisc: the OpenRISC class of processors
7989
or1k: the OpenRISC 1000 family of processors
8090
or1200: the OpenRISC 1200 processor
91+
========= =======================================
8192

8293
---------------------------------------------------------------------
8394

8495
History
8596
========
8697

87-
18. 11. 2003 Matjaz Breskvar (phoenix@bsemi.com)
98+
18-11-2003 Matjaz Breskvar (phoenix@bsemi.com)
8899
initial port of linux to OpenRISC/or32 architecture.
89100
all the core stuff is implemented and seams usable.
90101

91-
08. 12. 2003 Matjaz Breskvar (phoenix@bsemi.com)
102+
08-12-2003 Matjaz Breskvar (phoenix@bsemi.com)
92103
complete change of TLB miss handling.
93104
rewrite of exceptions handling.
94105
fully functional sash-3.6 in default initrd.
95106
a much improved version with changes all around.
96107

97-
10. 04. 2004 Matjaz Breskvar (phoenix@bsemi.com)
108+
10-04-2004 Matjaz Breskvar (phoenix@bsemi.com)
98109
alot of bugfixes all over.
99110
ethernet support, functional http and telnet servers.
100111
running many standard linux apps.
101112

102-
26. 06. 2004 Matjaz Breskvar (phoenix@bsemi.com)
113+
26-06-2004 Matjaz Breskvar (phoenix@bsemi.com)
103114
port to 2.6.x
104115

105-
30. 11. 2004 Matjaz Breskvar (phoenix@bsemi.com)
116+
30-11-2004 Matjaz Breskvar (phoenix@bsemi.com)
106117
lots of bugfixes and enhancments.
107118
added opencores framebuffer driver.
108119

109-
09. 10. 2010 Jonas Bonn (jonas@southpole.se)
120+
09-10-2010 Jonas Bonn (jonas@southpole.se)
110121
major rewrite to bring up to par with upstream Linux 2.6.36
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1+
====
2+
TODO
3+
====
4+
15
The OpenRISC Linux port is fully functional and has been tracking upstream
26
since 2.6.35. There are, however, remaining items to be completed within
37
the coming months. Here's a list of known-to-be-less-than-stellar items
48
that are due for investigation shortly, i.e. our TODO list:
59

6-
-- Implement the rest of the DMA API... dma_map_sg, etc.
10+
- Implement the rest of the DMA API... dma_map_sg, etc.
711

8-
-- Finish the renaming cleanup... there are references to or32 in the code
12+
- Finish the renaming cleanup... there are references to or32 in the code
913
which was an older name for the architecture. The name we've settled on is
1014
or1k and this change is slowly trickling through the stack. For the time
1115
being, or32 is equivalent to or1k.
12-

0 commit comments

Comments
 (0)