我正在尝试在Raspberry Pi 4B上获得我自己的自定义实时Linux。我的情况是:
make ARCH=arm64 CROSS_COMPILE=aarch64-rpi3-linux-gnu- menuconfig但是I没有在这里看到完全抢占内核选项:.config -Linux/arm645.9.1内核配置
通用设置─────────────────────────────────────────────────────────────────
┌────────────────────── Preemption Model ───────────────────────┐
│ Use the arrow keys to navigate this window or press the │
│ hotkey of the item you wish to select followed by the . Press for additional information about this │
│ ┌───────────────────────────────────────────────────────────┐ │
│ │ ( ) No Forced Preemption (Server) │ │
│ │ ( ) Voluntary Kernel Preemption (Desktop) │ │
│ │ (X) Preemptible Kernel (Low-Latency Desktop) │ │
│ │ │ │
│ │ │ │
│ │ │ │
│ └───────────────────────────────────────────────────────────┘ │
├───────────────────────────────────────────────────────────────┤
│ < Help > │ 当我跑步时:make menuconfig不过,对于x86选项,我确实看到了这个选项:.config -Linux/x865.9.1内核配置通用设置───────────────────────────────────────────────────────────────── ┌────────────────────── Preemption Model ───────────────────────┐
│ Use the arrow keys to navigate this window or press the │
│ hotkey of the item you wish to select followed by the . Press for additional information about this │
│ ┌───────────────────────────────────────────────────────────┐ │
│ │ ( ) No Forced Preemption (Server) │ │
│ │ ( ) Voluntary Kernel Preemption (Desktop) │ │
│ │ (X) Preemptible Kernel (Low-Latency Desktop) │ │
│ │ ( ) Fully Preemptible Kernel (Real-Time) │ │
│ │ │ │
│ │ │ │ Linux : 5.9.1 Linux RT修补程序使用:补丁-5.9.1-rt19.patch.xz我还启用了专家模式,正如unix.stackexchange .config -Linux/x865.9.1内核配置中的另一篇文章所指示的那样通用安装─────────────────────────────────────────────────────────────────┌──────────────────────────────通用安装───────────────────────────────┐│箭头键导航菜单。选择子菜单->(或空││子菜单-)。突出显示的字母是热键。按下包括,││排除,模块化的特性。按退出,││获取帮助,用于搜索。图例:内置排除模块│_│││[]支持使用LZMA││││压缩的初始ramdisk/ramfs。支持使用XZ│_││压缩的初始ramdisk/ramfs []支持使用LZO││││支持的初始ramdisk/ramfs,支持使用LZ4││_││压缩的初始ramdisk/ramfs []支持使用ZSTD││││启动配置支持压缩的初始ramdisk/ramfs。优化级别(优化性能(-O2)) --││││-配置标准内核特性(专家用户) -- >││││--启用成员器()系统调用││││-加载调试/ksymoops的所有符号│_ --包括kallsyms中的所有符号,││││启用bpf()系统调用││启用userfaultfd()系统调用││││[]启用rseq()系统调用││││支持rseq()系统调用││││嵌入式系统││││PC/104支持││││内核性能事件和计数器->││我发现在Linux 5.6.19中发布的之前的RT-修补程序中没有出现这个问题。我这边的64位病例有什么遗漏吗?发布于 2020-10-28 11:50:45
我在Kernel.org中提出了这个问题,然后得到了一个回应,很明显,它的目的就是要这样做。
https://lore.kernel.org/linux-rt-users/20200824154605.v66t2rsxobt3r5jg@linutronix.de/
这基本上意味着当我们在arm64体系结构中使用5.9.1版本时,我们需要禁用KVM,然后立即出现完全抢占的选项。我成功地测试了它。
发布于 2020-10-28 06:46:48
跑,
make mrproper快跑,
make menuconfig“实时”选项现在必须可见。
https://unix.stackexchange.com/questions/616621
复制相似问题