LWN: Comments on "The 2022 embedded Linux update" https://lwn.net/Articles/899742/ This is a special feed containing comments posted to the individual LWN article titled "The 2022 embedded Linux update". en-us Sat, 30 Aug 2025 09:51:49 +0000 Sat, 30 Aug 2025 09:51:49 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net The 2022 embedded Linux update https://lwn.net/Articles/900819/ https://lwn.net/Articles/900819/ rschwebel <div class="FormattedComment"> One thing that hasn&#x27;t been solved yet is GPL friendly NDAs from chip vendors. It is still standard that the &quot;purpose&quot; of an NDA is &quot;evaluation&quot; or &quot;building hardware with a chip&quot;. Writing software seems like a non-usecase. With many chip vendors it is still impossible to get an NDA that says &quot;the manual itself is confidential, but it is allowed to write open source software with it&quot; or having a proper patch clearance process.<br> <p> There are of course several chip vendors out there who just put their reference manuals on the internet, such as NXP, Microchip/Atmel etc., which makes it quite easy to write proper upstream kernel code. There is a reason why those have really good mainline support...<br> <p> Huhu Tim, remember me, next time you talk to the IMX camera department folks :-)<br> </div> Tue, 12 Jul 2022 08:35:09 +0000 Speaking of updates https://lwn.net/Articles/900792/ https://lwn.net/Articles/900792/ fratti <div class="FormattedComment"> I can&#x27;t speak from a maintainer&#x27;s point of view, just of that from someone who does run mainline linux on my embedded devices, and makes mainline Linux run on them by porting downstream code.<br> <p> <font class="QuotedText">&gt; But suppose the BSP is being written for a piece of custom hardware that has a FPGA that implements a custom peripheral. Should the driver for something that only exists in a few devices in the world be upstreamed?</font><br> <p> I think the usual cutoff is that if there is at least one user of the driver in the mainline Linux tree, it stays. If you are a business selling very expensive low volume scientific equipment with custom FPGA peripherals to select businesses, you&#x27;ll probably sell that with software support as a whole service package, so users of said devices are unlikely to be running mainline Linux even if it were possible. In that case I agree, upstreaming such a driver (or even submitting it to mainline, as opposed to just code dumping it somewhere) would be counter-productive and a waste of time on everyone&#x27;s part.<br> <p> However, asking the question of &quot;how could this be useful for mainline&quot; usually already leads down the path of refactoring code to be more generic and in turn better. As an example, I recently came across an out-of-tree vendor driver for a DCF-77 time signal receiver card that implements a vendor specific userspace interface. I wondered how this could be made generic across vendors, and discovered that there currently (to my knowledge) was no Linux kernel uapi for authoritative time keeping sources such as atomic clocks or time keeping radio signal receivers, because apparently everyone who makes these never actually tried to upstream their work. It&#x27;s a niche product, but the kernel would still be better off if there was a generic way to support these niche devices.<br> <p> <font class="QuotedText">&gt; Similarly for the DTS files that pull it all togther, do we really want all the DTS files for every embedded Linux system in the world in the upstream kernel?</font><br> <p> In my opinion, yes. Naturally if it&#x27;s a device that&#x27;s never brought to market, it doesn&#x27;t make sense, but erring on the side of &quot;too many&quot; is better in my opinion. Chances are most of your device tree&#x27;s interesting parts will be in the SoC&#x27;s dtsi, which is useful for every other device that uses the same SoC and may also want to be upstream. A lot of the DT review process is also already automated with tooling that can generate useful (and sometimes not so useful) warnings about common pitfalls.<br> <p> Maintainers may of course disagree with me here as they&#x27;d rather get fewer submissions as to ease their workload. But I for one would love if my now 6 year old phone had an upstreamed DT written against mainline bindings even if nobody would&#x27;ve run mainline Linux on it when it came out (but they might want to now with that becoming a thing). I also wouldn&#x27;t mind a device tree for my parents&#x27; laundry machine that inexplicably runs FreeBSD; device trees are conceptually independent of kernels after all, and the motor in that thing will probably outlast the official software support for its solid state electronics.<br> <p> So I guess I should rephrase my statement: If you are a SoC vendor or have been hired to work for one, please don&#x27;t stop at board support packages; at least upstream the SoC parts.<br> </div> Tue, 12 Jul 2022 03:06:10 +0000 Speaking of updates https://lwn.net/Articles/900758/ https://lwn.net/Articles/900758/ mfuzzey <div class="FormattedComment"> <font class="QuotedText">&gt; stop with the board support packages</font><br> <p> How realistic *or* desirable (from the upstream point of view) is this?<br> <p> If as part of building a BSP I write a driver for some currently unsupported COTS chip, or fix bugs in existing in tree code then I definitely agree upstream is the way to go because that driver could be used in many other devices so benefits everyone (and I get the free code review as you say).<br> <p> But suppose the BSP is being written for a piece of custom hardware that has a FPGA that implements a custom peripheral. Should the driver for something that only exists in a few devices in the world be upstreamed?<br> <p> Similarly for the DTS files that pull it all togther, do we really want all the DTS files for every embedded Linux system in the world in the upstream kernel? It&#x27;s great for dev boards, SOMs, and maybe some consumer products that can be repurposed but many devices aren&#x27;t even publicly available.<br> <p> </div> Mon, 11 Jul 2022 20:39:22 +0000 Speaking of updates https://lwn.net/Articles/900735/ https://lwn.net/Articles/900735/ fratti <div class="FormattedComment"> I&#x27;ve started engaging with embedded Linux just recently (5.16 is the first kernel with some driver code touched by me) and it&#x27;s great so see how much else is happening in the space that is not always readily visible to people like myself who mostly work on SoC support as a hobby.<br> <p> Something I wish people working in the space professionally would push for more is that vendors upstream their driver code. Everybody knows why they don&#x27;t, I&#x27;m preaching the choir here if I state why they should and how it makes sense for them as a business decision, but I&#x27;d be beating a dead horse. I have huge respect for contractors in the embedded world who do upstream their work, such as Collabora, Pengutronix or BayLibre to name a few.<br> <p> Please just... stop with the board support packages. If you are hired to develop a board support package, also submit the patches upstream, they&#x27;ll be better for it. If you are working at a company that internally develops its board support packages, tell your manager about this cool way you could get a free code review.<br> </div> Mon, 11 Jul 2022 17:16:45 +0000 The 2022 embedded Linux update https://lwn.net/Articles/900394/ https://lwn.net/Articles/900394/ geert <div class="FormattedComment"> AVG definitely existed at the 2003 Plenary Meeting in Las Vegas. Same for system size and boot time.<br> So I&#x27;m afraid security was the afterthought that was not part of the original big 5 ;-)<br> <p> The oldest presentations Google found[1][2] list 8 working groups. the Embedded Linux Wiki page[3] is newer, and lists a different set of 5.<br> <p> [1] <a href="https://elinux.org/images/8/82/CE_Linux_Forum-Ueda-Bird.pdf">https://elinux.org/images/8/82/CE_Linux_Forum-Ueda-Bird.pdf</a><br> [2] <a href="https://slidetodoc.com/status-of-embedded-linux-celf-plenary-tim-bird/">https://slidetodoc.com/status-of-embedded-linux-celf-plen...</a><br> [3] <a href="https://elinux.org/CE_Linux_Forum">https://elinux.org/CE_Linux_Forum</a><br> </div> Fri, 08 Jul 2022 07:18:16 +0000 The 2022 embedded Linux update https://lwn.net/Articles/900376/ https://lwn.net/Articles/900376/ tbird20d <div class="FormattedComment"> Oh, shoot! Yes I did. I&#x27;m trying to remember if that was one of the original workgroups we created at our first 2003 &quot;requirements&quot; meeting, or if it came along a bit later. But it was a big part of CELF&#x27;s efforts for a number of years. Embedded Linux never did standardize around a single user-space library for graphics, but the kernel&#x27;s framebuffer API saw a lot of significant use in those early days.<br> </div> Fri, 08 Jul 2022 01:32:40 +0000 The 2022 embedded Linux update https://lwn.net/Articles/900233/ https://lwn.net/Articles/900233/ geert <div class="FormattedComment"> Looks like he missed the CELF AVG (audio/video/graphics) workgroup.<br> </div> Thu, 07 Jul 2022 09:23:41 +0000 The 2022 embedded Linux update https://lwn.net/Articles/900226/ https://lwn.net/Articles/900226/ bartoc <div class="FormattedComment"> And openwrt itself has no auto-update mechanism!<br> <p> My netgear&#x27;s stock operating system, which is likely based on openwrt has such a mechanism and it works pretty well<br> </div> Thu, 07 Jul 2022 03:59:21 +0000 The 2022 embedded Linux update https://lwn.net/Articles/900220/ https://lwn.net/Articles/900220/ mtaht <div class="FormattedComment"> Grumpily: home router vendors are often shipping 10 year old kernels, based on an obsolete, hacked up, vendor specific, unsupported version of openwrt. <br> <p> Nobody knows how many &quot;security&quot; cameras are based on Linux because few in that market comply with the GPL. <br> <p> It really is great that Linux has so much of the embedded market now, but &quot;fossilized&quot; FOSS is costing the world a lot in lost security, features, and developer interest.<br> <p> Being there (at handhelds.org and MontaVista) I remember vividly the most compelling argument for linux in embedded in the 00s... was MMU support. <br> </div> Thu, 07 Jul 2022 00:32:15 +0000