SCP Test von VM auf Starterkit mit urandom auf /dev/null
Dieser Test dient zur dauerhaften Belastung der Ethernet Schnittstelle.
Auf dem Starterkit muss OPENSSH mit scp installiert sein.für den Benutzer root
muss ein Passwort festgelegt werden.
Die Menge der zu übertragenden Daten kann durch verändern der Variable count geändert werden
root@mbaxx:dd if=/dev/urandom bs=1M count=15000 | pv -s 15g -p | ssh root@192.168.37.114 "dd of=/dev/null"
Console umlegen inittab
Dazu muss folgende Zeile in der /etc/inittab editiert werden :
Standardmäßig ist die Console angegeben.
console::respawn:/sbin/getty -L 115200 ttyO4 vt100
Zeile auf das Gewünschte Programm entsprechend anpassen.
console::respawn:/home/IEC61850_Server
Framebuffer
Rotation damit das Framebuffer device rotiert werden kann muss die kernel option FRAMEBUFFER_CONSOLE_ROTATION aktiviert werden
→ device drivers
- > graphics support
- > console display driver support
- > framebuffer console support
/sys/class/graphics/fbcon/rotate
0 - normal orientation (0 degree) 1 - clockwise orientation (90 degrees) 2 - upside down orientation (180 degrees) 3 - counterclockwise orientation (270 degrees)
Framebuffer Console
Folgende Zeile in der /etc/inittab eintragen console::respawn:/sbin/getty 115200 tty0
Boot Splash Kernel anpassen
- *.png Datei mit gewünschtem Bild und Auflösung erstellen maximal 224 Farben möglich.
embedded@ubuntu:~sudo apt-get install netpbm
- *.png in *.ppm umwandeln
Beispiel mit logo.png
embedded@ubuntu:~pngtopnm /home/embedded/Desktop/logo.png | ppmquant -fs 223 | pnmtoplainpnm > logo_clut224.ppm
- *.ppm nach …/TQ-BSP-XXX/platform-XXX/build-target/linux.X.X/drivers/video/logo kopieren.
- logo_linux_clut224.ppm nach logo_linux_clut224.ppm.old umbenennen
- *.ppm nach logo_linux_clut224.ppm umbenennen
- danach kernel neu kompilieren mit ptxdist kompilieren
SPI flashen
Voraussetzungen
- QSPI Image
- Modul mit QSPI-Flash
- SD-Card mit aktuellem BSP
- TFTP Server
Flash QSPI
- SD-Card in das Starterkit stecken und Strom anschließen
- Bootvorgang im U-Boot unterbrechen
- Aktuelles QSPI U-Boot file auslesen mit printenv u-boot_qspi
TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.