raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.06k stars 4.97k forks source link

Updating to 3.8? #225

Closed Ferroin closed 10 years ago

Ferroin commented 11 years ago

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.

hvenzke commented 11 years ago

Report :I

popcornmix commented 11 years ago

rpi-3.8.y is bumped to 3.8.7 and includes more rebased tidying. The cast warnings are removed (without casting them away...)

hvenzke commented 11 years ago

Cool , Great work.!

hvenzke commented 11 years ago

you seem bumped to RPI v3.8.8 ..

# kversion=$(make -s kernelrelease)
# echo $kversion
3.8.8-4-raspberrypi
rbej commented 11 years ago

Usb fiq is still disabled??

popcornmix commented 11 years ago

USB fiq still disabled. Waiting for Gordon...

ghost commented 11 years ago

@popcornmix hi you wrote that with rpi-update 2c4e92c01ff14d8f3e1ee35b995d430b4e6d1e1b one can get a 3.8.4 test-build. is such build also available for a more recent version? and what would the git tag be for that version? thanks

popcornmix commented 11 years ago

Just check here: https://github.com/Hexxeh/rpi-firmware/commits/next And pick the newest commit hash.

ghost commented 11 years ago

Just check here: https://github.com/Hexxeh/rpi-firmware/commits/next And pick the newest commit hash.

seems to work great!

I migrated 2 RPI's and all is fine.

Folkert van Heusden

MultiTail cok yonlu kullanimli bir program, loglari okumak, verilen kommandolari yerine getirebilen. Filter, renk verme, merge, 'diff-

view', vs. http://www.vanheusden.com/multitail/

Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

popcornmix commented 11 years ago

You can now do: sudo BRANCH=next rpi-update to get the latest "next" branch firmware which includes this kernel.

hvenzke commented 11 years ago

@ popcornmix Thanks for work out , but you seems not added IP_VS and ARPD to this "next" branch firmware .

As near all RPI distros use your Firmware the issue may still not fixed. Linux Virtual Server ( ipvsadm +Ldirectord ) Support failed still as require this . shuold be enabled per defailt.

You added several other IP feagters like gre, hamradio ... as modules.

popcornmix commented 11 years ago

Another update. FIQ is now enabled and working for usb. IP_VS and ARPD modules added

hvenzke commented 11 years ago

Thanks for your work with IP_VS and ARPD. As they work with 3.8.7 well and not harm anything you may can close the seperat tickets. THANKS !

rbej commented 11 years ago

Please update to 3.8.9

hvenzke commented 11 years ago

Please add CONFIG_DLM=m

hvenzke commented 11 years ago

Note : I tested LXC Container on 3.8.7 and 3.8.y . result : works exelent . Please add the LXC Options.

requested by others as well. : https://github.com/raspberrypi/linux/issues/176

hvenzke commented 11 years ago

@popcornmix , may you able to somewhere in future to Create an "SERVER" Image and an "DESKTOP" Image ? Idea behind : kernel Config skope may different .

rbej commented 11 years ago

I patched 3.8.y to 3.8.10 and everything is ok.

popcornmix commented 11 years ago

Rebased onto 3.8.10.

sanford commented 11 years ago

/sys/class/leds appears to be missing

ghost commented 11 years ago

/sys/class/leds appears to be missing

I can confirm that.

Folkert van Heusden

MultiTail is een flexibele tool voor het volgen van logfiles en uitvoer van commando's. Filteren, van kleur voorzien, mergen,

'diff-view', etc. http://www.vanheusden.com/multitail/

Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

ghost commented 11 years ago

Rebased onto 3.8.10.

Please also include the PPS-over-GPIO patch: http://ntpi.openchaos.org/pps_pi/

pps-gpio patch for the bcm2708 platform and clone the raspberry kernel tree: https://raw.github.com/lampeh/rpi-misc/master/linux-pps/linux-rpi-pps-gpio-bcm2708.diff

This enables one to sync the RPI using a GPS with PPS (pulse per second) signal.

regards

Folkert van Heusden

Multitail es una herramienta flexible que permite visualizar los "log file" y seguir la ejecución de comandos. Permite filtrar, añadir colores, combinar archivos, la visualización de diferencias (diff-

view), etc. http://www.vanheusden.com/multitail/

Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

rbej commented 11 years ago

Linux 3.9 is now stable. Any chance to 3.9 for Rpi??

popcornmix commented 11 years ago

We've not finished with 3.8!

3.8.11 has just been pushed. Includes fix for missing /sys/class/leds

popcornmix commented 11 years ago

And if you really want bleeding edge: Linux raspberrypi 3.9.0+ #320 PREEMPT Wed May 1 22:02:44 BST 2013 armv6l

https://github.com/raspberrypi/linux/commits/rpi-3.9.y

licaon-kter commented 11 years ago

What's the status of 3.9.x s' CONFIG_ARCH_BCM2835 ? As I see that, at least for now, the default config still uses CONFIG_ARCH_BCM2708.

popcornmix commented 11 years ago

My guess is that CONFIG_ARCH_BCM2835 will provide a system that boots, but lacks the drivers that have not been upstreamed (e.g. USB, vchiq).

There's a question mark over whether these will ever be upstreamed.

I have no plans to switch to CONFIG_ARCH_BCM2835, but if someone wants to test it, and then add patches for the missing drivers (USB, vchiq) and get a kernel has similar functionality to the existing one, then that would be very beneficial, and should make future kernel updates much easier.

licaon-kter commented 11 years ago

Are those (USB, vchiq) under some legal (licence) issues or what?

popcornmix commented 11 years ago

Not license issues. Generally the drivers that are supported on 2835 have been rewritten by a kernel dev (e.g. Stephen Warren) to follow the linux kernel coding standards.

The dwc_otg usb driver is big and ugly, written for an older kernel with ifdefs to handle newer versions. It's unlikely anyone will be willing to rewrite it to get it up to the standards required.

The kernel generally doesn't like interfaces into proprietry firmware, which vchiq may fall foul of, although that's very much a grey area.

A quick search looks like someone may have vchiq merged into a bcm2835 tree: https://github.com/hackerspace/rpi-linux/commit/f7c0d48cd2e4b98623ebed50c3ff409b02837e16

ghost commented 11 years ago

@popcornmix

Rebased onto 3.8.10.

Please also include the PPS-over-GPIO patch: http://ntpi.openchaos.org/pps_pi/

pps-gpio patch for the bcm2708 platform and clone the raspberry kernel tree: https://raw.github.com/lampeh/rpi-misc/master/linux-pps/linux-rpi-pps-gpio-bcm2708.diff

This enables one to sync the RPI using a GPS with PPS (pulse per second) signal.

regards

Folkert van Heusden

Multitail es una herramienta flexible que permite visualizar los "log file" y seguir la ejecución de comandos. Permite filtrar, añadir colores, combinar archivos, la visualización de diferencias (diff-

view), etc. http://www.vanheusden.com/multitail/

Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

popcornmix commented 11 years ago

@flok99 Please open a new issue.

hvenzke commented 11 years ago

@popcornmix @flok99 pps-gpio #109 .. just update it there and close the old shit :-)

rbej commented 11 years ago

Please updated to 3.8.12

hvenzke commented 11 years ago

CONFIG_USB_HCD_BCMA=m faild see #291 , shuold be fixed with update to 3.8.12 please.

popcornmix commented 11 years ago

Rebased to 3.8.12. Also updated 3.9.y kernel to 3.9.1.

hvenzke commented 11 years ago

@popcornmix please add the DLM & DRBD Options to the default RPI Firmware ( CONFIG_DLM=m ) to to get corosync & pacemaker to work with DRBD

popcornmix commented 11 years ago

I spotted a possible spinlock issue in sdcard driver, and have committed a fix. I've pushed it to next firmware tree.

matiasdelellis commented 11 years ago

Sorry, How I can test the 3.8 branch?

hvenzke commented 11 years ago

@matiasdelellis ,

folow that guide : http://www.raspberrypi.org/phpBB3/viewtopic.php?f=87&t=40664

Ferroin commented 11 years ago

Is there any major reason at this point to not transition to using the 3.8 firmware tree as the master branch?

popcornmix commented 11 years ago

This is the main obstacle: https://github.com/raspberrypi/linux/issues/280

rbej commented 11 years ago

Please updated to 3.8.13 and 3.9.2

popcornmix commented 11 years ago

@rbej Kernels updated.

rbej commented 11 years ago

3.9.3 is out ;)

licaon-kter commented 11 years ago

Any reason to keep up the update race every day?

rbej commented 11 years ago

3.9.5 is out. Please updated :). Thanks.

popcornmix commented 11 years ago

3.9.5 is pushed.

popcornmix commented 11 years ago

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 commented 10 years ago

My Pi´s left kicked off 3.8.y .. so close if you wisch