Skip to content
Snippets Groups Projects
  1. Jul 06, 2021
  2. Jun 30, 2021
    • Marc-Oliver Westerburg's avatar
      nallino kernel: reduce size by removing unnecessary stuff · 616e83a7
      Marc-Oliver Westerburg authored
      removes esp.:
       * lock debugging and debugging sysmbols for variables, etc.
       * support for i.MX3x, i.MX5x, i.MX6 non-ULL SoCs, i.MX8x
       * support for IPUv1, IPUv3, VPUs, GPUs
       * support for DVB and IR remote control modules
      
      reduces (compressed) kernel size from almost 10 MB to just
      under 6 MB. (uncompressed kernel is still almost twice as big as the
      Rocko 4.9.88 kernel for 6ULL, though)
      
      BCS 746-000388
      616e83a7
  3. Jun 29, 2021
  4. Jun 23, 2021
    • Jonas Höppner's avatar
      nallino:kernel: Change loadaddr to 0x80800000, speeds up relocation · 98085a01
      Jonas Höppner authored
      Somehow the relocation is done with before switching on the caches
      which is very slow when the load address is too close to the final
      kernel location.
      
      So ganz 100% verstanden hab ich den Code in „boot/compressed/head.S“ zwar nicht, aber es sieht so aus, als erwartet der Code am Anfang des phys. RAMs Platz, um eine MMU-Tabelle anlegen zu können (16KB) – die ist notwendig um MMU und Caches einschalten zu können – und überprüft dabei, in welchem Adressbereich der Code selbst gerade läuft.
      ·         Kommt er zu dem Schluss, dass da genug Platz ist,
      o   schaltet er zuerst MMU und Caches ein,
      o   verschiebt sich selbst, den komprimierten Kernel und den DTB mit allerlei Pointer-Anpassungen irgendwohin, wo er beim Auspacken nicht überschrieben werden kann
      o   und erledigt dann das Entpacken.
      ·         Sind zwischen phys. Start des RAMs und laufendem Code weniger als 16KB + eine kleine Reserve von 1 MB (für schlechte Zeiten oder so…) Platz
      o   Verschiebt sich der Code selbst, den komprimierten Kernel und den DTB mit allerlei Pointer-Anpassungen zuerst irgendwohin, wo er beim Auspacken nicht überschrieben werden kann
      o   Startet sich selbst dann neu
      o   Schaltet dann erst MMU und Caches ein
      o   Und erledigt dann das Entpacken
      
      Sprich: wird der gepackte Kernel irgendwo in die ersten gut 1MB des phys. RAM-Bereichs geladen und von da gestartet, läuft die ganze Relokation mit ausgeschalteten Caches, was auf dem 6ULL offenbar so langsam ist, dass es nur noch tröpfelt…
      (Da der 6ULL nur ein 16-Bit RAM Interface hat und mit abgeschalteter MMU keinerlei Caching, Buffering o.ä. stattfindet, müssten schon nur für einen einzigen 32-Bit RAM-Zugriff zwei vollständige DDR3-Lese-Bursts ausgelöst werden, die jeweils 8x16-Bit liefern (DDR3 RAM macht immer 8-fach Burst), wovon aber jeweils nur die ersten 16 Bit tatsächlich verwendet werden. Da kann man die Daten wohl genauso gut auch per Rauchzeichen übertragen…)
      
      BCS 746-000387
      98085a01
  5. Jun 02, 2021
    • Clemens Terasa's avatar
      pkgv: Fix gfxml2dto versioning · c553388a
      Clemens Terasa authored
      The gitpkgv.bbclass states:
      ```
      gitpkgv.bbclass assumes the git repository has been cloned, and
      contains SRCREV. So ${GITPKGV} and ${GITPKGVTAG} should never be
      used in PV, only in PKGV.  It can handle SRCREV = ${AUTOREV}, as
      well as SRCREV = "<some fixed git hash>".
      ```
      Change the version variables from PV to PKGV.
      c553388a
  6. Jun 01, 2021
  7. May 28, 2021
  8. May 25, 2021
  9. May 21, 2021
    • Clemens Terasa's avatar
      touchdriver:sis-i2c: Remove the reset export · bfcb5aea
      Clemens Terasa authored
      The touchgpio driver uses a problematic function
      gpio_sysfs_set_active_low that changed the semantics in Linux v4.2´.
      
      It uses the gpiolib framework now based on the gpiod framework.
      The simple solution is to disable the only user of the export
      functionality in the SIS driver.
      bfcb5aea
  10. May 18, 2021
  11. May 17, 2021
  12. May 11, 2021
    • Clemens Terasa's avatar
      linux-guf:imx6guf: Build SDMA as module · 9901d195
      Clemens Terasa authored
      The SMDMA needs a firmware blob. It could be added to the Linux kernel,
      however it is easier to add the SDMA support as module.
      
      Use the ```make savedefconfig``` to generate a minimal and portable
      defconfig.
      9901d195
    • Clemens Terasa's avatar
      linux-guf: Add imx6qp-santoka device tree · 4c27e106
      Clemens Terasa authored
      Add the i.MX6 Dual/Quad Plus variant of the G&F SANTOKA device tree to
      the image. With this it can be installed and it boots up. There seems to
      be an issue with OpenGL or Qt applications on my 900-3577R device, but
      the framebuffer seems to be OK.
      4c27e106
  13. May 07, 2021
    • Clemens Terasa's avatar
      machine: Change the PREFERRED_VERSION_linux-guf to 5.10.32 · ef55dca9
      Clemens Terasa authored
      With the recent adaption it is possible to build the iMX6 based G&F
      platforms with the latest LTS kernel version 5.10.32.
      
      Thus change the preferred Linux kernel version to 5.10.32. Use a weak
      assignment to be able to override this in the local.conf.
      
      BCS 746-000295
      ef55dca9
    • Clemens Terasa's avatar
      linux-guf: Add linux-guf-5.10 recipe · 207ff8a4
      Clemens Terasa authored
      Add the linux-guf-5.10 recipe and copy the files form 5.4.
      
      Do not use the
      use-pkg-config-native-to-find-host-lcrypto-in-sysroot.patch because it
      does not apply right now.
      
      Also assign PREFERRED_VERSION of the linux-guf recipe weakly to be able
      to overwrite this in the local.conf
      
      Only tested with imx6guf.
      
      BCS 746-000295
      207ff8a4
    • Clemens Terasa's avatar
      touchdrivers: Adapt out-of-tree touch drivers for 5.10 · d116da9d
      Clemens Terasa authored
      Due to changes in the procfs exports in Kernel version 5.6, the change
      of touch drivers are necessary.
      
      Mainly because of the change
      https://lore.kernel.org/netdev/20191225172546.GB13378@avx2/ that changed
      the proc_create file operations  from sruct file_operations to proc_ops.
      
      The ilitek driver needed adjustments because of the transition from time
      to ktime.
      
      BCS 746-000295
      d116da9d
  14. May 06, 2021
  15. Apr 30, 2021
  16. Apr 23, 2021
  17. Apr 20, 2021
  18. Apr 14, 2021
    • Jonas Höppner's avatar
      u-boot: Copy all u-boot files for old recipe version into layer · 5c36da7e
      Jonas Höppner authored
      During upgrade I noticed, that we introduced a depency between the layer
      version using include file from one layer in our layer.
      This patch copies the current version into this layer so the old version
      of u-boot should also build if the u-boot version in poky does change.
      
      BCS 746-000293
      5c36da7e
  19. Apr 12, 2021
    • Jonas Höppner's avatar
      kernel: Remove symlinks in boot partition · ddf763e7
      Jonas Höppner authored
      The links in the boot partition do not work on the used fat partitions.
      With tar of the dunfell fngsystem this is an error, which stops the
      installation and the links have never bee installed anyway.
      
      BCS 746-000274
      ddf763e7
  20. Apr 08, 2021
  21. Apr 01, 2021
    • Jonas Höppner's avatar
      Tanaro: Remove spread spectrum service as settings will be set by u-boot · a1ad0e15
      Jonas Höppner authored
      Remove the systemd service that set the spread spectrum settings for the
      VideoPLL1 during startup from the linux userland as this was unreliable.
      The settings will be applied in u-boot already.
      
      The spreadspectrum python script is still installed and can be used to
      verify the settings, as well as modifying them in a debug environment.
      
      BCS 746-000332
      a1ad0e15
  22. Mar 25, 2021
  23. Mar 17, 2021
  24. Mar 11, 2021
  25. Mar 10, 2021
  26. Feb 24, 2021
  27. Feb 18, 2021
  28. Feb 04, 2021
  29. Jan 29, 2021
    • Clemens Terasa's avatar
      ilitek: Rename GPIO device tree properties · db8ac9dd
      Clemens Terasa authored
      The ilitek driver uses device tree properties pre-fixed with "ilitek".
      Although this is a good way to distinguish mainline/standard kernel and
      vendor specific properties this is in our case not useful.
      
      We already introduces the non-prefixed version with the same information
      mainly to use the Garz & Fricke specific touchgpio API.
      
      Thus simply re-use the non-prefixed properties to reduce information
      duplication in the device tree.
      
      This also reduces the complexity in the Garz & Fricke overlay mechanism
      using gfxml2dto.
      db8ac9dd
  30. Jan 28, 2021
    • Norman Stetter's avatar
      imx6:defconfig: build imx-sdma as module · 20577883
      Norman Stetter authored
      When imx-sdma is built into the kernel the rootf, where the sdma
      firmware binary is located is not ready when the driver tries to load
      the firmware. This can be avoided by building the imx-sdma driver as a
      module, so it gets loaded after the rootfs is ready
      
      BCS 746-000154
      20577883
  31. Jan 26, 2021
Loading