You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there any plans to update the tree to Linux 3.8?
There are a number of updates that would be nice to have, especially the stuff in the EXT4 drivers.
While I would be happy to merge the kernel.org mainline into a new branch and submit a pull request, I don't know if there is some special way that people might want it done.
Yes, 3.8 is interesting. For me, mostly due to F2FS.
I'd prefer a new branch (e.g. 3.8.y). I'd prefer it to be rebased on remotes/stable/linux-3.8.y, which I don't think is available yet.
There's normally a few gotchas of APIs that have changed, or worse APIs that haven't changed but things that need to be done differently. Finding NEED_MACH_MEMORY_H and NEED_MACH_IO_H took me a long time to find last time....
So, if you can get a 3.8 tree up and running, and fix the gotchas, that would be useful.
We can then work out if a PR or some other scheme is best to get it into this repo.
Initially prebuilt firmware with 3.8 will be released to "next" tree until it is deemed stable.
Another question is whether some squashing of commits (particularly dwc_otg and the addition and removal of the 64-bit crypto functions) that produce a lot of conflicts when rebasing is worthwhile.
There's also the question of using mach-bcm2835 as the machine driver, but I accept that's a much harder merge.
(neither of these two point is required for a move to 3.8).
I have 3.8.0 building and booting (at least for me, did the same for 3.7 before). I started from a kernel tarball and ported most stuff from this repo over to it. If you want I could surely help.
If you want to take a look my repo is here: git://github.com/N8Fear/rpi-sources.git
This is the first time I've rebased anything, and I just had to start over because I realized halfway thru (at commit 179 of 323) that I had misunderstood the relation between LOCAL, BASE, and HEAD.
@popcornmix Do you have any problem with just starting a new branch based on git://github.com/N8Fear/rpi-sources.git? If not, that would be much easier than a rebase.
@Ferroin
Unfortunately not. The commit history has to be preserved (for many reasons).
One being that commits may be cherry-picked into the upstream kernel.
@popcornmix
If you can tell me how to start best (clean remotes/stable/linux-3.8.y I presume) and then apply patches on top of that, I can do that. Is there a way to preserve both the commit history of remotes/stable/linux-3.8.y and of this repo?
This is how I did one of the early rebases:
git clone git@github.com:popcornmix/linux.git
git remote add -f stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git rebase --onto v3.2.27 v3.1.9 rpi-patches
(fix conflict)
git rebase --continue
and repeat (you'll get at leats a dozen conflicts)
You'll obviously need to change the tags in the rebase.
However this is quite a tricky procedure. You end up fixing the same lines of code multiple times.
One reason why squashing commits can make life easier.
It may be more useful to take N8Fear's tree, and give it a good test.
I'm about 3/4 through the rebase. Not sure how it will all come together afterwards.
I think somewhen tonight I should have a buildable tree, if I don't hit anything major...
Hi,
it took me a little while longer than expected, but here is my repo with (most likely most of) the commit history: git://github.com/N8Fear/linux.git
To get it build (except for one WLAN driver - still working on that) I had to hack it a bit:
removal of __devinit and friends due to removal of api
make zsmalloc bool instead of tristate (otherwise build fails)
commented out some version specific code
added typecasts to uncompress.h (to get rid of warnings)
IMPORTANT: CONFIG_RTL8192CU does not build right now - needs fix
Everything should be tested / get a sanity check - with some more time some of the more "hacky" fixes could surly be replaced by something proper...
Hi N8Fear,
I've downloaded and compiled kernel using your git, but from usb doesn't boot. I see:" Waiting for root device /dev/sda1". If I use as root my SD card, it boots, but with a lot of errors. Can you post me your .config?
I never tried booting from USB, sdcard worked fine for me, though (I just did a quick "testboot" and rebooted to 3.7.9 again afterwards, because there was no grsecpatch for 3.8.0 at that time).
IIRC I used bcmrpi_defconfig without CONFIG_RTL8192CU - my normal config wouldn't help you much (as it is with grsec enabled).
I'm in the process of getting a grsec enabled 3.8.0 right now, but afterwards I can try to replicate you issues.
Maybe you could post some logs so that I can take a look at the errors?
I was able to boot into 3.8.0. It's running without a serious problem so far. As stated aboce CONFIG_RTL8192CU needs to be disabled to be able to successfully build the kernel and i get an issue with THERMAL_BCM2835 (NULL pointer dereference at boot - seems like the API changed somewhat) - you should disable that one too.
I boot from an sd-card so I don't know, if booting from a pendrive works.
You said it booted (with errors) from sd-card: you could post that errors and you config - maybe that would give some hints about your problem.
Other than that: try what licaon-kter wrote or try bcmrpi_defconfig (and disable the aforementioned two options).
I've updated the "next" tree to 3.9.5.
It's been confirmed that 3.8 won't have long term support, and it hasn't been updated (upstream) for some time, so I don't see a reason to stay with 3.8.
There's no guarantee that 3.9 will have long support either, but it is at least getting regular updates.
Activity
popcornmix commentedon Feb 20, 2013
Yes, 3.8 is interesting. For me, mostly due to F2FS.
I'd prefer a new branch (e.g. 3.8.y). I'd prefer it to be rebased on remotes/stable/linux-3.8.y, which I don't think is available yet.
There's normally a few gotchas of APIs that have changed, or worse APIs that haven't changed but things that need to be done differently. Finding NEED_MACH_MEMORY_H and NEED_MACH_IO_H took me a long time to find last time....
So, if you can get a 3.8 tree up and running, and fix the gotchas, that would be useful.
We can then work out if a PR or some other scheme is best to get it into this repo.
Initially prebuilt firmware with 3.8 will be released to "next" tree until it is deemed stable.
Another question is whether some squashing of commits (particularly dwc_otg and the addition and removal of the 64-bit crypto functions) that produce a lot of conflicts when rebasing is worthwhile.
There's also the question of using mach-bcm2835 as the machine driver, but I accept that's a much harder merge.
(neither of these two point is required for a move to 3.8).
Ferroin commentedon Feb 20, 2013
I can definitely get started on it.
Currently, it really isn't all that feasible for me to debug built kernels, but I can almost certainly get 3.8 to build without problems.
N8Fear commentedon Feb 20, 2013
I have 3.8.0 building and booting (at least for me, did the same for 3.7 before). I started from a kernel tarball and ported most stuff from this repo over to it. If you want I could surely help.
If you want to take a look my repo is here: git://github.com/N8Fear/rpi-sources.git
Ferroin commentedon Feb 20, 2013
Thanks, I'd love some help.
This is the first time I've rebased anything, and I just had to start over because I realized halfway thru (at commit 179 of 323) that I had misunderstood the relation between LOCAL, BASE, and HEAD.
@popcornmix Do you have any problem with just starting a new branch based on git://github.com/N8Fear/rpi-sources.git? If not, that would be much easier than a rebase.
popcornmix commentedon Feb 20, 2013
@Ferroin
Unfortunately not. The commit history has to be preserved (for many reasons).
One being that commits may be cherry-picked into the upstream kernel.
N8Fear commentedon Feb 20, 2013
@popcornmix
If you can tell me how to start best (clean remotes/stable/linux-3.8.y I presume) and then apply patches on top of that, I can do that. Is there a way to preserve both the commit history of remotes/stable/linux-3.8.y and of this repo?
popcornmix commentedon Feb 21, 2013
This is how I did one of the early rebases:
git clone git@github.com:popcornmix/linux.git
git remote add -f stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git rebase --onto v3.2.27 v3.1.9 rpi-patches
(fix conflict)
git rebase --continue
and repeat (you'll get at leats a dozen conflicts)
You'll obviously need to change the tags in the rebase.
However this is quite a tricky procedure. You end up fixing the same lines of code multiple times.
One reason why squashing commits can make life easier.
It may be more useful to take N8Fear's tree, and give it a good test.
N8Fear commentedon Feb 21, 2013
I'm about 3/4 through the rebase. Not sure how it will all come together afterwards.
I think somewhen tonight I should have a buildable tree, if I don't hit anything major...
N8Fear commentedon Feb 22, 2013
Hi,
it took me a little while longer than expected, but here is my repo with (most likely most of) the commit history: git://github.com/N8Fear/linux.git
To get it build (except for one WLAN driver - still working on that) I had to hack it a bit:
IMPORTANT: CONFIG_RTL8192CU does not build right now - needs fix
Everything should be tested / get a sanity check - with some more time some of the more "hacky" fixes could surly be replaced by something proper...
avesal commentedon Feb 23, 2013
Hi N8Fear,
I've downloaded and compiled kernel using your git, but from usb doesn't boot. I see:" Waiting for root device /dev/sda1". If I use as root my SD card, it boots, but with a lot of errors. Can you post me your .config?
Thanks you for your work
N8Fear commentedon Feb 23, 2013
I never tried booting from USB, sdcard worked fine for me, though (I just did a quick "testboot" and rebooted to 3.7.9 again afterwards, because there was no grsecpatch for 3.8.0 at that time).
IIRC I used bcmrpi_defconfig without CONFIG_RTL8192CU - my normal config wouldn't help you much (as it is with grsec enabled).
I'm in the process of getting a grsec enabled 3.8.0 right now, but afterwards I can try to replicate you issues.
Maybe you could post some logs so that I can take a look at the errors?
avesal commentedon Feb 23, 2013
how can I post logs if system doesn't boot? Should I add any string to cmdline.txt? Sorry, but I'm a very newbie.
Maybe the problem of "waiting for root device.." is that kernel loads pendrive after init?
licaon-kter commentedon Feb 23, 2013
@avesal : did you use a known working .config ? say from your working kernel zcat /proc/config > ~/.config copy it and then use /make oldconfig
N8Fear commentedon Feb 23, 2013
I was able to boot into 3.8.0. It's running without a serious problem so far. As stated aboce CONFIG_RTL8192CU needs to be disabled to be able to successfully build the kernel and i get an issue with THERMAL_BCM2835 (NULL pointer dereference at boot - seems like the API changed somewhat) - you should disable that one too.
I boot from an sd-card so I don't know, if booting from a pendrive works.
You said it booted (with errors) from sd-card: you could post that errors and you config - maybe that would give some hints about your problem.
Other than that: try what licaon-kter wrote or try bcmrpi_defconfig (and disable the aforementioned two options).
N8Fear commentedon Feb 24, 2013
The issue with THERMAL_BCM2835 should be fixed (at least the null pointer dereference). I have to check for correct function, though...
77 remaining items
popcornmix commentedon May 12, 2013
@rbej
Kernels updated.
rbej commentedon May 19, 2013
3.9.3 is out ;)
licaon-kter commentedon May 20, 2013
Any reason to keep up the update race every day?
rbej commentedon Jun 8, 2013
3.9.5 is out. Please updated :). Thanks.
popcornmix commentedon Jun 8, 2013
3.9.5 is pushed.
popcornmix commentedon Jun 9, 2013
I've updated the "next" tree to 3.9.5.
It's been confirmed that 3.8 won't have long term support, and it hasn't been updated (upstream) for some time, so I don't see a reason to stay with 3.8.
There's no guarantee that 3.9 will have long support either, but it is at least getting regular updates.
hvenzke commentedon Dec 22, 2013
My Pi´s left kicked off 3.8.y .. so close if you wisch
clk: versatile: sp810: support reentrance
clk: versatile: sp810: support reentrance
clk: versatile: sp810: support reentrance
drm/xe/nvm: Fix double-free on aux add failure
drm/xe/nvm: Fix double-free on aux add failure
selftests/bpf: Add mprog API tests for BPF tcx links
selftests/bpf: reduce verboseness of reg_bounds selftest logs