Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
programming:start [2022/09/13 14:12] – [Programmierung] frank | programming:start [2023/10/25 14:18] (aktuell) – [Linux] frank |
---|
| |
=== debugging === | === debugging === |
| |
| == Using dynamic debug == |
| |
| Add options: |
| |
| CONFIG_DYNAMIC_DEBUG=y |
| CONFIG_DEBUG_FS=y |
| |
| And enable it from userspace (here all for network drivers): |
| |
| echo "file drivers/net/* +p"> /sys/kernel/debug/dynamic_debug/control |
| |
| == Manual by adding new messages == |
| |
printk(KERN_ALERT "DEBUG: Passed %s %d val:0x%0x\n",__FUNCTION__,__LINE__,(unsigned int)val); | printk(KERN_ALERT "DEBUG: Passed %s %d val:0x%0x\n",__FUNCTION__,__LINE__,(unsigned int)val); |
* [[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]] |
* [[https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/log/|net]] [[https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/log/|net-next]] | * [[https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/log/|net]] [[https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/log/|net-next]] |
* [[https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next|drm mtk next]][[https://cgit.freedesktop.org/drm/drm/log/|drm]] [[https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=for-next|mtk dts next]] | * [[https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next|drm mtk next]][[https://cgit.freedesktop.org/drm/drm/log/|drm]] |
| * [[https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git|neues mediatek repo]] ([[https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=for-next|altes mtk dts next]]) |
* [[https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git|Rockchip SoC/DTS]] | * [[https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git|Rockchip SoC/DTS]] |
* [[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]] |
| |
==== U-Boot ==== | ==== U-Boot ==== |
#maybe need to add dir to path | #maybe need to add dir to path |
PATH=$PATH:~/.local/bin | PATH=$PATH:~/.local/bin |
| |
| === DTS === |
| |
| Mapping wifi Eeprom data to pcie slot: |
| |
| https://forum.banana-pi.org/t/802-11ac-module-gives-max-6dbi-transmitter-power/14238/23 |
| |
===== CSS ===== | ===== CSS ===== |
| |
===== HTML ===== | ===== HTML ===== |
| |