18
submitted 2 weeks ago* (last edited 2 weeks ago) by Petter1@lemm.ee to c/linux@lemmy.ml

Hey there

I have to add backported drivers to my 5.15 kernel source in order to create a embedded Linux on kernel 5.15 compatible with newer devices like 5ghz wifi dongles.

I understood that I have to use this command:

Python3 ./ gentree --integrate --clean /path/to/linux-next /path/to/my/5.15-kernel-source-git

But it fails stating it wanted to copy a file from new linux that only exists in the old linux

Have I understood that wrong?

Edit: it says it does not find …/lib/memneq.c which seems not existing there at least since 6.2 🤔

Edit2: I fear that it only backports 5.15 drivers to even older kernels 😮 so, I think I have to integrate lwfinger‘s rtw88 backport into my 5.15 kernel sources, somehow, after all

https://backports.wiki.kernel.org/index.php/Documentation/integration

top 1 comments
sorted by: hot top controversial new old
[-] Petter1@lemm.ee 2 points 1 week ago

Well, turns out, it just works 😍👌🏻 just overwrite all the c and h files and the makefile and it will just build 🥳 and work (tested on 5.19.137)

this post was submitted on 11 Jun 2024
18 points (100.0% liked)

Linux

45443 readers
1078 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS