summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi: Remove old 3.12 versionAndrei Gherzan2015-10-211-7/+0
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update 4.1 recipe to 4.1.10Andrei Gherzan2015-10-211-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: support kernel 4.1.3Alex J Lennon2015-10-211-0/+6
| | | | Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* linux-raspberrypi: Update kernel to 3.18.16Alex J Lennon2015-10-211-2/+7
| | | | | | | | This requires some changes to KERNEL_DEVICETREE as the dtb layout has changed to support overlays. This change also makes us ready to support kernel 4.x series Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* linux-raspberrypi.inc: use SRCPV instead of SRCREV for PVJonathan Liu2015-10-131-1/+2
| | | | | | SRCPV is intended to be used by PV. Using SRCREV for PV is incorrect. Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-raspberrypi.inc: Make kgdboc kernel param optionalMauro Carvalho Chehab2015-08-101-1/+4
| | | | | | | | | | | | | The kernel debugger over console (kgdboc) parameter is being added unconditionally to the kernel command line but this means that the kernel will stop and wait for gdb to attach in case of a exception or when sending a sysrq-g key. This behaviour may not be what most users wants that are not remotely debugging the kernel over serial console so make it optional by adding a ENABLE_KGDB config option. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> [javier: Extended commit message and made it conditional] Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
* devicetree: auto-disable dts for old kernelsPetter Mabäcker2015-06-051-1/+3
| | | | | | | | | After '6392a63 rpi-base.inc: Use KERNEL_DEVICETREE by default' was introduced, kernel versions < 3.18 might not be buildable. Since full device tree support was introduced in 3.18 this change ensures that all kernel < 3.18 will automatically disable device tree. Signed-off-by: Petter Mabäcker <petter@technux.se>
* linux-raspberrypi: Update 3.12 branch to latestPetter Mabäcker2015-05-182-34/+1
| | | | | | | | | | | | | | Update linux-raspberrypi_3.12 to latest revision. Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite after '558d0bf Fix grabbing lock from atomic context in i2c driver' was merged to 3.12. [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Drop support for old kernel versionsPetter Mabäcker2015-05-184-32/+0
| | | | | | | | | | | meta-raspberrypi currently supports too many versions in order to ensure that all of them are frequently tested and updated. Change to only support latest stable + 2 long term versions. [Support #59] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Add 3.14 supportPetter Mabäcker2015-05-183-0/+507
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add basic support for Linux 3.14, cherry-pick changes from 3.18.y in order to solve some debugfs warnings and get better support for i2s for BCM2708. - 3.14 lacks BCM2709 support and will not by default be able to use for raspberry pi 2. Below warnings still exists they are harmless and exists due to that snd_soc_pcm512x is triggered to be loaded twice. The problem is solved after device tree support for the driver was introduced in 3.18.y and no easy solution exists to solve this problem on older kernel versions (see https://github.com/raspberrypi/linux/issues/662 for more info). pcm512x 1-004c: Failed to reset device: -5 pcm512x: probe of 1-004c failed with error Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite after cherry-picking '558d0bf Fix grabbing lock from atomic context in i2c driver'. [Support #57] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update 3.18 branch to 3.18.11Petter Mabäcker2015-04-301-5/+3
| | | | | | | | | | | | Update linux-raspberrypi_3.18 to latest version. Remove sl030raspberrypii2ckernel.patch since it will not apply anymore and its content seems to be obsolite in later kernel versions. [Support #56] Change-Id: I91e57f4e65d9c1c9d12014f5d11b0acd950e2d1d Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Refactor kernel recipesAndrei Gherzan2015-03-017-1/+14
| | | | | | | | | | | | | | We use this to simplify the update process. Updating a kernel version will not require renaming the recipe but only tweaking LINUX_VERSION. Update kernel version: - bump SRCREV - bump LINUX_VERSION if needed [Support #26] Change-Id: I7565ddd1f03cc34c34aa5da92664a0057b415c9a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Add support for Raspberry PI 2Andrei Gherzan2015-02-081-0/+1
| | | | | | | | | Add machine configuration file. Change the kernel image name on SD card. Use the defconfig for this machine (bcm2709_defconfig). Change-Id: I6549d5f49b1ed32ef4d44aca6f7af4234618c1a8 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi.inc: Make KERNEL_DEFCONFIG machine specificAndrei Gherzan2015-02-081-1/+1
| | | | | Change-Id: I241a8adead67717f31d1b2e66a71bd5c3edfa9fd Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi.inc: Remove machine specific CMDLINE definitionAndrei Gherzan2015-02-081-1/+1
| | | | | | | | This is already a raspberrypi specific recipe. So this is useless and would break other machines. Change-Id: Ie1d627384255660d7e213833fd4433f47c0edc1d Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* devicetree: Add minimal support with RPi bootloaderFrancois Muller2015-02-052-0/+29
| | | | | | | | | | | | | | | | | | | | | [RPi DT info] https://github.com/raspberrypi/documentation/blob/master/configuration/device-tree.md#part-3-using-device-trees-on-raspberry-pi RPi bootloader detects a DT-ready kernel by checking for a specific trailer in kernel.img. Using latest raspberrypi/firmware (firmware.inc) enables this check ability. Using latest raspberrypi/tools (rpi-mkimage.bb) gives access to mkknlimg for adding the required trailer to kernel image. If KERNEL_DEVICETREE is filled in, the trailer is added to the kernel image before kernel install task. While creating the SDCard image, this modified kernel is put on boot partition (as kernel.img) as well as DeviceTree blobs (.dtb files). If KERNEL_DEVICETREE is empty, this new process isn't operated, legacy one does. KERNEL_DEVICETREE for RPi is really supported only starting from linux-rapsberry 3.18+ kernels, so as for now it defaults to empty (in machine config file). Change-Id: Ifea71bbda729b8f3c47be7ba0ba03be5ad2ceeaa Signed-off-by: Francois Muller <francois@concept-embarque.fr>
* linux-raspberrypi: Update 3.12 branch to 3.12.36Petter Mabäcker2015-02-051-1/+1
| | | | | | | | | Update linux-raspberrypi_3.12 to latest version. [ISSUE #10] Change-Id: Ifd7e86587b3239a3b1240d2b8461560b16e08d08 Signed-off-by: Petter Mabäcker <petter@technux.se>
* Revert "linux-raspberrypi: Change to Linux Yocto style kernel recipes"Petter Mabäcker2015-02-058-3817/+182
| | | | | | | | | | | | This reverts commit 67a1c4eaafd472008ed4b11541c8fa7f6bc69b69. [ISSUE #39] Conflicts: recipes-kernel/linux/linux-raspberrypi_3.2.27.bb Change-Id: I03ae6b9c96894509a4fecd24eef8740889238730 Signed-off-by: Petter Mabäcker <petter@technux.se>
* linux-raspberrypi: Remove old v3.2.27Andrei Gherzan2015-02-011-4/+0
| | | | | Change-Id: If5e0a88acdfe67903d1a11133849f35f453904ac Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Change to Linux Yocto style kernel recipesAlex J Lennon2015-01-319-187/+3820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Yocto style recipes provide support for application of kernel configuration fragments which is achieved with this change. For further details see the Yocto Linux Kernel Development Manual ref: http://www.yoctoproject.org/docs/1.6/kernel-dev/kernel-dev.html In addition .bb files are simplified to take a SRCBRANCH which is used by the SRC_URI set in linux-raspberrypi.inc and together with the existing SRCREV define a checkout from the linux-raspberrypi git repository. A default configuration, defconfig, is provided as a baseline. This is generated from bcmrpi_defconfig, as used in the existing recipes, and so configuration options should be the same. To change the kernel configuration a new configuration fragment may be generated, as explained in the kernel development documentation above, and this file then added to the SRC_URI via a .bbappend. Added some minor refactoring and removed some useless code. Change-Id: Ic72e14ec14ec3f042aeda0c6820f896be9c02e69 Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: faulty branch and srcrev for 3.16dizzyPetter Mabäcker2015-01-251-2/+2
| | | | | | | | | linux-raspberrypi_3.16 used wrong branch (rpi-3.14.y instead of rpi-3.16.y). Use latest SRCREV for 3.16 and bump version to 3.16.5. Change-Id: Ic81eeddb0c8a4df1f11948f00491f83ab877d040 Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: fix do_configure failurePetter Mabäcker2015-01-253-7/+11
| | | | | | | | | | | | | | | | | | | When building against newer yocto project releases below failure occurs. | DEBUG: Executing shell function do_configure | NOTE: make oldconfig | make: *** No rule to make target `oldconfig'. Stop. | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure Fix this by trying to adapt more of the standard mechanism that exists in yocto, in order to build "custom kernels". Change-Id: I0598c0c16d84295a454976f60b56f9d35c36a4ba Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Replace v3.14.2 by v3.16.1Andrei Gherzan2014-08-241-1/+1
| | | | | | | Latest kernel supported by rPI. Change-Id: I658d8bb78ff61f856fc82328633ca227325436e4 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update 3.12 branch to 3.12.26Andrei Gherzan2014-08-241-1/+1
| | | | | Change-Id: Ie6630f53bb2e4dd71825e0453236de30d25bd07b Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update kernel to 3.12.21Alex J Lennon2014-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | Amongst other patches, this release includes a fix to an issue with gstreamer1.0 and v4l2src blocking ref: https://bugzilla.gnome.org/show_bug.cgi?id=726521 ref: http://tinyurl.com/mkqooeg To make use of the optional fix the module parameter gst_v4l2src_is_broken needs to be set when loading bcm2835-v4l2.ko With this in place, and with userland and gstreamer1.0-omx patches, gstreamer1.0 can be used with PiCam via v4l2src instead of raspivid. (There may still be performance issues to be addressed for v4l2src vs raspivid pipe & fdsrc). Change-Id: Ia0ed4e6c8f27df9bb12ae2350526f6314e016d51 Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
* linux-raspberrypi: Replace v3.13.3 by v3.14.2Andrei Gherzan2014-05-081-2/+2
| | | | | Change-Id: I2ceb950d30f984ab66de79085b30b541d20e6e25 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.12.11 to v3.12.18Andrei Gherzan2014-05-081-1/+1
| | | | | Change-Id: Ifa763e4352051e4533eac98b4f7c74daf791cf72 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Remove v3.11Andrei Gherzan2014-05-081-6/+0
| | | | | Change-Id: I28824a738a081bdeb362da4cf0cb449d11cbe449 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.10.30 to v3.10.38Andrei Gherzan2014-05-081-1/+1
| | | | | Change-Id: Ia620e8fd6928f9cd2c625b87599cd6d6a405a344 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Add v3.13.3Andrei Gherzan2014-02-211-0/+6
| | | | | Change-Id: Iace039740f3b1b910d65bd3a2c82dc08836fde57 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.12.7 to v3.12.11Andrei Gherzan2014-02-211-1/+1
| | | | | Change-Id: I4358434c036eb8285f60dafac961c5734da1320b Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.10.26 to v3.10.30Andrei Gherzan2014-02-211-1/+1
| | | | | Change-Id: Ib15942c4f525c8765d49deda94d2195dc01df14c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.11.10 to current remote HEADAndrei Gherzan2014-02-211-1/+1
| | | | | Change-Id: I724511ad5e96ff1b7779c3afe772eaf0d5250c8e Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.11.10 to remote HEADAndrei Gherzan2014-01-181-1/+1
| | | | | Change-Id: Ia0eac89faa63cb6d748f2749b82d1f80588e6a04 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.10.24 to v3.10.26Andrei Gherzan2014-01-171-1/+1
| | | | | Change-Id: I1fa7211af2d0c80ed49e6b3f70565ace88088601 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.12.4 to v3.12.7Andrei Gherzan2014-01-171-1/+1
| | | | | Change-Id: Id721163e3e69946e3c82710bf12851211b493dee Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Remove old v3.12.0Andrei Gherzan2014-01-031-6/+0
| | | | | Change-Id: Ie757c9626540aaed44d35bf2ae058bb0cdcc6d08 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.6.11 to latest HEADAndrei Gherzan2014-01-031-1/+1
| | | | | Change-Id: I9e30fc0c9a16df888ce8e0f56f5bcf7a3aff77bf Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.11.7 to v3.11.10Andrei Gherzan2014-01-031-1/+1
| | | | | Change-Id: I8ba4b853a9e3f07517c401c9a421c65c53c25977 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update v3.10.18 to v3.10.24Andrei Gherzan2014-01-031-1/+1
| | | | | Change-Id: Icf95ec58d39eb187c0cf0fe31fd1822f81f3f038 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Add version 3.12.4+Gary Thomas2014-01-031-0/+6
| | | | | | | | | This kernel enables camera video via the new 'bcm2835-v4l2' module. Just add 'start_x=1' to your boot config.txt Change-Id: I19f72708b854291314691944a58fa16451e2677b Signed-off-by: Gary Thomas <gary@mlbassoc.com> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi_3.10.18: Fix commit SHAAndrei Gherzan2013-11-291-1/+1
| | | | | | | | | | | | | | | The remote SHA used is no longer available in github. Move to a usable one. Fixies this build error: fatal: reference is not a tree: ae937f99fee8a37f2ddd7270f6bcc0e497e8c903 on raspberry 3.10 kernel: raspberrypi-poky-linux-gnueabi/linux-raspberrypi/3.10.18+gitae937f99fee8a37f2ddd7270f6bcc0e497e8c903-r0 More info: https://trello.com/c/tQ7l8ftd Change-Id: I9fcc571622cbe4adb8ed99b11e5d6889e791d555 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Add version 3.10.18 and 3.12.0Andrei Gherzan2013-11-132-0/+12
| | | | | Change-Id: Idd59fed4f2ab975c50b3727e436b4a0caeb0ab16 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Update available versions to HEADAndrei Gherzan2013-11-132-2/+2
| | | | | | | | Update 3.11.0 to 3.11.7 HEAD. Update 3.6.11 to HEAD. Change-Id: Iacd8f78b418b0bd6d8513b97ce57ce0108057850 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Add kernel 3.8 and 3.11 for Raspberry PiAlexandru Niculita2013-11-122-0/+12
| | | | | | | | From: Philipp Wagner <mail@philipp-wagner.com> Change-Id: I08dc33857334f0f4bd6fe3fa24b417c01d4729c8 Signed-off-by: Philipp Wagner <mail@philipp-wagner.com> Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
* Remove tabs from recipeAlexandru Niculita2013-11-121-87/+87
| | | | | | | | From: Philipp Wagner <mail@philipp-wagner.com> Change-Id: I24aea3b31e144d6f22f9149c186eeaae8b9e2c58 Signed-off-by: Philipp Wagner <mail@philipp-wagner.com> Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
* Refactor kernel recipes to reduce code duplicationAlexandru Niculita2013-11-123-62/+38
| | | | | | | | From: Philipp Wagner <mail@philipp-wagner.com> Change-Id: Ie4bc0d5f3f3301a1955dd077a0d2c3e3286266e3 Signed-off-by: Philipp Wagner <mail@philipp-wagner.com> Signed-off-by: Alexandru Niculita <alexnick87@gmail.com>
* linux-raspberrypi: Update to 2013-08-20 rpi-3.6.y's and rpi-3.2.27's snapshotAndrei Gherzan2013-08-212-4/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Fix i2c issuesRichard Purdie2013-06-233-0/+34
| | | | | | | I was having intermittent i2c issues on the device until I applied this kernel patch which I found online. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers-raspberrypi: Drop, its unneeded and bad practiseRichard Purdie2013-06-231-12/+0
| | | | | | | | | | | | | | | | | | If we have this recipe, it means the whole armv6 (or whichever tune) is chosen depends on a machine specific recipe. This makes no sense as armX packages are meant to be machine independent. We've had this problem in other layers and it causes needed rebuilds of packages when you switch machines since the sstate checksums change. These headers are just part of the toolchain bootstrap process so "standard" kernel headers are fine. The kernel header version does need to be later of equal to the kernel version but we're fine in that regard since the core is on 3.8, the latest pi kernel is 3.6. There is nothing special about these headers so lets remove them and use the standard system provided recipe, avoding any rebuilds. I tested the various other recipes in the layer and there doesn't seem to be any dependency on these headers. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>