Bootloader, Kernel, Rootfs für GfA Display

Reinhard Russinger 823c0fb03c BUILD-706 il y a 3 mois
board 823c0fb03c BUILD-706 il y a 3 mois
configs df3993084b 706rc2 il y a 4 mois
package d7dee6ffe9 i2c SDA hung handling il y a 5 mois
patches f5c5d65228 V706_rc4 il y a 3 mois
.gitignore 3fd0e9c1a7 wrk gfa-k44104-qt-57 il y a 7 ans
BRMakeHASH.sh 150c4307f7 hash for qt5.7.0 modules, legal-info fixes il y a 8 ans
Config.in befaba1edb qtplugins deploypath patches il y a 3 ans
Make-bb-kernel_noRT_Qt5.7.sh 1e79904163 wrk il y a 5 ans
Readme.md 381d25ddc0 di-soric HMI V016 opt aus exclude bei Update ! il y a 7 ans
build-gnupru.sh 88e1658139 WRK cape, DOES NOT COMPILE il y a 4 ans
build_kernel.sh.patch ee5a82aa13 Erster Versuch mit Kernel aus Robert C Nelsons BBB Repositories il y a 8 ans
build_kernel_44104rt.sh.patch 5768844d8c linux to 4.4.104 rt-r21 il y a 7 ans
external.desc e7cb7b603a start il y a 8 ans
external.mk 5da7ba6b49 wt c++ webapi added on externale GfA tree il y a 8 ans

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.