Giter Site home page Giter Site logo

clockworkpi / devterm Goto Github PK

View Code? Open in Web Editor NEW
370.0 49.0 66.0 104.82 MB

This code repository offers downloads for the latest images of various DevTerm models, as well as kernel patches, keyboard firmware, the source code for screen and printer drivers, hardware schematics, assembly instructions, and essential technical documents.

License: GNU Lesser General Public License v2.1

C++ 4.87% C 88.83% Makefile 2.29% Shell 1.20% Python 1.84% Roff 0.67% TeX 0.31%
kernel patch osimage

devterm's Introduction

DevTerm

DevTerm OS Images

A04

A06

CM3

CM4

R01

After downloading the files, you will need to extract or decompress them. Please keep in mind that MacOS 11.6 or a higher version is required to extract 7z files.

To flash the OS image, you can use the following tools:

  • For Windows and macOS users, Etcher can be used to flash the image.
  • Linux users can employ the "dd" command to flash the image.

To learn how to create an image, please refer to our Wiki.

DevTerm Keyboard Firmware

DevTerm keyboard firmware flash program available. You can download it from this link: DevTerm Keyboard Firmware Flash Program.

Here's how you can flash the firmware on DevTerm(A06 or CM4) or a PC running Ubuntu 22.04:

  1. Download the devterm_keyboard_flash.tar.gz file.
  2. Extract the contents of the archive: tar zxvf devterm_keyboard_flash.tar.gz.
  3. Install the required package using the following command: sudo apt install -y dfu-util.
  4. Navigate to the extracted directory: cd devterm_keyboard_flash.
  5. Execute the flash script with root privileges: sudo ./flash.sh.
  6. If everything goes well, you will see a progress bar indicating the flashing process.
  7. If any issues occur or the keyboard loses control (which is unlikely), simply reboot DevTerm to resolve it.
  8. Rest assured that this flash program will not brick your keyboard.

Thermal Printer Testing Commands

  • How to print "Hello World".
    echo "hello world\n\n\n\n\n\n\n\n\n\n" > /tmp/DEVTERM_PRINTER_IN

  • How to print a self test page.
    echo -en "\x12\x54" > /tmp/DEVTERM_PRINTER_IN

  • How to print a text file.
    curl -L https://github.com/clockworkpi/DevTerm/raw/main/README.md | tee > /tmp/DEVTERM_PRINTER_IN

  • Learning more...

Assembly guidelines

Schematic

Gearbox

A04

Gearbox is a script tool used to adjust the A04 CPU frequency.
you can get it by running

sudo apt update 
sudo apt install -y devterm-gearbox-a04

you can run devterm-a04-gearbox to see the current core status.


Current Status:
+-----------------------------------+
|            Cortex-A53             |
+--------+--------+--------+--------+
| CPU 0  | CPU 1  | CPU 2  | CPU 3  |
+--------+--------+--------+--------+
|1320Mhz |1320Mhz |  OFF   |  OFF   |
+--------+--------+--------+--------+
CPU Governor: ondemand

Run sudo devterm-a04-gearbox -s [GEAR] to set gear, GEAR would be 1,2,3,4,5

There are 5 gears in gearbox

               1 for simple console tasks with long battery life.
               2 for simple writing tasks with long battery life.
               3 for most 2D games and emulators.
               4 for playing videos and 3D games,browsing websites.
               5 for performance-first tasks.

A06

Gearbox is a script tool used to adjust the big.LITTLE architecture of the A06 chip.
you can get it by running

sudo apt update 
sudo apt install -y devterm-gearbox-a06

In latest os image of A06, default Gearbox is set to use 4 LITTLE core with 816Mhz,GPU at 400Mhz

you can run a06-gearbox to see the current core status.

Current Status:
+-----------------------------------+-----------------+-----------+
|            Cortex-A53             |   Cortex-A72    | Mali-T860 |
+--------+--------+--------+--------+--------+--------+-----------+
| CPU 0  | CPU 1  | CPU 2  | CPU 3  | CPU 4  | CPU 5  |    GPU    |
+--------+--------+--------+--------+--------+--------+-----------+
| 816Mhz | 816Mhz | 816Mhz | 816Mhz |  OFF   |  OFF   |   400MHz  |
+--------+--------+--------+--------+--------+--------+-----------+
CPU Governor: schedutil    GPU Governor: simple_ondemand

Run sudo a06-gearbox -s [GEAR] to set gear,GEAR would be 1,2,3,4,5,6

There are 6 gears in gearbox

               1 for simple writing tasks with long battery life.
               2 for browsing most websites with long battery life.
               3 for most 2D games and emulators.
               4 for playing videos and 3D games.
               5 for performance-first tasks.
               6 for max performance, max power (usage).

Community

Please visit our Github Wiki and https://forum.clockworkpi.com for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.