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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
K3CONF
======
A Powerful Diagnostic Tool for Texas Instruments K3 based Processors
INTRODUCTION:
-------------
K3CONF is a Linux user-space standalone application designed to provide a
quick'n easy way to dynamically diagnose Texas Instruments' K3 architecture
based processors. K3CONF is intended to provide similar experience to that of
OMAPCONF that runs on legacy TI platforms.
**WARNING**: This is work in progress! Don't expect things to be complete in any
dimension. Use at your own risk. And keep the reset button in reach.
SUPPORT:
--------
K3CONF currently supports AM654, J721E, J7200, AM64x, AM62x, J721S2, J784S4,
J722S, AM62Ax and AM62Px devices. Legacy OMAP and DRA7 platforms are not supported.
This tool makes usage of /dev/mem. If your kernel doesn't have CONFIG_DEVMEM,
or enables CONFIG_DEVMEM_STRICT_IO, it will not work well.
Build Instructions:
-------------------
* Install build dependencies (Debian based example):
# sudo apt install build-essential cmake
* If cross-compiling, install and set your cross-compiler:
# sudo apt install gcc-aarch64-linux-gnu
# export CC=aarch64-linux-gnu-gcc
* To build the output binary file run the following commands:
# mkdir build
# cd build
# cmake ..
# make
* Copy the output binary `k3conf` to your Filesystem. That's it!!
Build Instructions for static linked binary:
--------------------------------------------
* The default k3conf binary generated is with shared library, alternatively to
build a static linked binary replace the `cmake` command in build
instructions with below command.
# cmake .. -Dstatic_exe=ON
Help:
-----
* Type `./k3conf --help` to get complete list of available commands and options.
Note that in case of incorrect command/option, help will also be displayed.
|