Benutzer-Werkzeuge

Webseiten-Werkzeuge



programming:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
programming:start [2023/10/25 14:18] – [Linux] frankprogramming:start [2026/05/08 18:09] (aktuell) – [Linux] frank
Zeile 83: Zeile 83:
     * [[https://patchwork.kernel.org/project/linux-rockchip/list/|Rockchip]]     * [[https://patchwork.kernel.org/project/linux-rockchip/list/|Rockchip]]
     * [[https://patchwork.ozlabs.org/project/devicetree-bindings/list/|dt-bindings]]     * [[https://patchwork.ozlabs.org/project/devicetree-bindings/list/|dt-bindings]]
 +  * Mailinglist
 +    * [[https://lists.infradead.org/pipermail/linux-mediatek/|Mtk Archiv]]
   * GIT:   * GIT:
     * [[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/refs/|stable]] [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/|torvalds]] [[https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/|linux-next]]     * [[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/refs/|stable]] [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/|torvalds]] [[https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/|linux-next]]
Zeile 91: Zeile 93:
     * [[https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git|dt-bindings]]     * [[https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git|dt-bindings]]
     * [[https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=for-next|pinctrl-next]]     * [[https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=for-next|pinctrl-next]]
 +=== register auslesen ===
  
 +devmem2 oder memtool (da devmem häufig "bus error" gebracht hat und memtool über die debian-repos installierbar ist)
 +
 +  memtool md 0x15106C54
 +
 +Kernel-optionen:
 +
 +  CONFIG_DEVMEM=y
 +  CONFIG_STRICT_DEVMEM=n
 +
 +==== sparse ====
 +
 +braucht ggf. selbst compiliertes sparse
 +
 +<hidden>
 +  git clone https://git.kernel.org/pub/scm/devel/sparse/sparse.git
 +  cd sparse
 +  make -j$(nproc)
 +  sudo make PREFIX=/usr/local install
 +
 +wenn trotzdem altes sparse verwendet wird:
 +
 +  hash -d sparse 2>/dev/null
 +  hash -r
 +  command -v sparse
 +  sparse --version
 +</hidden>
 +
 +  make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CHECK=sparse C=1 V=1 drivers/net/ethernet/mediatek/
 ==== U-Boot ==== ==== U-Boot ====
  
Zeile 132: Zeile 163:
 === dtbs_check === === dtbs_check ===
  
-  sudo apt install swig yamllint+  sudo apt install swig yamllint python3-pip python3-venv
  
 +  python3 -m venv .venv
 +  . .venv/bin/activate
   pip3 install dtschema --upgrade   pip3 install dtschema --upgrade
   pip3 show dtschema   pip3 show dtschema
programming/start.1698236285.txt.gz · Zuletzt geändert: von frank