Benutzer-Werkzeuge

Webseiten-Werkzeuge


lx:apx:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
lx:apx:start [11.10.2022 04:15] Andy Haubenschmidlx:apx:start [03.03.2026 20:26] (aktuell) – Serial Konsolen Links hinzugefügt Andy Haubenschmid
Zeile 1: Zeile 1:
-====== PC Engines APX ======+====== PC Engines APX/APU ====== 
 +{{ :lx:apx:apu.jpg?nolink&200|}}
  
-===== Ubuntu 22.auf PC Engines APU Board installieren  =====+Das "Problem" bei den Alix/APU/APX Boards von [[https://pcengines.ch|PCEngines]] ist, dass sie keine Grafikkonsole haben. Bei der Installation muss also darauf geachtet werden, dass die serielle Konsole von Beginn an aktiviert ist.  
 + 
 +===== Linksammlung ===== 
 +==== Links zur Serialconsole ==== 
 + 
 +  * [[https://pcengines.ch/howto.htm#OS_installation|PC-Engines -> OS-Installation]] 
 +  * [[https://teklager.se/en/knowledge-base/installing-debian-over-serial-console-apu-board/|Teklager -> Debian Serial installation]] 
 +  * [[https://wiki.alpinelinux.org/wiki/Enable_Serial_Console_on_Boot|Alpine Linux -> Enable Serial Console]] 
 +  * [[https://support.hpe.com/hpesc/public/docDisplay?docId=a00105236en_us&page=GUID-BA63AAEB-4274-4A99-8C1D-39B6BF87BD16.html&docLocale=en_US|HP Enterpise -> RHEL Configuring GRUB to use a serial console]] 
 + 
 +===== weitere Informationen zum APU von Trick77 ===== 
 +Thanks to Jan from [[https://trick77.com/tips-tricks-for-the-pc-engines-apu/|Trick77]] for the input. 
 + 
 +==== Show network devices as eth0, eth1, eth2 ==== 
 +instead of p4p1, p4p2, p4p3 
 + 
 +Edit /etc/default/grub as follows: 
 +<code> 
 +GRUB_CMDLINE_LINUX_DEFAULT="biosdevname=0" 
 +Update grub configuration 
 +# update-grub 
 +and 
 +# reboot 
 +</code> 
 +Don’t forget to update ''/etc/network/interfaces'' accordingly. 
 + 
 +==== Show GRUB output during boot ==== 
 +Edit /etc/default/grub as follows: 
 +<code> 
 +GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" 
 +GRUB_TERMINAL=serial 
 +GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" 
 +</code> 
 +Update grub configuration 
 +<code> 
 +# update-grub 
 +and 
 +# reboot 
 +</code> 
 + 
 +==== Enable NMI Watchdog ==== 
 + 
 +''# modprobe sp5100_tco && echo "sp5100_tco" >> /etc/modules'' 
 + 
 +==== Enable temperatur sensor ==== 
 +''apt-get install lm-sensors'' 
 + 
 +<code> 
 +# sensors 
 +k10temp-pci-00c3 
 +Adapter: PCI adapter 
 +temp1:        +52.0°C  (high = +70.0°C) 
 +                       (crit = +100.0°C, hyst = +97.0°C) 
 +</code> 
 +==== Enable LEDs and reboot button ==== 
 +Check out the apu-led-button repository on Github. 
 + 
 +==== Use max. cpufreq ==== 
 +Ubuntu will always set the CPU governor to ondemand during boot. 
 + 
 +<code> 
 +# cat /proc/cpuinfo 
 +vendor_id : AuthenticAMD 
 +model name : AMD G-T40E Processor 
 +cpu MHz : 800.000 
 +</code> 
 +For the APU this means the CPU will be run at 800 MHz instead of 1 GHz. If you prefer the CPU to run at full speed at all times: 
 +<code> 
 +# wget -O /usr/local/sbin https://gist.githubusercontent.com/trick77/21cfc65c769609be29e2/raw/076e21c7b844a9eeb67ca4184544ec27d11164f7/gov 
 +Insert into /etc/rc.local just above exit 0 : 
 +</code> 
 + 
 +''/usr/local/sbin/gov performance'' 
 + 
 +Or as an alternative, just disable the Ubuntu ondemand init script from the command line: 
 + 
 +<code> 
 +# update-rc.d ondemand disable 
 +# cat /proc/cpuinfo 
 +vendor_id : AuthenticAMD 
 +model name : AMD G-T40E Processor 
 +cpu MHz : 1000.000 
 +</code> 
 + 
 +==== Use the Beeper :-) ==== 
 +=== Enable beep === 
 +<code> 
 +apt-get install beep 
 +modprobe pcspkr && echo pcspkr >> /etc/modules 
 +</code> 
 +Comment pcspkr in /etc/modprobe.d/blacklist.conf to unblacklist the module. 
 + 
 + 
 +=== Star Wars Imperial March: === 
 +<file sh imperial-march.sh> 
 +#!/bin/sh 
 +beep -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 250 -f 622.26 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 739.98 -D 100 -n -l 25 -f 698.46 -D 100 -n -l 25 -f 659.26 -D 100 -n -l 25 -f 622.26 -D 100 -n -l 50 -f 659.26 -D 400 -n -l 25 -f 415.3 -D 200 -n -l 350 -f 554.36 -D 100 -n -l 250 -f 523.25 -D 100 -n -l 25 -f 493.88 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 25 -f 440 -D 100 -n -l 50 -f 466.16 -D 400 -n -l 25 -f 311.13 -D 200 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 466.16 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 700 -f 587.32 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 392 -D 100 -n -l 25 -f 392 -D 100 -n -l 350 -f 784 -D 100 -n -l 250 -f 739.98 -D 100 -n -l 25 -f 698.46 -D 100 -n -l 25 -f 659.26 -D 100 -n -l 25 -f 622.26 -D 100 -n -l 50 -f 659.26 -D 400 -n -l 25 -f 415.3 -D 200 -n -l 350 -f 554.36 -D 100 -n -l 250 -f 523.25 -D 100 -n -l 25 -f 493.88 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 25 -f 440 -D 100 -n -l 50 -f 466.16 -D 400 -n -l 25 -f 311.13 -D 200 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 300 -f 392.00 -D 150 -n -l 250 -f 311.13 -D 100 -n -l 25 -f 466.16 -D 100 -n -l 700 -f 392 
 +</file> 
 +<file sh imperial-march-short.sh> 
 +#!/bin/bash 
 +beep -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 392 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 350 -f 587.32 -D 100 -n -l 250 -f 622.26 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 350 -f 369.99 -D 100 -n -l 250 -f 311.1 -D 100 -n -l 25 -f 466.2 -D 100 -n -l 700 -f 392 -D 100 
 +</file> 
 + 
 +===== Debian 13 installation =====  
 + 
 +==== Bootstick vorbereiten ===== 
 +Download Debian .iso  
 +mit Rufus das Image auf einen USB Stick kopieren, mit der .iso Methode können die Dateien nachher bearbeitet werden. 
 + 
 +=== SysLinux auf der Serialkonsole === 
 + 
 +===== Ubuntu 22.04.1 LTS auf PC Engines APU Board installieren  =====
 Download Server Image from [[https://ubuntu.com/download/server|Ubuntu]]. Download Server Image from [[https://ubuntu.com/download/server|Ubuntu]].
 use rufus to create a bootable USB Stick use rufus to create a bootable USB Stick
lx/apx/start.1665461733.txt.gz · Zuletzt geändert: von Andy Haubenschmid