summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-raspberrypi_4.4: upgrade to 4.4.16Khem Raj2016-09-211-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi-4.4: add patch to enable proper operation of renderD128 deviceHerve Jourdain2016-09-212-0/+30
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* linux-rpi.inc: add the configuration options required to support vc4graphicsHerve Jourdain2016-09-211-0/+10
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* linux-raspberrypi_4.4.bb: support for .dtbo files for dtb overlaysHerve Jourdain2016-09-212-0/+45
| | | | | | | Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Patch the kernel, which has faulty rules to generate .dtbo the way yocto does Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* linux-raspberrypi_4.4: Upgrade to 4.4.13Khem Raj2016-07-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: rpi-mkimage is no longer neededPaul Barker2016-07-081-20/+0
| | | | | | | | Recent versions of the Raspberry Pi firmware can directly handle kernel images which use device tree. The modifications made by rpi-mkimage are no longer needed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* linux-raspberrypi: Fix v4.1 with GCC6Andrei Gherzan2016-07-083-0/+111
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi.inc: KERNEL_OUTPUT has been removed in kernel.bbclassHerve Jourdain2016-06-151-2/+6
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* linux-rpi: ensure config file is closedJonathan Liu2016-06-131-0/+2
| | | | | | | | | | | Avoids warnings like this with python3: WARNING: .../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.18.bb: <string>:16: ResourceWarning: unclosed file <_io.TextIOWrapper name='.../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig' mode='r' encoding='UTF-8'> Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-raspberrypi_4.4.bb: Upgrade to 4.4.9Khem Raj2016-05-191-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-rpi: Enable kconf options to enable initramfs supportKhem Raj2016-05-191-9/+13
| | | | | | | | | | Additionally add few few file systems e.g. squashfs, overlayfs to support booting with initramfs Drop checking for target triplet to set EABI, rpi probaly should not have any legacy into OABI world. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.4.bb: Upgrade to 4.4.8Khem Raj2016-05-052-110/+2
| | | | | | | Fixes for gcc6 Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.1: Update to v4.1.21Andrei Gherzan2016-04-221-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Set baudrate and use serial0 for kgdbocAndrei Gherzan2016-04-221-2/+2
| | | | | | | | | | The driver for 8250 defaults to 9600. We setup it on 115200 to be consistent with getty configuration. The firmware can do its magic with kgdboc too as it searches and replaces =serial0 and =serial1. So, use serial0 for kgdboc too. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Bump to v4.4.7Andrei Gherzan2016-04-221-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Make use of serial aliasesTheodor Gherzan2016-04-211-1/+1
| | | | | | | The firmware will parse cmdline and replace serial aliases with the actual serial console port. Signed-off-by: Theodor Gherzan <theodor@resin.io>
* linux-firmware: Rework of brcmfmac43430 firmware handlingtoolmmy2016-04-131-8/+12
| | | | | | | | | | | | | | The current version of the recipe produces the following warnings while createing an image: WARNING: The license listed Firmware-broadcom_brcm80211 was not in the licenses collected for recipe linux-firmwa re WARNING: [log_check] td-core-image: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The license listed Firmware-broadcom_brcm80211 was not in the licenses collected for recipe linux-firmware This commit contains a rework of the brcm80211 firmware handling and deploys the firmware and the LICENSE files that fixes the warning messages. Signed-off-by: Tom Doehring <toolmmy@gmail.com>
* linux-raspberrypi: Rename linux.inc to linux-rpi.inc Rename linux.inc to ↵Alan Stice2016-04-132-1/+1
| | | | | | prevent it from impacting other machines Signed-off-by: Alan Stice <alan@alanstice.com>
* linux-raspberrypi: Drop support for 3.14Petter Mabäcker2016-04-133-509/+0
| | | | | | | General policy is to support three kernel versions; latest stable + two longterm versions. These are currently 4.4, 4.1, and 3.18. Signed-off-by: Petter Mabäcker <petter@technux.se>
* pitft: Add support for pitft28rPetter Mabäcker2016-04-131-0/+2
| | | | | | | | | | | The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r" While at it also fix a minor typo in README. Signed-off-by: Petter Mabäcker <petter@technux.se>
* linux-raspberrypi-4.4: Add the pitft22 overlay from adafruitKhem Raj2016-03-282-3/+113
| | | | | | Upgrade to 4.4.6 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.4.bb: Update to 4.4.3Khem Raj2016-03-101-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Upgrade 4.4.1 -> 4.4.2Khem Raj2016-03-101-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Add recipe for 4.4 releaseKhem Raj2016-03-101-0/+6
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-firmware: Add brcmfmac43430 firmwareTheodor Gherzan2016-03-104-0/+300
| | | | Signed-off-by: Theodor Gherzan <theodor@resin.io>
* linux-raspberrypi: Update revision to include rpi3 supportTheodor Gherzan2016-03-101-2/+2
| | | | Signed-off-by: Theodor Gherzan <theodor@resin.io>
* pitft: Add PiTFT22 supportPetter Mabäcker2016-03-017-3/+232
| | | | | | | | | | | | | | | | | | - Add support to build overlays for PiTFT22 in the kernel. - Setup a basic configuration for the driver The PiTFT22 support is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft22" This patch also includes restructuring of kernel patches per kernel version specific directories. [Support #70] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: update path to mkknlimgJonathan Liu2016-03-011-2/+2
| | | | Signed-off-by: Jonathan Liu <net147@gmail.com>
* pitft: Add basic support for PiTFTPetter Mabäcker2016-03-011-1/+5
| | | | | | | | | | | | | | | | Add basic support for PiTFT display by using device-trees. In order get it working below configurations must be active in local.conf: MACHINE_FEATURES += "pitft" - This will enable SPI bus and i2c device-trees, it will also setup framebuffer for console and x server on PiTFT. [Support #70] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Make sure we have initramfs image before running mkknlimgAndrei Gherzan2016-02-281-4/+6
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberry.inc: add initramfs supportStéphane Cerveau2016-02-281-0/+10
| | | | | | | append initramfs creation to install RPi bootloader trailer Signed-off-by: Stéphane Cerveau <voxtok@voxtok.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Upgrade 4.1 kernel to 4.1.17Khem Raj2016-02-281-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: update path to mkknlimgJonathan Liu2016-02-281-1/+1
| | | | Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-raspberrypi: use STAGING_LIBEXECDIR_NATIVE for rpi-mkimage toolsMaciej Borzecki2016-02-261-1/+1
| | | | | | | | | | The rpi-mkimage tools are installed ${libexecdir}/rpi-mkimage within native sysroot, where ${libexecdir} resolves to /usr/libexec. This caused the build to fail due to recipe trying to access ${libdir}/mkimage. Fix the paths to use an unambiguous STAGING_LIBEXECDIR_NATIVE so that a proper location is used. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
* 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>