-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Burkhardt
committed
Feb 15, 2018
0 parents
commit 3854fd4
Showing
7 changed files
with
8,844 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
To compile this you will need ncurses-dev installed. | ||
|
||
As well making this fit on the screen requires using a small font called miniwi-8. It's included here. | ||
Font Origin: https://github.com/josuah/miniwi | ||
|
||
To build simply type "make" with the repo. | ||
|
||
cloudshell-nmon: This script will set the small font and get the app running on /dev/tty8 (unused console) | ||
|
||
Manual install you will want to copy the font file (miniwi-8.psf.gz) into /usr/share/consolefonts | ||
|
||
Of course this all assumes you have the Cloudshell LCD working via it's module: fb_ili9340 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
# hardkernel CloudShell Screen update /w NMON | ||
# | ||
# requires the following packages: | ||
# font | ||
# curses | ||
############## Configuration | ||
|
||
# Change LCD to TTY8 | ||
chvt 8 | ||
|
||
# change terminal | ||
export TERM=linux | ||
|
||
# Disable LCD Slepp mode | ||
echo -e '\033[9;0]' > /dev/tty8 | ||
|
||
# console font to very small | ||
setfont miniwi-8 -C /dev/tty8 | ||
|
||
# assign the script to cpu0 | ||
PID=$$ | ||
taskset -cp 1 $PID | ||
|
||
# Set default screen options for NMON | ||
export NMON=xnfcD | ||
|
||
/bin/nmon-xu4 >/dev/tty8 2>&1 < /dev/tty8 |
Binary file not shown.
Oops, something went wrong.