Bootloader, Kernel, Rootfs für GfA Display

Reinhard Russinger a3257ac14a Build 826 há 3 anos atrás
board a3257ac14a Build 826 há 3 anos atrás
configs 98c271cdfb wrk há 3 anos atrás
package a3257ac14a Build 826 há 3 anos atrás
patches ff54f64f2a all libraries, first test há 3 anos atrás
.gitignore 3fd0e9c1a7 wrk gfa-k44104-qt-57 há 7 anos atrás
BRMakeHASH.sh 150c4307f7 hash for qt5.7.0 modules, legal-info fixes há 8 anos atrás
Config.in ad57ed86ce gfa tools from source há 3 anos atrás
Make-bb-kernel_noRT.sh ea889819d2 wrk há 3 anos atrás
Readme.md 381d25ddc0 di-soric HMI V016 opt aus exclude bei Update ! há 7 anos atrás
build-gnupru.sh 88e1658139 WRK cape, DOES NOT COMPILE há 4 anos atrás
external.desc e7cb7b603a start há 8 anos atrás
external.mk 5da7ba6b49 wt c++ webapi added on externale GfA tree há 8 anos atrás

Readme.md

Display001 :

GfA HMI System

  • Displays 4,3 7 und 10 Zoll
  • 2x RS485
  • Ethernet 10/100
  • USB 2.0 Host
  • USB Device
  • MicroSD Slot
  • Kapzitives Multitouch

Optional

  • Gemalto PH8 GSM/GPRS Modem mit SIM Kartenslot

Rootfs / Kernel / Apps

Erstellung mit Buildroot, Bootloader "Das U-Boot"

Erstellen des Rootfs, Bootloader und Kernel

  1. Erstellen eines Arbeitsverzeichnisses z.B

    mkdir Display001WRK
    
  2. Wechseln in das Verzeichnis

    cd Display001WRK
    
  3. Clone des Script und Konfigurationsverzeichnisses

    git clone https://gogs.reru.org/GfA/Display001GfA.git GfA
    

    Bitte in Verzeichnis GfA clonen !!!

  4. Verzeichnis für Toolchain erstellen

    sudo mkdir /opt/GfA
    sudo chmod a+rw /opt/GfA
    
  5. In Verzeichnis wechseln

    cd GfA
    
  6. Script Aufrufen

    ./Make-bb-kernel_Qt5.6.2.sh   ... für Kernel 4.4 und Qt 5.6.2 (LTS)
    

    Damit wird buildroot gecloned und der richtige commit eingestellt, Patches eingespielt und Hilfsscripte kopiert.

Buildroot ist nun Konfiguriert,

cd ../buildroot
make

sollte das komplette System erstellen

Zusatzscripte

MakeIMAGE.sh

Erstellt ein komplettes Image für SD Karte mit Bootloader Linuxkernel und Rootfilesystem aus den buildroot Ergebnissen.

Hierfür mas das paket kpartx installiert sein und das script muss mit sudo aufgerufen werden. im Verzeichnis buildroot

sudo ./MakeIMAGE

erstellt eine Datei ../Display001Buildxxx-img und ../Display001_buildxxx-img.zip Diese Datei kann direkt mit dd auf eine SD Karte kopiert werden und enthält dann zwei Partitionen (boot und rootfs)

sudo dd if=../Display001_build315-img of=/dev/sdb bs=16M

MakeRootfsUpdate.sh

erstellt eine Datei ../UpdateDisplay001-xxx.sh

./MakeRootfsUpdate.sh

Dieses Script mit integriertem tarball, kann für Updates auf dem Zielsystem verwendet werden.