-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install Kernel Headers #21
Comments
IMO the easiest way is to build your custom image. There will be few additional files in the output directory including kernel headers package. Bit more details: |
I'm not the most savvy when it comes to building OS's, etc. Just brought it up to see if this is something you can easily fix. Maybe someone will come around with a fix at one point although that's not me |
+1 for this. I also have no experience in building an OS, nor am I a programmer, so I hope someone with more knowledge can fix this :) |
This is the whole reason I have to build my own to begin with (that odd version of the Realtek driver that is "sorta" upstream kernel) and no one seems to set their default outputs to put source and header on them (multiple people's builds, not singling this repository out there). |
@ChristineBoersen which artifact do we need from build? I may rebuild latest release and upload needed packages. |
It is just a compile flag :) INSTALL_HEADERS=yes BUILD_KSRC=yes INSTALL_KSRC=yes Your latest (I pulled latest this AM) works just fine to compile with the above, under jammy, current at least. I personally recommend adding BSFREEZE=yes so people who forget to add manually compiled network drivers don't have them die if they forget to modprobe the changes. I'd also recommend adding the following two packages to make life easier for people needing to build a network driver to get running. Append
to I haven't had a chance to put it through as a patch (and I could see some people wanting it further up in desktop/_all_distributions/main/packages for the desktop compiles) |
OK, I see. Thanks for the hint. I will re-build and re-upload image and package files for the latest release. |
@AdamTuraj , @Phil1988 could you please check https://github.com/redrathnure/armbian-mkspi/releases/tag/mkspi%2F0.3.2-24.2.0-trunk images. Please write back results:
|
@redrathnure I only have one EMMC and would rather not reinstall everything. I was able to get it working although I had to defreeze the kernel. Everything seems stable although not the most ideal. If @Phil1988 has any issues I can pull it out, back everything up and try it out. Although I just got my printer working with clean firmware and need to catch up on some prints. |
You may try a new image on SD card (without erasing already worked system). In any case it would be interested to see your step-by-step instructions to build https://github.com/McMCCRU/rtl8188gu.git module. Guess it would be interested for other peoples. |
I have a Qidi printer and they only pull the OS from the onboard EMMC. Unfortunately cannot use an SD card |
Hm... now I'm bit confused.... which board in it? Is it the similar to MKSPI? |
The board is this: From what I understand Makerbase made it for them or maybe they sell something similar. Not really sure |
Sorry I wasn't trying to be confusing, just giving a normal justification for including headers/sources is drivers that you must build before you have network (without playing games) to get people to first network connection more successfully. I've broken this into another issue |
It's OK. I just have not expected that this image is able to work on something except MKSPI board. |
Its asort of MKS SKIPR board which is also similar to the MKSPI. I am currently very busy, so I cant test this for the next ~2-3 weeks. BTW: Blame me for others to report issues here on the MKS based 3D printer boards :) |
Actually it's perfect that this image is useful for more peoples. Perhaps we should collect list of boards which works (or might work) with this build and related known issues. So would be nice to understand name of board and needed steps to make it work. For example I assume you have slightly modified DTS files and probably some extra configuration steps. Feel free to publish this info here (I will add it to the readme and release notice) or open PR with related changes. |
There was little to no modifications needed :) You can have a closer read to my tutorial here: I expect these boards to work directly with no changes: Big thanks to you @redrathnure for doing this great work and for publishing it 👍 |
See https://github.com/redrathnure/armbian-mkspi/releases/tag/mkspi%2F0.3.2-24.2.0-trunk, including pre-installed |
Hello Maxim, first of all thank you very much for this really nice repo and your work! I'm not a programmer but user of one of these Qidi X-Max 3 machines with an MKS PI X-4 board. However currently I still struggle to implement RTL8188GU support and tried many things. iwconfig shows no wireless extensions and this means the driver is a missing part for the kernel. I tried current and also edge kernels now. What is the right way to enable wifi then? Thanks a lot for good advice! PS: What is the reason you don't have the edge kernel in current releases present anymore? |
Hi @ohyeah8000, thanks for the feedback. I do not have access to your board and this WIFI dongle, so may only guessing:
PS: please ignore 0.3.2 release, It's better to look at the latest https://github.com/redrathnure/armbian-mkspi/releases/tag/mkspi%2F0.3.3-24.2.0-trunk one, which has the both current and edge images. Please note edge image has weird issue with TS35 touchscreen. |
Thanks man! Oh, shoot, installed 2 different 0.3.2 versions today including Klipper and everything. I have a lot of practice now and I guess a new approach will be even faster... ;) Of course I tried almost everything you mentioned above but didn't succeed in the end. I really think the Kernel version is important. I'll let you know how it turns out and give fedback after the next attempt. |
OK, just FYI, new release is out including current with 6.6 kernel. please check https://github.com/redrathnure/armbian-mkspi/releases page. |
A bit off topic, but any idea how to get headers for |
Perhaps it's a question to official MKS repo. |
@Guilouz Yes. It gave quite some confusion about the creator so I published it at my git: https://github.com/Phil1988/FreeQIDI |
2 things to report. First, images built from this repo work on the new X-7 mainboard that comes in the QIDI Q1 Pro. Second thing to report is that WiFi works on it after building the aic8800 driver from here. The initial image has to built with EDIT: In response to the initial report for this issue, |
...to speedup the fist Klipper installation and save some time for peoples with slow internet connection Related to redrathnure#23 and redrathnure#21
What happened?
I am trying to install Kernal headers to download a driver to a USB Wifi stick (https://github.com/McMCCRU/rtl8188gu). The issue is there are no headers for the current Bookworm Edge 6.6.9 version. When running the make file for the driver, it points to a folder whose parent exists, but the build folder does not. If there's any way to get these kernel headers built that would be much appreciated.
How to reproduce?
git clone https://github.com/McMCCRU/rtl8188gu.git
cd rtl8188gu
make
Branch
main (main development branch)
On which host OS are you observing this problem?
Other
Relevant log URL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: