Bootloader, Kernel, Rootfs für GfA Display

Reinhard Russinger 90fdc703de BUILD-391 with ulfius 7 vuotta sitten
board 90fdc703de BUILD-391 with ulfius 7 vuotta sitten
configs d8dfb762eb add liborcania libyder and libulfius to image 7 vuotta sitten
package 90fdc703de BUILD-391 with ulfius 7 vuotta sitten
.gitignore 0f2c7ebfb5 vorbereitung di-soric branch 7 vuotta sitten
BRMakeHASH.sh 150c4307f7 hash for qt5.7.0 modules, legal-info fixes 8 vuotta sitten
Config.in 90fdc703de BUILD-391 with ulfius 7 vuotta sitten
GfA-buildroot-CrossCompile_export_CC_and_CXX.patch c4e666ec50 gfalibs with debug and release version 7 vuotta sitten
GfA-buildroot-LegalInfo_zip_in_separate_script.patch 99cb48260f Separate script for legalinfo zip creation 8 vuotta sitten
GfA-buildroot-add-plugins-libraries-change-crosscompile-command.patch 12c69cb27a libraries plugins aktuelles 3.12 image mit qt 5.7 7 vuotta sitten
GfA-buildroot-changes.patch d2ba7f0258 Build 338: 8 vuotta sitten
GfA-buildroot-libmodbus-GfA.patch b404b5ef9b BUILD 386, added libmodbus with GfA patches 7 vuotta sitten
GfA-buildroot-rootfs-from-image.patch b7c76919ef BUILD 388 7 vuotta sitten
GfA-buildroot_MapImage_build_path.patch 2251628762 S80ti-gfx changed, MapImage changed, small fixes 8 vuotta sitten
GfA-buildroot_SetRightDisplayResolution_OnUpdate.patch 0f2c7ebfb5 vorbereitung di-soric branch 7 vuotta sitten
GfA-buildroot_SetRightDisplayResolution_OnUpdate_add5_7inch_display.patch 700133dc69 mit plugins, freevirtualkeyboard, applauncher, myswl 7 vuotta sitten
GfA-buildroot_bump_tinc_to_v_1_0_31.patch 3a434ed399 Build 341 8 vuotta sitten
GfA-buildroot_force_mutt_to_bind_openssl.patch e63eaaa6bc - ...rru.dts 8 vuotta sitten
GfA-buildroot_linux_headers_for_rs485.patch 3a434ed399 Build 341 8 vuotta sitten
GfA-buildroot_mysql_posgres_update_fixes.patch d2ba7f0258 Build 338: 8 vuotta sitten
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 8 vuotta sitten
GfA-buildroot_qt57-qt5quickcontrols2_mk.patch 09d5a70053 qt5 quickcontrols2 patch 8 vuotta sitten
GfA-buildroot_qt57-qt5quickcontrols_mk.patch 30b2bdbac9 Qt Anpassungen 8 vuotta sitten
GfA-buildroot_remove_CJK_Fonts_in_Update.patch d194e10253 BUILD-318 7 vuotta sitten
GfA-buildroot_remove_crontab_root_entry_from_update.patch 3a434ed399 Build 341 8 vuotta sitten
GfA-buildroot_remove_hostapd_and_wpa_supplicant_from_update.patch e59089aa44 /etc/hostapd.conf and 8 vuotta sitten
GfA-buildroot_revert_S80ti-gfx_frambuffersettings.patch 2251628762 S80ti-gfx changed, MapImage changed, small fixes 8 vuotta sitten
MakeBuildrootEnv.sh b7c76919ef BUILD 388 7 vuotta sitten
Readme.md 19f7994807 wrk 8 vuotta sitten
build-gnupru.sh e7cb7b603a start 8 vuotta sitten
build_kernel.sh.patch ee5a82aa13 Erster Versuch mit Kernel aus Robert C Nelsons BBB Repositories 8 vuotta sitten
external.desc e7cb7b603a start 8 vuotta sitten
external.mk 5da7ba6b49 wt c++ webapi added on externale GfA tree 8 vuotta sitten

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.