Bootloader, Kernel, Rootfs für GfA Display

Reinhard Russinger d287ae41f6 BUILD 386-2 fixes hace 4 años
board d287ae41f6 BUILD 386-2 fixes hace 4 años
configs 1d272e857a Build 386-X für neues 4.3" Display speziell für VISADES hace 4 años
package 50b535a049 BUILD 380 hace 7 años
.gitignore 0f2c7ebfb5 vorbereitung di-soric branch hace 7 años
BRMakeHASH.sh 150c4307f7 hash for qt5.7.0 modules, legal-info fixes hace 8 años
Config.in 12c69cb27a libraries plugins aktuelles 3.12 image mit qt 5.7 hace 7 años
GfA-buildroot-CrossCompile_export_CC_and_CXX.patch c4e666ec50 gfalibs with debug and release version hace 7 años
GfA-buildroot-LegalInfo_zip_in_separate_script.patch 99cb48260f Separate script for legalinfo zip creation hace 8 años
GfA-buildroot-add-plugins-libraries-change-crosscompile-command.patch 12c69cb27a libraries plugins aktuelles 3.12 image mit qt 5.7 hace 7 años
GfA-buildroot-changes.patch d2ba7f0258 Build 338: hace 8 años
GfA-buildroot-libmodbus-GfA.patch b404b5ef9b BUILD 386, added libmodbus with GfA patches hace 7 años
GfA-buildroot_MapImage_build_path.patch 2251628762 S80ti-gfx changed, MapImage changed, small fixes hace 8 años
GfA-buildroot_SetRightDisplayResolution_OnUpdate.patch 0f2c7ebfb5 vorbereitung di-soric branch hace 7 años
GfA-buildroot_SetRightDisplayResolution_OnUpdate_add5_7inch_display.patch 700133dc69 mit plugins, freevirtualkeyboard, applauncher, myswl hace 7 años
GfA-buildroot_VISADES_386_2.patch d49b95f26e BUILD 386-2 hace 4 años
GfA-buildroot_VISADES_386_x.patch 1d272e857a Build 386-X für neues 4.3" Display speziell für VISADES hace 4 años
GfA-buildroot_bump_tinc_to_v_1_0_31.patch 3a434ed399 Build 341 hace 8 años
GfA-buildroot_force_mutt_to_bind_openssl.patch e63eaaa6bc - ...rru.dts hace 8 años
GfA-buildroot_linux_headers_for_rs485.patch 3a434ed399 Build 341 hace 8 años
GfA-buildroot_mysql_posgres_update_fixes.patch d2ba7f0258 Build 338: hace 8 años
GfA-buildroot_qt-latest_qt-LTS-5.6.2.patch 0259b79263 Linux RT 4.4 qt 5.6.2 und qt 5.8.0 selectable hace 8 años
GfA-buildroot_qt57-qt5quickcontrols2_mk.patch 09d5a70053 qt5 quickcontrols2 patch hace 8 años
GfA-buildroot_qt57-qt5quickcontrols_mk.patch 30b2bdbac9 Qt Anpassungen hace 8 años
GfA-buildroot_remove_CJK_Fonts_in_Update.patch d194e10253 BUILD-318 hace 7 años
GfA-buildroot_remove_crontab_root_entry_from_update.patch 3a434ed399 Build 341 hace 8 años
GfA-buildroot_remove_hostapd_and_wpa_supplicant_from_update.patch e59089aa44 /etc/hostapd.conf and hace 8 años
GfA-buildroot_revert_S80ti-gfx_frambuffersettings.patch 2251628762 S80ti-gfx changed, MapImage changed, small fixes hace 8 años
Make-bb-kernel.sh 0259b79263 Linux RT 4.4 qt 5.6.2 und qt 5.8.0 selectable hace 8 años
Make-bb-kernel_Qt5.6.2.sh 0f2c7ebfb5 vorbereitung di-soric branch hace 7 años
MakeBuildrootEnv.sh d49b95f26e BUILD 386-2 hace 4 años
Readme.md 19f7994807 wrk hace 8 años
build-gnupru.sh e7cb7b603a start hace 8 años
build_kernel.sh.patch ee5a82aa13 Erster Versuch mit Kernel aus Robert C Nelsons BBB Repositories hace 8 años
external.desc e7cb7b603a start hace 8 años
external.mk 5da7ba6b49 wt c++ webapi added on externale GfA tree hace 8 años

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

    ./MakeBuildrootEnv.sh ... für Kernel 3.12 und Qt 5.7.0
    ./Make-bb-kernel.sh   ... für Kernel 4.4 und Qt 5.8.0
    ./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.