Difference between revisions of "Operating System installation"

(getting the Kernel-Sources)
(getting the Kernel-Sources)
Line 43: Line 43:
 
* We have to tweek the UART-Kernel-driver for supporting this baud rate. This sounds like a complicated action, but it isn't really complicated - take a look on this article in the Odroid-Magazine -> [https://magazine.odroid.com/article/odroid-n2-uart-custom-baud-rate-for-midi/ ODROID-N2 UART Custom Baud Rate for MIDI]
 
* We have to tweek the UART-Kernel-driver for supporting this baud rate. This sounds like a complicated action, but it isn't really complicated - take a look on this article in the Odroid-Magazine -> [https://magazine.odroid.com/article/odroid-n2-uart-custom-baud-rate-for-midi/ ODROID-N2 UART Custom Baud Rate for MIDI]
  
=== getting the Kernel-Sources ===
+
=== Cross-Compiling or compiling the Kernel natively (on the Odroid-N2 itself) ===
 +
* You have the possibility to compile the Kernel external (e.g. on your Desktop-PC/Laptop) where you have to install the Cross-Compiler-Toolchain and the other build utilities) or directly on the Odroid itself.
 +
* I am a fan of doing it directly on the Odroid-N2 itself. Therefore I describe this procedure first. 
 +
 
 +
==== getting the Kernel-Sources ====
 
*[https://wiki.odroid.com/odroid-n2/software/building_kernel Odroid-Wiki: The N2-Kernel]
 
*[https://wiki.odroid.com/odroid-n2/software/building_kernel Odroid-Wiki: The N2-Kernel]
  

Revision as of 16:32, 11 June 2020

> Main Page > Piano Expander based on Pianotec and Odroid-N2


Installation of the base-system

Enable Auto-Login

Enabling the On-Screen-Keyboard

  • In applications, where you don't want to use an external keyboard you have the possibility to use an "On-Screen-Keyboard" which could be controlled via the Touch-Screen.

Switch-On the On-Screen-Keyboard on Ubuntu-Mate

  • On Ubuntu-Mate the On-Screen-Keyboard is already installed. You can find it in the ‘Universal Access’ menu. In this menu you find the application "Onboard" -> a click on this menu-point activates the On-Screen-Keyboard.

Adding support for ARM 32-bit code execution

odroid64:$ sudo dpkg --add-architecture armhf

odroid64:$ sudo apt-get update

apt install libc6:armhf

apt install libx11-6:armhf

apt install libfreetype6:armhf

apt install libxext6:armhf

apt install libasound2:armhf

Changing FDT (Flattened Device Tree) to support second UART-Interface for MIDI

Enabling 31250 UART-Baud-Rate for Midi-Usage

  • The baud-rate 31250 which is used for MIDI-trafic is normally NOT supported on standard UART drivers.
  • We have to tweek the UART-Kernel-driver for supporting this baud rate. This sounds like a complicated action, but it isn't really complicated - take a look on this article in the Odroid-Magazine -> ODROID-N2 UART Custom Baud Rate for MIDI

Cross-Compiling or compiling the Kernel natively (on the Odroid-N2 itself)

  • You have the possibility to compile the Kernel external (e.g. on your Desktop-PC/Laptop) where you have to install the Cross-Compiler-Toolchain and the other build utilities) or directly on the Odroid itself.
  • I am a fan of doing it directly on the Odroid-N2 itself. Therefore I describe this procedure first.

getting the Kernel-Sources


> Main Page > Piano Expander based on Pianotec and Odroid-N2