-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
linux-hardkernel: 4.14.47-139 -> 4.14.55-146. Additionally, use vendo… #43637
Conversation
Oh, I didn't expect this to cause so many rebuilds. Whomever gets to it, feel free to merge into staging instead, I guess? |
Cc: @andrew-d (if you're interested!) |
👍 yeah, I remember seeing this myself at some point, though I think I ended up disabling something more specific? I'm not near my XU4 to check right now, but I might have just disabled |
Oh, cool. I have zero idea what Gator does or how this build works, so apparently I went for a larger hammer :) I'll also give your idea a try if I get to it by then. Thanks! |
Well, adding
which seems like a problem with gator, not with gator support in mali. Is there a |
Okay, so, I did some digging and I think I figured out the issue.
So, you should be able to set |
Just tried How important do you feel this is? |
Gah, that's annoying. Honestly, I think Separately, do you think it's worth opening an issue at https://github.com/hardkernel/linux/ to report this upstream? |
It can't hurt! I have been guessing they would say they don't have the resources to chase this, since it clearly works for them and the failure is somewhat NixOS-specific. This page implies to me that it's really a problem with the makefile in the upstream kernel. Another page I found (but can't find again) suggested it only goes wrong when you set source and destination directories for the kernel build as different, which does sound like something NixOS would do. Maybe Hardkernel would be interested in escalating... I'll file a bug with them, maybe later today, if you don't get to it first :) |
I think, to anyone who has the power/desire to merge this: please go ahead. This works ok as it is. I'll follow up with HK about fixing the build problem properly, and we can remove the kludge in this package at that time. |
…r defconfig.
Motivation for this change
Update this vendor kernel to the latest release, and adopt the defconfig provided by them.
In order to make this build, I had to disable the
gator
module viaextraConfig
. The build error was of the form of not being able to find a header file related to the mali graphics driver. I've left in (commented out) my attempt to address the problem, but it doesn't work. I can provide more info if anyone is interested, and if anyone knows how to fix this properly, I'm all ears.In any case, disabling the building of
gator
seems to work fine, and I've had this kernel running on my HC1 for the last few days without incident.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)