Kernel configuration oddities #185
Replies: 3 comments 14 replies
-
Hey @MaxKellermann
Hope this explains a bit the background, where we come from and why lot of the things here are looking that "horrible" ;-) |
Beta Was this translation helpful? Give feedback.
-
@MaxKellermann I think most of configuration you have listed are there not by conscious decision, but because it was like that by default or by accident and nobody complained. It makes sense for USB device drivers to be in modules because people connect various devices and there is no particular list of what can be connected to openvario. If someone wants to connect a printer, why would we prevent that? Note that not all devices are useful while you're flying, some are useful when you're on the ground and sending your logs to the scorer (for example). For the other devices and features you listed - in my opinion we don't have to keep them enabled. I don't know anything that would depend on them. |
Beta Was this translation helpful? Give feedback.
-
Yes, we have a 1-wire interface on Openvario. It uses a DS2482-100 I2C to 1-Wire bridge, don´t know if this requires the 1-Wire kernel module or not. Maybe @linuxianer99 knows more about this bridge? |
Beta Was this translation helpful? Give feedback.
-
I tried to make sense of the OpenVario kernel configuration (https://github.com/Openvario/meta-openvario/blob/hardknott/recipes-kernel/linux/linux-mainline/arm/defconfig); it was written in a rather cumbersome way: instead of using
*.cfg
deltas to configure individual aspects in a modular way, like Yocto kernel recipes are supposed to do it, there's a full copy of the kernel configuration which pretents to be the "defconfig". Of course, that's very difficult to port to new kernels, and makes it hard to support different hardware platforms. (I stumbled upon that because I have no Cubieboard 2, and wanted to quickly port it to my Cubieboard 1 so I can test OpenVario builds there.)So I converted the kernel configuration into a delta to the vanilla defconfig, and fond some oddities:
CONFIG_CMA
) for OpenVario?These options are disabled in the default kernel config - they were explicitly enabled for the OpenVario custom kernel config. That's why I'm asking - who thought these options were useful for OpenVario?
They are part of the "initial commit" (6d9a704) made by a guy called "build" (on host "build.fritz.box", huh??) just 3 years ago in 2019. I thought OpenVario was much older than 2019 - why is all the commit history of meta-openvario before 2019 lost?
(Related PR: #186)
Beta Was this translation helpful? Give feedback.
All reactions