在 BeagleBone Black 上读取、加载和卸载驱动程序的命令?

Commands for reading, loading and unloading drivers on BeagleBone Black?

我使用的是 BeagleBone Black,上面装有 Xenomai 和 RTnet。由于某些实时程序无法运行,可能是我的 BeagleBone Black 上安装的驱动程序仍然是标准驱动程序,而不是实时驱动程序。

因为我在互联网上没有找到任何东西(只有如何在使用 BeagleBone Black 时为 Windows 安装驱动程序)我想问你是否有人知道 BeagleBone Black 读取、加载和卸载的命令在 BBB 上安装了驱动程序?

我找到了读取、加载和卸载的命令 driver/modules。查看命令window的以下输出:命令是lsmod用于读取,insmod用于加载,rmmod用于卸载。

# lsmod
Module                  Size  Used by    Tainted: G
rtipv4                 18699  0
rtpacket                4179  0
rt_ticpsw              26115  0
rt_davinci_mdio         4570  0
rt_smsc                 2165  0
rtnet                  28479  3 rtipv4,rtpacket,rt_ticpsw
omap_rng                4174  0
# insmod
BusyBox v1.22.1 (2019-03-16 12:39:06 CET) multi-call binary.

Usage: insmod FILE [SYMBOL=VALUE]...

Load the specified kernel modules into the kernel

# rmmod
BusyBox v1.22.1 (2019-03-16 12:39:06 CET) multi-call binary.

Usage: rmmod [-wfa] [MODULE]...

Unload kernel modules

        -w      Wait until the module is no longer used
        -f      Force unload
        -a      Remove all unused modules (recursively)

#