summaryrefslogtreecommitdiffstats
path: root/src/README.txt
blob: 5c8f514cad9c59b5e39adae01a8f11f9128512e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# On Chip Controller (OCC)

#=======================
# I. OBTAIN THE SOURCE
#=======================

To obtain the source code, you must use Git:

git clone https://github.com/open-power/occ.git

#=============================
# II. BUILD THE BINARY IMAGE
#=============================

1. Obtain a current version of the GNU powerpc cross compiler

2. Goto the src/ directory of the Git repository

3. Build the binary files: make all

4. Combine the binaries: make combineImage
NOTE: This creates the OCC binary: image.bin

5. Create the string file for tracing: make tracehash
NOTE: This creates the debug trace hash file: occStringFile

6. Repackage the PNOR to contain modified OCC image:
op-build occ-rebuild openpower-pnor-rebuild

#=====================
# III. DOCUMENTATION
#=====================

Documentation can be found in the docs project of the open-power repository.
https://github.com/open-power/docs/tree/master/occ

#==============
# IV. LICENSE
#==============

See the LICENSE file.
OpenPOWER on IntegriCloud