Bootloader, Kernel, Rootfs für GfA Display

Reinhard Russinger 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
board 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
configs 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
package 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
.gitignore 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
BRMakeHASH.sh 150c4307f7 hash for qt5.7.0 modules, legal-info fixes 8 years ago
Config.in 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
GfA-buildroot-LegalInfo_zip_in_separate_script.patch 99cb48260f Separate script for legalinfo zip creation 8 years ago
GfA-buildroot-MakeDTSupdate.patch bdd2c23c3d BUILD 459 7 years ago
GfA-buildroot-changes.patch d2ba7f0258 Build 338: 8 years ago
GfA-buildroot-libmodbus-GfA.patch 6e2b862abf bump linux to 4.4.94 add 15inch display 7 years ago
GfA-buildroot-qt57_on_Kernel_4_4_104.patch 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
GfA-buildroot-update-add-fullhd.patch 6e2b862abf bump linux to 4.4.94 add 15inch display 7 years ago
GfA-buildroot_MapImage_build_path.patch 2251628762 S80ti-gfx changed, MapImage changed, small fixes 8 years ago
GfA-buildroot_SetRightDisplayResolution_OnUpdate.patch 0f2c7ebfb5 vorbereitung di-soric branch 7 years ago
GfA-buildroot_SetRightDisplayResolution_OnUpdate_include_opt.patch 381d25ddc0 di-soric HMI V016 opt aus exclude bei Update ! 7 years ago
GfA-buildroot_bump_tinc_to_v_1_0_31.patch 3a434ed399 Build 341 8 years ago
GfA-buildroot_fontconfig_mtime_always_ok.patch 758ce7c351 fontconfig avoid recalculating cache on different mtime for fontdir 7 years ago
GfA-buildroot_force_mutt_to_bind_openssl.patch e63eaaa6bc - ...rru.dts 8 years ago
GfA-buildroot_include_inittab_on_update.patch e8e69ed225 Build477 inittab on update included 7 years ago
GfA-buildroot_linux_headers_for_rs485.patch 3a434ed399 Build 341 8 years ago
GfA-buildroot_make_image_update.patch ecb8cef398 fix update and image issues 7 years ago
GfA-buildroot_mysql_posgres_update_fixes.patch d2ba7f0258 Build 338: 8 years ago
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 years ago
GfA-buildroot_qt57-qt5quickcontrols2_mk.patch 09d5a70053 qt5 quickcontrols2 patch 8 years ago
GfA-buildroot_qt57-qt5quickcontrols_mk.patch 30b2bdbac9 Qt Anpassungen 8 years ago
GfA-buildroot_remove_crontab_root_entry_from_update.patch 3a434ed399 Build 341 8 years ago
GfA-buildroot_remove_hostapd_and_wpa_supplicant_from_update.patch e59089aa44 /etc/hostapd.conf and 8 years ago
GfA-buildroot_revert_S80ti-gfx_frambuffersettings.patch 2251628762 S80ti-gfx changed, MapImage changed, small fixes 8 years ago
Make-bb-kernel_Qt5.7.sh 3fd0e9c1a7 wrk gfa-k44104-qt-57 7 years ago
Readme.md 381d25ddc0 di-soric HMI V016 opt aus exclude bei Update ! 7 years ago
build-gnupru.sh e7cb7b603a start 8 years ago
build_kernel.sh.patch ee5a82aa13 Erster Versuch mit Kernel aus Robert C Nelsons BBB Repositories 8 years ago
build_kernel_44104rt.sh.patch 5768844d8c linux to 4.4.104 rt-r21 7 years ago
external.desc e7cb7b603a start 8 years ago
external.mk 5da7ba6b49 wt c++ webapi added on externale GfA tree 8 years ago

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.